Title [Bug: 21.5-b28] another crash on aix
Type defect Module core code 21.5
Severity crash Platform other cpu, unix, xt
Keywords Nosy List mike.kupfer
These controls should only be changed by committers and tracker administrators.
Status new   Reason
Superseder   Submitted 2008-02-27.18:32:28
Priority normal   Assigned To

Created on 2008-02-28.00:20:06 by T.Mittelstaedt, last changed 2013-03-05.01:10:58 by mike.kupfer.

msg2476 [hidden] ([hidden]) Date: 2013-03-05.01:10:57
see also issue789, issue201
msg607 [hidden] ([hidden]) Date: 2008-02-28.00:20:06
  Message-ID: <>
Dear Bug Team!

Here is another crash on aix. I run a recent mercurial version of 
xemacs. gdb stacktrace is following after system spec.
The only thing I can remember is that I clicked around on the menu, 
because I was wondering why certain menu items would
not be displayed. Might have to do with my window manager which is wmaker.



System Info to help track down your bug:

uname -a: AIX buildaix3 2 5 004B909C4C00


XEmacs 21.5-b28 "fuki" (+CVS-20071205) configured for 

Compilation Environment and Installation Defaults:
  Source code location:              /localbuild/xemacs-21.5.28-latest
  Installation prefix:               /usr/local
  Operating system description file: `s/aix4-2.h'
  Machine description file:          `m/ibmrs6000.h'
  Compiler version:                  gcc (GCC) 4.2.2
    - GCC specs file:                specs.
    - Compiler command:              gcc   -Wall -Wno-switch -Wundef 
-Wsign-compare -Wno-char-subscripts -Wpacked -Wpointer-arith 
-Wunused-parameter -g 
  libc version:                      bos.rte.libc
  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/X11R6/include
    - X Windows libraries location:               /usr/X11R6/lib
    - Handling WM_COMMAND properly.
  Compiling in support for Motif.
  *WARNING*  Many versions of Motif are buggy, requiring workarounds.
             You are likely to experience slow redisplay.
             You may need to install vendor patches to Motif.
             See PROBLEMS for more information.
  Using Lucid menubars.
  Using Lucid scrollbars.
  Using Motif dialog boxes.
  Using Motif native widgets.

  Compiling in support for ncurses.

  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 TIFF images.


  Compiling in support for Berkeley database.
  Compiling in support for GNU DBM.


  Compiling in support for "lockf" mail spool file locking method.

