Hi again,

trying to find bugs in my patch, I was doing my best to make LyX crash in 
'gdb'.

Finally I succeeded! 

But I was not amused at all (most disappointed) when examining closer what 
had happened: As it seems it is unrelated to my patch; yet another xforms 
issue. It's confusing; my guess is a SIGABRT (assert() failed somewhere) was 
caught.

Or can it be related with my patch?

I was trying to paste really harmless text (no 'umlauts', etc. this time) 
into LyX' main window, while the LaTeX-preamble form popup was open. And: 

        Click mouse-button2. Crash!

Some more details follow beneath.

Greets,

        Arnd



Here's LyX' -dbg 131 error.log:

------------snip-----------------

[preceding 44074 lines clipped; I think only the end is interesting]

update: d:/tmp/lyx_tmp104aaa/lyx_bufrtmp104aad/c.tex 1644215721 1644215721
update: d:/usr/doc/a4.sty 962697417 962697417
update: d:/usr/doc/bitmap.sty 1473144523 1473144523
update: d:/usr/doc/comp.latex 2243407726 2243407726
update: d:/usr/doc/lists.latex 951004466 951004466
update: d:/tmp/lyx_tmp104aaa/lyx_bufrtmp104aad/c.lof 3549507132 3549507132
update: d:/tmp/lyx_tmp104aaa/lyx_bufrtmp104aad/c.toc 621466802 621466802
update: d:/tmp/lyx_tmp104aaa/lyx_bufrtmp104aad/c.bbl 942491936 4163462556
Durchlauf Nr. 3
This is emTeX (htex386), Version 3.14159 [4b] (preloaded format=latex 
98.9.20)  7 AUG 1999 13:57
**&latex c.tex
(c.tex
LaTeX2e <1997/12/01> patch level 1
Babel <v3.6h> and hyphenation patterns for english, german, french, spanish, 
lo
aded.
(d:/xfree86/usr/emtex/texinput/latex2e/paper/paper.cls
Document Class: paper 1996/07/25 1.0i LaTeX document class (wm).
\hours=\count79
\minutes=\count80
(d:/xfree86/usr/emtex/texinput/latex2e/size10.clo
File: size10.clo 1997/10/10 v1.3x Standard LaTeX file (size option)
)
\beforetitlespace=\skip41
\c@part=\count81
\c@section=\count82
\c@subsection=\count83
\c@subsubsection=\count84
\c@paragraph=\count85
\c@subparagraph=\count86
\exampleindent=\skip42
\c@figure=\count87
\c@table=\count88
\abovecaptionskip=\skip43
\belowcaptionskip=\skip44
\bibindent=\dimen102
) (d:/xfree86/usr/emtex/texinput/latex2e/fontenc.sty
Package: fontenc 1998/01/16 v1.9m Standard LaTeX package
(d:/xfree86/usr/emtex/texinput/latex2e/t1enc.def
File: t1enc.def 1998/01/16 v1.9m Standard LaTeX file
LaTeX Font Info:    Redeclaring font encoding T1 on input line 81.
)) (d:/xfree86/usr/emtex/texinput/etc/a4.sty
Package: a4 1995/09/25 v1.2e A4 based page layout
) (d:/xfree86/usr/emtex/texinput/babel/babel.sty
Package: babel 1998/03/24 v3.6j The Babel package
(d:/xfree86/usr/emtex/texinput/babel/english.ldf
File: english.ldf 1996/12/23 v3.3h English support from the babel system
(d:/xfree86/usr/emtex/texinput/babel/babel.def
File: babel.def 1998/03/24 v3.6j Babel common definitions
\babel@savecnt=\count89
\U@D=\dimen103
)
\l@american = a dialect from \language\l@english 
)) (d:/xfree86/usr/emtex/texinput/latex2e/rawfonts.sty
Package: rawfonts 1994/05/08 Low-level LaTeX 2.09 font compatibility
(d:/xfree86/usr/emtex/texinput/latex2e/somedefs.sty
Package: somedefs 1994/06/01 Toolkit for optional definitions
)
LaTeX Font Info:    Try loading font information for U+lasy on input line 
36.
(d:/xfree86/usr/emtex/texinput/latex2e/ulasy.fd
File: ulasy.fd 1996/11/20 v2.2dLaTeX symbol font definitions
)) (d:/xfree86/usr/emtex/texinput/latex2e/graphics/bitmap.sty
\bmhpoz=\count90
\bmwid=\count91
\bmrlen=\dimen104
\bmpsiz=\dimen105
)
\minitw=\skip45
\citation{Hol87}
LaTeX Warning: Citation `Hol87' undefined on input line 45.
LaTeX Warning.
\citation{HandS}
LaTeX Warning: Citation `HandS' undefined on input line 46.
LaTeX Warning.
\citation{CTandP}
LaTeX Warning: Citation `CTandP' undefined on input line 47.
LaTeX Warning.
\citation{KP78}
LaTeX Warning: Citation `KP78' undefined on input line 48.
LaTeX Warning.
\citation{H90}
LaTeX Warning: Citation `H90' undefined on input line 49.
LaTeX Warning.
\citation{NRC}
LaTeX Warning: Citation `NRC' undefined on input line 50.
LaTeX Warning.
\citation{BBD}
LaTeX Warning: Citation `BBD' undefined on input line 51.
LaTeX Warning.
\citation{Qualline}
LaTeX Warning: Citation `Qualline' undefined on input line 52.
LaTeX Warning.
\citation{Korsh}
LaTeX Warning: Citation `Korsh' undefined on input line 53.
LaTeX Warning.
(c.aux)
LaTeX Font Info:    Checking defaults for OML/cmm/m/it on input line 57.
LaTeX Font Info:    ... okay on input line 57.
LaTeX Font Info:    Checking defaults for T1/cmr/m/n on input line 57.
LaTeX Font Info:    ... okay on input line 57.
LaTeX Font Info:    Checking defaults for OT1/cmr/m/n on input line 57.
LaTeX Font Info:    ... okay on input line 57.
LaTeX Font Info:    Checking defaults for OMS/cmsy/m/n on input line 57.
LaTeX Font Info:    ... okay on input line 57.
LaTeX Font Info:    Checking defaults for OMX/cmex/m/n on input line 57.
LaTeX Font Info:    ... okay on input line 57.
LaTeX Font Info:    Checking defaults for U/cmr/m/n on input line 57.
LaTeX Font Info:    ... okay on input line 57.
LaTeX Font Info:    Try loading font information for T1+cmss on input line 
73.
(d:/xfree86/usr/emtex/texinput/latex2e/t1cmss.fd
File: t1cmss.fd 1998/01/10 v2.5f Standard LaTeX font definitions
)
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <14.4> on input line 73.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <7> on input line 73.
LaTeX Font Info:    Try loading font information for T1+cmtt on input line 
73.
(d:/xfree86/usr/emtex/texinput/latex2e/t1cmtt.fd
File: t1cmtt.fd 1998/01/10 v2.5f Standard LaTeX font definitions
)
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <9> on input line 77.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <6> on input line 77.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <5> on input line 77.
Underfull \hbox (badness 10000) in paragraph at lines 102--103
[]\T1/cmr/m/n/10 All sug-ges-tions and cor-rec-tions should go to Tim Love, 
CUE
D
 []
LaTeX Font Info:    Try loading font information for OMS+cmr on input line 
104.
(d:/xfree86/usr/emtex/texinput/latex2e/omscmr.fd
File: omscmr.fd 1998/01/10 v2.5f Standard LaTeX font definitions
)
LaTeX Font Info:    Font shape `OMS/cmr/m/n' in size <10> not available
(Font)              Font shape `OMS/cmsy/m/n' tried instead on input line 
104.
[1
] (c.toc [2])
\tf@toc=\write3
(c.lof
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <12> on input line 2.
LaTeX Font Info:    External font `cmex10' loaded for size
(Font)              <8> on input line 2.
)
\tf@lof=\write4
Overfull \hbox (10.06544pt too wide) in paragraph at lines 152--157
\T1/cmtt/m/n/10 gopher.eng.cam.ac.uk:CUED Published/Computer 
Service/teaching_C
.ps 
 []
