Subject: bug#6120: 24.0.50; Crash with gnus

From: "Robert Marshall" <[email-masked]>
Date: Wed, 16 Jun 2010 19:28:39 +0100

On Thu, 06 May 2010, Eli Zaretskii wrote:

>> Date: Thu, 6 May 2010 20:44:41 +0100
>> Cc: [email-masked]
>> From: "Robert Marshall" <[email-masked]>
>> 
>> On Thu, 06 May 2010, Eli Zaretskii wrote:
>> 
>> >> 
>> >> I'm seeing occasional crashes in emacs, always happens within
>> >> gnus and when I'm entering or leaving a group. Can't replicate
>> >> it maybe happens once a week
>> > 
>> > I think there was a bug that was fixed meanwhile.  Can you
>> > upgrade to the current revision from the development trunk, and
>> > see if the crashes go away?
>> 
>> OK will give it a go - should I report back if I stop seeing the
>> crashes after around - say - a fortnight?
> 
> Yes, please.  And thanks.

Here's another crash details (again entering a newsgroup in gnus)

GNU Emacs 24.0.50.3 (i686-pc-linux-gnu, GTK+ Version 2.18.6)
 of 2010-05-06 on faure.capuchin.co.uk

(gdb) bt full
#0  0x08177abd in mark_object (arg=77) at alloc.c:5490
	obj = 77
#1  0x08177b65 in mark_object (arg=191996966) at alloc.c:5695
	ptr = (struct Lisp_Cons *) 0xb71a420
	obj = <value optimized out>
#2  0x08108f50 in mark_image_cache (c=0x87dc3e8) at image.c:1942
	i = 0
#3  0x0817b485 in Fgarbage_collect () at alloc.c:5778
	bind = <value optimized out>
	catch = <value optimized out>
	handler = <value optimized out>
	stack_top_variable = 0 '\0'
	i = <value optimized out>
	message_p = 1
	total = {136520568, -1077269340, 1, 139205104, 0, 5, 0, 139169962}
	t1 = {
  tv_sec = 1276712198, 
  tv_usec = 884329
}
	t2 = {
  tv_sec = -1077269028, 
  tv_usec = -1077269344
}
#4  0x081c9946 in Fbyte_code (bytestr=169786561, vector=170495277, maxdepth=20) at bytecode.c:530
	v1 = <value optimized out>
	op = 77
	stack = {
  pc = 0xa1e9fb8 "*", 
  top = 0xbfca2ca0, 
  bottom = 0xbfca2ca0, 
  byte_string = 169786561, 
  byte_string_start = 0xa1e9f94 "\306\211\030\031\n\306\033\211\034\2035", 
  constants = 170495277, 
  next = 0xbfca2e94
}
	top = (Lisp_Object *) 0xbfca2ca0
	result = <value optimized out>
#5  0x081924d4 in funcall_lambda (fun=<value optimized out>, nargs=<value optimized out>, arg_vector=0x4d) at eval.c:3259
	val = <value optimized out>
	syms_left = 139169962
	next = <value optimized out>
	i = 0
	optional = 1
	rest = 0
