Recently I've been getting occasional crashes on quit. Using gdb, I see
multiple messages like this when LyX is running:


lyx(98256,0xa019dfa0) malloc: *** mmap(size=1206730752) failed (error
code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug


After I quit LyX I get the crash, and I look at the gdb output and see:


QObject: Do not delete object, 'unnamed', during its event handler!
QObject: Do not delete object, 'unnamed', during its event handler!
2008-07-11 12:00:39.845 lyx[98256:813] *** _NSAutoreleaseNoPool(): Object
0x1444e40 of class NSCFArray autoreleased with no pool in place - just
leaking
Stack: (0x90e4acdf 0x90d57562 0x931551b8 0x58063a 0x3a58de 0x3a59b3 0x3a5ee4
0x3a610b 0xb74bdd 0xa90a02 0x5b7278 0x60042d 0x367140 0x1107fd 0x117d3b
0x2129 0x2096)
2008-07-11 12:00:39.847 lyx[98256:813] *** _NSAutoreleaseNoPool(): Object
0x1080bf30 of class NSCFArray autoreleased with no pool in place - just
leaking
Stack: (0x90e4acdf 0x90d57562 0x92874867 0x92874557 0x58066a 0x3a58de
0x3a59b3 0x3a5ee4 0x3a610b 0xb74bdd 0xa90a02 0x5b7278 0x60042d 0x367140
0x1107fd 0x117d3b 0x2129 0x2096)
2008-07-11 12:00:39.847 lyx[98256:813] *** _NSAutoreleaseNoPool(): Object
0x10633fa0 of class NSCFSet autoreleased with no pool in place - just
leaking
Stack: (0x90e4acdf 0x90d57562 0x9287493e 0x92874557 0x58066a 0x3a58de
0x3a59b3 0x3a5ee4 0x3a610b 0xb74bdd 0xa90a02 0x5b7278 0x60042d 0x367140
0x1107fd 0x117d3b 0x2129 0x2096)
FileName.cpp(498): Could not delete
/Users/bennett/tmp/lyx_tmpdir98256yVijKo/lyx_tmpbuf5

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x6163697c
std::_Rb_tree<std::string, std::pair<std::string const, lyx::Messages>,
std::_Select1st<std::pair<std::string const, lyx::Messages> >,
std::less<std::string>, std::allocator<std::pair<std::string const,
lyx::Messages> > >::lower_bound (this=0xbffff464, [EMAIL PROTECTED]) at
LyX.cpp:2190
2190    { return __lhs.compare(__rhs) < 0; }


(Note that I'm not sure if this output appears before or after I attempt to
quit.)

Here's the backtrace for the crash:


#0  std::_Rb_tree<std::string, std::pair<std::string const, lyx::Messages>,
std::_Select1st<std::pair<std::string const, lyx::Messages> >,
std::less<std::string>, std::allocator<std::pair<std::string const,
lyx::Messages> > >::lower_bound (this=0xbffff464, [EMAIL PROTECTED]) at
LyX.cpp:2190
#1  0x00120d74 in std::map<std::string, lyx::Messages,
std::less<std::string>, std::allocator<std::pair<std::string const,
lyx::Messages> > >::operator[] (this=0xbffff460, [EMAIL PROTECTED]) at
LyX.cpp:2190
#2  0x0010f1b4 in lyx::getGuiMessages () at LyX.cpp:2190
warning: .o file
"/Users/bennett/lyx/lyx-devel/src/support/.libs/liblyxsupport.a(gettext.o)"
more recent than executable timestamp
#3  0x00566cef in lyx::_ ([EMAIL PROTECTED]) at LyX.cpp:2190
#4  0x0001592f in lyx::Buffer::~Buffer (this=0xefd148) at LyX.cpp:2190
#5  0x916dffdc in __cxa_finalize ()
#6  0x916dfed0 in exit ()
#7  0x0000209f in start ()


Bennett

Reply via email to