Stephen J. Turnbull <stephen <at> xemacs.org> writes:
Wilko Keegstra writes:
> xemacs is crashing at startup with fatal error (11) in opensuse 13.2
> see terminal output & core info below:
[...]
> progress-feedback-with-label(font-lock "Fontifying %s..." 0
"*scratch*")
This is a known bug, but why it occurs is unknown. I suspect a bug in
the X libraries (which do no sanity checking of arguments at all, and
often leave restrictions on those arguments undocumented), but I've
never been able to find it, so we have no way to prevent it.
Workaround: Customize `progress-feedback-use-echo-area' to `t'.
I've tried to find out crash location. This is the backtrace after the SISEGV:
(gdb) bt
#0 XDrawLine (dpy=dpy@entry=0x16c3160, d=d@entry=41943566,
gc=gc@entry=0x2d00000014, x1=x1@entry=1, y1=y1@entry=10, x2=x2@entry=248,
y2=y2@entry=10) at DrLine.c:50
#1 0x0000000000615bc0 in GaugeExpose (w=0x21d2f30,
unused_event=<optimized out>, unused_region=<optimized out>)
at xlwgauge.c:415
#2 0x00007ffff6ba94d4 in SendExposureEvent (event=event@entry=0x7fffffffb1f0,
widget=widget@entry=0x21d2f30, pd=0x16d17d8) at Event.c:1128
#3 0x00007ffff6bab0ea in CompressExposures (widget=0x21d2f30,
event=0x7fffffffb1f0) at Event.c:967
#4 XtDispatchEventToWidget (widget=widget@entry=0x21d2f30,
event=event@entry=0x7fffffffb1f0) at Event.c:821
#5 0x00007ffff6bab618 in _XtDefaultDispatcher (event=0x7fffffffb1f0)
at Event.c:1344
#6 0x00007ffff6bab769 in XtDispatchEvent (event=event@entry=0x7fffffffb1f0)
at Event.c:1423
#7 0x00007ffff6bb6c7e in XtAppProcessEvent (app=0x10c2a70,
mask=<optimized out>) at NextEvent.c:1397
#8 0x00000000005e3fc1 in emacs_Xt_drain_queue () at event-Xt.c:2805
#9 0x00000000005e910d in check_if_pending_expose_event (dev=<optimized out>)
at event-Xt.c:2826
#10 0x00000000005f7007 in x_window_output_end (w=0x1732ca0) at redisplay-x.c:58
#11 0x000000000057a863 in redisplay_output_window (w=w@entry=0x1732ca0)
at redisplay-output.c:2527
#12 0x000000000057235d in redisplay_window (window=24325280,
skip_selected=skip_selected@entry=0) at redisplay.c:6643
#13 0x0000000000572f24 in redisplay_frame (f=f@entry=0x1732a20,
preemption_check=preemption_check@entry=1) at redisplay.c:7062
#14 0x0000000000573bde in Fredisplay_frame (frame=<optimized out>,
no_preempt=9808712) at redisplay.c:9499
#15 0x00000000004adcf4 in Ffuncall (nargs=nargs@entry=2,
args=args@entry=0x7fffffffb5b8) at eval.c:4165
#16 0x0000000000473061 in execute_optimized_program (program=<optimized out>,
stack_depth=<optimized out>, constants_data=<optimized out>)
at bytecode.c:933
#17 0x00000000004adeae in funcall_compiled_function (args=0x7fffffffb790,
nargs=0, fun=12947328) at eval.c:3746
#18 Ffuncall (nargs=nargs@entry=4, args=args@entry=0x7fffffffb788)
at eval.c:4214
#19 0x0000000000473061 in execute_optimized_program (program=<optimized out>,
stack_depth=<optimized out>, constants_data=<optimized out>)
at bytecode.c:933
#20 0x00000000004adeae in funcall_compiled_function (args=0x7fffffffb960,
nargs=0, fun=12946688) at eval.c:3746
#21 Ffuncall (nargs=nargs@entry=5, args=args@entry=0x7fffffffb958)
at eval.c:4214
#22 0x0000000000473061 in execute_optimized_program (program=<optimized out>,
stack_depth=<optimized out>, constants_data=<optimized out>)
at bytecode.c:933
#23 0x00000000004adeae in funcall_compiled_function (args=0x7fffffffbb40,
nargs=0, fun=12947088) at eval.c:3746
#24 Ffuncall (nargs=nargs@entry=4, args=args@entry=0x7fffffffbb38)
at eval.c:4214
#25 0x0000000000473061 in execute_optimized_program (program=<optimized out>,
stack_depth=<optimized out>, constants_data=<optimized out>)
at bytecode.c:933
#26 0x00000000004adeae in funcall_compiled_function (args=0x7fffffffbd10,
nargs=0, fun=12935808) at eval.c:3746
#27 Ffuncall (nargs=nargs@entry=5, args=args@entry=0x7fffffffbd08)
at eval.c:4214
#28 0x0000000000473061 in execute_optimized_program (program=<optimized out>,
stack_depth=<optimized out>, constants_data=<optimized out>)
at bytecode.c:933
#29 0x00000000004adeae in funcall_compiled_function (args=0x7fffffffbee0,
nargs=0, fun=27137720) at eval.c:3746
#30 Ffuncall (nargs=nargs@entry=4, args=args@entry=0x7fffffffbed8)
at eval.c:4214
#31 0x0000000000473061 in execute_optimized_program (program=<optimized out>,
stack_depth=<optimized out>, constants_data=<optimized out>)
at bytecode.c:933
#32 0x00000000004adeae in funcall_compiled_function (args=0x7fffffffc0b0,
nargs=0, fun=27137240) at eval.c:3746
#33 Ffuncall (nargs=nargs@entry=4, args=args@entry=0x7fffffffc0a8)
at eval.c:4214
#34 0x0000000000473061 in execute_optimized_program (program=<optimized out>,
stack_depth=<optimized out>, constants_data=<optimized out>)
at bytecode.c:933
#35 0x00000000004adeae in funcall_compiled_function (args=0x7fffffffc290,
nargs=0, fun=27137320) at eval.c:3746
#36 Ffuncall (nargs=nargs@entry=1, args=args@entry=0x7fffffffc288)
at eval.c:4214
#37 0x0000000000473061 in execute_optimized_program (program=<optimized out>,
stack_depth=<optimized out>, constants_data=<optimized out>)
at bytecode.c:933
#38 0x00000000004adeae in funcall_compiled_function (args=0x7fffffffc440,
nargs=0, fun=27137000) at eval.c:3746
#39 Ffuncall (nargs=nargs@entry=1, args=args@entry=0x7fffffffc438)
at eval.c:4214
#40 0x0000000000473061 in execute_optimized_program (program=<optimized out>,
stack_depth=<optimized out>, constants_data=<optimized out>)
at bytecode.c:933
#41 0x00000000004adeae in funcall_compiled_function (args=0x7fffffffc620,
nargs=0, fun=27007688) at eval.c:3746
#42 Ffuncall (nargs=nargs@entry=2, args=args@entry=0x7fffffffc618)
at eval.c:4214
#43 0x0000000000473061 in execute_optimized_program (program=<optimized out>,
stack_depth=<optimized out>, constants_data=<optimized out>)
at bytecode.c:933
#44 0x00000000004adeae in funcall_compiled_function (args=0x7fffffffc7e0,
nargs=0, fun=27007768) at eval.c:3746
#45 Ffuncall (nargs=nargs@entry=1, args=args@entry=0x7fffffffc7d8)
at eval.c:4214
#46 0x0000000000473061 in execute_optimized_program (program=<optimized out>,
stack_depth=<optimized out>, constants_data=<optimized out>)
at bytecode.c:933
#47 0x00000000004adeae in funcall_compiled_function (args=0x7fffffffcb78,
nargs=<optimized out>, fun=13013088) at eval.c:3746
#48 Ffuncall (nargs=<optimized out>, args=0x7fffffffcb70) at eval.c:4214
#49 0x00000000004ae2a8 in run_hook_with_args_in_buffer (
buf=0x95ab48 <dumped_data+618344>, nargs=1, args=0x7fffffffcb70,
cond=RUN_HOOKS_TO_COMPLETION) at eval.c:5296
#50 0x00000000004ae352 in run_hook_with_args (cond=<optimized out>,
args=<optimized out>, nargs=<optimized out>) at eval.c:5316
#51 Frun_hooks (nargs=23867744, args=0x280020e) at eval.c:5162
#52 0x00000000004addb8 in Ffuncall (nargs=nargs@entry=2,
args=args@entry=0x7fffffffcb68) at eval.c:4188
#53 0x0000000000473061 in execute_optimized_program (program=<optimized out>,
stack_depth=<optimized out>, constants_data=<optimized out>)
at bytecode.c:933
#54 0x00000000004adeae in funcall_compiled_function (args=0x7fffffffcd40,
nargs=0, fun=13090928) at eval.c:3746
#55 Ffuncall (nargs=nargs@entry=3, args=args@entry=0x7fffffffcd38)
at eval.c:4214
#56 0x0000000000473061 in execute_optimized_program (program=<optimized out>,
stack_depth=<optimized out>, constants_data=<optimized out>)
at bytecode.c:933
#57 0x00000000004adeae in funcall_compiled_function (args=0x7fffffffcf00,
nargs=0, fun=12960128) at eval.c:3746
#58 Ffuncall (nargs=nargs@entry=7, args=args@entry=0x7fffffffcef8)
at eval.c:4214
#59 0x0000000000473061 in execute_optimized_program (
program=program@entry=0x7fffffffcfd0
"\306\r!\210\307\r\f\v\n\t\b&\006\207", stack_depth=stack_depth@entry=7,
constants_data=constants_data@entry=0xb187e0 <dumped_data+2444288>)
at bytecode.c:933
#60 0x0000000000476519 in Fbyte_code (instructions=12424512,
constants=11634632, stack_depth=15) at bytecode.c:2893
#61 0x00000000004acd5d in Feval (form=form@entry=10286448) at eval.c:3911
#62 0x00000000004aa3e5 in condition_case_1 (handlers=<optimized out>,
bfun=bfun@entry=0x4abe50 <Feval>, barg=barg@entry=10286448,
hfun=hfun@entry=0x4ad300 <run_condition_case_handlers>, harg=9730856)
at eval.c:2176
#63 0x00000000004aa537 in condition_case_3 (bodyform=bodyform@entry=10286448,
var=<optimized out>, handlers=<optimized out>) at eval.c:2258
#64 0x0000000000471b1e in execute_rare_opcode (stack_ptr=0x7fffffffd448,
stack_ptr@entry=0x7fffffffd458,
unused_program_ptr=unused_program_ptr@entry=0x17938d6 "+\207\370",
'E'
<repeats 23 times>, opcode=opcode@entry=Bcondition_case) at bytecode.c:1530
#65 0x0000000000474356 in execute_optimized_program (program=<optimized out>,
stack_depth=<optimized out>, constants_data=<optimized out>)
at bytecode.c:818
#66 0x00000000004adeae in funcall_compiled_function (args=0x7fffffffd640,
nargs=0, fun=13091648) at eval.c:3746
#67 Ffuncall (nargs=nargs@entry=5, args=args@entry=0x7fffffffd638)
at eval.c:4214
#68 0x0000000000473061 in execute_optimized_program (program=<optimized out>,
stack_depth=<optimized out>, constants_data=<optimized out>)
at bytecode.c:933
#69 0x00000000004adeae in funcall_compiled_function (args=0x7fffffffd810,
nargs=0, fun=13091728) at eval.c:3746
#70 Ffuncall (nargs=nargs@entry=3, args=args@entry=0x7fffffffd808)
at eval.c:4214
#71 0x0000000000473061 in execute_optimized_program (program=<optimized out>,
stack_depth=<optimized out>, constants_data=<optimized out>)
at bytecode.c:933
#72 0x00000000004acac1 in funcall_compiled_function (args=<optimized out>,
nargs=<optimized out>, fun=<optimized out>) at eval.c:3746
#73 Feval (form=25636576) at eval.c:3972
#74 0x00000000004adcff in Ffuncall (nargs=nargs@entry=2,
args=args@entry=0x7fffffffdb50) at eval.c:4165
#75 0x00000000004ae82f in call1 (fn=<optimized out>, arg0=<optimized out>)
at eval.c:5433
#76 0x00000000004bd00e in execute_command_event (
command_builder=command_builder@entry=0x16bd430, event=17601464)
at event-stream.c:4264
#77 0x00000000004bd4bc in Fdispatch_event (event=17601464)
at event-stream.c:4652
#78 0x0000000000480a8d in Fcommand_loop_1 () at cmdloop.c:623
#79 0x0000000000480b5b in command_loop_1 (
unused_dummy=unused_dummy@entry=9808712) at cmdloop.c:528
#80 0x00000000004aa3e5 in condition_case_1 (handlers=<optimized out>,
bfun=bfun@entry=0x480b40 <command_loop_1>, barg=9808712,
hfun=hfun@entry=0x480b60 <cmd_error>, harg=9808712) at eval.c:2176
#81 0x0000000000480840 in command_loop_3 () at cmdloop.c:285
#82 0x0000000000480879 in command_loop_2 (
unused_dummy=unused_dummy@entry=9808712) at cmdloop.c:298
#83 0x00000000004a76cc in internal_catch (tag=<optimized out>,
func=func@entry=0x480870 <command_loop_2>, arg=9808712,
threw=threw@entry=0x0, thrown_tag=thrown_tag@entry=0x0,
backtrace_before_throw=backtrace_before_throw@entry=0x0) at eval.c:1756
#84 0x0000000000480db0 in initial_command_loop (load_me=<optimized out>)
at cmdloop.c:336
#85 0x00000000004a4508 in xemacs_21_5_b34_x86_64_suse_linux (argc=1,
argv=0x7fffffffe248, unused_envp=unused_envp@entry=0x0,
restart=restart@entry=0) at emacs.c:2742
#86 0x000000000045f5f5 in main (argc=<optimized out>, argv=0x7fffffffe248,
unused_envp=<optimized out>) at emacs.c:3190
(gdb) f 1
#1 0x0000000000615bc0 in GaugeExpose (w=0x21d2f30,
unused_event=<optimized out>, unused_region=<optimized out>)
at xlwgauge.c:415
(gdb) p gctop
$17 = (GC) 0x21d3280
(gdb) p gcbot
$18 = (GC) 0x2d00000014
(gdb) p dpy
$19 = (Display *) 0x16c3160
the Source with location:
if( gw->gauge.orientation == XtorientHorizontal ) /* horizontal */
{
XDrawLine(dpy,win,gctop, e0+1,y, e1-1,y) ;
XDrawLine(dpy,win,gctop, e0,y+1, e0,y+GA_WID) ;
==> XDrawLine(dpy,win,gcbot, e0+1, y+GA_WID+1, e1-1, y+GA_WID+1) ;
XDrawLine(dpy,win,gcbot, e1,y+1, e1,y+GA_WID) ;
}
else /* vertical */
I think the problem is a corrupted variable "gcbot", see values above. But I
cannot figure out when and why this is happen.
Kind regards Ralf
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://lists.xemacs.org/mailman/listinfo/xemacs-beta