[3] [4] [5] (d:/xfree86/usr/emtex/texinput/warning.px) (d:/usr/doc//comp
.latex)
Overfull \hbox (67.64743pt too wide) in paragraph at lines 34--253
[][]
 []
Underfull \hbox (badness 10000) in paragraph at lines 34--253
 []
[6] (d:/xfree86/usr/emtex/texinput/warning.px) [7] 
(d:/xfree86/usr/emtex/texinp
ut/warning.px) [8]
Overfull \hbox (24.56804pt too wide) in paragraph at lines 435--435
[]\T1/cmtt/m/n/10 if (i==3) /* checking for equality; `!=' tests for 
inequality
 */  
 []
[9] [10] [11]
Overfull \hbox (52.05519pt too wide) in paragraph at lines 633--633
 []\T1/cmtt/m/n/10 /* TODO: Set all elements which represent multiples of 
num t
o NONPRIME. */[] 
 []
Overfull \hbox (20.56288pt too wide) in paragraph at lines 633--633
 []\T1/cmtt/m/n/10 /* TODO: Set all the elements to PRIME. Remember, the 1st 
el
ement is[] 
 []
Overfull \hbox (52.05519pt too wide) in paragraph at lines 633--633
 []\T1/cmtt/m/n/10 /* TODO: Print out the indices of elements which are 
still s
et to PRIME */[] 
 []
