Le 08/02/14 15:40, Stephan Witt a écrit :
Hi all,
in an attempt to extend my debugging capabilities to catch the crash bugs on
Mac OS X I enabled the memory management debugging utilities.
See
http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man3/guardmalloc.3.html
The first hit is Qt related and at this point the game is over.
The offending code of LyX's BackgroundWidget constructor looks completely valid.
/// The text to be written on top of the pixmap
QString const text = lyx_version ?
qt_("version ") + lyx_version : qt_("unknown version");
What if you replace the string by a static one?
Can you display this string on lyxerr? Can you explicitely translate
lyx_version to a QString?
One thing to try for this kind of bugs is valgrind.
JMarc