emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

GC crash on optimized build on Windows


From: Juanma Barranquero
Subject: GC crash on optimized build on Windows
Date: Mon, 27 Feb 2012 14:05:52 +0100

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 <http://gnu.org/licenses/gpl.html>
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:
<http://www.gnu.org/software/gdb/bugs/>.
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.dll
(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=<optimized out>,
vector=60431493, maxdepth=20, args_template=55461914, nargs=0,
args=<optimized out>)
    at bytecode.c:616
#7  0x0101344a in funcall_lambda (fun=57123909, nargs=2,
arg_vector=0x88f2b4) at eval.c:3227
#8  0x010138b0 in Ffuncall (nargs=3, args=0x88f2b0) at eval.c:3045
#9  0x0109d36a in exec_byte_code (bytestr=<optimized out>,
vector=60431365, maxdepth=12, args_template=55461914, nargs=0,
args=<optimized out>)
    at bytecode.c:785
#10 0x0101344a in funcall_lambda (fun=57123045, nargs=0,
arg_vector=0x88f434) at eval.c:3227
#11 0x010138b0 in Ffuncall (nargs=1, args=0x88f430) at eval.c:3045
#12 0x0109d36a in exec_byte_code (bytestr=<optimized out>,
vector=60791605, maxdepth=4, args_template=55461914, nargs=0,
args=<optimized out>)
    at bytecode.c:785
#13 0x0101344a in funcall_lambda (fun=56503621, nargs=0,
arg_vector=0x88f620) at eval.c:3227
#14 0x010138b0 in Ffuncall (nargs=1, args=0x88f61c) at eval.c:3045
#15 0x01014078 in funcall_nil (nargs=1, args=0x88f61c) at eval.c:2513
#16 0x01011cff in run_hook_with_args (nargs=1, args=0x88f61c,
funcall=0x1014060 <funcall_nil>) at eval.c:2702
#17 0x01011f29 in Frun_hooks (nargs=1, args=0x88f65c) at eval.c:2540
#18 0x01001d2e in Fkill_emacs (arg=55461914) at emacs.c:2013
#19 0x01013be0 in Ffuncall (nargs=1, args=0x88f720) at eval.c:2996
#20 0x0109d36a in exec_byte_code (bytestr=<optimized out>,
vector=19536229, maxdepth=20, args_template=55461914, nargs=0,
args=<optimized out>)
    at bytecode.c:785
#21 0x0101344a in funcall_lambda (fun=19536077, nargs=1,
arg_vector=0x88f8b4) at eval.c:3227
#22 0x010138b0 in Ffuncall (nargs=2, args=0x88f8b0) at eval.c:3045
#23 0x0109d36a in exec_byte_code (bytestr=<optimized out>,
vector=19536493, maxdepth=12, args_template=55461914, nargs=0,
args=<optimized out>)
    at bytecode.c:785
#24 0x0101344a in funcall_lambda (fun=19536413, nargs=1,
arg_vector=0x88fa84) at eval.c:3227
#25 0x010138b0 in Ffuncall (nargs=2, args=0x88fa80) at eval.c:3045
#26 0x0109f129 in Fcall_interactively (function=56357178,
record_flag=55461914, keys=55483141) at callint.c:852
#27 0x01013b92 in Ffuncall (nargs=4, args=0x88fbe0) at eval.c:3003
#28 0x01013f61 in call3 (fn=55582058, arg1=56357178, arg2=55461914,
arg3=55461914) at eval.c:2796
#29 0x01037c86 in command_loop_1 () at keyboard.c:1571
#30 0x0101177b in internal_condition_case (bfun=0x1037750
<command_loop_1>, handlers=55519642, hfun=0x102a590 <cmd_error>) at
eval.c:1509
#31 0x010289bd in command_loop_2 (ignore=55461914) at keyboard.c:1159
#32 0x010116b9 in internal_catch (tag=55517666, func=0x1028990
<command_loop_2>, arg=55461914) 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=<optimized out>, argv=0xa22a90) 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 = <optimized out>
#2  0x0100ffda in compact_small_strings () at alloc.c:2271
        nbytes = 29184
        tb = <optimized out>
        from = <optimized out>
        end = 0x372dffc
        tb_end = 0x372dffc
        from_end = <optimized out>
        b = 0x372c000
        next = <optimized out>
        to = <optimized out>
        to_end = <optimized out>
#3  sweep_strings () at alloc.c:2196
        b = <optimized out>
        next = <optimized out>
        live_blocks = <optimized out>