[12] [13] [14]
Overfull \hbox (6.06029pt too wide) in paragraph at lines 824--824
[]\T1/cmtt/m/n/10 iptr = &numbers[0]; /* Point iptr to the first element in 
num
bers[] */[] 
 []
[15]
Overfull \hbox (0.81157pt too wide) in paragraph at lines 846--846
[]    \T1/cmtt/m/n/10 /* Dereference the pointers, then use the `.' operator 
to
 get the[] 
 []
[16]
Overfull \hbox (0.81157pt too wide) in paragraph at lines 977--977
[]\T1/cmtt/m/n/10 char str3[]= "initial text"; /* str3 is set to the right 
size
 for you[] 
 []
Overfull \hbox (48.05003pt too wide) in paragraph at lines 977--977
[]                              \T1/cmtt/m/n/10 * and automatically 
terminated 
with a 0lyx-1.0.3[] 
 []
Overfull \hbox (11.309pt too wide) in paragraph at lines 977--977
[]                              \T1/cmtt/m/n/10 * byte. Note that you can 
only 
initialise[] 
 []
[17]
Overfull \hbox (16.55772pt too wide) in paragraph at lines 977--977
[] \T1/cmtt/m/n/10 /* concatenate " sir" onto str1. If str1 isn't big 
enough, h
ard luck */[] 
 []
