On Sunday 27 September 2009 04:49:38 am Jürgen Spitzmüller wrote:
> Stefano Franchi wrote:
> > I recently updated to 1.6.4 and I experiencing crashes I did not have
> >  before.  These happen when working on a large document (a book) which is
> >  made up of several smaller files (the chapters). Lyx quits suddenly when
> >  scrolling the main . Can anyone remind me of which debug option I should
> >  choose to obtain any meaningful output in the terminal?
> 
> What OS are you on?
> 
> If you have gdb, try to get a backtrace as described here:
> http://wiki.lyx.org/FAQ/FurtherHelp#toc4
> 
> Also, try to condense your document to a minimal text case that shows the
> behaviour.
> 
> Jürgen
> 


Hi Jürgen, 

thanks for the link, I had forgotten about the gdb stuff.

I am on Linux/Kubuntu 9.04. I append the output from the debugger below. I am 
working on producing a smaller text case.

S.
-------------------------------------------------------
(gdb) run
Starting program: /usr/local/bin/lyx
[Thread debugging using libthread_db enabled]
[New Thread 0x7f5fdfc3c750 (LWP 4805)]
[New Thread 0x7f5fd3faa950 (LWP 4823)]
[New Thread 0x7f5fd37a9950 (LWP 4824)]
[Thread 0x7f5fd3faa950 (LWP 4823) exited]
[Thread 0x7f5fd37a9950 (LWP 4824) exited]
latex failed to compile 0lyxpreview.tex

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f5fdfc3c750 (LWP 4805)]
0x000000000064d757 in lyx::RenderPreview::imageReady ()
Current language:  auto; currently asm
(gdb) bt
#0  0x000000000064d757 in lyx::RenderPreview::imageReady ()
#1  0x00000000008e37dc in boost::function1<void, lyx::graphics::PreviewImage 
const&>::operator() ()
#2  0x00000000008e4272 in boost::signal1<void, lyx::graphics::PreviewImage 
const&, boost::last_value<void>, int, std::less<int>, boost::function<void ()
(lyx::graphics::PreviewImage const&)> >::operator() ()
#3  0x0000000000727f0c in boost::function0<void>::operator() ()
#4  0x00000000008d31cd in boost::signal0<void, boost::last_value<void>, int, 
std::less<int>, boost::function<void ()()> >::operator() ()
#5  0x0000000000727f0c in boost::function0<void>::operator() ()
#6  0x00000000008d31cd in boost::signal0<void, boost::last_value<void>, int, 
std::less<int>, boost::function<void ()()> >::operator() ()
#7  0x00000000008d1fce in 
lyx::graphics::CacheItem::Impl::convertToDisplayFormat ()
#8  0x00000000008d924e in lyx::graphics::LoaderQueue::loadNext ()
#9  0x0000000000727f0c in boost::function0<void>::operator() ()
#10 0x00000000008d31cd in boost::signal0<void, boost::last_value<void>, int, 
std::less<int>, boost::function<void ()()> >::operator() ()
#11 0x00000000009159d5 in lyx::Timeout::emit ()
#12 0x00007f5fde77d263 in QObject::event (this=0x3820680, e=0x3796238) at 
kernel/qobject.cpp:1075
#13 0x00007f5fdec02f4d in QApplicationPrivate::notify_helper (this=0xd65790, 
receiver=0x3820680, e=0x7fffe7c7fb20)
    at kernel/qapplication.cpp:4056
#14 0x00007f5fdec0b18a in QApplication::notify (this=0xd63d20, 
receiver=0x3820680, e=0x7fffe7c7fb20) at kernel/qapplication.cpp:4021
#15 0x000000000071e4f8 in lyx::frontend::GuiApplication::notify ()
#16 0x00007f5fde76d6ac in QCoreApplication::notifyInternal (this=0xd63d20, 
receiver=0x3820680, event=0x7fffe7c7fb20)
    at kernel/qcoreapplication.cpp:610
#17 0x00007f5fde79a516 in QTimerInfoList::activateTimers (this=0xd74060)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#18 0x00007f5fde796b2d in timerSourceDispatch (source=<value optimized out>) 
at kernel/qeventdispatcher_glib.cpp:165
#19 0x00007f5fdc62b20a in g_main_context_dispatch () from 
/usr/lib/libglib-2.0.so.0
#20 0x00007f5fdc62e8e0 in ?? () from /usr/lib/libglib-2.0.so.0
#21 0x00007f5fdc62ea7c in g_main_context_iteration () from 
/usr/lib/libglib-2.0.so.0
#22 0x00007f5fde796a8f in QEventDispatcherGlib::processEvents (this=0xd20a40, 
flags=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:327
#23 0x00007f5fdec9bbdf in QGuiEventDispatcherGlib::processEvents (this=0x7e, 
flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:202
#24 0x00007f5fde76bf42 in QEventLoop::processEvents (this=<value optimized 
out>, flags={i = -406323824}) at kernel/qeventloop.cpp:149
#25 0x00007f5fde76c314 in QEventLoop::exec (this=0x7fffe7c7fdd0, flags={i = 
-406323744}) at kernel/qeventloop.cpp:201
#26 0x00007f5fde76e5e4 in QCoreApplication::exec () at 
kernel/qcoreapplication.cpp:888
#27 0x00000000004e1484 in lyx::LyX::exec ()
#28 0x000000000043630f in main ()
(gdb)


______________________________________________________________
Stefano Franchi
Department of Philosophy          Ph:  (979) 862-2211
Texas A&M University              Fax: (979) 845-0458
305B Bolton Hall                  fran...@philosophy.tamu.edu
College Station, TX 77843-4237

Reply via email to