From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: [Friedrich Delgado Friedrichs] Re: GC crashes Date: Wed, 14 Dec 2005 09:15:39 -0500 Message-ID: <87slsvwyr8.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1134587254 15555 80.91.229.2 (14 Dec 2005 19:07:34 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 14 Dec 2005 19:07:34 +0000 (UTC) Cc: rms@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 14 20:07:32 2005 Return-path: Original-Received: from [199.232.75.2] (helo=lists.gnu.org) by ciao.gmane.org with esmtp (Exim 4.43) id 1EmbvU-0006No-Gz for ged-emacs-devel@m.gmane.org; Wed, 14 Dec 2005 20:04:33 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Embw5-00027i-4q for ged-emacs-devel@m.gmane.org; Wed, 14 Dec 2005 14:05:09 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EmXQl-0003dt-UZ for emacs-devel@gnu.org; Wed, 14 Dec 2005 09:16:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EmXQg-0003cm-SQ for emacs-devel@gnu.org; Wed, 14 Dec 2005 09:16:29 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EmXQb-0003cO-11 for emacs-devel@gnu.org; Wed, 14 Dec 2005 09:16:22 -0500 Original-Received: from [18.95.6.185] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EmXSb-0003sX-5k; Wed, 14 Dec 2005 09:18:26 -0500 Original-Received: by localhost.localdomain (Postfix, from userid 1000) id DEED31E41D1; Wed, 14 Dec 2005 09:15:40 -0500 (EST) Original-To: emacs-devel@gnu.org User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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 X-Broken-Reverse-DNS: no host name found for IP address 199.232.75.2 Xref: news.gmane.org gmane.emacs.devel:47701 Archived-At: I asked Friedrich Friedrichs, who was getting crashes on his machine, to turn off hyperthreading and see if he can get another crash. He could; here's the backtrace. ----- Chong Yidong schrieb: > > Maybe I messed something up. > You need to compile with -g as well. That tells gcc to include symbol > table information. Doh! Sorry! :) Here comes the next backtrace. The debugger session is still running. Kind regards Friedel DISPLAY =3D :0.0 TERM =3D screen Breakpoint 1 at 0x8112eef: file emacs.c, line 461. Breakpoint 2 at 0x80ec1ed: file xterm.c, line 7772. (gdb) r Starting program: /afs/dfn-cert.de/user/delgado/anon-vc/emacs-dbg/src/emacs= -geometry 80x40+0+0 Program received signal SIGBUS, Bus error. initialize_cut_buffers (display=3D0x8, window=3D16843009) at xselect.c:2316 2316 { (gdb) bt full #0 initialize_cut_buffers (display=3D0x8, window=3D16843009) at xselect.c:= 2316 data =3D (unsigned char *) 0x820c124 "\213\367\017\b\001" #1 0x080ff866 in Fx_rotate_cut_buffers_internal (n=3D8) at xselect.c:2470 window =3D 73 props =3D {0, 0, 0, 0, 136364324, 138120105, 3220375768, 135779857} display =3D (Display *) 0x8748060 sf =3D (struct frame *) 0x856d418 #2 0x08192187 in Ffuncall (nargs=3D2, args=3D0xbff30980) at eval.c:2882 fun =3D 136364324 funcar =3D 16843009 numargs =3D 1 lisp_numargs =3D 16843009 val =3D 16843009 backtrace =3D { next =3D 0xbff30b00,=20 function =3D 0xbff30980,=20 args =3D 0xbff30984,=20 nargs =3D 1,=20 evalargs =3D 0 '\0',=20 debug_on_exit =3D 0 '\0' } internal_args =3D (Lisp_Object *) 0xbff30984 i =3D 16843009 #3 0x081c67a9 in Fbyte_code (bytestr=3D137230651, vector=3D137230700, maxd= epth=3D32) at bytecode.c:690 count =3D 16 op =3D 1 vectorp =3D (Lisp_Object *) 0x82df970 bytestr_length =3D 25 stack =3D { pc =3D 0x82df95b "\210\306\307\b\"\207",=20 top =3D 0xbff30984,=20 bottom =3D 0xbff30980,=20 byte_string =3D 137230651,=20 byte_string_start =3D 0x82df948 "\b;\204\f",=20 constants =3D 137230700,=20 next =3D 0xbff30c20 } top =3D (Lisp_Object *) 0xbff30980 result =3D 10 #4 0x08192987 in funcall_lambda (fun=3D137230596, nargs=3D2, arg_vector=3D= 0xbff30b64) at eval.c:3069 val =3D 137230596 syms_left =3D 137870409 next =3D 138134177 count =3D 14 i =3D 2 optional =3D 1 rest =3D 0 #5 0x081923a4 in Ffuncall (nargs=3D3, args=3D0xbff30b60) at eval.c:2928 fun =3D 137230596 funcar =3D 5 numargs =3D 2 lisp_numargs =3D 138018185 val =3D 147909779 backtrace =3D { next =3D 0xbff30ce0,=20 function =3D 0xbff30b60,=20 args =3D 0xbff30b64,=20 nargs =3D 2,=20 evalargs =3D 0 '\0',=20 debug_on_exit =3D 0 '\0' } internal_args =3D (Lisp_Object *) 0xbff30ac0 i =3D 3 #6 0x081c67a9 in Fbyte_code (bytestr=3D141831643, vector=3D141833868, maxd= epth=3D24) at bytecode.c:690 count =3D 14 op =3D 2 vectorp =3D (Lisp_Object *) 0x8743690 bytestr_length =3D 58 stack =3D { pc =3D 0x8730b32 "\210\314\315\b\"\210\b\026\017\016\020\2059",=20 top =3D 0xbff30b68,=20 bottom =3D 0xbff30b60,=20 byte_string =3D 141831643,=20 byte_string_start =3D 0x8730b10 "\bG\tY\203\023",=20 constants =3D 141833868,=20 next =3D 0xbff30e10 } top =3D (Lisp_Object *) 0xbff30b60 result =3D 0 #7 0x08192987 in funcall_lambda (fun=3D141834180, nargs=3D2, arg_vector=3D= 0xbff30d44) at eval.c:3069 val =3D 141834180 syms_left =3D 137870409 next =3D 138134177 count =3D 12 i =3D 2 optional =3D 1 rest =3D 0 #8 0x081923a4 in Ffuncall (nargs=3D3, args=3D0xbff30d40) at eval.c:2928 fun =3D 141834180 funcar =3D 3 numargs =3D 2 lisp_numargs =3D 96 val =3D 135784865 backtrace =3D { next =3D 0xbff30ed0,=20 function =3D 0xbff30d40,=20 args =3D 0xbff30d44,=20 nargs =3D 2,=20 evalargs =3D 0 '\0',=20 debug_on_exit =3D 0 '\0' } internal_args =3D (Lisp_Object *) 0xbff30d44 i =3D 150176365 #9 0x081c67a9 in Fbyte_code (bytestr=3D136885955, vector=3D136886076, maxd= epth=3D56) at bytecode.c:690 count =3D 12 op =3D 2 vectorp =3D (Lisp_Object *) 0x828b740 bytestr_length =3D 97 stack =3D { pc =3D 0x828b730 "\207",=20 top =3D 0xbff30d48,=20 bottom =3D 0xbff30d40,=20 byte_string =3D 136885955,=20 byte_string_start =3D 0x828b6d0 "\bG\306V\203\027",=20 constants =3D 136886076,=20 next =3D 0xbff31000 } top =3D (Lisp_Object *) 0xbff30d40 result =3D 0 #10 0x08192987 in funcall_lambda (fun=3D136885892, nargs=3D3, arg_vector=3D= 0xbff30f34) at eval.c:3069 val =3D 136885892 syms_left =3D 137870409 next =3D 138246137 count =3D 9 i =3D 3 optional =3D 1 rest =3D 0 #11 0x081923a4 in Ffuncall (nargs=3D4, args=3D0xbff30f30) at eval.c:2928 fun =3D 136885892 funcar =3D 0 numargs =3D 3 lisp_numargs =3D 137913313 val =3D 135773043 backtrace =3D { next =3D 0xbff310e0,=20 function =3D 0xbff30f30,=20 args =3D 0xbff30f34,=20 nargs =3D 3,=20 evalargs =3D 0 '\0',=20 debug_on_exit =3D 0 '\0' } internal_args =3D (Lisp_Object *) 0x0 i =3D 0 #12 0x081c67a9 in Fbyte_code (bytestr=3D136887019, vector=3D136887100, maxd= epth=3D40) at bytecode.c:690 count =3D 8 op =3D 3 vectorp =3D (Lisp_Object *) 0x828bb40 bytestr_length =3D 48 stack =3D { pc =3D 0x828bb18 "\210\n\204+",=20 top =3D 0xbff30f3c,=20 bottom =3D 0xbff30f30,=20 byte_string =3D 136887019,=20 byte_string_start =3D 0x828baf8 "\306\b\t\307#\211\032\203!",=20 constants =3D 136887100,=20 next =3D 0xbff31330 } top =3D (Lisp_Object *) 0xbff30f30 result =3D 53723 #13 0x081913c0 in Feval (form=3D136887005) at eval.c:2228 numargs =3D 24 args_left =3D 137870409 i =3D 3 maxargs =3D 3 argvals =3D {136887019, 136887100, 40, -1074589356, 0, 0, 0, 0} fun =3D 137572316 val =3D -1074589384 original_fun =3D 137976753 original_args =3D 136887013 funcar =3D 20788 backtrace =3D { next =3D 0xbff313f0,=20 function =3D 0xbff31114,=20 args =3D 0xbff31080,=20 nargs =3D 3,=20 evalargs =3D 1 '\001',=20 debug_on_exit =3D 0 '\0' } gcpro1 =3D { next =3D 0xbff31180,=20 var =3D 0x8bc44fc,=20 nvars =3D 53734 } gcpro2 =3D { next =3D 0x10,=20 var =3D 0x0,=20 nvars =3D 1134567009 } gcpro3 =3D { next =3D 0x21c,=20 var =3D 0xbff31080,=20 nvars =3D 3 } #14 0x0818fe72 in internal_lisp_condition_case (var=3D137870409, bodyform= =3D136887005, handlers=3D136887165) at eval.c:1412 val =3D 137870409 c =3D { tag =3D 137870409,=20 val =3D 137870409,=20 next =3D 0xbff31aa0,=20 gcpro =3D 0x0,=20 jmp =3D {{ __jmpbuf =3D {-1212522508, 0, -1208791872, -1074589096, -1074589392, = 135855547},=20 __mask_was_saved =3D 0,=20 __saved_mask =3D { __val =3D {53724, 0, 146785448, 146785448, 146785448, 146785448, 1,= 53892, 1, 53724, 53882, 0, 0, 53724, 53724,=20 3220378104, 136178385, 140976176, 53734, 53892, 1, 3082444788, 0,= 3220378200, 135610526, 140976176, 53734,=20 3220378824, 136115720, 1, 3220378688, 0} } }},=20 backlist =3D 0xbff313f0,=20 handlerlist =3D 0xbff31a80,=20 lisp_eval_depth =3D 2,=20 pdlcount =3D 8,=20 poll_suppress_count =3D 1,=20 interrupt_input_blocked =3D 0,=20 byte_stack =3D 0xbff31330 } h =3D { handler =3D 136887165,=20 var =3D 137870409,=20 chosen_clause =3D -1074589320,=20 tag =3D 0xbff31170,=20 next =3D 0xbff31a80 } #15 0x081c712f in Fbyte_code (bytestr=3D136886955, vector=3D136886980, maxd= epth=3D24) at bytecode.c:868 handlers =3D 136887165 body =3D 136887005 count =3D 8 op =3D 143 vectorp =3D (Lisp_Object *) 0x828bac8 bytestr_length =3D 5 stack =3D { pc =3D 0x828babc "\207",=20 top =3D 0xbff31270,=20 bottom =3D 0xbff31270,=20 byte_string =3D 136886955,=20 byte_string_start =3D 0x828bab8 "\300\301\302\217\207",=20 constants =3D 136886980,=20 next =3D 0xbff31520 } top =3D (Lisp_Object *) 0xbff31270 result =3D 0 #16 0x08192987 in funcall_lambda (fun=3D136886892, nargs=3D2, arg_vector=3D= 0xbff31454) at eval.c:3069 val =3D 136886892 syms_left =3D 137870409 next =3D 138246137 count =3D 5 i =3D 2 optional =3D 1 rest =3D 0 #17 0x081923a4 in Ffuncall (nargs=3D3, args=3D0xbff31450) at eval.c:2928 fun =3D 136886892 funcar =3D 53734 numargs =3D 2 lisp_numargs =3D 140976176 val =3D 135803693 backtrace =3D { next =3D 0xbff315e0,=20 function =3D 0xbff31450,=20 args =3D 0xbff31454,=20 nargs =3D 2,=20 evalargs =3D 0 '\0',=20 debug_on_exit =3D 0 '\0' } internal_args =3D (Lisp_Object *) 0xd27a i =3D 53724 #18 0x081c67a9 in Fbyte_code (bytestr=3D136890467, vector=3D136890556, maxd= epth=3D40) at bytecode.c:690 count =3D 5 op =3D 2 vectorp =3D (Lisp_Object *) 0x828c8c0 bytestr_length =3D 69 stack =3D { pc =3D 0x828c8b4 "\207",=20 top =3D 0xbff31458,=20 bottom =3D 0xbff31450,=20 byte_string =3D 136890467,=20 byte_string_start =3D 0x828c870 "\304`\b\203\017",=20 constants =3D 136890556,=20 next =3D 0x0 } top =3D (Lisp_Object *) 0xbff31450 result =3D -1074588608 #19 0x08192987 in funcall_lambda (fun=3D136890420, nargs=3D1, arg_vector=3D= 0xbff316b4) at eval.c:3069 val =3D 136890420 syms_left =3D 137870409 next =3D 138133673 count =3D 4 i =3D 1 optional =3D 1 rest =3D 0 #20 0x081923a4 in Ffuncall (nargs=3D2, args=3D0xbff316b0) at eval.c:2928 fun =3D 136890420 funcar =3D 137973658 numargs =3D 1 lisp_numargs =3D -1074587728 val =3D 137973658 backtrace =3D { next =3D 0xbff318c0,=20 function =3D 0xbff316b0,=20 args =3D 0xbff316b4,=20 nargs =3D 1,=20 evalargs =3D 0 '\0',=20 debug_on_exit =3D 0 '\0' } internal_args =3D (Lisp_Object *) 0x837bc49 i =3D 137973658 #21 0x0818dead in Fcall_interactively (function=3D138212593, record_flag=3D= 137870409, keys=3D137912380) at callint.c:884 val =3D 0 args =3D (Lisp_Object *) 0xbff316b0 visargs =3D (Lisp_Object *) 0xbff31690 argstrings =3D (unsigned char **) 0xbff31670 fun =3D 136890420 specs =3D 136890643 filter_specs =3D 137870409 teml =3D 138212593 up_event =3D 137870409 enable =3D 137870409 speccount =3D 3 next_event =3D 1 prefix_arg =3D 137870409 string =3D (unsigned char *) 0xbff316d0 "P" tem =3D (unsigned char *) 0x82029c4 "" varies =3D (int *) 0xbff31650 i =3D 2 j =3D 1 count =3D 1 foo =3D 137870409 prompt1 =3D '\0' tem1 =3D 0x0 arg_from_tty =3D 0 gcpro1 =3D { next =3D 0xb7f34cc0,=20 var =3D 0xb7ab3060,=20 nvars =3D -1074588000 } gcpro2 =3D { next =3D 0x831fe0c,=20 var =3D 0x0,=20 nvars =3D -1074587960 } gcpro3 =3D { next =3D 0x837bc49,=20 var =3D 0x0,=20 nvars =3D 2 } gcpro4 =3D { next =3D 0x1,=20 var =3D 0x0,=20 nvars =3D 2 } gcpro5 =3D { next =3D 0x831fe0c,=20 var =3D 0x837bc49,=20 nvars =3D -1074588248 } key_count =3D 1 record_then_fail =3D 0 save_this_command =3D 138212593 save_last_command =3D 137906721 save_this_original_command =3D 138212593 save_real_this_command =3D 138212593 #22 0x0812436b in Fcommand_execute (cmd=3D138212593, record_flag=3D13787040= 9, keys=3D137870409, special=3D137870409) at keyboard.c:9734 final =3D 136890420 tem =3D 137870409 prefixarg =3D 137870409 backtrace =3D { next =3D 0x0,=20 function =3D 0x836e2b0,=20 args =3D 0xbff31900,=20 nargs =3D 1,=20 evalargs =3D 0 '\0',=20 debug_on_exit =3D 0 '\0' } #23 0x08117800 in command_loop_1 () at keyboard.c:1777 scount =3D 2 cmd =3D 138212593 lose =3D 58 nonundocount =3D 0 keybuf =3D {88, 928, 0, -1074587104, -1208848700, -1213613462, 134532932, = 141419356, 134522036, 8144949,=20 134531718, 225011984, 20, -1213668492, -1213634044, -1213613268, 0, -1074= 587084, -1074587408, 0, 0, 19, -1074587080,=20 135742675, 140797712, 25, 28, 141419388, 137870409, 140500889} i =3D 1 no_direct =3D 0 prev_modiff =3D 6117 prev_buffer =3D (struct buffer *) 0x8672030 was_locked =3D 0 already_adjusted =3D 0 #24 0x0818ff85 in internal_condition_case (bfun=3D0x81164a9 , handlers=3D137916817,=20 hfun=3D0x8115fe6 ) at eval.c:1465 val =3D 137870409 c =3D { tag =3D 137870409,=20 val =3D 137870409,=20 next =3D 0xbff31bc0,=20 gcpro =3D 0x0,=20 jmp =3D {{ __jmpbuf =3D {-1212522508, 0, -1208791872, -1074586744, -1074587040, = 135855898},=20 __mask_was_saved =3D 0,=20 __saved_mask =3D { __val =3D {135745795, 3220380626, 141419364, 3220380432, 19, 1, 308= 2444788, 3220380544, 3086177560, 134532612,=20 110932256, 0 , 3081329316} } }},=20 backlist =3D 0x0,=20 handlerlist =3D 0x0,=20 lisp_eval_depth =3D 0,=20 pdlcount =3D 2,=20 poll_suppress_count =3D 1,=20 interrupt_input_blocked =3D 0,=20 byte_stack =3D 0x0 } h =3D { handler =3D 137916817,=20 var =3D 137870409,=20 chosen_clause =3D 0,=20 tag =3D 0xbff31aa0,=20 next =3D 0x0 } #25 0x0811632b in command_loop_2 () at keyboard.c:1315 val =3D 141852768 #26 0x0818fa2d in internal_catch (tag=3D137912881, func=3D0x8116308 , arg=3D137870409) at eval.c:1211 c =3D { tag =3D 137912881,=20 val =3D 137870409,=20 next =3D 0x0,=20 gcpro =3D 0x0,=20 jmp =3D {{ __jmpbuf =3D {-1212522508, 0, -1208791872, -1074586472, -1074586704, = 135854622},=20 __mask_was_saved =3D 0,=20 __saved_mask =3D { __val =3D {140797712, 140797715, 3220380360, 135746163, 19, 19, 308= 2453140, 140797731, 0, 3086175424, 3220380392,=20 135745795, 3220380626, 2, 19, 19, 1, 3082444788, 0, 3220380792, 1= 35774492, 138077841, 138055138, 137870409,=20 137902880, 0, 0, 0, 138055138, 138055138, 137870409, 2} } }},=20 backlist =3D 0x0,=20 handlerlist =3D 0x0,=20 lisp_eval_depth =3D 0,=20 pdlcount =3D 2,=20 poll_suppress_count =3D 1,=20 interrupt_input_blocked =3D 0,=20 byte_stack =3D 0x0 } #27 0x081162e1 in command_loop () at keyboard.c:1294 No locals. #28 0x08115d68 in recursive_edit_1 () at keyboard.c:987 count =3D 1 val =3D 138137109 #29 0x08115ead in Frecursive_edit () at keyboard.c:1048 count =3D 0 buffer =3D 137870409 #30 0x08114818 in main (argc=3D3, argv=3D0xbff320c4) at emacs.c:1786 dummy =3D -1212522508 stack_bottom_variable =3D 0 '\0' do_initial_setlocale =3D 1 skip_args =3D 0 rlim =3D { rlim_cur =3D 8388608,=20 rlim_max =3D 18446744073709551615 } no_loadup =3D 0 junk =3D 0x0 Lisp Backtrace: "x-rotate-cut-buffers-internal" "x-set-cut-buffer" "x-select-text" "kill-new" "byte-code" "kill-region" "kill-line" "call-interactively" (gdb)=20