Overfull \hbox (16.55772pt too wide) in paragraph at lines 977--977
[]   \T1/cmtt/m/n/10 printf("<%s> is from the first o in <%s> to the end of 
the
 string\n",[] 
 []
[18] [19] [20] [21] [22] [23] [24] [25]
LaTeX Font Info:    Font shape `T1/cmtt/bx/n' in size <10> not available
(Font)              Font shape `T1/cmtt/m/n' tried instead on input line 
1424.
LaTeX Font Info:    Font shape `T1/cmtt/bx/n' in size <9> not available
(Font)              Font shape `T1/cmtt/m/n' tried instead on input line 
1424.
[26]
Overfull \hbox (328.9937pt too wide) in paragraph at lines 1539--1540
\T1/cmtt/m/n/10 typedef int (*PFI)(int) /* declare PFI as pointer to 
function t
hat                            takes and returns an int.*/   
 []
Overfull \hbox (27.05516pt too wide) in paragraph at lines 1575--1575
[]\T1/cmtt/m/n/10 len = strlen(str) - 1; /* Why the -1? Because if a string 
has
 n chars, the[] 
 []
[27]
Overfull \hbox (23.09004pt too wide) in paragraph at lines 1615--1622
\T1/cmr/m/n/10 able in \T1/cmtt/m/n/10 make_reverse \T1/cmr/m/n/10 isn't 
per-ma
-nent -- its life-time is just the time \T1/cmtt/m/n/10 make_reverse()
 []
[28] [29] [30] [31] [32] (d:/xfree86/usr/emtex/texinput/warning.px) [33] 
[34] [
35]
Overfull \hbox (21.80644pt too wide) in paragraph at lines 2096--2096
[]             \T1/cmtt/m/n/10 dtree-i.h Tree.c Arc.c Arc.h ArcP.h Graph.c 
Grap
h.h GraphP.h[] 
 []
[36] [37]
Overfull \hbox (32.11006pt too wide) in paragraph at lines 2147--2147
 []\T1/cmtt/m/n/9 tw012/tpl:   cdecl declare fptab as array of pointer to 
funct
ion returning int[] 
 []
[38] [39] [40] [41]
Overfull \hbox (5.37215pt too wide) in paragraph at lines 2374--2387
[]\T1/cmr/m/n/10 When you give an ex-ter-nal dec-la-ra-tion in an-other file 
li
ke []\T1/cmtt/m/n/10 extern int *array;\T1/cmr/m/n/10 ,
 []
[42] [43] [44] [45] [46] [47] [48]
Overfull \hbox (20.01283pt too wide) in paragraph at lines 2755--2756
[]\T1/cmr/m/n/10 The \T1/cmtt/m/n/10 gopher.eng.cam.ac.uk \T1/cmr/m/n/10 
go-phe
r in \T1/cmtt/m/n/10 CUED help/languages/C/Tutorials\T1/cmr/m/n/10 . 
 []
[49]
Overfull \hbox (14.59547pt too wide) in paragraph at lines 2794--2794
[]\T1/cmtt/m/n/9 /* compile on HPs using c89 -D_HPUX_SOURCE -o filename 
filenam
e.c */   
 []
[50] (d:/usr/doc//lists.latex) [51] [52]
Overfull \hbox (19.31932pt too wide) in paragraph at lines 2964--2964
[]\T1/cmtt/m/n/9 char 
*words[]={"apple","belt","corpus","daffodil","epicycle","
floppy",  
 []
Overfull \hbox (38.2147pt too wide) in paragraph at lines 2977--2977
[]\T1/cmtt/m/n/9 /*count the number of double letters, first using arrays, 
then
 pointers */  
 []
[53]
Overfull \hbox (9.87163pt too wide) in paragraph at lines 3002--3002
[]\T1/cmtt/m/n/9 for (cpp= words; *cpp ; cpp++)     /* loop through words. 
The 
final   
 []
[54] [55] [56] [57]
Overfull \hbox (6.06029pt too wide) in paragraph at lines 3244--3244
[]  \T1/cmtt/m/n/10 /* We've run out of space. Reallocate with space for 10 
mor
e ints */[] 
 []
Overfull \hbox (37.5526pt too wide) in paragraph at lines 3244--3244
[]       \T1/cmtt/m/n/10 fprintf(stderr, "out of memory with %d elements\n", 
nu
m_of_elements);[] 
 []
[58] [59] [60] [61] [62]
Overfull \hbox (2.64134pt too wide) in paragraph at lines 3524--3530
\T1/cmr/m/n/10 made avail-able. Among these are func-tions to clas-sify a 
value
 as \T1/cmtt/m/n/10 NaN\T1/cmr/m/n/10 , \T1/cmtt/m/n/10 
Infinity\T1/cmr/m/n/10 
,
 []
[63] (c.bbl [64]) [65] (c.aux)
 *File List*
   paper.cls    1996/07/25 1.0i LaTeX document class (wm).
  size10.clo    1997/10/10 v1.3x Standard LaTeX file (size option)
 fontenc.sty    1998/01/16 v1.9m Standard LaTeX package
   t1enc.def    1998/01/16 v1.9m Standard LaTeX file
      a4.sty    1995/09/25 v1.2e A4 based page layout
   babel.sty    1998/03/24 v3.6j The Babel package
 english.ldf    1996/12/23 v3.3h English support from the babel system
rawfonts.sty    1994/05/08 Low-level LaTeX 2.09 font compatibility
somedefs.sty    1994/06/01 Toolkit for optional definitions
   ulasy.fd    1996/11/20 v2.2dLaTeX symbol font definitions
  bitmap.sty    
  t1cmss.fd    1998/01/10 v2.5f Standard LaTeX font definitions
  t1cmtt.fd    1998/01/10 v2.5f Standard LaTeX font definitions
  omscmr.fd    1998/01/10 v2.5f Standard LaTeX font definitions
    comp.latex
   lists.latex
       c.bbl
 ***********
 ) 
Here is how much of TeX's memory you used:
 1051 strings out of 55864
 11516 string characters out of 210295
 63020 words of memory out of 2097153
 3840 multiletter control sequences out of 28000
 33707 words of font info for 93 fonts, out of 200000 for 759
 52 hyphenation exceptions out of 2437
 24i,8n,23p,243b,465s stack positions out of 1000i,100n,60p,50000b,1000s
Output written on c.dvi (65 pages, 167892 bytes).
update: d:/tmp/lyx_tmp104aaa/lyx_bufrtmp104aad/c.tex 1644215721 1644215721
update: d:/usr/doc/a4.sty 962697417 962697417
update: d:/usr/doc/bitmap.sty 1473144523 1473144523
update: d:/usr/doc/comp.latex 2243407726 2243407726
update: d:/usr/doc/lists.latex 951004466 951004466
update: d:/tmp/lyx_tmp104aaa/lyx_bufrtmp104aad/c.lof 3549507132 3549507132
update: d:/tmp/lyx_tmp104aaa/lyx_bufrtmp104aad/c.toc 621466802 621466802
update: d:/tmp/lyx_tmp104aaa/lyx_bufrtmp104aad/c.bbl 942491936 942491936
todep: d:/tmp/lyx_tmp104aaa/lyx_bufrtmp104aad/c.tex 1644215721 1644215721
todep: d:/usr/doc/a4.sty 962697417 962697417
todep: d:/usr/doc/bitmap.sty 1473144523 1473144523
todep: d:/usr/doc/comp.latex 2243407726 2243407726
todep: d:/usr/doc/lists.latex 951004466 951004466
todep: d:/tmp/lyx_tmp104aaa/lyx_bufrtmp104aad/c.lof 3549507132 3549507132
todep: d:/tmp/lyx_tmp104aaa/lyx_bufrtmp104aad/c.toc 621466802 621466802
todep: d:/tmp/lyx_tmp104aaa/lyx_bufrtmp104aad/c.bbl 942491936 942491936
Done.
PathPop: d:/home/oso/.lyx
tmpwin: 58720291
window: 33554521
work_area_focus: 1
lyx_focus      : 0
tmpwin: 58720291
window: 33554521
work_area_focus: 1
lyx_focus      : 0
tmpwin: 58720291
window: 33554521
work_area_focus: 1
lyx_focus      : 0
tmpwin: 33554521
window: 33554521
work_area_focus: 1
lyx_focus      : 0
tmpwin: 33555956
window: 33554521
work_area_focus: 1
lyx_focus      : 0
tmpwin: 33555956
window: 33554521
work_area_focus: 1
lyx_focus      : 0
tmpwin: 33554521
window: 33554521
work_area_focus: 1
lyx_focus      : 0
LyX: Versuche Speichern des Dokuments d:/usr/doc/c.lyx als...
  1) d:/usr/doc/c.lyx.emergency
  Speichern scheint gelungen zu sein. Glück gehabt!
BadAtom (invalid Atom parameter) [???]
Abnormal program termination    [! emx spits this out, when SIGABRT 
                                        is caught, aka assert() failed]
core dumped                     [??? in gdb? What's this?]

------------snap-------------

        My debugger doesn't enlighten me much here (in fact all this is very 
confusing to me):

------------snip-----------------
gdb lyx
GDB is free software and you are welcome to distribute copies of it
 under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (emx), Copyright 1996 Free Software Foundation, Inc...
(gdb) set arg
(gdb) set arg -dbg 131 2>log
(gdb) r
Starting program: d:/xfree86/src/lyx-1.0.3/src/lyx.exe -dbg 131 2>log
[New thread 1]
[New thread 2]
[Thread terminated: 1]
[Thread terminated: 2]
Program exited with code 03.    [??? What does this mean, 
                                the doc's are silent here!
                                Is it a 'return 3', or what?]
(gdb) bt
No stack.
(gdb) q
Sa.  7.08.1999: 13.59.12,45 Uhr [D:\XFree86\src\lyx-1.0.3\src]
ls core
ls: core: No such file or directory

------------snap-------------

Reply via email to