On Sep 8, 2005, at 8:26 AM, Jean-Marc Lasgouttes wrote:

"Jean-Marc" == Jean-Marc Lasgouttes <Jean- [EMAIL PROTECTED]> writes:


Bennett> This patch enables lyx to compile, but the result crashes on
Bennett> launch. Here's the gdb output:

Jean-Marc> Let's see if we can get this one going.

Jean-Marc> Bennett, could you retry with the following patch (on a
Jean-Marc> clean tree)? Please do a "make clean" before compiling.

Of course, it is better with the patch. Here it is.

Same results: compiles fine, but crashes on launch. Here's the backtrace this time:

(gdb) run
Starting program: /Applications/LyX-136.app/Contents/MacOS/lyx
Reading symbols for shared libraries .............................................................. ....... done
Reading symbols for shared libraries . done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x006d6db4 in debugbuf::xsputn (this=0x0, p=0x63304c "LyX: reconfiguring user directory", n=33) at DebugStream.C:132 132 virtual streamsize xsputn(char_type const * p, streamsize n) {
(gdb) bt
#0 0x006d6db4 in debugbuf::xsputn (this=0x0, p=0x63304c "LyX: reconfiguring user directory", n=33) at DebugStream.C:132
#1  0x0011b834 in std::ostream::write () at inset.C:375
#2 0x0011bf98 in std::operator<< <std::char_traits<char> > () at inset.C:375 #3 0x0007e2fc in (anonymous namespace)::reconfigureUserLyXDir () at lyx_main.C:88 #4 0x00080240 in LyX::init (this=0xbffff710, gui=9172896) at lyx_main.C:371 #5 0x0007ed50 in LyX::LyX (this=0xbffff710, [EMAIL PROTECTED], argv=0xbffff828) at lyx_main.C:147
#6  0x000b5478 in main (argc=1, argv=0xbffff828) at ../src/main.C:31

Bennett

Reply via email to