1.5svn crashed on my while doing the following:

- open LyX
- while attempting to load the two documents remembered by session, LyX asked 
my whether one of them, where the backup is newer, should be restored or not
- I hit "cancel", so only one of the two files was loaded
- now i closed that remaining file
=> LyX crashed.


(gdb) run
Starting program: /home/juergen/lyx/lyx-devel/src/lyx
[Thread debugging using libthread_db enabled]
[New Thread 46989521635968 (LWP 16117)]
/usr/include/c++/4.1.2/debug/safe_iterator.h:181:error: attempt to
    dereference a singular iterator.

Objects involved in the operation:
iterator "this" @ 0x0x1987700 {
type = 
N11__gnu_debug14_Safe_iteratorIN10__gnu_norm14_List_iteratorIN3lyx9ParagraphEEEN15__gnu_debug_def4listIS4_SaIS4_EEEEE
 
(mutable iterator);
  state = singular;
  references sequence with type 
`N15__gnu_debug_def4listIN3lyx9ParagraphESaIS2_EEE' @ 0x0x1987700
}

Program received signal SIGABRT, Aborted.
[Switching to Thread 46989521635968 (LWP 16117)]
0x00002abc996ca535 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00002abc996ca535 in raise () from /lib64/libc.so.6
#1  0x00002abc996cb990 in abort () from /lib64/libc.so.6
#2  0x00002abc9919cdc7 in __gnu_debug::_Error_formatter::_M_error () 
from /usr/lib64/libstdc++.so.6
#3  0x000000000048f4bb in 
__gnu_debug::_Safe_iterator<__gnu_norm::_List_iterator<lyx::Paragraph>, 
__gnu_debug_def::list<lyx::Paragraph, std::allocator<lyx::Paragraph> > 
>::operator* (this=0x1987700)
    at /usr/include/c++/4.1.2/debug/safe_iterator.h:179
#4  0x000000000054a087 in lyx::Buffer::buildMacros (this=0x1983f50) at 
support/RandomAccessList.h:172
#5  0x00000000004311ab in lyx::BufferView::update (this=0x1687750, flags=3) at 
BufferView.C:361
#6  0x00000000006ef9b5 in lyx::LyXFunc::dispatch (this=0x1431970, 
[EMAIL PROTECTED]) at lyxfunc.C:872
#7  0x00000000006bc992 in lyx::dispatch ([EMAIL PROTECTED]) at lyx_main.C:1451
#8  0x0000000000a44da6 in lyx::LyXView::dispatch (this=0x15a39f8, 
[EMAIL PROTECTED]) at LyXView.C:441
#9  0x0000000000bfc7a5 in lyx::frontend::Action::action (this=0x18b6010) at 
Action.C:93
#10 0x0000000000bfc80b in lyx::frontend::Action::qt_metacall (this=0x18b6010, 
_c=QMetaObject::InvokeMetaMethod, _id=0,
    _a=0x7fff15cc5500) at Action_moc.cpp:69
#11 0x00002abc97169bcb in QMetaObject::activate (sender=0x18b6010, 
from_signal_index=5, to_signal_index=6,
    argv=0xffffffffffffffff) at kernel/qobject.cpp:2940
#12 0x00002abc95163ba7 in QAction::triggered (this=0x3ef5, _t1=false) 
at .moc/release-shared/moc_qaction.cpp:208
#13 0x00002abc9516433d in QAction::activate (this=0x18b6010, event=<value 
optimized out>) at kernel/qaction.cpp:1075
#14 0x00002abc9542a6a0 in QMenuPrivate::activateAction (this=0x1551310, 
action=0x18b6010, action_e=QAction::Trigger)
    at widgets/qmenu.cpp:756
#15 0x00002abc951ae998 in QWidget::event (this=0x154e0b0, 
event=0x7fff15cc5d60) at kernel/qwidget.cpp:5718
#16 0x00002abc95427efb in QMenu::event (this=0x154e0b0, e=0x7fff15cc5d60) at 
widgets/qmenu.cpp:1901
#17 0x00002abc95169bbc in QApplicationPrivate::notify_helper (this=0x1436210, 
receiver=0x154e0b0, e=0x7fff15cc5d60)
---Type <return> to continue, or q <return> to quit---
    at kernel/qapplication.cpp:3439
#18 0x00002abc9516c4a1 in QApplication::notify (this=0x1437330, 
receiver=0x154e0b0, e=0x7fff15cc5d60)
    at kernel/qapplication.cpp:3138
#19 0x0000000000ae8164 in lyx::frontend::GuiApplication::notify (this=0x3ef5, 
receiver=0x3ef5, event=0x6)
    at GuiApplication.C:223
#20 0x00002abc951bed01 in QETWidget::translateMouseEvent (this=0x154e0b0, 
event=<value optimized out>)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:186
#21 0x00002abc951bd2da in QApplication::x11ProcessEvent (this=0x136, 
event=0x7fff15cc6230)
    at kernel/qapplication_x11.cpp:2853
#22 0x00002abc951deca5 in x11EventSourceDispatch (s=0x143f8a0, callback=0, 
user_data=0x0)
    at kernel/qguieventdispatcher_glib.cpp:122
#23 0x00002abc97630f94 in g_main_context_dispatch () 
from /opt/gnome/lib64/libglib-2.0.so.0
#24 0x00002abc97633dc5 in g_main_context_prepare () 
from /opt/gnome/lib64/libglib-2.0.so.0
#25 0x00002abc976342ee in g_main_context_iteration () 
from /opt/gnome/lib64/libglib-2.0.so.0
#26 0x00002abc9717a430 in QEventDispatcherGlib::processEvents (this=0x143bdb0, 
flags=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:366
#27 0x00002abc951deabf in QGuiEventDispatcherGlib::processEvents (this=0x3ef5, 
flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:178
#28 0x00002abc97158da8 in QEventLoop::processEvents (this=<value optimized 
out>, flags=<value optimized out>)
    at kernel/qeventloop.cpp:126
#29 0x00002abc97158eb9 in QEventLoop::exec (this=0x7fff15cc65b0, 
[EMAIL PROTECTED]) at kernel/qeventloop.cpp:172
#30 0x00002abc9715b080 in QCoreApplication::exec () at 
kernel/qcoreapplication.cpp:730
#31 0x0000000000ae75a9 in lyx::frontend::GuiApplication::exec (this=<value 
optimized out>) at GuiApplication.C:154
---Type <return> to continue, or q <return> to quit---
#32 0x00000000006ca7ef in lyx::LyX::exec (this=0x7fff15cc77d0, argc=<value 
optimized out>, argv=<value optimized out>)
    at lyx_main.C:462
#33 0x000000000042a8af in main (argc=1, argv=0x7fff15cc78e8) at main.C:48



Jürgen

Reply via email to