bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs 20.7 crashes sometimes under HP-UX 10.20


From: Klaus Zeitler
Subject: emacs 20.7 crashes sometimes under HP-UX 10.20
Date: 17 Jan 2001 14:34:31 +0100
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

this is a followup to a problem I reported in December.

Here's the original post:

-----------------------------------------------------------------------------

every once in a while emacs crashes when I try to use one of the menus
(fortunately I don't use them very often). This happens as soon as I click on
the menu bar on one of the menu titles.
Besides I also noticed that often I have to click 2 or 3 times on one of the
menus to open it.

When I tried to analyze the core with gdb-5.0 this resulted in another crash:

GNU gdb 5.0
Copyright 2000 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 "hppa1.1-hp-hpux10.20"...
Core was generated by `emacs'.
Program terminated with signal 11, Segmentation fault.

warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.


warning: Can't find file emacs referenced in dld_list.
Reading symbols from /usr/lib/X11R6/libXt.2...done.
Reading symbols from /usr/lib/X11R6/libSM.1...done.
Reading symbols from /usr/lib/X11R6/libICE.1...done.
Reading symbols from /usr/lib/X11R6/libXext.2...done.
Reading symbols from /usr/lib/X11R6/libX11.2...done.
Reading symbols from /usr/lib/libM.1...done.
Reading symbols from /usr/lib/libc.1...done.
Reading symbols from /usr/lib/libdld.1...done.
Reading symbols from /usr/lib/nls/loc/locales.1/C.iso88591...done.
#0  0xc01411e0 in ?? () from /usr/lib/libc.1
(gdb) bt
#0  0xc01411e0 in ?? () from /usr/lib/libc.1
#1  0x9a06c in fatal_error_signal (sig=11) at emacs.c:254
Memory fault(coredump)


does anybody have an idea what's going on?
and can anybody tell me what the 2 gdb warnings above mean

-----------------------------------------------------------------------------

and here's more info to it. Found some HP gdb version called 'wildbeest' and
with this version of gdb I got the following backtraces for 2 cores:

------------------

1)

Wildebeest is free software and you are welcome to distribute copies of
it under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for Wildebeest; type "show warranty"
for details.

Hewlett-Packard Wildebeest 1.0 (based on GDB 4.16)
(built for PA-RISC 1.1 or 2.0 (narrow), HP-UX 10.20)
Copyright 1996, 1997 Free Software Foundation, Inc...
Core was generated by `emacs'.
Program terminated with signal 11, Segmentation fault.

warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.

#0  0xc01411e0 in kill () from /usr/lib/libc.1
#0  0xc01411e0 in kill () from /usr/lib/libc.1
(gdb) bt
#0  0xc01411e0 in kill () from /usr/lib/libc.1
#1  0x940c4 in fatal_error_signal (sig=2063670352) at emacs.c:254
#2  <signal handler called>
#3  0xc0cbf170 in XtSetKeyboardFocus () from /usr/lib/X11R6/libXt.2
#4  0xc0cbf104 in FocusDestroyCallback () from /usr/lib/X11R6/libXt.2
#5  0xc0ca6dec in XtCallCallbackList () from /usr/lib/X11R6/libXt.2
#6  0xc0cb0268 in Phase2Callbacks () from /usr/lib/X11R6/libXt.2
#7  0xc0cb0124 in Recursive () from /usr/lib/X11R6/libXt.2
#8  0xc0cb0628 in XtPhase2Destroy () from /usr/lib/X11R6/libXt.2
#9  0xc0cb07f0 in _XtDoPhase2Destroy () from /usr/lib/X11R6/libXt.2
#10 0xc0cb0978 in XtDestroyWidget () from /usr/lib/X11R6/libXt.2
#11 0x14e458 in destroy_all_children (widget=0x40579600, 
    first_child_to_destroy=0) at lwlib-Xm.c:183
#12 0x14f194 in xm_update_menu (instance=0x402a3560, widget=0x402aac00, 
    val=0x402a1040, deep_p=0 '\000') at lwlib-Xm.c:635
#13 0x14f4e8 in xm_update_one_widget (instance=0x402a3560, widget=0x402aac00, 
    val=0x402a1040, deep_p=0 '\000') at lwlib-Xm.c:739
#14 0x14d0d4 in set_one_value (instance=0x402a3560, val=0x402a1040, 
    deep_p=0 '\000') at /vol/freeware/source/emacs-20.7/lwlib/lwlib.c:619
#15 0x14d138 in update_one_widget_instance (instance=0x402a3560, 
    deep_p=0 '\000') at /vol/freeware/source/emacs-20.7/lwlib/lwlib.c:645
#16 0x14d184 in update_all_widget_values (info=0x402a1080, deep_p=0 '\000')
    at /vol/freeware/source/emacs-20.7/lwlib/lwlib.c:657
#17 0x14d2e0 in lw_modify_all_widgets (id=1079481856, val=0x402a1040, 
    deep_p=0 '\000') at /vol/freeware/source/emacs-20.7/lwlib/lwlib.c:711
#18 0x53e54 in set_frame_menubar (f=0x40199d00, first_time=0, deep_p=0)
    at xmenu.c:1714
#19 0x49770 in update_menu_bar (f=0x40199d00, save_match_data=1074695184)
    at xdisp.c:1693
