Roger -

I'm forwarding this to the developer's list. Thanks for the report.

Bennett

On Jun 14, 2006, at 12:48 AM, Roger Mc Murtrie wrote:

I have to start Lyx under gdb  with
gdb /Applications/LyX.app/Contents/MacOS/lyx

If I just use gdb /Applications/LyX.app the LyX window comes up but I can't activate it.

Finally a crash under GDB, although I'm not sure its the one we're looking for which results in a bus error, presumably due to invalid memory addressing. Maybe GDB spots it and sends the abort?
I guess you'll know what's going on.

I've included the tail of the LyX debug in case that helps.

Roger



Paint inset fully
.
Redraw screen
expose 848x853+0+0
void BufferView::Pimpl::updateScrollbar() Updating scrollbar: height: 41 curr par: 27 default height 19
LoaderQueue: I'm going to sleep
LyXFunc::dispatch: cmd:  action: 198 arg: 'delete-row' x: 0 y: 0
void LCursor::dispatch(const FuncRequest&) cmd: action: 198 arg: 'delete-row' x: 0 y: 0

cursor:                                | anchor:
inset: 0x100fd57c idx: 0 par: 27 pos: 75 | inset: 0x100fd57c idx: 0 par: 27 pos: 75 inset: 0x23cc3cb0 idx: 3 par: 0 pos: 0 | inset: 0x23cc3cb0 idx: 3 par: 0 pos: 0
selection: 0 x_target: 347

LCursor::dispatch: cmd:  action: 198 arg: 'delete-row' x: 0 y: 0

cursor:                                | anchor:
inset: 0x100fd57c idx: 0 par: 27 pos: 75 | inset: 0x100fd57c idx: 0 par: 27 pos: 75 inset: 0x23cc3cb0 idx: 3 par: 0 pos: 0 | inset: 0x23cc3cb0 idx: 3 par: 0 pos: 0
selection: 0 x_target: 347

returning FINISHED_LEFT
void BufferView::Pimpl::update(Update::flags)[fitcursor = 1, forceupdate = 2, singlepar = 0] buffer: 0x23000de0 ViewMetricsInfo BufferView::Pimpl::metrics(bool) y1: -74 y2: 908 pit1: 22 pit2: 33 npit: 41 singlepar: 0
/usr/include/c++/4.0.0/debug/vector:192:error: attempt to subscript
    container with out-of-bounds index 3, but container only holds 3
    elements.

Objects involved in the operation:
sequence "this" @ 0x0x23cc3cc0 {
  type = N15__gnu_debug_def6vectorI9MathArraySaIS1_EEE;
}

Program received signal SIGABRT, Aborted.
0x9003d9ec in kill ()



(gdb) bt
#0  0x9003d9ec in kill ()
#1  0x9010f24f in raise ()
#2  0x9010dda2 in abort ()
#3  0x90afa0a9 in __gnu_debug::_Error_formatter::_M_error ()
#4 0x0068e8ac in __gnu_debug_def::vector<MathArray, std::allocator<MathArray> >::operator[] (this=0x23cc3cc0, __n=3) at /usr/include/c++/4.0.0/debug/vector:192 #5 0x0003b42c in CursorSlice::cell (this=0x23c7dc24) at cursor_slice.C:43 #6 0x00158875 in MathNestInset::cursorPos (this=0x23cc3cb0, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]) at math_nestinset.C:103 #7 0x0002f478 in bv_funcs::coordOffset ([EMAIL PROTECTED], boundary=false) at bufferview_funcs.C:166 #8 0x0002f7f8 in bv_funcs::getPos ([EMAIL PROTECTED], boundary=false) at bufferview_funcs.C:211 #9 0x00004e5a in BufferView::Pimpl::fitCursor (this=0xfec3870) at BufferView_pimpl.C:652 #10 0x000058f0 in BufferView::Pimpl::update (this=0xfec3870, flags=3) at BufferView_pimpl.C:698 #11 0x0005b8ef in LyXFunc::dispatch (this=0xfec2df0, [EMAIL PROTECTED]) at lyxfunc.C:1599 #12 0x003753d9 in lyx::frontend::QLPopupMenu::fire (this=0x23c436d0, index=7) at QLPopupMenu.C:102 #13 0x0044dfd9 in lyx::frontend::QLPopupMenu::qt_invoke (this=0x23c436d0, _id=57, _o=0xbfffde78) at QLPopupMenu_moc.C:88 #14 0x0014756e in QObject::activate_signal () at ControlCommandBuffer.C:68 #15 0x00149936 in QObject::activate_signal () at ControlCommandBuffer.C:68
#16 0x0030dab2 in QPopupMenu::activated () at lengthcombo_moc.C:123
#17 0x001db2d6 in QPopupMenu::actSig () at lengthcombo.C:38
#18 0x001dec38 in QPopupMenu::activateItemAt () at lengthcombo.C:38
#19 0x002a9fa9 in QMenuBar::activate () at command_inset.C:36
#20 0x00187866 in QApplication::globalEventProcessor () at lcolorcache.C:39
#21 0x92ef88e3 in DispatchEventToHandlers ()
#22 0x92ef7f68 in SendEventToEventTargetInternal ()
#23 0x92eff0c8 in SendEventToEventTarget ()
#24 0x92f7f5cd in SendHICommandEvent ()
#25 0x92fb3176 in ProcessHICommandWithContextAndModifiers ()
#26 0x92fb3114 in SendMenuItemSelectedEvent ()
#27 0x92fb3028 in FinishMenuSelection ()
#28 0x92f97f53 in MenuSelectCore ()
#29 0x92f97a14 in MenuSelect ()
#30 0x0018394f in QApplication::do_mouse_down () at lcolorcache.C:39
#31 0x001850f8 in QApplication::globalEventProcessor () at lcolorcache.C:39
#32 0x92ef88e3 in DispatchEventToHandlers ()
#33 0x92ef7f68 in SendEventToEventTargetInternal ()
#34 0x92eff0c8 in SendEventToEventTarget ()
#35 0x92effaea in ToolboxEventDispatcherHandler ()
#36 0x92ef8c9a in DispatchEventToHandlers ()
#37 0x92ef7f68 in SendEventToEventTargetInternal ()
#38 0x92eff0c8 in SendEventToEventTarget ()
#39 0x0017fa39 in qt_mac_send_event () at lcolorcache.C:39
#40 0x0029009a in QEventLoop::processEvents () at fileiter.cpp:203
#41 0x0026f13b in QEventLoop::enterLoop () at lengthcombo.C:38
#42 0x0026f0a2 in QEventLoop::exec () at lengthcombo.C:38
#43 0x00105312 in lyx_gui::start ([EMAIL PROTECTED], [EMAIL PROTECTED]) at lyx_gui.C:248 #44 0x0004f158 in LyX::priv_exec (this=0xed18890, [EMAIL PROTECTED], argv=0xbffff5a0) at lyx_main.C:280 #45 0x0004f1d5 in LyX::exec ([EMAIL PROTECTED], argv=0xbffff5a0) at lyx_main.C:143
#46 0x00002b83 in main (argc=1, argv=0xbffff5a0) at main.C:47
(gdb)

Reply via email to