bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#17496: frequent crashing on cygwin


From: aidalgol
Subject: bug#17496: frequent crashing on cygwin
Date: Thu, 15 May 2014 15:29:30 +1200
User-agent: Roundcube Webmail/0.5.3

With 24.3.1 on Cygwin x64 built with NT widgets, I am getting frequent crashes, at least once a day. I get the "Emacs Abort Dialog" asking me whether I want to attach GDB. I rebuilt Emacs from trunk, and the problem persisted. Here is the stack trace after upon attaching (built from git commit 5289c43e35275b153cd8003f037e67f24bf22d38):

(gdb) where
#0 0x000007fefe193ca3 in KERNELBASE!DebugBreak () from /cygdrive/c/Windows/system32/KERNELBASE.dll
#1  0x000000010056ec14 in emacs_abort () at w32fns.c:8504
#2 0x0000000100502549 in do_symval_forwarding (valcontents=<optimized out>) at data.c:970 #3 0x0000000100502611 in swap_in_symval_forwarding (symbol=0x1009c3240 <bss_sbrk_buffer+502944>, address@hidden) at data.c:1102 #4 0x0000000100502c76 in find_symbol_value (symbol=<optimized out>) at data.c:1150 #5 0x0000000100502cbd in Fsymbol_value (symbol=4305203778) at data.c:1168 #6 0x00000001004c65b8 in set_buffer_internal_1 (address@hidden) at buffer.c:2153 #7 0x00000001004c6638 in set_buffer_internal (b=0x60075a800) at buffer.h:1102
#8  Fset_buffer (buffer_or_name=25777514501) at buffer.c:2199
#9 0x000000010054b1b0 in exec_byte_code (bytestr=6, vector=0, maxdepth=0, args_template=1028, nargs=33, args=0x71) at bytecode.c:1644 #10 0x0000000100514e38 in funcall_lambda (fun=25893691285, address@hidden, address@hidden) at eval.c:2983 #11 0x000000010051513b in Ffuncall (address@hidden, address@hidden) at eval.c:2876 #12 0x000000010051548d in call1 (address@hidden, arg1=<optimized out>) at eval.c:2614 #13 0x000000010051c26d in mapcar1 (address@hidden, address@hidden, address@hidden, address@hidden) at fns.c:2333 #14 0x000000010051c74a in Fmapcar (function=25893691285, sequence=25792947446) at fns.c:2403 #15 0x000000010051532a in Ffuncall (nargs=<optimized out>, args=<optimized out>) at eval.c:2818 #16 0x000000010054936b in exec_byte_code (bytestr=6, vector=0, maxdepth=0, args_template=2052, nargs=2258560, args=0x3) at bytecode.c:916 #17 0x0000000100514e38 in funcall_lambda (fun=25786027141, address@hidden, address@hidden) at eval.c:2983 #18 0x000000010051513b in Ffuncall (nargs=3, args=0x227908) at eval.c:2876 #19 0x000000010054936b in exec_byte_code (bytestr=6, vector=0, maxdepth=0, args_template=2048, nargs=2259200, args=0x3) at bytecode.c:916 #20 0x0000000100514e38 in funcall_lambda (fun=25786027261, address@hidden, address@hidden) at eval.c:2983 #21 0x000000010051513b in Ffuncall (nargs=2, args=0x227b38) at eval.c:2876 #22 0x000000010054936b in exec_byte_code (bytestr=6, vector=0, maxdepth=0, args_template=4304949298, nargs=4304699432, args=0x2) at bytecode.c:916 #23 0x0000000100514da3 in funcall_lambda (fun=25786149861, address@hidden, address@hidden) at eval.c:3049 #24 0x000000010051513b in Ffuncall (nargs=1, args=0x227d68) at eval.c:2876 #25 0x000000010054936b in exec_byte_code (bytestr=6, vector=0, maxdepth=0, args_template=4304949298, nargs=45, args=0x1) at bytecode.c:916 #26 0x0000000100514da3 in funcall_lambda (fun=25786150045, address@hidden, address@hidden) at eval.c:3049 #27 0x000000010051513b in Ffuncall (nargs=2, args=0x228110) at eval.c:2876 #28 0x00000001005153d9 in funcall_nil (nargs=<optimized out>, args=<optimized out>) at eval.c:2366 #29 0x0000000100513c2b in run_hook_with_args (nargs=2, args=0x228110, funcall=0x1005153d0 <funcall_nil>) at eval.c:2551 #30 0x0000000100515215 in Ffuncall (nargs=<optimized out>, args=<optimized out>) at eval.c:2796 #31 0x000000010054936b in exec_byte_code (bytestr=6, vector=0, maxdepth=0, args_template=4304949298, nargs=49, args=0x3) at bytecode.c:916 #32 0x0000000100514da3 in funcall_lambda (fun=25785697053, address@hidden, address@hidden) at eval.c:3049 #33 0x000000010051513b in Ffuncall (nargs=3, args=0x228348) at eval.c:2876 #34 0x000000010054936b in exec_byte_code (bytestr=6, vector=0, maxdepth=0, args_template=4304949298, nargs=2261824, args=0x3) at bytecode.c:916 #35 0x0000000100514da3 in funcall_lambda (fun=25785705525, address@hidden, address@hidden) at eval.c:3049 #36 0x000000010051513b in Ffuncall (nargs=3, args=0x228588) at eval.c:2876 #37 0x000000010054936b in exec_byte_code (bytestr=6, vector=0, maxdepth=0, args_template=4304949298, nargs=2262408, args=0x3) at bytecode.c:916 #38 0x0000000100514da3 in funcall_lambda (fun=25785763853, address@hidden, address@hidden) at eval.c:3049 #39 0x000000010051513b in Ffuncall (nargs=3, args=0x2287e8) at eval.c:2876 #40 0x000000010054936b in exec_byte_code (bytestr=6, vector=0, maxdepth=0, args_template=4304949298, nargs=74, args=0x3) at bytecode.c:916 #41 0x0000000100514da3 in funcall_lambda (fun=25786079517, address@hidden, address@hidden) at eval.c:3049 #42 0x000000010051513b in Ffuncall (address@hidden, address@hidden) at eval.c:2876 #43 0x00000001005165e0 in Fapply (address@hidden, address@hidden) at eval.c:2354 #44 0x00000001005167e3 in apply1 (fn=25786223762, arg=<optimized out>) at eval.c:2588 #45 0x00000001005138a7 in internal_condition_case_1 (address@hidden <read_process_output_call>, arg=25793585046, address@hidden, address@hidden <read_process_output_error_handler>)
    at eval.c:1378
