On Monday 05 October 2009 06:24:10 pm Pavel Sanda wrote:
> Stefano Franchi wrote:
> > 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 ()
> 
> can you put breakpoint on the begining of imageReady function
> and check on which line it really crashes?
> 
> in gdb something like:
> set break RenderPreview.cpp:line_number
> run
> cont
> 
> //cont as many times until crash happens - then you which is the last
> one, so again run, cont times-1 and use 'n' for step by step walk...
> 
> pavel
> 

Hi Pavel,

   well I tried, but I am afraid the procedure you suggestes starts to be 
rather complicated. What exactly should I write in gdb? I never used it before 
except for getting a backtrace, so you'll have to be very explicit. 


Cheers,

S.

______________________________________________________________
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