Other Features:
  Inhibiting IPv6 canonicalization at startup.
  Compiling in support for dynamic shared object modules.
  Using the new GC mark algorithms (KKCC).
  WARNING: ---------------------------------------------------------
  WARNING: The new algorithms are experimental. They are enabled by
  WARNING: default for this release. Use `--disable-kkcc' to
  WARNING: turn it off.
  WARNING: ---------------------------------------------------------
  Compiling in support for extra debugging code.
  Compiling in support for runtime error checking.
  WARNING: ---------------------------------------------------------
  WARNING: XEmacs will run noticeably more slowly as a result.
  WARNING: Error checking is on by default for XEmacs beta releases.
  WARNING: ---------------------------------------------------------

Load-Path Lisp Shadows:

Installed XEmacs Packages:
(zenirc ver: 1.16 upstream: 2.112)
(xwem ver: 1.22 upstream:
(xslt-process ver: 1.12 upstream: 1.2.1)
(xslide ver: 1.09 upstream: 0.2.2)
(xlib ver: 1.14 upstream:
(xetla ver: 1.01 upstream:
(xemacs-devel ver: 1.72 upstream: No-Upstream-Ver)
(xemacs-base ver: 2.03 upstream: No-Upstream-Ver)
(x-symbol ver: 1.1 upstream: 4.5.1)
(w3 ver: 1.32 upstream: 4.0pre47)
(vm ver: 7.22 upstream: 7.17)
(viper ver: 1.48 upstream: 3.09)
(view-process ver: 1.13 upstream: 2.4)
(vhdl ver: 1.21 upstream: 3.33.8)
(vc-cc ver: 1.22 upstream: No-Upstream-Ver)
(vc ver: 1.41 upstream: No-Upstream-Ver)
(tramp ver: 1.32 upstream: 2.0.53)
(tpu ver: 1.14 upstream: 4.2X)
(tooltalk ver: 1.15 upstream: No-Upstream-Ver)
(tm ver: 1.38 upstream: No-Upstream-Ver)
(time ver: 1.14 upstream: 1.17)
(textools ver: 1.15 upstream: No-Upstream-Ver)
(text-modes ver: 1.9 upstream: No-Upstream-Ver)
(texinfo ver: 1.3 upstream: No-Upstream-Ver)
(supercite ver: 1.21 upstream: 3.55x3)
(strokes ver: 1.1 upstream: No-Upstream-Ver)
(speedbar ver: 1.28 upstream: 0.14beta4)
(sounds-wav ver: 1.12 upstream: No-Upstream-Ver)
(sounds-au ver: 1.12 upstream: No-Upstream-Ver)
(sml-mode ver: 0.12 upstream: 3.9.5)
(slider ver: 1.15 upstream: 0.3x1)
(sieve ver: 1.18 upstream: No-Upstream-Ver)
(sh-script ver: 1.21 upstream: 2.0f)
(sgml ver: 1.11 upstream: No-Upstream-Ver)
(semantic ver: 1.2 upstream: 1.4.4)
(scheme ver: 1.14 upstream: No-Upstream-Ver)
(sasl ver: 1.16 upstream: 1.14.4)
(ruby-modes ver: 1.02 upstream: 1.6.8)
(rmail ver: 1.14 upstream: No-Upstream-Ver)
(riece ver: 1.22 upstream: 2.0.2)
(reftex ver: 1.34 upstream: 4.21)
(re-builder ver: 1.05 upstream: 1.20)
(python-modes ver: 1.07 upstream: No-Upstream-Ver)
(psgml-dtds ver: 1.03 upstream: No-Upstream-Ver)
(psgml ver: 1.44 upstream: 1.3.1)
(ps-print ver: 1.11 upstream: 6.5.6)
(prog-modes ver: 2.07 upstream: No-Upstream-Ver)
(pgg ver: 1.06 upstream: 0.1)
(perl-modes ver: 1.09 upstream: No-Upstream-Ver)
(pcomplete ver: 1.04 upstream: 1.1.6)
(pcl-cvs ver: 1.66 upstream: R-2_9_9)
(pc ver: 1.28 upstream: No-Upstream-Ver)
(os-utils ver: 1.37 upstream: No-Upstream-Ver)
(oo-browser ver: 1.04 upstream: 4.08)
(ocaml ver: 0.05 upstream: 3.06)
(net-utils ver: 1.48 upstream: N/A)
(mmm-mode ver: 1.02 upstream: 0.4.7)
(misc-games ver: 1.18 upstream: No-Upstream-Ver)
(mine ver: 1.16 upstream: 1.9)
(mh-e ver: 1.29 upstream: 7.4.2)
(mew ver: 1.19 upstream: 1.94.2)
(mailcrypt ver: 2.14 upstream: 3.5.8)
(mail-lib ver: 1.76 upstream: No-Upstream-Ver)
(jde ver: 1.51 upstream: 2.3.3)
(ispell ver: 1.32 upstream: 3.6)
(ilisp ver: 1.33 upstream: 5.12.0)
(igrep ver: 1.14 upstream: 2.111)
(idlwave ver: 1.32 upstream: 5.1)
(ibuffer ver: 1.09 upstream: No-Upstream-Ver)
(hyperbole ver: 1.16 upstream: 4.18)
(hm--html-menus ver: 1.23 upstream: 5.9)
(haskell-mode ver: 1.08 upstream: 2.1)
(gnus ver: 1.9 upstream: 5.10.7)
(gnats ver: 1.17 upstream: 3.101)
(general-docs ver: 1.04 upstream: No-Upstream-Ver)
(games ver: 1.17 upstream: 1.04)
(fsf-compat ver: 1.15 upstream: No-Upstream-Ver)
(frame-icon ver: 1.11 upstream: No-Upstream-Ver)
(fortran-modes ver: 1.05 upstream: No-Upstream-Ver)
(forms ver: 1.15 upstream: 2.37)
(footnote ver: 1.16 upstream: 0.18x)
(eudc ver: 1.39 upstream: 1.32)
(eterm ver: 1.17 upstream: No-Upstream-Ver)
(eshell ver: 1.1 upstream: 2.4.1)
(escreen ver: 1.01 upstream: 1.16)
(erc ver: 0.21 upstream: Version 5.1.2 Revision: 1.796.2.6)
(emerge ver: 1.11 upstream: No-Upstream-Ver)
(elib ver: 1.11 upstream: 1.0)
(eieio ver: 1.05 upstream: 0.17)
(efs ver: 1.33 upstream: 1.23)
(edt ver: 1.13 upstream: No-Upstream-Ver)
(edit-utils ver: 2.34 upstream: No-Upstream-Ver)
(ediff ver: 1.62 upstream: 2.75)
(edebug ver: 1.21 upstream: No-Upstream-Ver)
(ecrypto ver: 0.2 upstream: 2.0)
(ecb ver: 1.22 upstream: 2.31)
(docbookide ver: 0.07000000000000001 upstream: 0.1)
(dired ver: 1.17 upstream: 7.13)
(dictionary ver: 1.16 upstream: 1.8)
(debug ver: 1.17 upstream: No-Upstream-Ver)
(crisp ver: 1.15 upstream: 1.34)
(cookie ver: 1.15 upstream: No-Upstream-Ver)
(clearcase ver: 1.1 upstream: /main/laptop/165)
(cc-mode ver: 1.45 upstream: 5.30.10)
(calendar ver: 1.23 upstream: No-Upstream-Ver)
(calc ver: 1.26 upstream: 2.02fX3)
(c-support ver: 1.22 upstream: No-Upstream-Ver)
(build ver: 1.14 upstream: 2.02)
(bbdb ver: 1.29 upstream: 2.34)
(auctex ver: 1.46 upstream: 11.55)
(apel ver: 1.32 upstream: 10.6)
(ada ver: 1.14 upstream: 2.27)
(Sun ver: 1.16 upstream: No-Upstream-Ver)

Installed Modules:


(mail-abbrevs xemacsbug shadow sendmail rfc822 comint compile
timer-funcs uniquify cal-move cal-xemacs calendar time gnuserv psvn
wid-edit ring overlay diff-mode advice advice-preload pp elp
ediff-util ediff-merg ediff-diff ediff-wind ediff-tbar ediff-mult
ediff-help ediff-init dired-faces dired-xemacs dired blink-cursor
lazy-lock font-lock cus-face mwheel edmacro zenirc-autoloads
xwem-autoloads xslt-process-autoloads xslide-autoloads xlib-autoloads
xetla-autoloads xemacs-devel-autoloads xemacs-base-autoloads
x-symbol-autoloads w3-autoloads vm-autoloads viper-autoloads
view-process-autoloads vhdl-autoloads vc-cc-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
sml-mode-autoloads slider-autoloads sieve-autoloads
sh-script-autoloads sgml-autoloads semantic-autoloads scheme-autoloads
sasl-autoloads ruby-modes-autoloads rmail-autoloads riece-autoloads
reftex-autoloads re-builder-autoloads python-modes-autoloads
psgml-dtds-autoloads psgml-autoloads ps-print-autoloads
prog-modes-autoloads pgg-autoloads perl-modes-autoloads
pcomplete-autoloads pcl-cvs-autoloads pc-autoloads os-utils-autoloads
oo-browser-autoloads ocaml-autoloads net-utils-autoloads
mmm-mode-autoloads misc-games-autoloads mine-autoloads mh-e-autoloads
mew-autoloads mailcrypt-autoloads mail-lib-autoloads jde-autoloads
ispell-autoloads ilisp-autoloads igrep-autoloads idlwave-autoloads
ibuffer-autoloads hyperbole-autoloads hm--html-menus-autoloads
haskell-mode-autoloads gnus-autoloads gnats-autoloads
general-docs-autoloads games-autoloads fsf-compat-autoloads
frame-icon-autoloads fortran-modes-autoloads forms-autoloads
footnote-autoloads eudc-autoloads eterm-autoloads eshell-autoloads
escreen-autoloads erc-autoloads emerge-autoloads elib-autoloads
eieio-autoloads efs-autoloads edt-autoloads edit-utils-autoloads
ediff-autoloads edebug-autoloads ecrypto-autoloads ecb-autoloads
docbookide-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 modules-autoloads
auto-autoloads auto-show fontl-hooks code-cmds gutter-items
menubar-items x-menubar mode-motion mouse behavior itimer auto-save
lisp-mode easymenu easy-mmode iso8859-1 page buff-menu lib-complete
loadhist cus-file derived newcomment rsz-minibuf env text-props frame
obsolete cus-start custom widget cl-extra cl cl-19 packages backquote
unicode lucid-scrollbars cut-buffer lucid-menubars motif-dialogs x
c-balloon-help tty-frames tty toolbar scrollbar unix-processes
multicast network-streams subprocesses modules
menu-accelerator-support menubar berkeley-db dbm md5 xemacs gutter
tiff png gif jpeg xpm xbm lisp-float-type file-coding aix dialog
devices window-system base64)

Recent keystrokes:

button1 button1up button1 button1up button1 button1up
button1 button1up button1 button1up button4 button4up
button4 button4up button4 button4up button1 button1up
button1 button1up C-x d P S TAB o TAB C-x d / BS $
P S TAB B TAB RET C-x d c + TAB l i b r TAB P TAB RET
f9 BS BS f SPC M a k TAB button1 button1up button1
button1up TAB _ P TAB C TAB D TAB RET button1 button1up

Recent messages (most recent first):

Auto save file for draft message exists; consider M-x mail-recover

Defaulting to the GNU Emacs-derived `sendmail.el' mail client. This 
while part of base XEmacs, is heinously underfeatured, and not going to get
better in the medium term. We include it so that bug reports work without
packages; we suggest that you choose and/or install one of the other mail
clients from packages if you're doing something other than M-x
report-xemacs-bug , or even if you are reporting bugs regularly.

