On Sunday 04 October 2009 05:57:16 am Pavel Sanda wrote:
> Stefano Franchi wrote:
> > On Sunday 27 September 2009 04:49:38 am Jürgen Spitzmüller wrote:
> > Any suggestion on how to narrow down the problem further is welcome. I
> > checked the bug tracker and could not find a related ticket, with the
> > exception of the old (and fixed)  #3970 which may or may not be related.
> 
> can you try to apply the following patch and post the output from console
> when lyx collapses?
> 
> pavel
> 


Hi Pavel,

  the console output after the crash is not very informative:

lyx: SIGSEGV signal caught
Sorry, you have found a bug in LyX. Please read the bug-reporting instructions 
in Help->Introduction and send us a bug report, if necessary. Thanks !
Bye.
Aborted


I am appending below the backtraces from gdb, both with an unpatched and with 
a patched versions of lyx 1.6.4 stable:

Backtrace on unpatched lyx 1.6.4 (stable)

latex failed to compile 0lyxpreview.tex

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f06830d1750 (LWP 32678)]
0x000000000064d757 in lyx::RenderPreview::imageReady ()
(gdb)
(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 0x00007f0681c12263 in QObject::event (this=0x509cce0, e=0x508f3f8) at 
kernel/qobject.cpp:1075
#13 0x00007f0682097f4d in QApplicationPrivate::notify_helper (this=0x26c1790, 
receiver=0x509cce0, e=0x7fff8b113fc0)
    at kernel/qapplication.cpp:4056
#14 0x00007f06820a018a in QApplication::notify (this=0x26bfd20, 
receiver=0x509cce0, e=0x7fff8b113fc0) at kernel/qapplication.cpp:4021
#15 0x000000000071e4f8 in lyx::frontend::GuiApplication::notify ()
#16 0x00007f0681c026ac in QCoreApplication::notifyInternal (this=0x26bfd20, 
receiver=0x509cce0, event=0x7fff8b113fc0)
    at kernel/qcoreapplication.cpp:610
#17 0x00007f0681c2f516 in QTimerInfoList::activateTimers (this=0x26d0060)
    at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#18 0x00007f0681c2bb2d in timerSourceDispatch (source=<value optimized out>) 
at kernel/qeventdispatcher_glib.cpp:165
#19 0x00007f067fac020a in g_main_context_dispatch () from 
/usr/lib/libglib-2.0.so.0
#20 0x00007f067fac38e0 in ?? () from /usr/lib/libglib-2.0.so.0
#21 0x00007f067fac3a7c in g_main_context_iteration () from 
/usr/lib/libglib-2.0.so.0
#22 0x00007f0681c2ba8f in QEventDispatcherGlib::processEvents (this=0x267ca40, 
flags=<value optimized out>)
    at kernel/qeventdispatcher_glib.cpp:327
#23 0x00007f0682130bdf in QGuiEventDispatcherGlib::processEvents (this=0x24, 
flags=<value optimized out>)
    at kernel/qguieventdispatcher_glib.cpp:202
#24 0x00007f0681c00f42 in QEventLoop::processEvents (this=<value optimized 
out>, flags={i = -1961803216}) at kernel/qeventloop.cpp:149
#25 0x00007f0681c01314 in QEventLoop::exec (this=0x7fff8b114270, flags={i = 
-1961803136}) at kernel/qeventloop.cpp:201
#26 0x00007f0681c035e4 in QCoreApplication::exec () at 
kernel/qcoreapplication.cpp:888
#27 0x00000000004e1484 in lyx::LyX::exec ()
#28 0x000000000043630f in main ()
(gdb)
--------------------------------------------------------------

backtrace on patched lyx 1.6.4

latex failed to compile 0lyxpreview.tex

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fb97fc32750 (LWP 513)]
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 0x00007fb97e773263 in QObject::event (this=0x3e88160, e=0x3d966b8) at 
kernel/qobject.cpp:1075
#13 0x00007fb97ebf8f4d in QApplicationPrivate::notify_helper (this=0x13c6f10, 
receiver=0x3e88160, e=0x7fff87c75ad0) at kernel/qapplication.cpp:4056
#14 0x00007fb97ec0118a in QApplication::notify (this=0x13c3d20, 
receiver=0x3e88160, e=0x7fff87c75ad0) at kernel/qapplication.cpp:4021
#15 0x000000000071e4f8 in lyx::frontend::GuiApplication::notify ()
#16 0x00007fb97e7636ac in QCoreApplication::notifyInternal (this=0x13c3d20, 
receiver=0x3e88160, event=0x7fff87c75ad0) at kernel/qcoreapplication.cpp:610
#17 0x00007fb97e790516 in QTimerInfoList::activateTimers (this=0x13d49c0) at 
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:213
#18 0x00007fb97e78cb2d in timerSourceDispatch (source=<value optimized out>) 
at kernel/qeventdispatcher_glib.cpp:165
#19 0x00007fb97c62120a in g_main_context_dispatch () from 
/usr/lib/libglib-2.0.so.0
#20 0x00007fb97c6248e0 in ?? () from /usr/lib/libglib-2.0.so.0
#21 0x00007fb97c624a7c in g_main_context_iteration () from 
/usr/lib/libglib-2.0.so.0
#22 0x00007fb97e78ca8f in QEventDispatcherGlib::processEvents (this=0x13c3b40, 
flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:327
#23 0x00007fb97ec91bdf in QGuiEventDispatcherGlib::processEvents 
(this=0x5d00000001, flags=<value optimized out>) at 
kernel/qguieventdispatcher_glib.cpp:202
#24 0x00007fb97e761f42 in QEventLoop::processEvents (this=<value optimized 
out>, flags={i = -2016977600}) at kernel/qeventloop.cpp:149
#25 0x00007fb97e762314 in QEventLoop::exec (this=0x7fff87c75d80, flags={i = 
-2016977520}) at kernel/qeventloop.cpp:201
#26 0x00007fb97e7645e4 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