Subject: bug#12035: GNUS crashing too often (emacs-24.1-1958-g9d4216a)

From: Dennis Yurichev <[email-masked]>
Date: Mon, 23 Jul 2012 21:10:04 +0300

Hi.

I got latest emacs from git today (emacs-24.1-1958-g9d4216a).

When I work in GNUS, it's crashing too often (and randomly).
Here is GDB stack trace... NULL pointer is seems coming into
string_count_byte8()

Any other info I can get? elisp backtrace?

Program received signal SIGSEGV, Segmentation fault.
string_count_byte8 (string=57141274) at character.c:801
801             c = *p;

#0  string_count_byte8 (string=57141274) at character.c:801
#1  string_escape_byte8 (string=57141274) at character.c:833
#2  0x0106c82f in print_string (string=<optimized out>,
printcharfun=57141274) at print.c:363
#3  0x0106e5bf in print_object (obj=102718277, printcharfun=57141274,
escapeflag=0)
    at print.c:1903
#4  0x0106da97 in print_object (obj=110094110, printcharfun=57141274,
escapeflag=0)
    at print.c:1676
#5  0x0106f92e in Fprin1_to_string (object=110094126, noescape=57141298)
at print.c:610
#6  0x0104ef33 in Fformat (nargs=2, args=0x88e690) at editfns.c:3815
#7  0x0104f7c8 in Fmessage (nargs=2, args=0x88e690) at editfns.c:3468
#8  0x0100ed85 in eval_sub (form=65621886) at eval.c:2118
#9  0x0100ef85 in Fprogn (args=65621910) at eval.c:362
#10 0x01011437 in internal_lisp_condition_case (var=57191882,
bodyform=65621230,
    handlers=65621974) at eval.c:1257
#11 0x01011540 in Fcondition_case (args=65621222) at eval.c:1215
#12 0x0100edb7 in eval_sub (form=65621214) at eval.c:2094
#13 0x0100ef85 in Fprogn (args=65621982) at eval.c:362
#14 0x0100edb7 in eval_sub (form=65621174) at eval.c:2094
#15 0x0100ef85 in Fprogn (args=65620030) at eval.c:362
#16 0x0100f276 in funcall_lambda (fun=65620118, nargs=<optimized out>,
arg_vector=0x88ea10)
    at eval.c:3021
#17 0x0100e777 in apply_lambda (fun=65620118, args=<optimized out>) at
eval.c:2905
#18 0x0100e9cc in eval_sub (form=65616742) at eval.c:2210
#19 0x0100ef85 in Fprogn (args=110093422) at eval.c:362
#20 0x0100edb7 in eval_sub (form=110093430) at eval.c:2094
#21 0x0100edb7 in eval_sub (form=110093454) at eval.c:2094
#22 0x0100eb57 in eval_sub (form=65616710) at eval.c:2207
#23 0x0100ef85 in Fprogn (args=65616838) at eval.c:362
#24 0x0100f276 in funcall_lambda (fun=65614910, nargs=<optimized out>,
arg_vector=0x88ee84)
    at eval.c:3021
#25 0x0100f493 in Ffuncall (nargs=2, args=0x88ee80) at eval.c:2857
#26 0x0100e209 in run_hook_with_args (nargs=2, args=0x88ee80,
funcall=0x100f31c <Ffuncall>)
    at eval.c:2505
#27 0x0100e362 in Frun_hook_with_args_until_success (nargs=2,
args=0x88ee80) at eval.c:2386
#28 0x0100ed85 in eval_sub (form=61411582) at eval.c:2118
#29 0x0100ef85 in Fprogn (args=61411678) at eval.c:362
#30 0x0100f276 in funcall_lambda (fun=61411766, nargs=<optimized out>,
arg_vector=0x88f084)
    at eval.c:3021
#31 0x0100f493 in Ffuncall (nargs=2, args=0x88f080) at eval.c:2857
#32 0x0101059f in Fapply (nargs=2, args=0x88f080) at eval.c:2251
#33 0x0100ed85 in eval_sub (form=64573454) at eval.c:2118
#34 0x0100ef85 in Fprogn (args=64573510) at eval.c:362
#35 0x0104b8d8 in Fsave_current_buffer (args=64573510) at editfns.c:963
#36 0x0100edb7 in eval_sub (form=64573446) at eval.c:2094
#37 0x01011496 in internal_lisp_condition_case (var=57141274,
bodyform=64573446,
    handlers=64573542) at eval.c:1274
#38 0x01011540 in Fcondition_case (args=64575454) at eval.c:1215
#39 0x0100edb7 in eval_sub (form=64575446) at eval.c:2094
#40 0x0100ef85 in Fprogn (args=64573550) at eval.c:362
#41 0x010117c2 in Flet (args=64574782) at eval.c:919
#42 0x0100edb7 in eval_sub (form=64574758) at eval.c:2094
#43 0x0100edb7 in eval_sub (form=64574726) at eval.c:2094
#44 0x0100ef85 in Fprogn (args=64573662) at eval.c:362
#45 0x010117c2 in Flet (args=64574718) at eval.c:919
#46 0x0100edb7 in eval_sub (form=64574686) at eval.c:2094
#47 0x0100ef85 in Fprogn (args=64573726) at eval.c:362
#48 0x0100f276 in funcall_lambda (fun=64573838, nargs=<optimized out>,
arg_vector=0x88f77c)
    at eval.c:3021
#49 0x0100f493 in Ffuncall (nargs=2, args=0x88f778) at eval.c:2857
#50 0x0100f963 in call1 (fn=57183522, arg1=102718229) at eval.c:2568
#51 0x0101ef1b in timer_check_2 () at keyboard.c:4457
#52 timer_check () at keyboard.c:4502
#53 0x0101f1c5 in readable_events (flags=1) at keyboard.c:3398
#54 0x0101fd3c in get_input_pending (flags=1, addr=0x1708120) at
keyboard.c:6725
#55 0x0102168f in detect_input_pending_run_timers (do_display=1) at
keyboard.c:10358
#56 0x01015fc5 in wait_reading_process_output (time_limit=<optimized
out>, nsecs=0, read_kbd=-1,
    do_display=1, wait_for_cell=57141274, wait_proc=0x0,
just_wait_proc=0) at process.c:4721
#57 0x0105caf4 in sit_for (timeout=336, reading=1, do_display=1) at
dispnew.c:6000
#58 0x010231ba in read_char (commandflag=1, nmaps=4, maps=0x88fb20,
prev_event=57141274,
    used_mouse_menu=0x88fc18, end_time=0x0) at keyboard.c:2701
#59 0x01023f3f in read_key_sequence (keybuf=0x88fc78, prompt=57141274,
dont_downcase_last=0,
    can_return_switch_frame=1, fix_current_buffer=1, bufsize=30) at
keyboard.c:9316
#60 0x0102573e in command_loop_1 () at keyboard.c:1449
#61 0x0100ded1 in internal_condition_case (bfun=0x10255b5
<command_loop_1>, handlers=57191882,
    hfun=0x101e0f2 <cmd_error>) at eval.c:1320
#62 0x0101cc05 in command_loop_2 (ignore=57141274) at keyboard.c:1152
#63 0x0100de1b in internal_catch (tag=57181714, func=0x101cbe5
<command_loop_2>, arg=57141274)
    at eval.c:1077
#64 0x0101dcaf in command_loop () at keyboard.c:1131
#65 recursive_edit_1 () at keyboard.c:752
#66 0x0101df38 in Frecursive_edit () at keyboard.c:816
#67 0x0119eb9c in main (argc=<optimized out>, argv=0xc32dd0) at emacs.c:1677