Re: assert "can't call Profile methods before CreateGlobalConfig()"

Vadim Zeitlin <[email protected]> Tue, 16 Feb 2010 00:58:42 +0100
Newsgroups gmane.mail.mahogany.devel
Message-ID <[email protected]>
On Fri, 20 Nov 2009 17:35:23 +0200 Nerijus Baliunas <[email protected]> wrote:

NB> On Thu, 19 Nov 2009 19:31:23 +0200 Nerijus Baliunas <[email protected]> wrote:
NB> 
NB> NB> VZ>  It would be interesting to know why did it decide to quit. I have a strong
NB> NB> VZ> suspicion that it had already crashed in fact and was trying to exit via
NB> NB> VZ> OnFatalException() when it crashed again.
NB> NB> 
NB> NB> Seems so.
NB> 
NB> Tried to bissect wx, as I don't remember having such problem before. Went back to
NB> 2009-8-1, didn't help. So I suspect it's gtk2 2.16->2.18 (i.e. Fedora 11->12) upgrade,
NB> could it be so? I get quite a lot of such messages... :(

 I could reproduce this problem too. It has probably nothing to do with wx
but I still don't know why did it start happening (relatively) recently
only as I don't see any relevant changes in src/util/matchurl.cpp but this
is where the bug was: strutil_findurl() just didn't check the FindURL()
return value correctly. I fixed this in git now, please let me know if you
still see the problem.

 BTW, my suspicion above was almost correct: it didn't really crash but an
unhandled C++ exception was thrown (by std::string) so the program was
still terminating.

 Regards,
VZ

------------------------------------------------------------------------------
SOLARIS 10 is the OS for Data Centers - provides features such as DTrace,
Predictive Self Healing and Award Winning ZFS. Get Solaris 10 NOW
http://p.sf.net/sfu/solaris-dev2dev

_______________________________________________
Mahogany-Developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mahogany-developers
signature.asc (application/pgp-signature, 198 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEABECAAYFAkt537IACgkQBupB3k9sHoZSQACeIzLRlbgkJUppExge4CvnQ9bm
ajsAn27PtQMWBlZ4RGzApQBfQ/3uZEwX
=4mgI
-----END PGP SIGNATURE-----