Jeff Miller writes:
I will try it with --with-gtk=yes and see how things look
When I do this, configures wants to make gtk menus, scrollbars,
widgets & dialogs
when I start up src/xemacs -q, I get this picture:
If I click a button, I get this backtrace
Lisp backtrace follows:
# (unwind-protect ...)
sit-for(4)
# bind (_execute_command_keys_ _execute_command_name_ prefix-arg)
execute-extended-command(nil)
# bind (command-debug-status)
call-interactively(execute-extended-command)
# (condition-case ... . error)
# (catch top-level ...)
when I run under gdb, i get this when I click on a button
[jmiller@localhost xemacs-21.5]$ gdb src/xemacs -q
(gdb) run
Starting program: /oldhdd/pics/3/xemacs/xemacs-21.5/src/xemacs
Program received signal SIGSEGV, Segmentation fault.
0x4020aaec in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
(gdb) where
#0 0x4020aaec in gtk_marshal_BOOL__POINTER () from /usr/lib/libgtk-1.2.so.0
#1 0x4023d7ad in gtk_signal_real_emit () from /usr/lib/libgtk-1.2.so.0
#2 0x4023b525 in gtk_signal_emit () from /usr/lib/libgtk-1.2.so.0
#3 0x40275b89 in gtk_widget_event () from /usr/lib/libgtk-1.2.so.0
#4 0x4020aa45 in gtk_propagate_event () from /usr/lib/libgtk-1.2.so.0
#5 0x40209a6f in gtk_main_do_event () from /usr/lib/libgtk-1.2.so.0
#6 0x402bad7f in gdk_event_dispatch () from /usr/lib/libgdk-1.2.so.0
#7 0x402ed773 in g_main_dispatch () from /usr/lib/libglib-1.2.so.0
#8 0x402edd39 in g_main_iterate () from /usr/lib/libglib-1.2.so.0
#9 0x402ede1e in g_main_iteration () from /usr/lib/libglib-1.2.so.0
#10 0x40209594 in gtk_main_iteration () from /usr/lib/libgtk-1.2.so.0
#11 0x08143285 in emacs_gtk_next_event (emacs_event=0x85b3054) at event-gtk.c:1123
#12 0x080d2bee in event_stream_next_event (event=0x85b3054) at event-stream.c:566
#13 0x080d4d3d in next_event_internal (target_event=140193876, allow_queued=0) at
event-stream.c:2007
#14 0x080d6c27 in Fsit_for (seconds=9, nodisplay=136837396) at event-stream.c:2873
#15 0x080c6b9a in Ffuncall (nargs=2, args=0xbffff0b4) at eval.c:3479
#16 0x080964ab in execute_optimized_program (
program=0x85ac2e8
"\r\035Æ\rÇa«\004Ȫ$\rÉk«\004ʪ\034\r¨«\aËÌ\r\"ª\022\r:«\r\r@¨«\bËÌ\r@\"ª\002Í!\024)\t«Kt«HÎ\f!\f\032\eÏ\fÐ\"\210\0138\b¬\023Ñ
Ò a«\aÓ pa«\006Ô \210ª\004Õ
\210Ö×!\eØÙË\013A«\004Úª\002Û\nÜ\013!#\"\210Ö\016\036!\210ÝÙ!*\207Ï\fÐ\"\207",
stack_depth=7, constants_data=0x831d278) at bytecode.c:744
#17 0x0809609a in funcall_compiled_function (fun=137581492, nargs=1, args=0xbffff2d4) at
bytecode.c:516
#18 0x080c6d5a in Ffuncall (nargs=2, args=0xbffff2d0) at eval.c:3514
#19 0x0809ae46 in Fcall_interactively (function=137472916, record_flag=136837396,
keys=136837396) at callint.c:998
#20 0x080c53d9 in Fcommand_execute (cmd=137472916, record_flag=136837396, keys=136837396)
at eval.c:2920
#21 0x080d8b24 in execute_command_event (command_builder=0x8527800, event=139987884) at
event-stream.c:4055
#22 0x080d97ba in Fdispatch_event (event=139987884) at event-stream.c:4390
#23 0x080a2090 in Fcommand_loop_1 () at cmdloop.c:584
#24 0x080c355b in condition_case_1 (handlers=136837492, bfun=0x80a22b0
<command_loop_1>, barg=136837396, hfun=0x80a2354 <cmd_error>, harg=136837396)
at eval.c:1692
#25 0x080a2510 in command_loop_2 (dummy=136837396) at cmdloop.c:258
#26 0x080c3281 in internal_catch (tag=136913780, func=0x80a24e4 <command_loop_2>,
arg=136837396, threw=0x0) at eval.c:1317
#27 0x080a1904 in initial_command_loop (load_me=136837396) at cmdloop.c:307
#28 0x080bf5fc in sort_args (argc=1, argv=0xbffff994) at emacs.c:2308
#29 0x080bfd7e in main () at emacs.c:2745