#46 0x000000010054cc81 in read_and_dispose_of_process_output (coding=<optimized out>, nbytes=61, chars=<optimized out>, p=0xfffffffffffffffe) at process.c:5178 #47 read_process_output (address@hidden, address@hidden) at process.c:5087 #48 0x000000010055309c in wait_reading_process_output (address@hidden, address@hidden, address@hidden, do_display=true, address@hidden, address@hidden,
    address@hidden) at process.c:4809
#49 0x00000001004ac00a in kbd_buffer_get_event (end_time=0x0, used_mouse_menu=<optimized out>, kbp=<synthetic pointer>) at keyboard.c:3907 #50 read_event_from_main_queue (used_mouse_menu=<optimized out>, local_getcjmp=<optimized out>, end_time=0x0) at keyboard.c:2246 #51 read_decoded_event_from_main_queue (address@hidden, address@hidden, address@hidden, address@hidden) at keyboard.c:2311 #52 0x00000001004b031f in read_char (commandflag=1, address@hidden, prev_event=4304949298, address@hidden, address@hidden) at keyboard.c:2897 #53 0x00000001004b126a in read_key_sequence (address@hidden, prompt=<optimized out>, address@hidden, address@hidden, address@hidden, address@hidden, bufsize=30) at keyboard.c:9084
#54 0x00000001004b2ff4 in command_loop_1 () at keyboard.c:1452
#55 0x000000010051376d in internal_condition_case (address@hidden <command_loop_1>, handlers=<optimized out>, address@hidden <cmd_error>) at eval.c:1354 #56 0x00000001004a4d6a in command_loop_2 (address@hidden) at keyboard.c:1177 #57 0x000000010051366c in internal_catch (tag=4305003410, address@hidden <command_loop_2>, arg=4304949298) at eval.c:1118
#58 0x00000001004a94d4 in command_loop () at keyboard.c:1156
#59 recursive_edit_1 () at keyboard.c:777
#60 0x00000001004a97f6 in Frecursive_edit () at keyboard.c:848
#61 0x00000001005a819e in main (argc=<optimized out>, argv=<optimized out>) at emacs.c:1654

Lisp Backtrace:
0x7625f90 PVEC_COMPILED
"mapcar" (0x2276a0)
"erc-buffer-filter" (0x227910)
"erc-buffer-list" (0x227b40)
"erc-autoaway-some-open-server-buffer" (0x227d70)
"erc-autoaway-possibly-set-away" (0x228118)
"run-hook-with-args" (0x228110)
"erc-call-hooks" (0x228350)
"erc-handle-parsed-server-response" (0x228590)
"erc-parse-server-response" (0x2287f0)
"erc-server-filter-function" (0x228a18)


And the symbol in frame 5:

(gdb) print 4305203778
$4 = 4305203778
(gdb) xsymbol
$5 = (struct Lisp_Symbol *) 0x1009c3240 <bss_sbrk_buffer+502944>
"change-major-mode-hook"
(gdb) print *$5
$6 = {
  gcmarkbit = false,
  redirect = SYMBOL_LOCALIZED,
  constant = 0,
  interned = 2,
  declared_special = true,
  pinned = true,
  name = 4300989913,
  val = {
    value = 25770874176,
    alias = 0x600105540,
    blv = 0x600105540,
    fwd = 0x600105540
  },
  function = 4304949298,
  plist = 4312576086,
  next = 0x100999550 <bss_sbrk_buffer+331696>
}


And 0x600105540 in frame 2:

(gdb) print (struct Lisp_Buffer_Local_Value*) 0x600105540
$11 = (struct Lisp_Buffer_Local_Value *) 0x600105540
(gdb) print *$11
$12 = {
  local_if_set = false,
  frame_local = false,
  found = true,
  fwd = 0x10092b8d0 <o_fwd.75565>,
  where = 25785328645,
  defcell = 4312854374,
  valcell = 25787765030
}
(gdb) print $12->fwd
$14 = (union Lisp_Fwd *) 0x10092b8d0 <o_fwd.75565>
(gdb) print *$14
$15 = {
  u_intfwd = {
    type = Lisp_Fwd_Obj,
    intvar = 0x1009471d8 <globals+184>
  },
  u_boolfwd = {
    type = Lisp_Fwd_Obj,
    boolvar = 0x1009471d8 <globals+184>
  },
  u_objfwd = {
    type = Lisp_Fwd_Obj,
    objvar = 0x1009471d8 <globals+184>
  },
  u_buffer_objfwd = {
    type = Lisp_Fwd_Obj,
    offset = 0,
    predicate = 4304695768
  },
  u_kboard_objfwd = {
    type = Lisp_Fwd_Obj,
    offset = 0
  }
}

At Daniel Colascione's suggestion, I will rebuild with optimisations turned off and try to get more information out of the next crash.





reply via email to

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