Hi LyXers,

one minute ago, my LyX (1.0.0-pl8) crashed without emergency handling.
Fortunately I saved some minutes earlier and did only very few
changes.

I used this new version for two days now without problems.

What did I do? I selected some text including one inline formula, cut
it and tried to paste it at a different point. At the paste, the crash
happened. Oh,wait......
[One minute later]
Well, the crash is reprodicible! OK, then I'll compile a version
with -g and try again...
[15 busy compiler minutes later]
OK, here is the output of dbx:
(dbx) r
Invalid input style

Illegal instruction (reserved addressing fault) in . at 0x0
0x0 00000000       Invalid opcode.
(dbx) t
warning: could not locate trace table from starting address 0x0
LyXParagraph::CopyIntoMinibuffer(int)(this = 0x200f6a18, pos = 19), line 417 in 
"paragraph.C"
LyXParagraph::Clone()(this = 0x200f6a18), line 1498 in "paragraph.C"
unnamed block $b151, line 2125 in "text2.C"
PasteSelection()(0x200c8b08), line 2125 in "text2.C"
PasteCB()(), line 2253 in "lyx_cb.C"
lyxfunc.Dispatch(int,const char*)(0x200855d8, 0x2ff223ac, 0x13, 0x0), line 829 in 
"lyxfunc.C"
processKeyEvent(_XEvent*)(0x200855d8, 0x20046720), line 319 in "lyxfunc.C"
KeyPressMask_raw_callback(forms_*,void*)(0x2006fc18, 0x20046720), line 337 in 
"LyXView.C"
pre_emptive_consumed() at 0x10056864
do_interaction_step() at 0x10055da8
fl_treat_interaction_events() at 0x10058bec
fl_check_forms() at 0x1005b3fc
runTime()(0x2005b788), line 624 in "lyx_gui.C"
LyX(int*,char**)(0x2ff227b8, 0x2ff227f8, 0x2ff22830), line 119 in "lyx_main.C"
main(argc = 1, argv = 0x2ff22830), line 51 in "main.C"

At the paste, I traced the argument pos of CopyIntoMinibuffer, it run
from 0 to 71, then from 0 to 19. At pos=19, the crash happened.

At that pos, the call to

paragraph.C:417  minibuffer_inset = GetInset(pos)->Clone();

seem to lead into nirvana...

Some more info:

The argument "this" of CopyIntoMinibuffer contains

this->size: 20
this->text: "cross the phase 0x0b200000\0"

Hope that helps, I'll save a copy of the document (10 pages, 6
figures), I can send it if this is not enough info.

Have fun,

     Fred

Fred Hucht, Institute of Theoretical Physics, University of Duisburg, Germany
Email: [EMAIL PROTECTED]               http://www.thp.Uni-Duisburg.DE/
"Der Koerper der algebraischen Zahlen ist kein algebraischer Zahlkoerper"
(E. Landau, Zahlentheorie (1927), Satz 718)

Reply via email to