From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Juanma Barranquero Newsgroups: gmane.emacs.devel Subject: GC crash on optimized build on Windows Date: Mon, 27 Feb 2012 14:05:52 +0100 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1330348006 29672 80.91.229.3 (27 Feb 2012 13:06:46 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 27 Feb 2012 13:06:46 +0000 (UTC) To: Emacs developers Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Feb 27 14:06:45 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S20Hs-0000DT-DZ for ged-emacs-devel@m.gmane.org; Mon, 27 Feb 2012 14:06:44 +0100 Original-Received: from localhost ([::1]:36399 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S20Hr-0006jq-Nw for ged-emacs-devel@m.gmane.org; Mon, 27 Feb 2012 08:06:43 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:44517) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S20Hk-0006hn-Dv for emacs-devel@gnu.org; Mon, 27 Feb 2012 08:06:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S20Hh-0008OM-KG for emacs-devel@gnu.org; Mon, 27 Feb 2012 08:06:36 -0500 Original-Received: from mail-pw0-f41.google.com ([209.85.160.41]:38563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S20Hh-0008OG-6Y for emacs-devel@gnu.org; Mon, 27 Feb 2012 08:06:33 -0500 Original-Received: by pbcun15 with SMTP id un15so1664998pbc.0 for ; Mon, 27 Feb 2012 05:06:32 -0800 (PST) Received-SPF: pass (google.com: domain of lekktu@gmail.com designates 10.68.226.170 as permitted sender) client-ip=10.68.226.170; Authentication-Results: mr.google.com; spf=pass (google.com: domain of lekktu@gmail.com designates 10.68.226.170 as permitted sender) smtp.mail=lekktu@gmail.com; dkim=pass header.i=lekktu@gmail.com Original-Received: from mr.google.com ([10.68.226.170]) by 10.68.226.170 with SMTP id rt10mr4522789pbc.127.1330347992375 (num_hops = 1); Mon, 27 Feb 2012 05:06:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=o/jHAUYoQTHw2avlxeDspdNaeIbbE6vIX1GpILk/TYI=; b=giAl9BcG9odnrg1HDhDckEV8dJhroTf6nxhUoZ3pRlfHujsVQVNi8GkNZIDCKpc0c5 gVDTTDwzIrjNH+1MBrqQ/+YoDxB/q/wzE5dxkgd3nMwEo3VitFwORNZd0oqBniAWYg6n A53vT61XrjsE+5A9PxngE5qsfX/TyubAlw4PU= Original-Received: by 10.68.226.170 with SMTP id rt10mr3827658pbc.127.1330347992185; Mon, 27 Feb 2012 05:06:32 -0800 (PST) Original-Received: by 10.142.241.5 with HTTP; Mon, 27 Feb 2012 05:05:52 -0800 (PST) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.160.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:148810 Archived-At: I just had a gc crash on an optimized build. I'm not going to file a bug report yet because I don't think it is repeatable at will, but I have the gdb session open in case someone wants me to check anything. Juanma GNU gdb (GDB) 7.3.1 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "mingw32". For bug reporting instructions, please see: . Attaching to process 4664 [New Thread 4664.0xf18] [New Thread 4664.0x1248] [New Thread 4664.0xfe0] [New Thread 4664.0xf0c] [New Thread 4664.0x1018] Reading symbols from c:\devel\emacs\repo\trunk\bin\emacs.exe...done. [Switching to Thread 4664.0x1018] SIGINT is used by the debugger. Are you sure you want to change it? (y or n) [answered Y; input not from terminal] Environment variable "DISPLAY" not defined. Environment variable "TERM" not defined. Breakpoint 1 at 0x10fc700: file w32fns.c, line 7194. Temporary breakpoint 2 at 0x11062a0: file sysdep.c, line 855. (gdb) cont Continuing. Program received signal SIGTRAP, Trace/breakpoint trap. [Switching to Thread 4664.0xf18] 0x7707280d in KERNELBASE!DeleteAce () from C:\Windows\syswow64\KernelBase.d= ll (gdb) bt #0 0x7707280d in KERNELBASE!DeleteAce () from C:\Windows\syswow64\KernelBase.dll #1 0x010fc73c in w32_abort () at w32fns.c:7210 #2 0x0100ffda in compact_small_strings () at alloc.c:2271 #3 sweep_strings () at alloc.c:2196 #4 gc_sweep () at alloc.c:5878 #5 Fgarbage_collect () at alloc.c:5229 #6 0x0109d6f9 in exec_byte_code (bytestr=3D, vector=3D60431493, maxdepth=3D20, args_template=3D55461914, nargs=3D0, args=3D) at bytecode.c:616 #7 0x0101344a in funcall_lambda (fun=3D57123909, nargs=3D2, arg_vector=3D0x88f2b4) at eval.c:3227 #8 0x010138b0 in Ffuncall (nargs=3D3, args=3D0x88f2b0) at eval.c:3045 #9 0x0109d36a in exec_byte_code (bytestr=3D, vector=3D60431365, maxdepth=3D12, args_template=3D55461914, nargs=3D0, args=3D) at bytecode.c:785 #10 0x0101344a in funcall_lambda (fun=3D57123045, nargs=3D0, arg_vector=3D0x88f434) at eval.c:3227 #11 0x010138b0 in Ffuncall (nargs=3D1, args=3D0x88f430) at eval.c:3045 #12 0x0109d36a in exec_byte_code (bytestr=3D, vector=3D60791605, maxdepth=3D4, args_template=3D55461914, nargs=3D0, args=3D) at bytecode.c:785 #13 0x0101344a in funcall_lambda (fun=3D56503621, nargs=3D0, arg_vector=3D0x88f620) at eval.c:3227 #14 0x010138b0 in Ffuncall (nargs=3D1, args=3D0x88f61c) at eval.c:3045 #15 0x01014078 in funcall_nil (nargs=3D1, args=3D0x88f61c) at eval.c:2513 #16 0x01011cff in run_hook_with_args (nargs=3D1, args=3D0x88f61c, funcall=3D0x1014060 ) at eval.c:2702 #17 0x01011f29 in Frun_hooks (nargs=3D1, args=3D0x88f65c) at eval.c:2540 #18 0x01001d2e in Fkill_emacs (arg=3D55461914) at emacs.c:2013 #19 0x01013be0 in Ffuncall (nargs=3D1, args=3D0x88f720) at eval.c:2996 #20 0x0109d36a in exec_byte_code (bytestr=3D, vector=3D19536229, maxdepth=3D20, args_template=3D55461914, nargs=3D0, args=3D) at bytecode.c:785 #21 0x0101344a in funcall_lambda (fun=3D19536077, nargs=3D1, arg_vector=3D0x88f8b4) at eval.c:3227 #22 0x010138b0 in Ffuncall (nargs=3D2, args=3D0x88f8b0) at eval.c:3045 #23 0x0109d36a in exec_byte_code (bytestr=3D, vector=3D19536493, maxdepth=3D12, args_template=3D55461914, nargs=3D0, args=3D) at bytecode.c:785 #24 0x0101344a in funcall_lambda (fun=3D19536413, nargs=3D1, arg_vector=3D0x88fa84) at eval.c:3227 #25 0x010138b0 in Ffuncall (nargs=3D2, args=3D0x88fa80) at eval.c:3045 #26 0x0109f129 in Fcall_interactively (function=3D56357178, record_flag=3D55461914, keys=3D55483141) at callint.c:852 #27 0x01013b92 in Ffuncall (nargs=3D4, args=3D0x88fbe0) at eval.c:3003 #28 0x01013f61 in call3 (fn=3D55582058, arg1=3D56357178, arg2=3D55461914, arg3=3D55461914) at eval.c:2796 #29 0x01037c86 in command_loop_1 () at keyboard.c:1571 #30 0x0101177b in internal_condition_case (bfun=3D0x1037750 , handlers=3D55519642, hfun=3D0x102a590 ) at eval.c:1509 #31 0x010289bd in command_loop_2 (ignore=3D55461914) at keyboard.c:1159 #32 0x010116b9 in internal_catch (tag=3D55517666, func=3D0x1028990 , arg=3D55461914) at eval.c:1266 #33 0x01029f50 in command_loop () at keyboard.c:1138 #34 recursive_edit_1 () at keyboard.c:758 #35 0x0102a2c5 in Frecursive_edit () at keyboard.c:822 #36 0x01258f31 in main (argc=3D, argv=3D0xa22a90) at emacs.c= :1715 Lisp Backtrace: "ido-pp" (0x88f2b4) "ido-save-history" (0x88f434) "ido-kill-emacs-hook" (0x88f620) "kill-emacs" (0x88f724) "save-buffers-kill-emacs" (0x88f8b4) "save-buffers-kill-terminal" (0x88fa84) "call-interactively" (0x88fbe4) (gdb) bt full #0 0x7707280d in KERNELBASE!DeleteAce () from C:\Windows\syswow64\KernelBase.dll No symbol table info available. #1 0x010fc73c in w32_abort () at w32fns.c:7210 button =3D #2 0x0100ffda in compact_small_strings () at alloc.c:2271 nbytes =3D 29184 tb =3D from =3D end =3D 0x372dffc tb_end =3D 0x372dffc from_end =3D b =3D 0x372c000 next =3D to =3D to_end =3D #3 sweep_strings () at alloc.c:2196 b =3D next =3D live_blocks =3D #4 gc_sweep () at alloc.c:5878 No locals. #5 Fgarbage_collect () at alloc.c:5229 bind =3D stack_top_variable =3D 0 '\000' i =3D message_p =3D 1 total =3D {21271184, 17506208, 8974628, 2, 55566408, 1073758208, 55461938, 55593920} count =3D 19 t1 =3D { tv_sec =3D 1330347573, tv_usec =3D 299000 } t2 =3D { tv_sec =3D 8974624, tv_usec =3D 0 } t3 =3D #6 0x0109d6f9 in exec_byte_code (bytestr=3D, vector=3D60431493, maxdepth=3D20, args_template=3D55461914, nargs=3D0, args=3D) at bytecode.c:616 v1 =3D count =3D 13 op =3D 131 vectorp =3D stack =3D { pc =3D 0x51e5cb6 "U", byte_string =3D 60870753, byte_string_start =3D 0x51e5c70 "=C3=86=E2=80=B0=E2=80=B0=E2=80=B0\030\031\032\033=C3=87=C3=88\f!=C3=89=C2= =B1\003\210\fJ\024\f=C6=92Y", constants =3D 60431493, next =3D 0x88f30c } top =3D 0x88f120 result =3D #7 0x0101344a in funcall_lambda (fun=3D57123909, nargs=3D2, arg_vector=3D0x88f2b4) at eval.c:3227 val =3D syms_left =3D next =3D lexenv =3D 55461914 count =3D 11 i =3D optional =3D rest =3D #8 0x010138b0 in Ffuncall (nargs=3D3, args=3D0x88f2b0) at eval.c:3045 fun =3D original_fun =3D 60867354 funcar =3D numargs =3D 2 lisp_numargs =3D val =3D backtrace =3D { next =3D 0x88f3ec, function =3D 0x88f2b0, args =3D 0x88f2b4, nargs =3D 2, debug_on_exit =3D 0 } internal_args =3D i =3D #9 0x0109d36a in exec_byte_code (bytestr=3D, vector=3D60431365, maxdepth=3D12, args_template=3D55461914, nargs=3D0, args=3D) at bytecode.c:785 count =3D 7 op =3D 2 vectorp =3D stack =3D { pc =3D 0x51e5d48 "\210\r<=C6=929", byte_string =3D 60871057, byte_string_start =3D 0x51e5d1c "\b=E2=80=A6A", constants =3D 60431365, next =3D 0x88f48c } top =3D 0x88f2b0 result =3D #10 0x0101344a in funcall_lambda (fun=3D57123045, nargs=3D0, arg_vector=3D0x88f434) at eval.c:3227 val =3D syms_left =3D next =3D lexenv =3D 55461914 count =3D 7 i =3D optional =3D rest =3D #11 0x010138b0 in Ffuncall (nargs=3D1, args=3D0x88f430) at eval.c:3045 fun =3D original_fun =3D 60867378 funcar =3D numargs =3D 0 lisp_numargs =3D val =3D backtrace =3D { next =3D 0x88f56c, function =3D 0x88f430, args =3D 0x88f434, nargs =3D 0, debug_on_exit =3D 0 } internal_args =3D i =3D #12 0x0109d36a in exec_byte_code (bytestr=3D, vector=3D60791605, maxdepth=3D4, args_template=3D55461914, nargs=3D0, args=3D) at bytecode.c:785 count =3D 7 op =3D 0 vectorp =3D stack =3D { pc =3D 0x51e60da "=E2=80=A1", byte_string =3D 60874545, byte_string_start =3D 0x51e60d8 "=C3=80 =E2=80=A1", constants =3D 60791605, next =3D 0x88f78c } top =3D 0x88f430 result =3D #13 0x0101344a in funcall_lambda (fun=3D56503621, nargs=3D0, arg_vector=3D0x88f620) at eval.c:3227 val =3D syms_left =3D next =3D lexenv =3D 55461914 count =3D 7 i =3D optional =3D rest =3D #14 0x010138b0 in Ffuncall (nargs=3D1, args=3D0x88f61c) at eval.c:3045 fun =3D original_fun =3D 60867498 funcar =3D numargs =3D 0 lisp_numargs =3D val =3D backtrace =3D { next =3D 0x88f6dc, function =3D 0x88f61c, args =3D 0x88f620, nargs =3D 0, debug_on_exit =3D 0 } internal_args =3D i =3D #15 0x01014078 in funcall_nil (nargs=3D1, args=3D0x88f61c) at eval.c:2513 No locals. #16 0x01011cff in run_hook_with_args (nargs=3D1, args=3D0x88f61c, funcall=3D0x1014060 ) at eval.c:2702 global_vals =3D sym =3D 55593370 val =3D ret =3D 55461914 #17 0x01011f29 in Frun_hooks (nargs=3D1, args=3D0x88f65c) at eval.c:2540 hook =3D {60867498} i =3D #18 0x01001d2e in Fkill_emacs (arg=3D55461914) at emacs.c:2013 hook =3D 55593370 exit_code =3D #19 0x01013be0 in Ffuncall (nargs=3D1, args=3D0x88f720) at eval.c:2996 fun =3D original_fun =3D funcar =3D numargs =3D 0 lisp_numargs =3D val =3D backtrace =3D { next =3D 0x88f86c, function =3D 0x88f720, args =3D 0x88f724, nargs =3D 0, debug_on_exit =3D 0 } internal_args =3D i =3D #20 0x0109d36a in exec_byte_code (bytestr=3D, vector=3D19536229, maxdepth=3D20, args_template=3D55461914, nargs=3D0, args=3D) at bytecode.c:785 count =3D 7 op =3D 0 vectorp =3D stack =3D { pc =3D 0x14246bb "=E2=80=A1", byte_string =3D 19536105, byte_string_start =3D 0x142465c "=C3=84\b=C3=85\"\210=C3=85=C3=86= =C3=87=C3=88 \">=C6=92\025", constants =3D 19536229, next =3D 0x88f90c } top =3D 0x88f720 result =3D #21 0x0101344a in funcall_lambda (fun=3D19536077, nargs=3D1, arg_vector=3D0x88f8b4) at eval.c:3227 val =3D syms_left =3D next =3D lexenv =3D 55461914 count =3D 6 i =3D optional =3D rest =3D #22 0x010138b0 in Ffuncall (nargs=3D2, args=3D0x88f8b0) at eval.c:3045 fun =3D original_fun =3D 56357082 funcar =3D numargs =3D 1 lisp_numargs =3D val =3D backtrace =3D { next =3D 0x88f9ec, function =3D 0x88f8b0, args =3D 0x88f8b4, nargs =3D 1, debug_on_exit =3D 0 } internal_args =3D i =3D #23 0x0109d36a in exec_byte_code (bytestr=3D, vector=3D19536493, maxdepth=3D12, args_template=3D55461914, nargs=3D0, args=3D) at bytecode.c:785 count =3D 6 op =3D 1 vectorp =3D stack =3D { pc =3D 0x14245af "=E2=80=A1", byte_string =3D 19536441, byte_string_start =3D 0x14245a0 "=C3=81=C3=82 =C3=83\"=C6=92\f", constants =3D 19536493, next =3D 0x0 } top =3D 0x88f8b0 result =3D #24 0x0101344a in funcall_lambda (fun=3D19536413, nargs=3D1, arg_vector=3D0x88fa84) at eval.c:3227 val =3D syms_left =3D next =3D lexenv =3D 55461914 count =3D 5 i =3D optional =3D rest =3D #25 0x010138b0 in Ffuncall (nargs=3D2, args=3D0x88fa80) at eval.c:3045 fun =3D original_fun =3D 56357178 funcar =3D numargs =3D 1 lisp_numargs =3D val =3D backtrace =3D { next =3D 0x88fb9c, function =3D 0x88fa80, args =3D 0x88fa84, nargs =3D 1, debug_on_exit =3D 0 } internal_args =3D i =3D #26 0x0109f129 in Fcall_interactively (function=3D56357178, record_flag=3D55461914, keys=3D55483141) at callint.c:852 val =3D args =3D 0x88fa80 visargs =3D 0x88fa60 specs =3D filter_specs =3D teml =3D up_event =3D 55461914 enable =3D 0 speccount =3D next_event =3D prefix_arg =3D 55461914 string =3D 0x5
tem =3D varies =3D 0x88fa40 "" i =3D nargs =3D foo =3D arg_from_tty =3D key_count =3D 2 record_then_fail =3D 0 save_this_command =3D 56357178 save_last_command =3D 85591690 save_this_original_command =3D 56357178 save_real_this_command =3D 56357178 #27 0x01013b92 in Ffuncall (nargs=3D4, args=3D0x88fbe0) at eval.c:3003 fun =3D original_fun =3D funcar =3D numargs =3D 3 lisp_numargs =3D val =3D backtrace =3D { next =3D 0x0, function =3D 0x88fbe0, args =3D 0x88fbe4, nargs =3D 3, debug_on_exit =3D 0 } internal_args =3D i =3D #28 0x01013f61 in call3 (fn=3D55582058, arg1=3D56357178, arg2=3D55461914, arg3=3D55461914) at eval.c:2796 ret_ungc_val =3D 6 args =3D {55582058, 56357178, 55461914, 55461914} #29 0x01037c86 in command_loop_1 () at keyboard.c:1571 scount =3D 2 cmd =3D keybuf =3D {96, 12, 8977575, 0, 8977544, 16950554, 89813198, 55461938, 8977575, 55659522, 0, 0, 8977544, 8977575, 55461914, 55461914, 8977640, 16950878, 89813198, 8977575, 2, 2, 55703190, 5492752, 8977608, 16868018, 55703190, 55461914, 2009020405, 1996586403} i =3D prev_modiff =3D 1311 prev_buffer =3D 0x3515a00 #30 0x0101177b in internal_condition_case (bfun=3D0x1037750 , handlers=3D55519642, hfun=3D0x102a590 ) at eval.c:1509 val =3D c =3D { tag =3D 55461914, val =3D 55461914, next =3D 0x88fdc4, gcpro =3D 0x0, jmp =3D {8977800, 55824384, 55824400, 55824384, 8977644, 16848702, 8978372, 0, 1, 1996829240, 0, 3082, 16843008, 8977936, 1996920427, 8977760}, backlist =3D 0x0, handlerlist =3D 0x0, lisp_eval_depth =3D 0, pdlcount =3D 2, poll_suppress_count =3D 0, interrupt_input_blocked =3D 0, byte_stack =3D 0x0 } h =3D { handler =3D 55519642, var =3D 55461914, chosen_clause =3D 55461938, tag =3D 0x88fd00, next =3D 0x0 } #31 0x010289bd in command_loop_2 (ignore=3D55461914) at keyboard.c:1159 val =3D 6 #32 0x010116b9 in internal_catch (tag=3D55517666, func=3D0x1028990 , arg=3D55461914) at eval.c:1266 c =3D { tag =3D 55517666, val =3D 55461914, next =3D 0x0, gcpro =3D 0x0, jmp =3D {8977976, 55824384, 55824400, 55824384, 8977836, 16848539, 8978372, 0, 55461914, 55461914, 1, 0, 1997078719, 0, 0, 8977948}, backlist =3D 0x0, handlerlist =3D 0x0, lisp_eval_depth =3D 0, pdlcount =3D 2, poll_suppress_count =3D 0, interrupt_input_blocked =3D 0, byte_stack =3D 0x0 } #33 0x01029f50 in command_loop () at keyboard.c:1138 No locals. #34 recursive_edit_1 () at keyboard.c:758 count =3D 1 val =3D 55824384 #35 0x0102a2c5 in Frecursive_edit () at keyboard.c:822 count =3D buffer =3D 55461914 #36 0x01258f31 in main (argc=3D, argv=3D0xa22a90) at emacs.c= :1715 dummy =3D 1996328149 stack_bottom_variable =3D 1 '\001' do_initial_setlocale =3D skip_args =3D 0 no_loadup =3D 0 junk =3D 0x0 dname_arg =3D 0x0 ch_to_dir =3D 0x77015bc4 "=C3=B7=C3=98\033=C3=80=C3=B7=C3=98YH]=C3=83\220\220\220\220\220j\020hx\\\0= 01w=C3=A8W<=C3=BA=C3=BF3=C3=BFW=C3=A8bH=C3=BA=C3=BFY=E2=80=B0}=C3=BC9}\bu\0= 34=C2=BEx1\005w=C3=BF5x1\005w=C3=A8te=C3=BA=C3=BF=E2=80=B0E=C3=A4=C3=87E=C3= =A0\002" Lisp Backtrace: "ido-pp" (0x88f2b4) "ido-save-history" (0x88f434) "ido-kill-emacs-hook" (0x88f620) "kill-emacs" (0x88f724) "save-buffers-kill-emacs" (0x88f8b4) "save-buffers-kill-terminal" (0x88fa84) "call-interactively" (0x88fbe4)