Okay, it wasn't as hard as I feared, assuming that this correct.
Here is the output from the where command in dbx after attaching to the
running process (I couldn't get the GUI started using a run command in the
debugger, DISPLAY was still set and I didn't know what else to check). The
first printout is with it hung, the second with it not hung, both
immediately after doing the C-x h, all on the same instance of the editor.
It does seem like there is a difference in the logic, but I leave it for
more experienced minds to decide how/if it is significant.
Editor hung: i.e. (foo 3236):
(/eda/cc4/bin/../WS6U1/bin/sparcv9/dbx) attach 9431
Reading -
Reading ld.so.1
Reading libXm.so.3
Reading libtt.so.2
Reading libXmu.so.4
Reading libXt.so.4
Reading libXext.so.0
Reading libX11.so.4
Reading libkstat.so.1
Reading libsocket.so.1
Reading libnsl.so.1
Reading libdl.so.1
Reading libc.so.1
Reading libSM.so.6
Reading libICE.so.6
Reading libm.so.1
Reading libmp.so.2
Reading libc_psr.so.1
Attached to process 9431
stopped in _poll at 0xfee17cfc
0xfee17cfc: _poll+0x0004: ta 0x8
(/eda/cc4/bin/../WS6U1/bin/sparcv9/dbx) where
=>[1] _poll(0xffbeed20, 0x2, 0x2b29f, 0x0, 0x0, 0xffbeef94), at 0xfee17cfc
[2] select(0xffbeed30, 0xffbeef10, 0xffbeee90, 0xffbeef14, 0xffbeee94,
0x8), at 0xfedcf6b0
[3] _XtWaitForSomething(0x396400, 0x0, 0x0, 0xf4240, 0x0, 0x1), at
0xff0bb074
[4] XtAppProcessEvent(0x396400, 0x2, 0x4, 0x1, 0xff0f2000, 0x8), at
0xff0c0454
[5] emacs_Xt_next_event(0x33b000, 0x32e000, 0x335400, 0x0, 0x0, 0x0), at
0x227114
[6] wait_delaying_user_input(0x333c00, 0x1, 0x335400, 0x0, 0xffbef20c,
0x627000), at 0x110c24
[7] x_reply_selection_request(0x3ff98, 0x1, 0x32e190, 0x23ab20, 0x32e000,
0x0), at 0x23a688
[8] x_handle_selection_request(0x67cad0, 0x225b80, 0x225b80, 0x366804,
0x32e144, 0x67cba4), at 0x23a9d4
[9] emacs_Xt_handle_magic_event(0x67cabc, 0x333800, 0x24, 0x5b8500,
0x335400, 0x0), at 0x225c50
[10] Fdispatch_event(0x67cabc, 0x333c00, 0x335400, 0x1, 0x366804, 0x0), at
0x1136f0
[11] Fcommand_loop_1(0x366804, 0x5b8500, 0x333c00, 0x335800, 0x0, 0x0), at
0x73610
[12] condition_case_1(0x366864, 0x73470, 0x366804, 0x72d18, 0x366804,
0x0), at 0xa2410
[13] command_loop_2(0x366804, 0x0, 0x328800, 0x33bc00, 0x333c00, 0x0), at
0x72f70
[14] internal_catch(0x37a0ac, 0x72f1c, 0x366804, 0x0, 0x0, 0x35bc00), at
0xa0894
[15] initial_command_loop(0x366804, 0x7fffffff, 0x54b1a4, 0x54b190, 0x1,
0x366804), at 0x73138
[16] xemacs_21_4_8_sparc_sun_solaris2_6(0x335400, 0xffbef814, 0x32f000,
0x0, 0x0, 0x0), at 0x94f10
[17] main(0x2, 0xffbef8ec, 0xffbef8f8, 0x316800, 0x0, 0x0), at 0x95948
(/eda/cc4/bin/../WS6U1/bin/sparcv9/dbx)
Editor still works: i.e. (foo 3235):
(/eda/cc4/bin/../WS6U1/bin/sparcv9/dbx) detach
detaching from process 9431
(/eda/cc4/bin/../WS6U1/bin/sparcv9/dbx) attach 9431
Skipping ld.so.1, already read
Skipping libXm.so.3, already read
Skipping libtt.so.2, already read
Skipping libXmu.so.4, already read
Skipping libXt.so.4, already read
Skipping libXext.so.0, already read
Skipping libX11.so.4, already read
Skipping libkstat.so.1, already read
Skipping libsocket.so.1, already read
Skipping libnsl.so.1, already read
Skipping libdl.so.1, already read
Skipping libc.so.1, already read
Skipping libSM.so.6, already read
Skipping libICE.so.6, already read
Skipping libm.so.1, already read
Skipping libmp.so.2, already read
Skipping libc_psr.so.1, already read
Attached to process 9431
stopped in _poll at 0xfee17cfc
0xfee17cfc: _poll+0x0004: ta 0x8
(/eda/cc4/bin/../WS6U1/bin/sparcv9/dbx) where
=>[1] _poll(0xffbef000, 0x2, 0x3a97f, 0x0, 0x0, 0xffbef274), at 0xfee17cfc
[2] select(0xffbef010, 0xffbef1f0, 0xffbef170, 0xffbef1f4, 0xffbef174,
0x8), at 0xfedcf6b0
[3] _XtWaitForSomething(0x396400, 0x0, 0x0, 0xf4240, 0x0, 0x1), at
0xff0bb074
[4] XtAppProcessEvent(0x396400, 0x2, 0x4, 0x1, 0xff0f2000, 0x8), at
0xff0c0454
[5] emacs_Xt_next_event(0x33b000, 0x32e000, 0x335400, 0x5b8500, 0x335400,
0x0), at 0x227114
[6] Fnext_event(0x0, 0x333c00, 0x335400, 0x1, 0x366804, 0x0), at 0x10e224
[7] Fcommand_loop_1(0x366804, 0x5b8500, 0x333c00, 0x335800, 0x328800,
0x35bc00), at 0x735fc
[8] condition_case_1(0x366864, 0x73470, 0x366804, 0x72d18, 0x366804, 0x0),
at 0xa2410
[9] command_loop_2(0x366804, 0x0, 0x328800, 0x33bc00, 0x333c00, 0x0), at
0x72f70
[10] internal_catch(0x37a0ac, 0x72f1c, 0x366804, 0x0, 0x0, 0x35bc00), at
0xa0894
[11] initial_command_loop(0x366804, 0x7fffffff, 0x54b1a4, 0x54b190, 0x1,
0x366804), at 0x73138
[12] xemacs_21_4_8_sparc_sun_solaris2_6(0x335400, 0xffbef814, 0x32f000,
0x0, 0x0, 0x0), at 0x94f10
[13] main(0x2, 0xffbef8ec, 0xffbef8f8, 0x316800, 0x0, 0x0), at 0x95948
(/eda/cc4/bin/../WS6U1/bin/sparcv9/dbx)
And lastly to avoid a reminder from Adrian Aichner: :)
System Info to help track down your bug:
---------------------------------------
uname -a: SunOS sparkler 5.6 Generic_105181-26 sun4u sparc SUNW,Ultra-2
./configure '--compiler=cc' '--site-includes=/home/horning/tools/include'
'--site-libraries=/home/horning/tools/tools/libtmp'
'--prefix=/home/horning/tools'
XEmacs 21.4.8 "Honest Recruiter" configured for `sparc-sun-solaris2.6'.
Compilation / Installation:
Source code location:
/home/horning/tools/tools/buildup/xemacs-21.4.8
Installation prefix: /home/horning/tools
Additional header files: /home/horning/tools/include
Additional libraries: /home/horning/tools/tools/libtmp
Runtime library search path:
/usr/dt/lib:/usr/openwin/lib:/opt/SUNWdt/lib
Operating system description file: `s/sol2.h'
Machine description file: `m/sparc.h'
Compiler: cc -v -xO4
Relocating allocator for buffers: yes
GNU version of malloc: yes
Window System:
Compiling in support for the X window system:
- X Windows headers location: /usr/dt/include
/usr/openwin/include
- X Windows libraries location: /usr/dt/lib
/usr/openwin/lib
- Handling WM_COMMAND properly.
Using Lucid menubars.
Using Lucid scrollbars.
Using Motif dialog boxes.
Using Motif native widgets.
TTY:
Images:
Compiling in support for GIF images (builtin).
Compiling in support for XPM images.
Compiling in support for PNG images.
Compiling in support for JPEG images.
Compiling in support for X-Face message headers.
Sound:
Compiling in support for sound (native).
Databases:
Compiling in support for GNU DBM.
Compiling in support for LDAP.
Internationalization:
Mail:
Compiling in support for "dot-locking" mail spool file locking method.
Other Features:
Inhibiting IPv6 canonicalization at startup.
Compiling in support for ToolTalk.
Compiling in support for dynamic shared object modules.
Load-Path Lisp Shadows:
----------------------
(/home/horning/tools/lib/xemacs/site-packages/lisp/vhdl-mode-3.32.7/hideshow
/home/horning/tools/lib/xemacs/xemacs-packages/lisp/c-support/hideshow
/home/horning/tools/lib/xemacs/xemacs-packages/lisp/ps-print/ps-print
/home/horning/tools/lib/xemacs/xemacs-packages/lisp/ps-print-nomule/ps-print
/home/horning/tools/lib/xemacs/site-packages/lisp/vhdl-mode-3.32.7/vhdl-mode
/home/horning/tools/lib/xemacs/xemacs-packages/lisp/vhdl/vhdl-mode)
Installed XEmacs Packages:
-------------------------
((zenirc:version 1.13 :type regular)
(xslt-process :version 1.06 :type regular)
(xslide :version 1.01 :type regular)
(xemacs-devel :version 1.43 :type single-file)
(xemacs-base :version 1.61 :type regular)
(w3 :version 1.22 :type regular)
(vm :version 7.03 :type regular)
(viper :version 1.33 :type regular)
(view-process :version 1.11 :type regular)
(vhdl :version 1.15 :type regular)
(vc :version 1.3 :type regular)
(tramp :version 1.04 :type regular)
(tpu :version 1.12 :type regular)
(tooltalk :version 1.13 :type regular)
(tm :version 1.32 :type regular)
(time :version 1.11 :type regular)
(textools :version 1.12 :type regular)
(text-modes :version 1.4 :type single-file)
(texinfo :version 1.2 :type regular)
(supercite :version 1.19 :type regular)
(strokes :version 1.08 :type regular)
(speedbar :version 1.23 :type regular)
(sounds-wav :version 1.1 :type regular)
(sounds-au :version 1.1 :type regular)
(slider :version 1.13 :type regular)
(sieve :version 1.02 :type regular)
(sh-script :version 1.14 :type regular)
(sgml :version 1.08 :type regular)
(semantic :version 1.12 :type regular)
(scheme :version 1.11 :type regular)
(rmail :version 1.13 :type regular)
(reftex :version 1.25 :type regular)
(psgml :version 1.27 :type regular)
(ps-print-nomule :version 1.05 :type regular)
(ps-print :version 1.03 :type regular)
(prog-modes
:version
1
.53
:type
single-file)
(pcomplete :version 1.01 :type regular)
(pcl-cvs :version 1.6 :type regular)
(pc :version 1.21 :type single-file)
(os-utils :version 1.26 :type single-file)
(net-utils :version 1.24 :type single-file)
(mmm-mode :version 1.0 :type regular)
(misc-games :version 1.15 :type single-file)
(mine :version 1.14 :type regular)
(mh-e :version 1.14 :type regular)
(mew :version 1.17 :type regular)
(mailcrypt :version 2.11 :type regular)
(mail-lib :version 1.44 :type regular)
(liece :version 1.02 :type regular)
(jde :version 1.34 :type regular)
(ispell :version 1.24 :type regular)
(ilisp :version 1.2 :type regular)
(igrep :version 1.08 :type regular)
(idlwave :version 1.25 :type regular)
(ibuffer :version 1.04 :type regular)
(hm--html-menus :version 1.18 :type regular)
(gnus :version 1.59 :type regular)
(gnats :version 1.14 :type regular)
(games :version 1.13 :type regular)
(fsf-compat :version 1.11 :type single-file)
(frame-icon :version 1.09 :type regular)
(forms :version 1.14 :type regular)
(footnote :version 1.14 :type regular)
(eudc :version 1.36 :type regular)
(eterm :version 1.13 :type regular)
(eshell :version 1.03 :type regular)
(emerge :version 1.09 :type regular)
(elib :version 1.1 :type single-file)
(eieio :version 1.02 :type regular)
(efs :version 1.28 :type regular)
(edt :version 1.12 :type regular)
(edit-utils :version 1.82 :type single-file)
(ediff :version 1.39 :type regular)
(edebug :version 1.14 :type regular)
(dired :version 1.11 :type regular)
(dictionary :version 1.1 :type regular)
(debug :version 1.15 :type regular)
(crisp :version 1.12 :type regular)
(cookie :version 1.14 :type regular)
(clearcase :version 1.03 :type regular)
(cc-mode :version 1.27 :type regular)
(calendar :version 1.18 :type regular)
(calc :version 1.22 :type regular)
(c-support :version 1.16 :type single-file)
(build :version 1.05 :type regular)
(bbdb :version 1.2 :type regular)
(auctex :version 1.3 :type regular)
(apel :version 1.21 :type regular)
(ada :version 1.1 :type regular)
(Sun :version 1.13 :type regular)
(toolbar-fancy :version 0.06 :type regular))
Features:
--------
(mail-abbrevs xemacsbug shadow sendmail rfc822 efs-cu annotations
zenirc-autoloads xslt-process-autoloads xslide-autoloads
xemacs-devel-autoloads xemacs-base-autoloads w3-autoloads vm-autoloads
viper-autoloads view-process-autoloads vhdl-autoloads vc-autoloads
tramp-autoloads tpu-autoloads tooltalk-autoloads tm-autoloads
time-autoloads textools-autoloads text-modes-autoloads
texinfo-autoloads supercite-autoloads strokes-autoloads
speedbar-autoloads sounds-wav-autoloads sounds-au-autoloads
slider-autoloads sieve-autoloads sh-script-autoloads sgml-autoloads
semantic-autoloads scheme-autoloads rmail-autoloads reftex-autoloads
psgml-autoloads ps-print-nomule-autoloads ps-print-autoloads
prog-modes-autoloads pcomplete-autoloads pcl-cvs-autoloads
pc-autoloads os-utils-autoloads net-utils-autoloads mmm-mode-autoloads
misc-games-autoloads mine-autoloads mh-e-autoloads mew-autoloads
mailcrypt-autoloads mail-lib-autoloads liece-autoloads jde-autoloads
ispell-autoloads ilisp-autoloads igrep-autoloads idlwave-autoloads
ibuffer-autoloads hm--html-menus-autoloads gnus-autoloads
gnats-autoloads games-autoloads fsf-compat-autoloads
frame-icon-autoloads forms-autoloads footnote-autoloads eudc-autoloads
eterm-autoloads eshell-autoloads emerge-autoloads elib-autoloads
eieio-autoloads efs-autoloads edt-autoloads edit-utils-autoloads
ediff-autoloads edebug-autoloads dired-autoloads dictionary-autoloads
debug-autoloads crisp-autoloads cookie-autoloads clearcase-autoloads
cc-mode-autoloads calendar-autoloads calc-autoloads
c-support-autoloads build-autoloads bbdb-autoloads auctex-autoloads
apel-autoloads ada-autoloads Sun-autoloads toolbar-fancy-autoloads
lisp-autoloads loadhist auto-show fontl-hooks x-iso8859-1 gutter-items
menubar-items x-menubar mode-motion mouse auto-save lisp-mode easymenu
iso8859-1 page buff-menu lib-complete help-nomule cus-file derived
frame text-props obsolete cus-start custom widget cl-extra mini-cl cl
cl-19 packages backquote very-early-lisp tooltalk lucid-scrollbars
cut-buffer lucid-menubars motif-dialogs x c-balloon-help tty-frames
tty toolbar native-sound scrollbar unix-processes multicast
network-streams subprocesses modules menu-accelerator-support menubar
dbm md5 xemacs gutter png gif jpeg xface xpm xbm lisp-float-type
usg-unix-v dialog devices window-system base64)
Regards,
Jim
> -----Original Message-----
> From: Stephen J. Turnbull [mailto:stephen@xemacs.org]
> Sent: Monday, May 20, 2002 8:20 PM
> To: Horning, Jim
> Cc: 'Raymond Toy'; XEmacs Developers; Benjamin P. Wing
> Subject: Re: Repeatable crash on Solaris, with recipe
>
>
> >>>>> "Jim" == Jim Horning <Horning> writes:
>
> Jim> Tested your recipe on 21.4.8 built from the tarballs with Sun
> Jim> Workshop 6 update 1 on Solaris 2.7 results in an (apparently)
>
> Sun CC?
>
>
previous msgs deleted