#6  0x08190353 in Ffuncall (nargs=1, args=0xbfca2e24) at eval.c:3129
	fun = 5
	original_fun = 170482170
	funcar = <value optimized out>
	numargs = 0
	val = <value optimized out>
	backtrace = {
  next = 0xbfca2f6c, 
  function = 0xbfca2e24, 
  args = 0xbfca2e28, 
  nargs = 0, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = <value optimized out>
	i = <value optimized out>
#7  0x081c9211 in Fbyte_code (bytestr=173235881, vector=173236773, maxdepth=44) at bytecode.c:680
	op = <value optimized out>
	stack = {
  pc = 0xa3ff67c "\031\211\032;\2035", 
  top = 0xbfca2e24, 
  bottom = 0xbfca2e20, 
  byte_string = 173235881, 
  byte_string_start = 0xa3ff678 "\b\242\305 \031\211\032;\2035", 
  constants = 173236773, 
  next = 0xbfca3014
}
	top = (Lisp_Object *) 0xbfca2e24
	result = <value optimized out>
#8  0x081924d4 in funcall_lambda (fun=<value optimized out>, nargs=<value optimized out>, arg_vector=0x4d) at eval.c:3259
	val = <value optimized out>
	syms_left = 139169962
	next = <value optimized out>
	i = 1
	optional = 0
	rest = 0
#9  0x08190353 in Ffuncall (nargs=2, args=0xbfca2fb0) at eval.c:3129
	fun = 5
	original_fun = 173235002
	funcar = <value optimized out>
	numargs = 1
	val = <value optimized out>
	backtrace = {
  next = 0xbfca30ec, 
  function = 0xbfca2fb0, 
  args = 0xbfca2fb4, 
  nargs = 1, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = <value optimized out>
	i = <value optimized out>
#10 0x081c9211 in Fbyte_code (bytestr=174753553, vector=174754461, maxdepth=20) at bytecode.c:680
	op = <value optimized out>
	stack = {
  pc = 0xa616e9b "\211\026 \325\016\034!\210.\t\207", 
  top = 0xbfca2fb4, 
  bottom = 0xbfca2fb0, 
  byte_string = 174753553, 
  byte_string_start = 0xa616e1c "\306\b>\205\211", 
  constants = 174754461, 
  next = 0xbfca3194
}
	top = (Lisp_Object *) 0xbfca2fb0
	result = <value optimized out>
#11 0x081924d4 in funcall_lambda (fun=<value optimized out>, nargs=<value optimized out>, arg_vector=0x4d) at eval.c:3259
	val = <value optimized out>
	syms_left = 139169962
	next = <value optimized out>
	i = 0
	optional = 0
	rest = 0
#12 0x08190353 in Ffuncall (nargs=1, args=0xbfca3130) at eval.c:3129
	fun = 5
	original_fun = 173627778
	funcar = <value optimized out>
	numargs = 0
	val = <value optimized out>
	backtrace = {
  next = 0xbfca326c, 
  function = 0xbfca3130, 
  args = 0xbfca3134, 
  nargs = 0, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = <value optimized out>
	i = <value optimized out>
#13 0x081c9211 in Fbyte_code (bytestr=174752177, vector=174754125, maxdepth=32) at bytecode.c:680
	op = <value optimized out>
	stack = {
  pc = 0xa616dd6 "\210-\bb\210\b\306\211\223\210\tq*\207", 
  top = 0xbfca3130, 
  bottom = 0xbfca3130, 
  byte_string = 174752177, 
  byte_string_start = 0xa616cd0 "p\306\030\031\nq\210\307 \020\214~\210\310\v\f\"\035\311\r!\204\034", 
  constants = 174754125, 
  next = 0xbfca3314
}
	top = (Lisp_Object *) 0xbfca3130
	result = <value optimized out>
#14 0x081924d4 in funcall_lambda (fun=<value optimized out>, nargs=<value optimized out>, arg_vector=0x4d) at eval.c:3259
	val = <value optimized out>
	syms_left = 139169962
	next = <value optimized out>
	i = 1
	optional = 1
	rest = 0
#15 0x08190353 in Ffuncall (nargs=2, args=0xbfca32b0) at eval.c:3129
	fun = 5
	original_fun = 173627922
	funcar = <value optimized out>
	numargs = 1
	val = <value optimized out>
	backtrace = {
  next = 0xbfca33ec, 
  function = 0xbfca32b0, 
  args = 0xbfca32b4, 
  nargs = 1, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = <value optimized out>
	i = <value optimized out>
#16 0x081c9211 in Fbyte_code (bytestr=172084121, vector=173351109, maxdepth=28) at bytecode.c:680
	op = <value optimized out>
	stack = {
  pc = 0xa6c5320 "\210\326+\207", 
  top = 0xbfca32b4, 
  bottom = 0xbfca32b0, 
  byte_string = 172084121, 
  byte_string_start = 0xa6c50e4 "\306\307\310\311\b!#\210\312\b!\031\313\b!\032\t\205\031", 
  constants = 173351109, 
  next = 0xbfca3494
}
	top = (Lisp_Object *) 0xbfca32b0
	result = <value optimized out>
#17 0x081924d4 in funcall_lambda (fun=<value optimized out>, nargs=<value optimized out>, arg_vector=0x4d) at eval.c:3259
	val = <value optimized out>
	syms_left = 139169962
	next = <value optimized out>
	i = 6
	optional = 1
	rest = 0
#18 0x08190353 in Ffuncall (nargs=7, args=0xbfca3430) at eval.c:3129
	fun = 5
	original_fun = 173503602
	funcar = <value optimized out>
	numargs = 6
	val = <value optimized out>
	backtrace = {
  next = 0xbfca356c, 
  function = 0xbfca3430, 
  args = 0xbfca3434, 
  nargs = 6, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = <value optimized out>
	i = <value optimized out>
#19 0x081c9211 in Fbyte_code (bytestr=172084929, vector=174005413, maxdepth=32) at bytecode.c:680
	op = <value optimized out>
	stack = {
  pc = 0xa6c5083 "\206\034", 
  top = 0xbfca3448, 
  bottom = 0xbfca3430, 
  byte_string = 172084929, 
  byte_string_start = 0xa6c5070 "\306\030\t\203I", 
  constants = 174005413, 
  next = 0xbfca3624
}
	top = (Lisp_Object *) 0xbfca3430
	result = <value optimized out>
#20 0x081924d4 in funcall_lambda (fun=<value optimized out>, nargs=<value optimized out>, arg_vector=0x4d) at eval.c:3259
	val = <value optimized out>
	syms_left = 139169962
	next = <value optimized out>
	i = 7
	optional = 1
	rest = 0
#21 0x08190353 in Ffuncall (nargs=8, args=0xbfca35b0) at eval.c:3129
	fun = 5
	original_fun = 173627418
	funcar = <value optimized out>
	numargs = 7
	val = <value optimized out>
	backtrace = {
  next = 0xbfca36fc, 
  function = 0xbfca35b0, 
  args = 0xbfca35b4, 
  nargs = 7, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = <value optimized out>
	i = <value optimized out>
#22 0x081c9211 in Fbyte_code (bytestr=174771889, vector=174773741, maxdepth=36) at bytecode.c:680
	op = <value optimized out>
	stack = {
  pc = 0xa55cc8f ".\006\207", 
  top = 0xbfca35cc, 
  bottom = 0xbfca35b0, 
  byte_string = 174771889, 
  byte_string_start = 0xa55cc14 "\b\306=\t\206\t", 
  constants = 174773741, 
  next = 0xbfca3794
}
	top = (Lisp_Object *) 0xbfca35b0
	result = <value optimized out>
#23 0x081924d4 in funcall_lambda (fun=<value optimized out>, nargs=<value optimized out>, arg_vector=0x4d) at eval.c:3259
	val = <value optimized out>
	syms_left = 139169962
	next = <value optimized out>
	i = 2
	optional = 1
	rest = 0
#24 0x08190353 in Ffuncall (nargs=3, args=0xbfca3740) at eval.c:3129
	fun = 5
	original_fun = 174652962
	funcar = <value optimized out>
	numargs = 2
	val = <value optimized out>
	backtrace = {
  next = 0xbfca386c, 
  function = 0xbfca3740, 
  args = 0xbfca3744, 
  nargs = 2, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = <value optimized out>
	i = <value optimized out>
#25 0x081c9211 in Fbyte_code (bytestr=174772785, vector=174774029, maxdepth=12) at bytecode.c:680
	op = <value optimized out>
	stack = {
  pc = 0xa55ccd0 "\207", 
  top = 0xbfca3748, 
  bottom = 0xbfca3740, 
  byte_string = 174772785, 
  byte_string_start = 0xa55ccc0 "m\203\f", 
  constants = 174774029, 
  next = 0xbfca3904
}
	top = (Lisp_Object *) 0xbfca3740
	result = <value optimized out>
#26 0x081924d4 in funcall_lambda (fun=<value optimized out>, nargs=<value optimized out>, arg_vector=0x4d) at eval.c:3259
	val = <value optimized out>
	syms_left = 139169962
	next = <value optimized out>
	i = 1
	optional = 1
	rest = 0
#27 0x08190353 in Ffuncall (nargs=2, args=0xbfca38b0) at eval.c:3129
	fun = 5
	original_fun = 174652986
	funcar = <value optimized out>
	numargs = 1
	val = <value optimized out>
	backtrace = {
  next = 0xbfca39dc, 
  function = 0xbfca38b0, 
  args = 0xbfca38b4, 
  nargs = 1, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = <value optimized out>
	i = <value optimized out>
#28 0x081c9211 in Fbyte_code (bytestr=186786561, vector=172328957, maxdepth=8) at bytecode.c:680
	op = <value optimized out>
	stack = {
  pc = 0xb21f1a9 "\207", 
  top = 0xbfca38b4, 
  bottom = 0xbfca38b0, 
  byte_string = 186786561, 
  byte_string_start = 0xb21f178 "m\203\f", 
  constants = 172328957, 
  next = 0x0
}
	top = (Lisp_Object *) 0xbfca38b0
	result = <value optimized out>
#29 0x081924d4 in funcall_lambda (fun=<value optimized out>, nargs=<value optimized out>, arg_vector=0x4d) at eval.c:3259
	val = <value optimized out>
	syms_left = 139169962
	next = <value optimized out>
	i = 1
	optional = 1
	rest = 0
#30 0x08190353 in Ffuncall (nargs=2, args=0xbfca3a70) at eval.c:3129
	fun = 5
	original_fun = 174681554
	funcar = <value optimized out>
	numargs = 1
	val = <value optimized out>
	backtrace = {
  next = 0xbfca3c0c, 
  function = 0xbfca3a70, 
  args = 0xbfca3a74, 
  nargs = 1, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = <value optimized out>
	i = <value optimized out>
#31 0x0818ddf0 in Fcall_interactively (function=174681554, record_flag=139169962, keys=139198141) at callint.c:869
	val = <value optimized out>
	specs = 139169962
	filter_specs = <value optimized out>
	teml = <value optimized out>
	up_event = 139169962
	enable = 0
	next_event = <value optimized out>
	prefix_arg = <value optimized out>
	string = (unsigned char *) 0x1 <Address 0x1 out of bounds>
	tem = (unsigned char *) 0x1 <Address 0x1 out of bounds>
	i = -1077265872
	j = 1
	foo = 0
	prompt1 = '\0' <repeats 99 times>
	arg_from_tty = 0
	key_count = <value optimized out>
	record_then_fail = <value optimized out>
	save_this_command = 174681554
	save_last_command = 139501314
	save_this_original_command = 174681554
	save_real_this_command = 174681554
#32 0x08190523 in Ffuncall (nargs=4, args=0xbfca3c50) at eval.c:3078
	fun = <value optimized out>
	original_fun = <value optimized out>
	funcar = <value optimized out>
	numargs = 3
	val = <value optimized out>
	backtrace = {
  next = 0x0, 
  function = 0xbfca3c50, 
  args = 0xbfca3c54, 
  nargs = 3, 
  evalargs = 0 '\0', 
  debug_on_exit = 0 '\0'
}
	internal_args = (Lisp_Object *) 0xbfca3c54
	i = 136522592
#33 0x081907d1 in call3 (fn=139277026, arg1=174681554, arg2=139169962, arg3=139169962) at eval.c:2900
	ret_ungc_val = 5
	args = {139277026, 174681554, 139169962, 139169962}
#34 0x081320d9 in command_loop_1 () at keyboard.c:1755
	cmd = <value optimized out>
	keybuf = {52, 464, 169007426, 139169986, -1077265106, 139354362, -1216594340, -1231407451, 134541782, -1077265106, 139169962, 139169962, -1077265032, 135446284, 194538118, -1077265106, -1231472296, 33, -1077265008, 0, -1077265092, -1090503536, 0, 0, 139169962, 139545498, -1216528088, -1077265060, 23, 139501536}
	i = <value optimized out>
	prev_modiff = 11934
	prev_buffer = (struct buffer *) 0xa5a9148
#35 0x0818f881 in internal_condition_case (bfun=0x8131d60 <command_loop_1>, handlers=139200826, hfun=0x812be40 <cmd_error>) at eval.c:1509
	val = 5
	c = {
  tag = 139169962, 
  val = 139169962, 
  next = 0xbfca3eb8, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {139501536, 139501536, 139501552, -1077264776, -1947404660, 778532323}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {22, 22, 0, 0, 0, 141267280, 524288, 3078456960, 0, 3217702512, 3217702440, 3217702452, 0, 4294967295, 134540781, 225011984, 3217702112, 3078372956, 3063559845, 134541782, 0, 3060976104, 3217686530, 3078395296, 134540087, 3066580228, 3063516568, 3066580296, 3217702480, 4294967295, 3078455284, 134540781}
      }
    }}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
	h = {
  handler = 139200826, 
  var = 139169962, 
  chosen_clause = 139169986, 
  tag = 0xbfca3d94, 
  next = 0x0
}
#36 0x0812bad5 in command_loop_2 () at keyboard.c:1356
	val = 5
#37 0x0818f961 in internal_catch (tag=139198946, func=0x812bab0 <command_loop_2>, arg=139169962) at eval.c:1245
	c = {
  tag = 139198946, 
  val = 139169962, 
  next = 0x0, 
  gcpro = 0x0, 
  jmp = {{
      __jmpbuf = {139501536, 139501536, 139501552, -1077264504, -1947552116, 778407395}, 
      __mask_was_saved = 0, 
      __saved_mask = {
        __val = {3217702772, 3217702920, 135444258, 3217702784, 0 <repeats 15 times>, 3063929966, 0, 0, 0, 3063929966, 138163664, 1, 0, 0, 14, 3217702876, 139319832, 139319834}
      }
    }}, 
  backlist = 0x0, 
  handlerlist = 0x0, 
  lisp_eval_depth = 0, 
  pdlcount = 2, 
  poll_suppress_count = 1, 
  interrupt_input_blocked = 0, 
  byte_stack = 0x0
}
#38 0x0812bc8f in command_loop () at keyboard.c:1335
No locals.
#39 0x0812c02b in recursive_edit_1 () at keyboard.c:950
	val = <value optimized out>
#40 0x0812c152 in Frecursive_edit () at keyboard.c:1012
	buffer = 139169962
#41 0x08120e98 in main (argc=<value optimized out>, argv=<value optimized out>) at emacs.c:1784
	dummy = -1077263592
	stack_bottom_variable = 8 '\b'
	do_initial_setlocale = 139501536
	skip_args = 0
	rlim = {
  rlim_cur = 8388608, 
  rlim_max = 18446744073709551615
}
	no_loadup = 0
	junk = 0x0
	dname_arg = 0x0
	ch_to_dir = 0xbfca4318 "\230C\312\2776z\232\266\003"

Lisp Backtrace:
"mm-image-load-path" (0xbfca2e28)
"gnus-mode-line-buffer-identification" (0xbfca2fb4)
"gnus-group-set-mode-line" (0xbfca3134)
"gnus-group-update-group" (0xbfca32b4)
"gnus-summary-read-group-1" (0xbfca3434)
"gnus-summary-read-group" (0xbfca35b4)
"gnus-group-read-group" (0xbfca3744)
"gnus-group-select-group" (0xbfca38b4)
"gnus-topic-select-group" (0xbfca3a74)
"call-interactively" (0xbfca3c54)
(gdb) xbacktrace
"mm-image-load-path" (0xbfca2e28)
"gnus-mode-line-buffer-identification" (0xbfca2fb4)
"gnus-group-set-mode-line" (0xbfca3134)
"gnus-group-update-group" (0xbfca32b4)
"gnus-summary-read-group-1" (0xbfca3434)
"gnus-summary-read-group" (0xbfca35b4)
"gnus-group-read-group" (0xbfca3744)
"gnus-group-select-group" (0xbfca38b4)
"gnus-topic-select-group" (0xbfca3a74)
"call-interactively" (0xbfca3c54)
(gdb) 

rm
-- 
Links and things http://rmstar.blogspot.com/
Robert Marshall