#4  gc_sweep () at alloc.c:5878
No locals.
#5  Fgarbage_collect () at alloc.c:5229
        bind = <optimized out>
        stack_top_variable = 0 '\000'
        i = <optimized out>
        message_p = 1
        total = {21271184, 17506208, 8974628, 2, 55566408, 1073758208,
55461938, 55593920}
        count = 19
        t1 = {
          tv_sec = 1330347573,
          tv_usec = 299000
        }
        t2 = {
          tv_sec = 8974624,
          tv_usec = 0
        }
        t3 = <optimized out>
#6  0x0109d6f9 in exec_byte_code (bytestr=<optimized out>,
vector=60431493, maxdepth=20, args_template=55461914, nargs=0,
args=<optimized out>)
    at bytecode.c:616
        v1 = <optimized out>
        count = 13
        op = 131
        vectorp = <optimized out>
        stack = {
          pc = 0x51e5cb6 "U",
          byte_string = 60870753,
          byte_string_start = 0x51e5c70
"Ɖ‰‰\030\031\032\033ÇÈ\f!ɱ\003\210\fJ\024\fƒY",
          constants = 60431493,
          next = 0x88f30c
        }
        top = 0x88f120
        result = <optimized out>
#7  0x0101344a in funcall_lambda (fun=57123909, nargs=2,
arg_vector=0x88f2b4) at eval.c:3227
        val = <optimized out>
        syms_left = <optimized out>
        next = <optimized out>
        lexenv = 55461914
        count = 11
        i = <optimized out>
        optional = <optimized out>
        rest = <optimized out>
#8  0x010138b0 in Ffuncall (nargs=3, args=0x88f2b0) at eval.c:3045
        fun = <optimized out>
        original_fun = 60867354
        funcar = <optimized out>
        numargs = 2
        lisp_numargs = <optimized out>
        val = <optimized out>
        backtrace = {
          next = 0x88f3ec,
          function = 0x88f2b0,
          args = 0x88f2b4,
          nargs = 2,
          debug_on_exit = 0
        }
        internal_args = <optimized out>
        i = <optimized out>
#9  0x0109d36a in exec_byte_code (bytestr=<optimized out>,
vector=60431365, maxdepth=12, args_template=55461914, nargs=0,
args=<optimized out>)
    at bytecode.c:785
        count = 7
        op = 2
        vectorp = <optimized out>
        stack = {
          pc = 0x51e5d48 "\210\r<ƒ9",
          byte_string = 60871057,
          byte_string_start = 0x51e5d1c "\b…A",
          constants = 60431365,
          next = 0x88f48c
        }
        top = 0x88f2b0
        result = <optimized out>
#10 0x0101344a in funcall_lambda (fun=57123045, nargs=0,
arg_vector=0x88f434) at eval.c:3227
        val = <optimized out>
        syms_left = <optimized out>
        next = <optimized out>
        lexenv = 55461914
        count = 7
        i = <optimized out>
        optional = <optimized out>
        rest = <optimized out>
#11 0x010138b0 in Ffuncall (nargs=1, args=0x88f430) at eval.c:3045
        fun = <optimized out>
        original_fun = 60867378
        funcar = <optimized out>
        numargs = 0
        lisp_numargs = <optimized out>
        val = <optimized out>
        backtrace = {
          next = 0x88f56c,
          function = 0x88f430,
          args = 0x88f434,
          nargs = 0,
          debug_on_exit = 0
        }
        internal_args = <optimized out>
        i = <optimized out>
#12 0x0109d36a in exec_byte_code (bytestr=<optimized out>,
vector=60791605, maxdepth=4, args_template=55461914, nargs=0,
args=<optimized out>)
    at bytecode.c:785
        count = 7
        op = 0
        vectorp = <optimized out>
        stack = {
          pc = 0x51e60da "‡",
          byte_string = 60874545,
          byte_string_start = 0x51e60d8 "À ‡",
          constants = 60791605,
          next = 0x88f78c
        }
        top = 0x88f430
        result = <optimized out>
#13 0x0101344a in funcall_lambda (fun=56503621, nargs=0,
arg_vector=0x88f620) at eval.c:3227
        val = <optimized out>
        syms_left = <optimized out>
        next = <optimized out>
        lexenv = 55461914
        count = 7
        i = <optimized out>
        optional = <optimized out>
        rest = <optimized out>
