Hi,
I was using XEmacs 21.4.3.
After the machine is changed from Ultra-1(Sol7) to Ultra-60(Sol7),
it is not possible to use XEmacs21.4.3.
My configure is:
./configure --with-gcc --prefix=/opt/XEmacs21.4 --with-athena=3d --with-scrollbars=athena
--with-ncurses --with-xpm --with-jpeg --with-png --with-tiff --with-gif --with-xface
--with-tooltalk --with-sparcworks --with-cde --with-pop --external-widget
--with-sound=native --with-mule --with-xim=motif --with-canna --with-wnn6
--site-libraries='/usr/dt/lib /usr/openwin/lib /opt/NSUG98/X11R6.4/lib /opt/NSUG98/lib
/opt/NSUG98/canna/lib /usr/lib/locale/ja/wnn/lib'
--site-includes='/usr/dt/include /usr/openwin/include
/usr/lib/locale/ja/wnn/demo/include /opt/NSUG98/canna/include /opt/NSUG98/include
/opt/NSUG98/X11R6.4/include ' --with-database=gnudbm --with-ldap --with-purify
--with-clash-detection --with-dragndrop
The following errors go out when XEmacs is started. And XEmacs does the
frieze.
;---- error start--------------
xemacs: X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 55 (X_CreateGC)
Serial number of failed request: 1045
Current serial number in output stream: 1065
xemacs: X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 55 (X_CreateGC)
Serial number of failed request: 1059
Current serial number in output stream: 1065
xemacs: X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 55 (X_CreateGC)
Serial number of failed request: 1060
Current serial number in output stream: 1065
xemacs: X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 55 (X_CreateGC)
Serial number of failed request: 1044
Current serial number in output stream: 1065
;--- error end --------
Then, I debugged XEmacs by using gdb.
It is as follows.
Is this problem already known?
Is there something measures?
;------- debug log start -----------------
Current directory is /export/home/syrinx/can/work/Emacs/Xemacs/21.4/xemacs-21.4/src/
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.7"...
(gdb) break update_one_widget_scrollbar_pointer
Function "update_one_widget_scrollbar_pointer" not defined.
(gdb) break scrollbar-x.c:update_one_widget_scrollbar_pointer
Function "update_one_widget_scrollbar_pointer" not defined.
(gdb) break scrollbar-x.c:236
Breakpoint 1 at 0xa84e8: file scrollbar-x.c, line 236.
(gdb) break redisplay.c:6555
Breakpoint 2 at 0x15aec8: file redisplay.c, line 6555.
(gdb) break redisplay-output.c:2340
Breakpoint 3 at 0x165168: file redisplay-output.c, line 2340.
(gdb) break scrollbar-x.c:238
Breakpoint 4 at 0xa822c: file scrollbar-x.c, line 238.
(gdb) delete 3
(gdb) run
:
:
Breakpoint 2, redisplay_without_hooks () at redisplay.c:6555
(gdb) cont
Continuing.
Breakpoint 4, x_update_scrollbar_instance_status (w=0x621490, active=1,
size=6347456, instance=0x6b48b0) at scrollbar-x.c:238
(gdb) print w->scrollbar_pointer
$1 = 6324944
(gdb) step
(gdb) print wid
$2 = 0xbd2fa8
(gdb) print XtDisplay (wid)
$3 = 3540632
(gdb) print XtWindow (wid)
$4 = 125829278
(gdb) step
(gdb) print XtDisplay (wid)
$5 = 3540632
(gdb) step
xemacs: X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 55 (X_CreateGC)
Serial number of failed request: 1045
Current serial number in output stream: 1065
xemacs: X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 55 (X_CreateGC)
Serial number of failed request: 1059
Current serial number in output stream: 1065
xemacs: X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 55 (X_CreateGC)
Serial number of failed request: 1060
Current serial number in output stream: 1065
xemacs: X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 55 (X_CreateGC)
Serial number of failed request: 1044
Current serial number in output stream: 1065
Program received signal SIGINT, Interrupt.
0xfea17cfc in _poll () from /lib/libc.so.1
(gdb) where
#0 0xfea17cfc in _poll () from /lib/libc.so.1
#1 0xfe9cf6b8 in select () from /lib/libc.so.1
#2 0xfeccc504 in _XWaitForReadable () from /lib/libX11.so.4
#3 0xfec9262c in _XRead () from /lib/libX11.so.4
#4 0xfec948f4 in _XReply () from /lib/libX11.so.4
#5 0xfec99bd0 in XSync () from /lib/libX11.so.4
#6 0xa8298 in x_update_scrollbar_instance_status (w=0x621490,
active=12381792, size=6347456, instance=0x6b48b0) at scrollbar-x.c:242
#7 0xa1498 in update_window_scrollbars (w=0x621490, mirror=0x6958c0,
active=1, horiz_only=0) at scrollbar.c:293
#8 0x165190 in redisplay_output_window (w=0x621490) at redisplay-output.c:2341
#9 0x15a638 in redisplay_window (window=6427792, skip_selected=1)
at redisplay.c:6173
#10 0x15a8a4 in redisplay_frame (f=0x621330, preemption_check=0)
at redisplay.c:6397
#11 0x15aaec in redisplay_device (d=0x610398, automatic=6427440)
at redisplay.c:6471
#12 0x15aef0 in redisplay_without_hooks () at redisplay.c:6560
#13 0x160c84 in redisplay () at redisplay.c:6617
#14 0xd6558 in Fsit_for (seconds=2496512, nodisplay=2730844)
at event-stream.c:2805
#15 0x8d57c in Ffuncall (nargs=-1, args=0xffbeda44) at eval.c:3526
#16 0x5e074 in execute_optimized_program (
program=0xffbedae7 "\210J \020頓207&陟, stack_depth=1,
constants_data=0x462e38) at bytecode.c:746
#17 0x612c4 in Fbyte_code (instructions=-4269352, constants=4599336,
stack_depth=9) at bytecode.c:2399
#18 0x8cebc in Feval (form=4526648) at eval.c:3330
#19 0x9159c in internal_catch (tag=4588980, func=0x8c968 <Feval>, arg=4526648,
threw=0x0) at eval.c:1316
#20 0x5efc0 in execute_rare_opcode (stack_ptr=0xffbede1c,
program_ptr=0x1408721 "\210+r亙!q\210P
\210\016\";�005\016\"c\210冏!)\207\016'卮\211\211\211\211\030\035\034\036
\e\031\036#\n\205\201", opcode=Bcatch)
at bytecode.c:1252
#21 0x5dea4 in execute_optimized_program (
program=0x1408721 "\210+r亙!q\210P
\210\016\";�005\016\"c\210冏!)\207\016'卮\211\211\211\211\030\035\034\036
\e\031\036#\n\205\201", stack_depth=13,
constants_data=0x462e80) at bytecode.c:656
#22 0x5dccc in funcall_compiled_function (fun=4523916, nargs=0,
args=0xffbedff8) at bytecode.c:515
#23 0x8d748 in Ffuncall (nargs=0, args=0xffbedff4) at eval.c:3561
#24 0x5e074 in execute_optimized_program (
program=0x6100ac "\210悳026 @ �004歿!)\207n 2.27 ", stack_depth=0,
constants_data=0x4601f8) at bytecode.c:746
#25 0x5dccc in funcall_compiled_function (fun=4523496, nargs=0,
args=0xffbee1c8) at bytecode.c:515
#26 0x8d748 in Ffuncall (nargs=0, args=0xffbee1c4) at eval.c:3561
#27 0x5e074 in execute_optimized_program (
program=0x58dadd "\210)\016+�003` \207", stack_depth=0,
constants_data=0x45f838) at bytecode.c:746
#28 0x5dccc in funcall_compiled_function (fun=4523440, nargs=0,
args=0xffbee2f0) at bytecode.c:515
#29 0x8d0e0 in Feval (form=4502752) at eval.c:3387
#30 0x8977c in condition_case_1 (handlers=2730940, bfun=0x8c968 <Feval>,
barg=4502752, hfun=0x6abb0 <cmd_error>, harg=2730844) at eval.c:1651
#31 0x6ac40 in top_level_1 (dummy=2551808) at cmdloop.c:206
#32 0x9159c in internal_catch (tag=2807188, func=0x6ac04 <top_level_1>,
arg=2730844, threw=0x0) at eval.c:1316
#33 0x6a32c in initial_command_loop (load_me=2730844) at cmdloop.c:285
#34 0x86360 in sort_args (argc=2544640, argv=0xffbee814) at emacs.c:2344
(gdb) quit
The program is running. Exit anyway? (y or n) y
Debugger finished
;------ debug log end --------
Best Regards,
T.Can
--
ADVANTEST corp.
Taiji.Can(a)atesoft.advantest.co.jp