On Dec 1, 2005, at 9:11 AM, Jean-Marc Lasgouttes wrote:
"Angus" == Angus Leeming <[EMAIL PROTECTED]> writes:
Angus> shows me that the Boost.Format library has been completely
Angus> rewritten since LyX 1.3 was released.
I am not sure this is related to boost.format, but I may be wrong...
Angus> Looking at the backtrace itself, this strikes me:
Angus> debugbuf::xsputn Why debugbuf?
Because this is output that goes to lyxerr:
#if USE_BOOST_FORMAT
lyxerr << boost::format(_("LyX: Creating directory %1$s"))
% package.user_support()
<< endl;
#else
lyxerr << _("LyX: Creating directory ") << package.user_support()
<< endl;
#endif
What I always thought was that the problem came from the fact that it
was the first output sent to lyxerr.
Bennett, what happens if you run "lyx -dbg any"? Do you get any output
before the crash?
Running lyx from the command line, all I get is "Bus error" -- with
nothing new when I add "-dbg any".
By the way I've noticed that when compiling with gcc-4 I get lots of
warnings like the following in qt2/moc: "/Users/bennett/lyx/gcc-4/qt-
mac-free-3.3.5//include/private/qucom_p.h:326: warning: 'struct
QUType_iface' has virtual functions but non-virtual destructor".
Another thing you could try in src/config.h is to add
#define USE_BOOST_FORMAT 0
before the last #endif and recompile.
Nothing is different, either with or without #undef
MODERN_STL_STREAMS. (Same crash on launch, same backtrace.)
Bennett