#14 0x010138b0 in Ffuncall (nargs=1, args=0x88f61c) at eval.c:3045
        fun = <optimized out>
        original_fun = 60867498
        funcar = <optimized out>
        numargs = 0
        lisp_numargs = <optimized out>
        val = <optimized out>
        backtrace = {
          next = 0x88f6dc,
          function = 0x88f61c,
          args = 0x88f620,
          nargs = 0,
          debug_on_exit = 0
        }
        internal_args = <optimized out>
        i = <optimized out>
#15 0x01014078 in funcall_nil (nargs=1, args=0x88f61c) at eval.c:2513
No locals.
#16 0x01011cff in run_hook_with_args (nargs=1, args=0x88f61c,
funcall=0x1014060 <funcall_nil>) at eval.c:2702
        global_vals = <optimized out>
        sym = 55593370
        val = <optimized out>
        ret = 55461914
#17 0x01011f29 in Frun_hooks (nargs=1, args=0x88f65c) at eval.c:2540
        hook = {60867498}
        i = <optimized out>
#18 0x01001d2e in Fkill_emacs (arg=55461914) at emacs.c:2013
        hook = 55593370
        exit_code = <optimized out>
#19 0x01013be0 in Ffuncall (nargs=1, args=0x88f720) at eval.c:2996
        fun = <optimized out>
        original_fun = <optimized out>
        funcar = <optimized out>
        numargs = 0
        lisp_numargs = <optimized out>
        val = <optimized out>
        backtrace = {
          next = 0x88f86c,
          function = 0x88f720,
          args = 0x88f724,
          nargs = 0,
          debug_on_exit = 0
        }
        internal_args = <optimized out>
        i = <optimized out>
#20 0x0109d36a in exec_byte_code (bytestr=<optimized out>,
vector=19536229, maxdepth=20, args_template=55461914, nargs=0,
args=<optimized out>)
    at bytecode.c:785
        count = 7
        op = 0
        vectorp = <optimized out>
        stack = {
          pc = 0x14246bb "‡",
          byte_string = 19536105,
          byte_string_start = 0x142465c "Ä\bÅ\"\210ÅÆÇÈ \">ƒ\025",
          constants = 19536229,
          next = 0x88f90c
        }
        top = 0x88f720
        result = <optimized out>
#21 0x0101344a in funcall_lambda (fun=19536077, nargs=1,
arg_vector=0x88f8b4) at eval.c:3227
        val = <optimized out>
        syms_left = <optimized out>
        next = <optimized out>
        lexenv = 55461914
        count = 6
        i = <optimized out>
        optional = <optimized out>
        rest = <optimized out>
#22 0x010138b0 in Ffuncall (nargs=2, args=0x88f8b0) at eval.c:3045
        fun = <optimized out>
        original_fun = 56357082
        funcar = <optimized out>
        numargs = 1
        lisp_numargs = <optimized out>
        val = <optimized out>
        backtrace = {
          next = 0x88f9ec,
          function = 0x88f8b0,
          args = 0x88f8b4,
          nargs = 1,
          debug_on_exit = 0
        }
        internal_args = <optimized out>
        i = <optimized out>
#23 0x0109d36a in exec_byte_code (bytestr=<optimized out>,
vector=19536493, maxdepth=12, args_template=55461914, nargs=0,
args=<optimized out>)
    at bytecode.c:785
        count = 6
        op = 1
        vectorp = <optimized out>
        stack = {
          pc = 0x14245af "‡",
          byte_string = 19536441,
          byte_string_start = 0x14245a0 "ÁÂ Ã\"ƒ\f",
          constants = 19536493,
          next = 0x0
        }
        top = 0x88f8b0
        result = <optimized out>
#24 0x0101344a in funcall_lambda (fun=19536413, nargs=1,
arg_vector=0x88fa84) at eval.c:3227
        val = <optimized out>
        syms_left = <optimized out>
        next = <optimized out>
        lexenv = 55461914
        count = 5
        i = <optimized out>
        optional = <optimized out>
        rest = <optimized out>
#25 0x010138b0 in Ffuncall (nargs=2, args=0x88fa80) at eval.c:3045
        fun = <optimized out>
        original_fun = 56357178
        funcar = <optimized out>
        numargs = 1
        lisp_numargs = <optimized out>
        val = <optimized out>
        backtrace = {
          next = 0x88fb9c,
          function = 0x88fa80,
          args = 0x88fa84,
          nargs = 1,
          debug_on_exit = 0
        }
        internal_args = <optimized out>
        i = <optimized out>
