It's the line which sets the buffer for a new inset. I had a bad feeling about this Buffer* patch for insets and now it bites us with plenty of segfaults :-/

Stefan

Am 29.02.2008 um 18:12 schrieb Abdelrazak Younes:

Stefan Schimanski wrote:
Does it happen all the time? I cannot reproduce it. It would help a lot if you find a sequence of keypresses or so to trigger the crash.

Alt-i f
Ctrl-m
A

Happens all the time. Must be a recent commit because it didn't happen before I svn updated.

Abdel.

Stefan
Am 29.02.2008 um 16:48 schrieb sebastian guttenberg:
No idea what happened this time. Was trying to write an 'A' in an
equation in a footnote.... :

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1224735024 (LWP 18784)]
0x0926b0cd in ?? ()
(gdb) bt
#0  0x0926b0cd in ?? ()
#1  0xbfc6007b in ?? ()
#2  0x08b746a0 in ?? ()
#3 0x08210ca8 in lyx::Cursor::insert (this=0x8d91158, inset=0x8dcea58)
at Cursor.cpp:1028
#4  0x08210d6c in lyx::Cursor::insert (this=0x8d91158, c=65) at
Cursor.cpp:1006
#5  0x08298c56 in lyx::InsetMathNest::interpretChar (this=0x8c2d470,
[EMAIL PROTECTED], c=65) at mathed/InsetMathNest.cpp:1507
#6  0x0829adbf in lyx::InsetMathNest::doDispatch (this=0x8c2d470,
[EMAIL PROTECTED], [EMAIL PROTECTED]) at mathed/InsetMathNest.cpp:764
#7  0x082f7696 in lyx::InsetMathGrid::doDispatch (this=0x8c2d470,
[EMAIL PROTECTED], [EMAIL PROTECTED]) at mathed/InsetMathGrid.cpp:1345
#8  0x0827dcb0 in lyx::InsetMathHull::doDispatch (this=0x8c2d470,
[EMAIL PROTECTED], [EMAIL PROTECTED]) at mathed/InsetMathHull.cpp:1179
#9 0x083068cc in lyx::Inset::dispatch (this=0x8c2d470, [EMAIL PROTECTED],
[EMAIL PROTECTED]) at insets/Inset.cpp:197
#10 0x082140ac in lyx::Cursor::dispatch (this=0x8d91158,
[EMAIL PROTECTED]) at Cursor.cpp:315
#11 0x080e2cfc in lyx::LyXFunc::dispatch (this=0x888b8d0,
[EMAIL PROTECTED]) at LyXFunc.cpp:1698
#12 0x080e4901 in lyx::LyXFunc::processKeySym (this=0x888b8d0,
[EMAIL PROTECTED], state=lyx::ShiftModifier) at LyXFunc.cpp:368
#13 0x0844f85d in lyx::frontend::GuiWorkArea::processKeySym
(this=0x8d8ff60, [EMAIL PROTECTED], mod=lyx::ShiftModifier) at
GuiWorkArea.cpp:382
#14 0x084541a3 in lyx::frontend::GuiWorkArea::keyPressEvent
(this=0x8d8ff60, ev=0xbfc682e4) at GuiWorkArea.cpp:817
#15 0xb78ca380 in QWidget::event () from /usr/lib/libQtGui.so.4
#16 0xb7c0ab12 in QFrame::event () from /usr/lib/libQtGui.so.4
#17 0xb7c9b9e1 in QAbstractScrollArea::event ()
from /usr/lib/libQtGui.so.4
#18 0x08450af0 in lyx::frontend::GuiWorkArea::event (this=0x8d8ff60,
e=0xbfc682e4) at GuiWorkArea.cpp:587
#19 0xb7878d75 in QApplicationPrivate::notify_helper ()
from /usr/lib/libQtGui.so.4
#20 0xb78793ab in QApplication::notify () from /usr/lib/ libQtGui.so.4 #21 0x0841466e in lyx::frontend::GuiApplication::notify (this=0x888fdc0,
receiver=0x8d8ff60, event=0xbfc682e4) at GuiApplication.cpp:467
#22 0xb761241e in QCoreApplication::notifyInternal ()
from /usr/lib/libQtCore.so.4
#23 0xb78840d3 in ?? () from /usr/lib/libQtGui.so.4
#24 0x0888fdc0 in ?? ()
#25 0x08d8ff60 in ?? ()
#26 0xbfc682e4 in ?? ()
#27 0xbfc68364 in ?? ()
#28 0x00000001 in ?? ()
#29 0xbfc68288 in ?? ()
#30 0xb78d65b4 in ?? () from /usr/lib/libQtGui.so.4
#31 0x08d8ff60 in ?? ()
#32 0xbfc682e4 in ?? ()
#33 0xbfc68378 in ?? ()
#34 0xb790e1d8 in ?? () from /usr/lib/libQtGui.so.4
#35 0x08d8ff60 in ?? ()
#36 0xbfc682e4 in ?? ()
#37 0x00000041 in ?? ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



Reply via email to