---Type <return> to continue, or q <return> to quit---
#20 0x4809c in prepare_menu_bars () at xdisp.c:975
#21 0x4835c in redisplay_internal (preserve_echo_area=1) at xdisp.c:1097
#22 0x492c0 in redisplay_preserve_echo_area () at xdisp.c:1561
#23 0x14232c in status_notify () at process.c:4422
#24 0x13f414 in wait_reading_process_input (time_limit=1, microsecs=0, 
    read_kbd=268435455, do_display=1) at process.c:2421
#25 0x40a40 in sit_for (sec=1, usec=0, reading=1, display=1, initial_display=0)
    at dispnew.c:2452
#26 0x98e4c in read_char (commandflag=1, nmaps=3, maps=0x7b03c128, 
    prev_event=24, used_mouse_menu=0x7b03c02c) at keyboard.c:2055
#27 0xa0298 in read_key_sequence (keybuf=0x400b7f24, bufsize=0, 
    prompt=1074695184, dont_downcase_last=1074695184, 
    can_return_switch_frame=1075974355, fix_current_buffer=1074765524)
    at keyboard.c:7023
#28 0x400a7730 in Def_term ()



------------------

2)

Wildebeest is free software and you are welcome to distribute copies of
it under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for Wildebeest; type "show warranty"
for details.

Hewlett-Packard Wildebeest 1.0 (based on GDB 4.16)
(built for PA-RISC 1.1 or 2.0 (narrow), HP-UX 10.20)
Copyright 1996, 1997 Free Software Foundation, Inc...
Core was generated by `emacs'.
Program terminated with signal 11, Segmentation fault.

warning: The shared libraries were not privately mapped; setting a
breakpoint in a shared library will not work until you rerun the program.

#0  0xc01411e0 in kill () from /usr/lib/libc.1
#0  0xc01411e0 in kill () from /usr/lib/libc.1
(gdb) bt
#0  0xc01411e0 in kill () from /usr/lib/libc.1
#1  0x940c4 in fatal_error_signal (sig=0) at emacs.c:254
#2  <signal handler called>
#3  0xc0ca5950 in FetchInternalList () from /usr/lib/X11R6/libXt.2
#4  0xc0ca5c84 in XtAddCallback () from /usr/lib/X11R6/libXt.2
#5  0xc0cb670c in _XtGetPerWidgetInput () from /usr/lib/X11R6/libXt.2
#6  0xc0cbf190 in XtSetKeyboardFocus () from /usr/lib/X11R6/libXt.2
#7  0xc0cbf104 in FocusDestroyCallback () from /usr/lib/X11R6/libXt.2
#8  0xc0ca6da4 in XtCallCallbackList () from /usr/lib/X11R6/libXt.2
#9  0xc0cb0268 in Phase2Callbacks () from /usr/lib/X11R6/libXt.2
#10 0xc0cb0124 in Recursive () from /usr/lib/X11R6/libXt.2
#11 0xc0cb0628 in XtPhase2Destroy () from /usr/lib/X11R6/libXt.2
#12 0xc0cb07f0 in _XtDoPhase2Destroy () from /usr/lib/X11R6/libXt.2
#13 0xc0cb0978 in XtDestroyWidget () from /usr/lib/X11R6/libXt.2
#14 0x14e458 in destroy_all_children (widget=0x7afdbac0, 
    first_child_to_destroy=7) at lwlib-Xm.c:183
#15 0x14f194 in xm_update_menu (instance=0x402a3540, widget=0x402b6e00, 
    val=0x402a47c0, deep_p=1 '\001') at lwlib-Xm.c:635
#16 0x14f048 in update_one_menu_entry (instance=0x402a3540, widget=0x402c1600, 
    val=0x402a47c0, deep_p=1 '\001') at lwlib-Xm.c:568
#17 0x14f16c in xm_update_menu (instance=0x402a3540, widget=0x402aac00, 
    val=0x402a1040, deep_p=1 '\001') at lwlib-Xm.c:626
#18 0x14f4e8 in xm_update_one_widget (instance=0x402a3540, widget=0x402aac00, 
    val=0x402a1040, deep_p=1 '\001') at lwlib-Xm.c:739
#19 0x14d0d4 in set_one_value (instance=0x402a3540, val=0x402a1040, 
    deep_p=-79 '\261') at /vol/freeware/source/emacs-20.7/lwlib/lwlib.c:619
#20 0x14d138 in update_one_widget_instance (instance=0x402a3540, 
    deep_p=1 '\001') at /vol/freeware/source/emacs-20.7/lwlib/lwlib.c:645
#21 0x14d184 in update_all_widget_values (info=0x402a1080, deep_p=1 '\001')
    at /vol/freeware/source/emacs-20.7/lwlib/lwlib.c:657
#22 0x14d2e0 in lw_modify_all_widgets (id=2063448768, val=0x402a1040, 
    deep_p=1 '\001') at /vol/freeware/source/emacs-20.7/lwlib/lwlib.c:711
#23 0x53e54 in set_frame_menubar (f=0x40199d00, first_time=-1, deep_p=1)
    at xmenu.c:1714


------------------

I have a sneaking suspicion that this is an X11 problem. I'd appreciate any
help or hints for this problem.

Klaus

-- 
 ------------------------------------------
|  Klaus Zeitler      Lucent Technologies  |
|  Email:             kzeitler@lucent.com  |
 ------------------------------------------
---
In a five year period we can get one superb programming language.
Only we can't control when the five year period will begin.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]