#26 0x0109f129 in Fcall_interactively (function=56357178,
record_flag=55461914, keys=55483141) at callint.c:852
        val = <optimized out>
        args = 0x88fa80
        visargs = 0x88fa60
        specs = <optimized out>
        filter_specs = <optimized out>
        teml = <optimized out>
        up_event = 55461914
        enable = 0
        speccount = <optimized out>
        next_event = <optimized out>
        prefix_arg = 55461914
        string = 0x5 <Address 0x5 out of bounds>
        tem = <optimized out>
        varies = 0x88fa40 ""
        i = <optimized out>
        nargs = <optimized out>
        foo = <optimized out>
        arg_from_tty = <optimized out>
        key_count = 2
        record_then_fail = 0
        save_this_command = 56357178
        save_last_command = 85591690
        save_this_original_command = 56357178
        save_real_this_command = 56357178
#27 0x01013b92 in Ffuncall (nargs=4, args=0x88fbe0) at eval.c:3003
        fun = <optimized out>
        original_fun = <optimized out>
        funcar = <optimized out>
        numargs = 3
        lisp_numargs = <optimized out>
        val = <optimized out>
        backtrace = {
          next = 0x0,
          function = 0x88fbe0,
          args = 0x88fbe4,
          nargs = 3,
          debug_on_exit = 0
        }
        internal_args = <optimized out>
        i = <optimized out>
#28 0x01013f61 in call3 (fn=55582058, arg1=56357178, arg2=55461914,
arg3=55461914) at eval.c:2796
        ret_ungc_val = 6
        args = {55582058, 56357178, 55461914, 55461914}
#29 0x01037c86 in command_loop_1 () at keyboard.c:1571
        scount = 2
        cmd = <optimized out>
        keybuf = {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 = <optimized out>
        prev_modiff = 1311
        prev_buffer = 0x3515a00
#30 0x0101177b in internal_condition_case (bfun=0x1037750
<command_loop_1>, handlers=55519642, hfun=0x102a590 <cmd_error>) at
eval.c:1509
        val = <optimized out>
        c = {
          tag = 55461914,
          val = 55461914,
          next = 0x88fdc4,
          gcpro = 0x0,
          jmp = {8977800, 55824384, 55824400, 55824384, 8977644,
16848702, 8978372, 0, 1, 1996829240, 0, 3082, 16843008, 8977936,
1996920427,
            8977760},
          backlist = 0x0,
          handlerlist = 0x0,
          lisp_eval_depth = 0,
          pdlcount = 2,
          poll_suppress_count = 0,
          interrupt_input_blocked = 0,
          byte_stack = 0x0
        }
        h = {
          handler = 55519642,
          var = 55461914,
          chosen_clause = 55461938,
          tag = 0x88fd00,
          next = 0x0
        }
#31 0x010289bd in command_loop_2 (ignore=55461914) at keyboard.c:1159
        val = 6
#32 0x010116b9 in internal_catch (tag=55517666, func=0x1028990
<command_loop_2>, arg=55461914) at eval.c:1266
        c = {
          tag = 55517666,
          val = 55461914,
          next = 0x0,
          gcpro = 0x0,
          jmp = {8977976, 55824384, 55824400, 55824384, 8977836,
16848539, 8978372, 0, 55461914, 55461914, 1, 0, 1997078719, 0, 0,
8977948},
          backlist = 0x0,
          handlerlist = 0x0,
          lisp_eval_depth = 0,
          pdlcount = 2,
          poll_suppress_count = 0,
          interrupt_input_blocked = 0,
          byte_stack = 0x0
        }
#33 0x01029f50 in command_loop () at keyboard.c:1138
No locals.
#34 recursive_edit_1 () at keyboard.c:758
        count = 1
        val = 55824384
#35 0x0102a2c5 in Frecursive_edit () at keyboard.c:822
        count = <optimized out>
        buffer = 55461914
#36 0x01258f31 in main (argc=<optimized out>, argv=0xa22a90) at emacs.c:1715
        dummy = 1996328149
        stack_bottom_variable = 1 '\001'
        do_initial_setlocale = <optimized out>
        skip_args = 0
        no_loadup = 0
        junk = 0x0
        dname_arg = 0x0
        ch_to_dir = 0x77015bc4
"÷Ø\033À÷ØYH]Ã\220\220\220\220\220j\020hx\\\001wèW<úÿ3ÿWèbHúÿY‰}ü9}\bu\034¾x1\005wÿ5x1\005wèteúÿ‰EäÇEà\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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]