FYI - I haven't seen seen this for days after upgraded to v21.4.1 and
doing change of color theme(color-theme.el) _after_ creating the first
frame, I used to get the error when changing color theme before
creating frame. Don't know what exactly has avoided the error.
Tony
* "TL" == Tony Lam <Tony.Lam(a)eng.sun.com> writes:
TL> Andy,
TL> Here it is. Just got around today to try a few times to make it
TL> happen, sorry for taking so long.
TL> Thanks for looking into this.
TL> Tony
TL> (gdb) b x_error_handler
TL> Breakpoint 1 at 0x21952c
TL> (gdb) run -sync
TL> Starting program: /home/tonyl/loc/bin/xemacs-21.2-b46-2 -sync
TL> Breakpoint 1, 0x21952c in x_error_handler ()
TL> (gdb) where
TL> #0 0x21952c in x_error_handler ()
TL> #1 0xfefbc998 in _XError () from /usr/openwin/lib/libX11.so.4
TL> #2 0xfef9c8c4 in _XReply () from /usr/openwin/lib/libX11.so.4
TL> #3 0xfefa3a6c in XSync () from /usr/openwin/lib/libX11.so.4
TL> #4 0xfefcdf5c in _XSyncFunction () from /usr/openwin/lib/libX11.so.4
TL> #5 0x235e0c in x_clear_frame ()
TL> #6 0x1cf3e8 in Fredisplay_echo_area ()
TL> #7 0xb77fc in Ffuncall ()
TL> #8 0x6a2c8 in execute_optimized_program ()
TL> #9 0x69c14 in funcall_compiled_function ()
TL> #10 0xb7cb8 in Ffuncall ()
TL> #11 0x6a2c8 in execute_optimized_program ()
TL> #12 0x69c14 in funcall_compiled_function ()
TL> #13 0xb7cb8 in Ffuncall ()
TL> #14 0xbc374 in call4 ()
TL> #15 0x1af1d0 in echo_area_append ()
TL> #16 0x5b6f4 in garbage_collect_1 ()
TL> #17 0xb7238 in Ffuncall ()
TL> #18 0xbc374 in call4 ()
TL> #19 0x156814 in Fset_frame_properties ()
TL> #20 0x151d20 in Fmake_frame ()
TL> #21 0xb7828 in Ffuncall ()
TL> #22 0x6a2c8 in execute_optimized_program ()
TL> ---Type <return> to continue, or q <return> to quit---
TL> #23 0x69c14 in funcall_compiled_function ()
TL> #24 0xb7cb8 in Ffuncall ()
TL> #25 0x6a2c8 in execute_optimized_program ()
TL> #26 0x69c14 in funcall_compiled_function ()
TL> #27 0xb7cb8 in Ffuncall ()
TL> #28 0x6a2c8 in execute_optimized_program ()
TL> #29 0x6e738 in Fbyte_code ()
TL> #30 0xb64b0 in Feval ()
TL> #31 0x1a31e4 in readevalloop ()
TL> #32 0x1a13ec in Fload_internal ()
TL> #33 0xb78b0 in Ffuncall ()
TL> #34 0x6a2c8 in execute_optimized_program ()
TL> #35 0x69c14 in funcall_compiled_function ()
TL> #36 0xb7cb8 in Ffuncall ()
TL> #37 0x6a2c8 in execute_optimized_program ()
TL> #38 0x69c14 in funcall_compiled_function ()
TL> #39 0xb7cb8 in Ffuncall ()
TL> #40 0x6a2c8 in execute_optimized_program ()
TL> #41 0x6e738 in Fbyte_code ()
TL> #42 0xb64b0 in Feval ()
TL> #43 0x1a31e4 in readevalloop ()
TL> #44 0x1a13ec in Fload_internal ()
TL> #45 0xb78b0 in Ffuncall ()
TL> ---Type <return> to continue, or q <return> to quit---
TL> #46 0x6a2c8 in execute_optimized_program ()
TL> #47 0x69c14 in funcall_compiled_function ()
TL> #48 0xb7cb8 in Ffuncall ()
TL> #49 0x6a2c8 in execute_optimized_program ()
TL> #50 0x69c14 in funcall_compiled_function ()
TL> #51 0xb7cb8 in Ffuncall ()
TL> #52 0x6a2c8 in execute_optimized_program ()
TL> #53 0x6e738 in Fbyte_code ()
TL> #54 0xb64b0 in Feval ()
TL> #55 0xa25ac in condition_case_1 ()
TL> #56 0xa4688 in condition_case_3 ()
TL> #57 0x6b844 in execute_rare_opcode ()
TL> #58 0x6a0d0 in execute_optimized_program ()
TL> #59 0x69c14 in funcall_compiled_function ()
TL> #60 0xb7cb8 in Ffuncall ()
TL> #61 0x6a2c8 in execute_optimized_program ()
TL> #62 0x69c14 in funcall_compiled_function ()
TL> #63 0xb7cb8 in Ffuncall ()
TL> #64 0x6a2c8 in execute_optimized_program ()
TL> #65 0x69c14 in funcall_compiled_function ()
TL> #66 0xb6a98 in Feval ()
TL> #67 0xa25ac in condition_case_1 ()
TL> #68 0x76ad0 in top_level_1 ()
TL> ---Type <return> to continue, or q <return> to quit---
TL> #69 0xa1788 in internal_catch ()
TL> #70 0x76c24 in initial_command_loop ()
TL> #71 0x97b04 in xemacs_21_2_b46_sparc_sun_solaris2_6 ()
TL> #72 0x98548 in main ()
TL> (gdb)
TL> => On Apr 3, 2001, Andy Piper(A) wrote:
A> If we could fix this this migt fix the other X hangs we are seeing.
A> Could you try running XEmacs in gdb, putting a breakpoint in
A> x_error_handler and setting x-debug-mode to t in lisp and then
A> sending the resulting C backtrace when it fails.
A> Thanks
A> andy
A> At 09:34 AM 4/3/01 -0700, Tony Lam wrote:
>> This bug report will be sent to the XEmacs Development Team,
>> not to your local site managers!!
>> Please write in English, because the XEmacs maintainers do not have
>> translators to read other languages for them.
>>
>> In XEmacs 21.2 (beta46) "Urania" [Lucid] (sparc-sun-solaris2.8) of
>> Mon Apr 2 2001 on philly
>> configured using `configure --prefix=/home/tonyl/loc
>> --with-prefix=no --with-gcc=no '--cflags=-v -xO4' --with-x
>> --with-xpm
>>
--x-includes=/net/pkg/export/pkg.sparc.sunos5/X11R6.4/include:/import/dream/tools/include
>> '--site-includes=/import/dream/tools/include /usr/dt/include
>> /net/pkg/export/pkg.sparc.sunos5/local/include/db'
>> --x-libraries=/net/pkg/export/pkg.sparc.sunos5/X11R6.4/lib
>> '--site-libraries=/usr/lib /usr/lib /import/dream/tools/lib
>> /import/dream/tools/lib/X11 /usr/dt/lib
>> /net/pkg/export/pkg.sparc.sunos5/local/lib'
>> --with-database=berkdb,dbm --with-png --with-jpeg --with-tooltalk
>> --with-workshop --with-cde --with-sparcworks=yes --with-xface
>> --with-socks=no --with-mule=no --with-xfs=no
>>
--site-runtime-libraries=/usr/ccs/lib:/import/dream/tools/lib:/import/dream/tools/lib/X11:/usr/dt/lib
>> --error-checking=no --debug=yes --with-gtk=no'
>>
>> Please describe exactly what actions triggered the bug
>> and the precise symptoms of the bug:
>>
>> This has occurred quite frequently in v21.2-b4[56], with both CDE and
>> GNome, XEmacs comes up and hangs immediately on creating a new frame.
>>
>> tonyl@philly> xemacs-21.2-b46
>> xemacs-21.2-b46: X Error of failed request: BadWindow (invalid
>> Window parameter)
>> Major opcode of failed request: 61 (X_ClearArea)
>> Resource id in failed request: 0x0
>> Serial number of failed request: 1743
>> Current serial number in output stream: 1743
>>
>> xemacs-21.2-b46: X Error of failed request: BadDrawable (invalid
>> Pixmap or Window parameter)
>> Major opcode of failed request: 70 (X_PolyFillRectangle)
>> Resource id in failed request: 0x0
>> Serial number of failed request: 1744
>> Current serial number in output stream: 1816
>>
>> xemacs-21.2-b46: X Error of failed request: BadDrawable (invalid
>> Pixmap or Window parameter)
>> Major opcode of failed request: 70 (X_PolyFillRectangle)
>> Resource id in failed request: 0x0
>> Serial number of failed request: 1817
>> Current serial number in output stream: 1841
>>
>>
>> (gdb) where
>> #0 0xfec98224 in _poll () from /usr/lib/libc.so.1
>> #1 0xfec4b808 in select () from /usr/lib/libc.so.1
>> #2 0xfee9b6cc in _XWaitForReadable () from /usr/lib/libX11.so.4
>> #3 0xfee9b4e4 in _XRead () from /usr/lib/libX11.so.4
>> #4 0xfee9c53c in _XReply () from /usr/lib/libX11.so.4
>> #5 0xfeea782c in XGetWindowProperty () from /usr/lib/libX11.so.4
>> #6 0x2275c4 in x_wm_hack_wm_protocols ()
>> #7 0x22a0d0 in x_popup_frame ()
>> #8 0x154204 in Fmake_frame ()
>> #9 0xb73c8 in Ffuncall ()
>> #10 0x69ea8 in execute_optimized_program ()
>> #11 0x697f4 in funcall_compiled_function ()
>> #12 0xb7858 in Ffuncall ()
>> #13 0x69ea8 in execute_optimized_program ()
>> #14 0x697f4 in funcall_compiled_function ()
>> #15 0xb7858 in Ffuncall ()
>> #16 0x69ea8 in execute_optimized_program ()
>> #17 0x6e318 in Fbyte_code ()
>> #18 0xb6050 in Feval ()
>> #19 0x1a56ac in readevalloop ()
>> #20 0x1a38b4 in Fload_internal ()
>> #21 0xb7450 in Ffuncall ()
>> #22 0x69ea8 in execute_optimized_program ()
>> ---Type <return> to continue, or q <return> to quit---
>> #23 0x697f4 in funcall_compiled_function ()
>> #24 0xb7858 in Ffuncall ()
>> #25 0x69ea8 in execute_optimized_program ()
>> #26 0x697f4 in funcall_compiled_function ()
>> #27 0xb7858 in Ffuncall ()
>> #28 0x69ea8 in execute_optimized_program ()
>> #29 0x6e318 in Fbyte_code ()
>> #30 0xb6050 in Feval ()
>> #31 0x1a56ac in readevalloop ()
>> #32 0x1a38b4 in Fload_internal ()
>> #33 0xb7450 in Ffuncall ()
>> #34 0x69ea8 in execute_optimized_program ()
>> #35 0x697f4 in funcall_compiled_function ()
>> #36 0xb7858 in Ffuncall ()
>> #37 0x69ea8 in execute_optimized_program ()
>> #38 0x697f4 in funcall_compiled_function ()
>> #39 0xb7858 in Ffuncall ()
>> #40 0x69ea8 in execute_optimized_program ()
>> #41 0x6e318 in Fbyte_code ()
>> #42 0xb6050 in Feval ()
>> #43 0xa214c in condition_case_1 ()
>> #44 0xa4228 in condition_case_3 ()
>> #45 0x6b424 in execute_rare_opcode ()
>> ---Type <return> to continue, or q <return> to quit---
>> #46 0x69cb0 in execute_optimized_program ()
>> #47 0x697f4 in funcall_compiled_function ()
>> #48 0xb7858 in Ffuncall ()
>> #49 0x69ea8 in execute_optimized_program ()
>> #50 0x697f4 in funcall_compiled_function ()
>> #51 0xb7858 in Ffuncall ()
>> #52 0x69ea8 in execute_optimized_program ()
>> #53 0x697f4 in funcall_compiled_function ()
>> #54 0xb6638 in Feval ()
>> #55 0xa214c in condition_case_1 ()
>> #56 0x766b4 in top_level_1 ()
>> #57 0xa1328 in internal_catch ()
>> #58 0x76808 in initial_command_loop ()
>> #59 0x976a4 in xemacs_21_2_b46_sparc_sun_solaris2_8 ()
>> #60 0x980e8 in main ()
>> (gdb)
A> --
TL> /tonyl