From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Jan D." Newsgroups: gmane.emacs.devel Subject: DJGPP only dumps with USE_LISP_UNION_TYPE ?? Date: Sun, 7 Nov 2004 11:13:18 +0100 Message-ID: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (Apple Message framework v619) Content-Type: multipart/mixed; boundary=Apple-Mail-4--891369792 X-Trace: sea.gmane.org 1099822545 27444 80.91.229.6 (7 Nov 2004 10:15:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 7 Nov 2004 10:15:45 +0000 (UTC) Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Nov 07 11:15:32 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CQk56-0002wz-00 for ; Sun, 07 Nov 2004 11:15:32 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQkDN-0000uN-IQ for ged-emacs-devel@m.gmane.org; Sun, 07 Nov 2004 05:24:05 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CQkCU-0000hM-Ml for emacs-devel@gnu.org; Sun, 07 Nov 2004 05:23:10 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CQkCT-0000fp-H3 for emacs-devel@gnu.org; Sun, 07 Nov 2004 05:23:09 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CQkCT-0000fR-60 for emacs-devel@gnu.org; Sun, 07 Nov 2004 05:23:09 -0500 Original-Received: from [195.54.107.73] (helo=mxfep02.bredband.com) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CQk3l-0006Mu-Ng for emacs-devel@gnu.org; Sun, 07 Nov 2004 05:14:10 -0500 Original-Received: from coolsville.localdomain ([83.226.180.220] [83.226.180.220]) by mxfep02.bredband.com with ESMTP id <20041107101408.QYLE6427.mxfep02.bredband.com@coolsville.localdomain> for ; Sun, 7 Nov 2004 11:14:08 +0100 Original-To: emacs devel X-Mailer: Apple Mail (2.619) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29513 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29513 --Apple-Mail-4--891369792 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hello. I was trying to get Emacs to compile on djgpp 2.03. But it crashed every time in the dump phase, at the first GC. I tried different gcc versions (2.95, 3.22, 3.42), different binutils versions (2.11, 2.15), with and without optimizations, with and without debugging but it always crashed at the same spot. Since it crashed in GC, I tried to set the USE_LISP_UNION_TYPE (found a couple of errors and checked them in), and to my surprise, I got a working Emacs. Does this sound familiar to anyone? Shouldn't with and without USE_LISP_UNION_TYPE be the same at runtime? I was wondering if this could happen at other systems besides djgpp, and if there is some subtle Lisp_Object handling bug somewhere. I've attached some debugging output. If anyone has any idea and want more debugging done, I can provide it. Thanks, Jan D. --Apple-Mail-4--891369792 Content-Transfer-Encoding: quoted-printable Content-Type: application/octet-stream; x-unix-mode=0640; name="symify.out" Content-Disposition: attachment; filename=symify.out stubedit=20temacs.exe=20minstack=3D100k set=20LC_ALL=3DC;=20./temacs=20-batch=20-l=20loadup=20dump Loading=20loadup.el=20(source)... Using=20load-path=20(../lisp) Loading=20emacs-lisp/byte-run... Loading=20emacs-lisp/backquote... Loading=20subr... Loading=20version.el=20(source)... Loading=20widget... Loading=20custom... Loading=20emacs-lisp/map-ynp... Loading=20env... Loading=20cus-start... Loading=20international/mule... Exiting=20due=20to=20signal=20SIGABRT Raised=20at=20eip=3D00168e5e eax=3D002f7e5c=20ebx=3D00000120=20ecx=3D00000000=20edx=3D00000000=20= esi=3D00000054=20edi=3D002dfa78 ebp=3D002f7f08=20esp=3D002f7e58=20program=3DD:\src\emacsCVS\src\temacs.exe= cs:=20sel=3D024f=20=20base=3D02f30000=20=20limit=3D003affff ds:=20sel=3D0257=20=20base=3D02f30000=20=20limit=3D003affff es:=20sel=3D0257=20=20base=3D02f30000=20=20limit=3D003affff fs:=20sel=3D0227=20=20base=3D00018030=20=20limit=3D0000ffff gs:=20sel=3D0277=20=20base=3D00000000=20=20limit=3D0010ffff ss:=20sel=3D0257=20=20base=3D02f30000=20=20limit=3D003affff App=20stack:=20[002f8a78..002dfa78]=20=20Exceptn=20stack:=20= [002df94c..002dda0c] Call=20frame=20traceback=20EIPs: =20=200x00168d84=20___djgpp_traceback_exit+48 =20=200x00168e5e=20_raise+90 =20=200x00152f3c=20_abort+55,=20line=205269=20of=20msdos.c =20=200x000de42c=20_mark_object+2599,=20line=205122=20of=20alloc.c =20=200x000de044=20_mark_object+1599,=20line=204974=20of=20alloc.c =20=200x000dd401=20_Fgarbage_collect+713,=20line=204458=20of=20alloc.c =20=200x000f946c=20_Feval+179,=20line=202015=20of=20eval.c =20=200x00114c1d=20_readevalloop+796,=20line=201376=20of=20lread.c =20=200x00113a8f=20_Fload+2532,=20line=20914=20of=20lread.c =20=200x000f98b4=20_Feval+1275,=20line=202126=20of=20eval.c =20=200x00114c1d=20_readevalloop+796,=20line=201376=20of=20lread.c =20=200x00113a8f=20_Fload+2532,=20line=20914=20of=20lread.c =20=200x000f98b4=20_Feval+1275,=20line=202126=20of=20eval.c =20=200x000784cb=20_top_level_2+20,=20line=201318=20of=20keyboard.c =20=200x000f8259=20_internal_condition_case+243,=20line=201367=20of=20= eval.c =20=200x0007857f=20_top_level_1+52,=20line=201326=20of=20keyboard.c =20=200x000f7cc1=20_internal_catch+168,=20line=201128=20of=20eval.c =20=200x0007842e=20_command_loop+101,=20line=201283=20of=20keyboard.c =20=200x00077f3e=20_recursive_edit_1+118,=20line=20981=20of=20keyboard.c =20=200x00078074=20_Frecursive_edit+148,=20line=201043=20of=20keyboard.c =20=200x00076390=20_main+3459,=20line=201740=20of=20emacs.c =20=200x0015fde8=20___crt1_startup+176 make.exe:=20***=20[emacs]=20Error=20-1 --Apple-Mail-4--891369792 Content-Transfer-Encoding: quoted-printable Content-Type: application/octet-stream; x-unix-mode=0640; name="debug.out" Content-Disposition: attachment; filename=debug.out #0=20=20abort=20()=20at=20msdos.c:5258 #1=20=200x000de42c=20in=20mark_object=20(arg=3D-1)=20at=20alloc.c:5116 #2=20=200x000de044=20in=20mark_object=20(arg=3D2985636)=20at=20= alloc.c:4974 #3=20=200x000dd401=20in=20Fgarbage_collect=20()=20at=20alloc.c:4458 #4=20=200x000f946c=20in=20Feval=20(form=3D4071341)=20at=20eval.c:2011 #5=20=200x00114c1d=20in=20readevalloop=20(readcharfun=3D3676001,=20= stream=3D0x38c7c0, =20=20=20=20sourcename=3D4010275,=20evalfun=3D0xf93b9=20,=20= printflag=3D0,=20unibyte=3D3592193, =20=20=20=20readfun=3D3592193)=20at=20lread.c:1376 #6=20=200x00113a8f=20in=20Fload=20(file=3D4010275,=20noerror=3D3592193,=20= nomessage=3D3592193, =20=20=20=20nosuffix=3D3592193,=20must_suffix=3D3592193)=20at=20= lread.c:914 #7=20=200x000f98b4=20in=20Feval=20(form=3D4003557)=20at=20eval.c:2126 #8=20=200x00114c1d=20in=20readevalloop=20(readcharfun=3D3676001,=20= stream=3D0x38c8a0, =20=20=20=20sourcename=3D3806867,=20evalfun=3D0xf93b9=20,=20= printflag=3D0,=20unibyte=3D3592193, =20=20=20=20readfun=3D3592193)=20at=20lread.c:1376 #9=20=200x00113a8f=20in=20Fload=20(file=3D3806867,=20noerror=3D3592193,=20= nomessage=3D3592193, =20=20=20=20nosuffix=3D3592193,=20must_suffix=3D3592193)=20at=20= lread.c:914 #10=200x000f98b4=20in=20Feval=20(form=3D3622853)=20at=20eval.c:2126 #11=200x000784cb=20in=20top_level_2=20()=20at=20keyboard.c:1318 #12=200x000f8259=20in=20internal_condition_case=20(bfun=3D0x784b7=20= , =20=20=20=20handlers=3D3660233,=20hfun=3D0x78180=20)=20at=20= eval.c:1367 #13=200x0007857f=20in=20top_level_1=20()=20at=20keyboard.c:1326 #14=200x000f7cc1=20in=20internal_catch=20(tag=3D3657545,=20func=3D0x7854b=20= , =20=20=20=20arg=3D3592193)=20at=20eval.c:1128 #15=200x0007842e=20in=20command_loop=20()=20at=20keyboard.c:1283 #16=200x00077f3e=20in=20recursive_edit_1=20()=20at=20keyboard.c:981 #17=200x00078074=20in=20Frecursive_edit=20()=20at=20keyboard.c:1042 #18=200x00076390=20in=20main=20(argc=3D5,=20argv=3D0x365c80)=20at=20= emacs.c:1738 #0=20=20abort=20()=20at=20msdos.c:5258 5258=20=20=20=20=20=20dos_ttcooked=20(); (gdb)=20up #1=20=200x000de42c=20in=20mark_object=20(arg=3D-1)=20at=20alloc.c:5116 5116=20=20=20=20=20=20=20=20=20=20abort=20(); (gdb)=20l 5111 5112=20=20=20=20=20=20=20=20case=20Lisp_Int: 5113=20=20=20=20=20=20=20=20=20=20break; 5114 5115=20=20=20=20=20=20=20=20default: 5116=20=20=20=20=20=20=20=20=20=20abort=20(); 5117=20=20=20=20=20=20=20=20} 5118 5119=20=20=20=20#undef=20CHECK_LIVE 5120=20=20=20=20#undef=20CHECK_ALLOCATED (gdb)=20p=20obj $1=20=3D=20-1 (gdb)=20up #2=20=200x000de044=20in=20mark_object=20(arg=3D2985636)=20at=20= alloc.c:4974 4974=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20mark_object=20= (ptr->contents[i]); (gdb)=20p=20ptr->contents[i] $1=20=3D=20-1 (gdb)=20l 4969=20=20=20=20=20=20=20=20=20=20=20=20=20=20VECTOR_MARK=20(ptr);=20=20=20= =20/*=20Else=20mark=20it=20*/ 4970=20=20=20=20=20=20=20=20=20=20=20=20=20=20if=20(size=20&=20= PSEUDOVECTOR_FLAG) 4971=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20size=20&=3D=20= PSEUDOVECTOR_SIZE_MASK; 4972 4973=20=20=20=20=20=20=20=20=20=20=20=20=20=20for=20(i=20=3D=200;=20i=20= <=20size;=20i++)=20/*=20and=20then=20mark=20its=20elements=20*/ 4974=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20mark_object=20= (ptr->contents[i]); 4975=20=20=20=20=20=20=20=20=20=20=20=20} 4976=20=20=20=20=20=20=20=20=20=20break; 4977 4978=20=20=20=20=20=20=20=20case=20Lisp_Symbol: (gdb)=20p=20i $2=20=3D=2040 (gdb)=20p=20size $3=20=3D=203592193 (gdb)=20up #3=20=200x000dd401=20in=20Fgarbage_collect=20()=20at=20alloc.c:4458 4458=20=20=20=20=20=20=20=20mark_object=20(*staticvec[i]); (gdb)=20l 4453=20=20=20=20=20=20/*=20clear_marks=20();=20*/ 4454 4455=20=20=20=20=20=20/*=20Mark=20all=20the=20special=20slots=20that=20= serve=20as=20the=20roots=20of=20accessibility .=20=20*/ 4456 4457=20=20=20=20=20=20for=20(i=20=3D=200;=20i=20<=20staticidx;=20i++) 4458=20=20=20=20=20=20=20=20mark_object=20(*staticvec[i]); 4459 4460=20=20=20=20=20=20for=20(bind=20=3D=20specpdl;=20bind=20!=3D=20= specpdl_ptr;=20bind++) 4461=20=20=20=20=20=20=20=20{ 4462=20=20=20=20=20=20=20=20=20=20mark_object=20(bind->symbol); (gdb)=20p=20i $1=20=3D=20418 ... Breakpoint=202,=20staticpro=20(varaddress=3D0x2cae00)=20at=20= alloc.c:4315 4315=20=20=20=20=20=20if=20(staticidx=20>=3D=20NSTATICS) (gdb)=20p=20staticidx $1=20=3D=20419 (gdb)=20up #1=20=200x0009dc23=20in=20syms_of_buffer=20()=20at=20buffer.c:5192 5192=20=20=20=20=20=20staticpro=20(&Vbuffer_local_symbols); (gdb)=20l 5187=20=20=20=20=20=20staticpro=20(&last_overlay_modification_hooks); 5188=20=20=20=20=20=20last_overlay_modification_hooks 5189=20=20=20=20=20=20=20=20=3D=20Fmake_vector=20(make_number=20(10),=20= Qnil); 5190 5191=20=20=20=20=20=20staticpro=20(&Vbuffer_defaults); 5192=20=20=20=20=20=20staticpro=20(&Vbuffer_local_symbols); 5193=20=20=20=20=20=20staticpro=20(&Qfundamental_mode); 5194=20=20=20=20=20=20staticpro=20(&Qmode_class); 5195=20=20=20=20=20=20staticpro=20(&QSFundamental); 5196=20=20=20=20=20=20staticpro=20(&Vbuffer_alist);= --Apple-Mail-4--891369792 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-devel --Apple-Mail-4--891369792--