Abdelrazak Younes | 2 Jan 2007 14:38
Picon
Favicon

Re: TABLE OF CONTENTS bug

Jürgen Spitzmüller wrote:
> Jürgen Spitzmüller wrote:
>> Breakpoint 1, lyx::frontend::Kernel::bufferview (this=0x7fff6badcc48)
>>     at Kernel.C:91
>> 91              return lyxview_.view();
> 
> FWIW, here's the backtrace for this one:

But where does it crash?

> 
> #0  lyx::frontend::Kernel::bufferview (this=0x7fff6badcc48) at Kernel.C:91
> #1  0x0000000000c68286 in lyx::frontend::ControlToc::getCurrentTocItem (
>     this=<value optimized out>, type= <at> 0x159b820) at ControlToc.C:89
> #2  0x0000000000aa39af in lyx::frontend::QToc::getCurrentIndex 
> (this=0x159b820)
>     at QToc.C:95
> #3  0x0000000000bb0846 in lyx::frontend::QTocDialog::updateGui 
> (this=0x175a610)
>     at QTocDialog.C:246
> #4  0x0000000000bb0b39 in QTocDialog (this=0x175a610, dialog= <at> 0x13b7de0,
>     form=0x159b820) at QTocDialog.C:46
> #5  0x0000000000a2bd02 in lyx::Dialogs::build (this=<value optimized out>,
>     name= <at> 0x7fff6badd860) at Dialogs.C:303
> #6  0x0000000000a0c21d in lyx::Dialogs::find_or_build (this=0x1397750,
>     name= <at> 0x7fff6badd860) at Dialogs.C:89
> #7  0x0000000000a0c3a3 in lyx::Dialogs::show (this=0x7fff6badcc48,
>     name= <at> 0x7fff6badd860, data= <at> 0x7fff6badd850, inset=0x13e1500)
>     at Dialogs.C:115
> #8  0x0000000000a145d2 in lyx::LyXView::showInsetDialog (
>     this=<value optimized out>, name= <at> 0x159b820, data= <at> 0x15204d0, inset=0x1)
>     at LyXView.C:273
> #9  0x0000000000a1aa94 in 
> boost::detail::function::void_function_obj_invoker3<boost::_bi::bind_t<void, 
> boost::_mfi::mf3<void, lyx::LyXView, std::string const&, std::string const&, 
> lyx::InsetBase*>, boost::_bi::list4<boost::_bi::value<lyx::LyXView*>, 
> boost::arg<1> (*)(), boost::arg<2> (*)(), boost::arg<3> (*)()> >, void---Type 
> <return> to continue, or q <return> to quit---
> , std::string, std::string, lyx::InsetBase*>::invoke (
>     function_obj_ptr=<value optimized out>, a0= <at> 0x159b820, a1= <at> 0x15204d0,
>     a2=0x13e1500) at ../../boost/boost/bind/mem_fn_template.hpp:384
> #10 0x000000000081393f in boost::function3<void, std::string, std::string, 
> lyx::InsetBase*, std::allocator<void> >::operator() (this=0x13456d8,
>     a0= <at> 0x7fff6bade060, a1=<value optimized out>, a2=0x13e1500)
>     at ../../boost/boost/function/function_template.hpp:692
> #11 0x00000000008149f5 in boost::signal3<void, std::string, std::string, 
> lyx::InsetBase*, boost::last_value<void>, int, std::less<int>, 
> boost::function<void ()(std::string, std::string, lyx::InsetBase*), 
> std::allocator<void> > >::operator() (this=0x145cc78, a1=<value optimized 
> out>, a2=<value optimized out>,
>     a3=<value optimized out>)
>     at ../../boost/boost/signals/signal_template.hpp:119
> #12 0x000000000091603b in lyx::MailInset::showDialog (this=0x7fff6bade310,
>     bv=0x145cbb0) at mailinset.C:30
> #13 0x0000000000951a13 in lyx::InsetCommand::doDispatch (this=0x13e1500,
>     cur=<value optimized out>, cmd=<value optimized out>) at 
> insetcommand.C:133
> #14 0x0000000000918a54 in lyx::InsetBase::dispatch (this=0x13e1500,
>     cur= <at> 0x7fff6bade380, cmd= <at> 0x7fff6bade430) at insetbase.C:132
> #15 0x000000000043398b in lyx::BufferView::workAreaDispatch (this=0x145cbb0,
>     cmd0=<value optimized out>) at BufferView.C:1118
> #16 0x0000000000a24e9d in lyx::frontend::WorkArea::dispatch (this=0x13b2598,
>     cmd0= <at> 0x7fff6bade4a0) at WorkArea.C:196
> ---Type <return> to continue, or q <return> to quit---
> #17 0x0000000000ad49b7 in lyx::frontend::GuiWorkArea::mouseReleaseEvent (
>     this=0x13b2570, e=0x7fff6badebf0) at GuiWorkArea.C:305
> #18 0x00002acc3f395178 in QWidget::event (this=0x13b2570, 
> event=0x7fff6badebf0)
>     at kernel/qwidget.cpp:5698
> #19 0x00002acc3f5e49a9 in QFrame::event (this=0x7fff6badcc48, e=0x159b820)
>     at widgets/qframe.cpp:633
> #20 0x00002acc3f64cd5a in QAbstractScrollArea::viewportEvent (
>     this=0x7fff6badcc48, e=0x159b820) at widgets/qabstractscrollarea.cpp:854
> #21 0x00002acc3f64e088 in QAbstractScrollAreaFilter::eventFilter (
>     this=<value optimized out>, o=<value optimized out>, e=0x15204d0)
>     at widgets/qabstractscrollarea_p.h:78
> #22 0x00002acc3f3504f3 in QApplicationPrivate::notify_helper (
>     this=<value optimized out>, receiver=0x13e9620, e=0x7fff6badebf0)
>     at kernel/qapplication.cpp:3426
> #23 0x00002acc3f352ad1 in QApplication::notify (this=0x12b03e0,
>     receiver=0x13e9620, e=0x7fff6badebf0) at kernel/qapplication.cpp:3133
> #24 0x00002acc3f3a4856 in QETWidget::translateMouseEvent (this=0x13e9620,
>     event=<value optimized out>)
>     at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:186
> #25 0x00002acc3f3a372a in QApplication::x11ProcessEvent (this=0x63,
>     event=0x7fff6badf0c0) at kernel/qapplication_x11.cpp:2850
> #26 0x00002acc3f3c4e65 in x11EventSourceDispatch (s=0x12b6af0, callback=0,
>     user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:122
> ---Type <return> to continue, or q <return> to quit---
> #27 0x00002acc41609f94 in g_main_context_dispatch ()
>    from /opt/gnome/lib64/libglib-2.0.so.0
> #28 0x00002acc4160cdc5 in g_main_context_prepare ()
>    from /opt/gnome/lib64/libglib-2.0.so.0
> #29 0x00002acc4160d2ee in g_main_context_iteration ()
>    from /opt/gnome/lib64/libglib-2.0.so.0
> #30 0x00002acc41357c30 in QEventDispatcherGlib::processEvents (this=0x12b48f0,
>     flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:363
> #31 0x00002acc3f3c4c7f in QGuiEventDispatcherGlib::processEvents (
>     this=0x7fff6badcc48, flags=<value optimized out>)
>     at kernel/qguieventdispatcher_glib.cpp:178
> #32 0x00002acc413366b8 in QEventLoop::processEvents (
>     this=<value optimized out>, flags=<value optimized out>)
>     at kernel/qeventloop.cpp:126
> #33 0x00002acc413367c9 in QEventLoop::exec (this=0x7fff6badf440,
>     flags= <at> 0x7fff6badf450) at kernel/qeventloop.cpp:172
> #34 0x00002acc413389c0 in QCoreApplication::exec ()
>     at kernel/qcoreapplication.cpp:727
> #35 0x0000000000ab5b09 in lyx::frontend::GuiApplication::exec (
>     this=<value optimized out>) at GuiApplication.C:155
> #36 0x00000000006a1f98 in lyx::LyX::exec (this=0x7fff6bae0650,
>     argc=<value optimized out>, argv=<value optimized out>) at lyx_main.C:401
> #37 0x0000000000428e5f in main (argc=1, argv=0x7fff6bae0768) at main.C:48
> 
> Jürgen
> 


Gmane