To choose a package from those installed, click on "Options" ->
"Internet" -> "Compose Mail With ..." and decide on one from the
list. Gnus and VM are full-featured and have active user communities.

To disable this warning and stick with the old behavior, you can explicitly
initialize `mail-user-agent' to 'sendmail-user-agent .
Loading xemacsbug...done
Loading xemacsbug...
Loading comint...done
Loading comint...
Loading compile...done
Loading compile...
Reading directory 
Reading directory 
Reading directory /localbuild/source/V9_UNICODE_RESTRUCTURE/...done
Reading directory /localbuild/source/V9_UNICODE_RESTRUCTURE/...
Loading timer-funcs...done
Loading timer-funcs...
Loading cal-move...done
Loading cal-move...
Loading calendar...done
Loading calendar...
Loading time...done

GNU gdb 6.7.1
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later 
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "powerpc-ibm-aix5.2.0.0"...
(gdb) r
Starting program: /usr/local/bin/xemacs

Program exited normally.
(gdb) r
Starting program: /usr/local/bin/xemacs

Fatal error: assertion failed, file signal.c, line 730, QUIT called from 
within redisplay without being properly wrapped

Program received signal SIGABRT, Aborted.
[Switching to Thread 1]
0xd0062140 in pthread_kill () from /usr/lib/libpthreads.a(shr_xpg5.o)
(gdb) bt
#0  0xd0062140 in pthread_kill () from /usr/lib/libpthreads.a(shr_xpg5.o)
#1  0xd0061bcc in _p_raise () from /usr/lib/libpthreads.a(shr_xpg5.o)
#2  0xd01ee76c in raise () from /usr/lib/libc.a(shr.o)
#3  0xd020e770 in abort () from /usr/lib/libc.a(shr.o)
#4  0x10005e38 in really_abort () at emacs.c:4694
#5  0x10004708 in assert_failed (file=0x10337e10 "signal.c", line=730,
    expr=0x10337ed4 "QUIT called from within redisplay without being 
properly wrapped") at emacs.c:3987
#6  0x101aa1fc in check_quit () at signal.c:728
#7  0x101a99f8 in check_what_happened () at signal.c:458
#8  0x1002fec4 in Ffuncall (nargs=2, args=0x2ff20c98) at eval.c:3850
#9  0x100329e8 in call1 (fn=547392860, arg0=541749936) at eval.c:4580
#10 0x1027f784 in menu_item_descriptor_to_widget_value_1 (desc=541749936,
    menu_type=1, deep_p=1, filter_p=0, depth=0) at menubar-x.c:218
#11 0x1027fcc8 in protected_menu_item_descriptor_to_widget_value_1 (
    gack=0x2ff21240) at menubar-x.c:353
#12 0x10034044 in call_trapping_problems_2 (opaque=542422128) at eval.c:4968
#13 0x10029ca0 in call_with_condition_handler (
    handler=@0x2002d2a8: 0x10033ef8 <flagged_a_squirmer>,
    fun=@0x2002d2b4: 0x10033fd8 <call_trapping_problems_2>, arg=542422128)
    at eval.c:2157
#14 0x100340d0 in call_trapping_problems_1 (opaque=542422128) at eval.c:4974
---Type <return> to continue, or q <return> to quit---
#15 0x10028864 in internal_catch (tag=537632768,
    func=@0x2002d2c0: 0x10034098 <call_trapping_problems_1>, arg=542422128,
    threw=0x2ff21168, thrown_tag=0x2ff21160, 
    at eval.c:1552
#16 0x10034770 in call_trapping_problems (warning_class=537521524,
    warning_string=0x103414d0 "Error during menu callback", flags=35,
    fun=@0x2002ba18: 0x1027fc58 
<protected_menu_item_descriptor_to_widget_value_1>, arg=0x2ff21240) at 
#17 0x1013dad0 in event_stream_protect_modal_loop (
    error_string=0x103414d0 "Error during menu callback",
    bfun=@0x2002ba18: 0x1027fc58 
<protected_menu_item_descriptor_to_widget_value_1>, barg=0x2ff21240, 
flags=32) at event-stream.c:1936
#18 0x1027fdd4 in protected_menu_item_descriptor_to_widget_value (
    desc=540664868, menu_type=1, deep_p=1, filter_p=0) at menubar-x.c:382
#19 0x102800d8 in pre_activate_callback (widget=0x20bb2408, 
    client_data=0x205b5380) at menubar-x.c:476
#20 0x1024c264 in pre_hook (w=0x20bb2408, client_data=0x207f8ec0,
    call_data=0x205b5380) at lwlib-Xlw.c:82
#21 0xd1263d30 in XtCallCallbackList () from /usr/lib/libXt.a(shr4.o)
#22 0x10253e90 in remap_menubar (mw=0x20bb2408) at xlwmenu.c:2703
#23 0x102564b4 in handle_single_motion_event (mw=0x20bb2408, ev=0x2ff218f8,
    select_p=1 '\001') at xlwmenu.c:3491
---Type <return> to continue, or q <return> to quit---
#24 0x10256684 in handle_motion_event (mw=0x20bb2408, ev=0x2ff218f8,
    select_p=1 '\001') at xlwmenu.c:3523
#25 0x10256854 in Start (w=0x20bb2408, ev=0x2ff218f8, unused_params=0x0,
    unused_num_params=0xf02b0c48) at xlwmenu.c:3561
#26 0xd1281594 in HandleActions () from /usr/lib/libXt.a(shr4.o)
#27 0xd1281028 in HandleSimpleState () from /usr/lib/libXt.a(shr4.o)
#28 0xd1283170 in _XtTranslateEvent () from /usr/lib/libXt.a(shr4.o)
#29 0xd126d564 in XtDispatchEventToWidget () from /usr/lib/libXt.a(shr4.o)
#30 0xd126a330 in _XtDefaultDispatcher () from /usr/lib/libXt.a(shr4.o)
#31 0xd126e070 in XtDispatchEvent () from /usr/lib/libXt.a(shr4.o)
#32 0xd127b330 in XtAppProcessEvent () from /usr/lib/libXt.a(shr4.o)
#33 0x1016e2c0 in emacs_Xt_drain_queue () at event-Xt.c:2895
#34 0x1016e3e0 in check_if_pending_expose_event (dev=0x20537e00)
    at event-Xt.c:2916
#35 0x103078d0 in x_window_output_end (w=0x208aa000) at redisplay-x.c:529
#36 0x101d3e78 in redisplay_output_window (w=0x208aa000)
    at redisplay-output.c:2505
#37 0x100cbaf4 in redisplay_window (window=545955840, skip_selected=1)
    at redisplay.c:6539
#38 0x100cbe4c in redisplay_windows (window=545955840, skip_selected=1)
    at redisplay.c:6595
#39 0x100caba4 in redisplay_window (window=547163136, skip_selected=1)
    at redisplay.c:6220
---Type <return> to continue, or q <return> to quit---
#40 0x100cbe4c in redisplay_windows (window=547163136, skip_selected=1)
    at redisplay.c:6595
#41 0x100ccc30 in redisplay_frame (f=0x20c13200, preemption_check=1)
    at redisplay.c:6948
#42 0x100cd1f0 in redisplay_device (d=0x20537e00, automatic=1)
    at redisplay.c:7026
#43 0x100cdad4 in redisplay_without_hooks () at redisplay.c:7101
#44 0x100cdf04 in redisplay_no_pre_idle_hook () at redisplay.c:7172
#45 0x100cde5c in redisplay () at redisplay.c:7154
#46 0x1013ea24 in Fnext_event (event=542742880, prompt=537384964)
    at event-stream.c:2288
#47 0x1023b828 in Fcommand_loop_1 () at cmdloop.c:599
#48 0x1023b4dc in command_loop_1 (unused_dummy=537384964) at cmdloop.c:505
#49 0x10029188 in condition_case_1 (handlers=537385060,
    bfun=@0x2002b0ac: 0x1023b48c <command_loop_1>, barg=537384964,
    hfun=@0x2002b0a0: 0x1023acfc <cmd_error>, harg=537384964) at eval.c:1946
#50 0x1023af34 in command_loop_3 () at cmdloop.c:262
#51 0x1023af94 in command_loop_2 (unused_dummy=537384964) at cmdloop.c:275
#52 0x10028864 in internal_catch (tag=537465484,
    func=@0x2002b0c4: 0x1023af78 <command_loop_2>, arg=537384964, 
    thrown_tag=0x0, backtrace_before_throw=0x0) at eval.c:1552
#53 0x1023b130 in initial_command_loop (load_me=537384964) at cmdloop.c:313
#54 0x100025bc in xemacs_21_5_b28_powerpc_ibm_aix5_2_0_0 (argc=1,
---Type <return> to continue, or q <return> to quit---
    argv=0x2ff22654, unused_envp=0x0, restart=0) at emacs.c:2668
#55 0x10003598 in main (argc=1, argv=0x2ff22654, unused_envp=0x2ff2265c)
    at emacs.c:3173

XEmacs-Beta mailing list
Date User Action Args
2013-03-05 01:10:58mike.kupfersetnosy: + mike.kupfer
messages: + msg2476
2008-09-27 06:15:07vladimirsetstatus: new
2008-02-28 00:36:53stephensetpriority: normal
platform: + other cpu, unix, xt
type: defect
severity: crash
module: + core code 21.5
2008-02-28 00:20:06T.Mittelstaedtcreate