2 Jan 2007 16:19
Re: TABLE OF CONTENTS bug
Jürgen Spitzmüller wrote: > Abdelrazak Younes wrote: > However, when clicking on the TOC button, LyX now segfaults _in_ the debug > statement and outputs: > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 47944124461152 (LWP 3009)] > lyx::LyXView::view (this=0x13) at LyXView.C:293 > 293 lyxerr << "work_area_:" << work_area_ << endl; > > Note that the value output by gdb lacks the last 5 chars. > > I really don't know what I'm talking about, but since Peter's patch also just > added debug statements (and changed the crash behaviour): is it possible that > stdlib-debug is just crap? Maybe the problem is elsewhere before and the crash here is just because lyxerr uses the standard output. I guess this earlier problem corrupted your memory somewhat. >> I forgot the gdb command >> that permits to watch a variable but you certainly know this, don't you? > > print, I think. But I don't know how to use that. From my memory: "print work_area_" or "p work_area_" to get the pointer value and "p *work_area_" to get the memory contents. This is easier and faster that using debug statementsAbdel.
Abdel.
RSS Feed