xemacs crashing on kernel 2.6.8

Daniel Zeng zeng at eller.arizona.edu
Tue Oct 12 23:14:00 UTC 2004


Hi,

I have been using xemacs extensively for many years and had never had any
problems with running xemacs on Redhat/Fedora. However, starting with
kernel 2.6.8, xemacs has been constantly crashing. Sometimes it crashed and
core dumped even before it could be started. Other times it ran for between
5 minutes--5 hours and crashed. The crashings do not seem to be directly
correlated with any particular activities I am doing with xemacs.

I have been searching at various places including bugzilla and xemacs
mailing lists but couldn't find any reference or solution to this very
annoying problem.

Any help would be greatly appreciated!

Some detailed setup info:

- OS: xemacs worked fine with Fedora Core 2 2.6.7 kernel. However 2.6.7
kernel has an unresolve problem with /dev/pts and forced me to update to
2.8 kernels. Under both Core 2 and Core 3 test releases, xemacs crashes
with all 2.8 kernels. My current kernel is 2.6.8-1.541smp #1 SMP, the stock
kernel shipped with Core 3 Test 3.

- xemacs:  21.4 patch 15. I tried both binary RPMs (21.4-15-5, 21.4-15-7,
21.4-15-8) and source RPMS (rpmbuild using both gcc33 and gcc34) but all of
them have this crashing problem. It seems that binary RPMs that come with
Fedora are even more unstable.

- core dump info attached below in case it is useful. Instances of the
xemacs crashes do not seem to share a consistent stack trace.

=============================
> gdb /usr/bin/xemacs core.6758 
GNU gdb Red Hat Linux (6.1post-1.20040607.33rh)
Copyright 2004 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 "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".

Core was generated by `xemacs -l .xemacs/myserver.elc -geometry 84x25+50-100'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libcanna.so.1...done.
Loaded symbols for /usr/lib/libcanna.so.1
Reading symbols from /usr/lib/libRKC.so.1...done.
Loaded symbols for /usr/lib/libRKC.so.1
Reading symbols from /usr/lib/libwnn.so.0...done.
Loaded symbols for /usr/lib/libwnn.so.0
Reading symbols from /usr/X11R6/lib/libXaw3d.so.7...done.
Loaded symbols for /usr/X11R6/lib/libXaw3d.so.7
Reading symbols from /usr/lib/libtiff.so.3...done.
Loaded symbols for /usr/lib/libtiff.so.3
Reading symbols from /usr/lib/libpng12.so.0...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libjpeg.so.62...done.
Loaded symbols for /usr/lib/libjpeg.so.62
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Loaded symbols for /usr/X11R6/lib/libXpm.so.4
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXmu.so.6
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXt.so.6
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Loaded symbols for /usr/X11R6/lib/libXext.so.6
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
Loaded symbols for /usr/X11R6/lib/libX11.so.6
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Loaded symbols for /usr/X11R6/lib/libSM.so.6
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Loaded symbols for /usr/X11R6/lib/libICE.so.6
Reading symbols from /usr/lib/libgpm.so.1...done.
Loaded symbols for /usr/lib/libgpm.so.1
Reading symbols from /usr/lib/libncurses.so.5...done.
Loaded symbols for /usr/lib/libncurses.so.5
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/tls/libm.so.6...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/libutil.so.1...done.
Loaded symbols for /lib/libutil.so.1
Reading symbols from /lib/tls/libc.so.6...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xlcUTF8Load.so.2
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2
Reading symbols from /usr/X11R6/lib/libXcursor.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXcursor.so.1
Reading symbols from /usr/X11R6/lib/libXrender.so.1...done.
Loaded symbols for /usr/X11R6/lib/libXrender.so.1
Reading symbols from /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2...done.
Loaded symbols for /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2
Reading symbols from /lib/libnss_dns.so.2...done.
Loaded symbols for /lib/libnss_dns.so.2
Reading symbols from /lib/libresolv.so.2...done.
Loaded symbols for /lib/libresolv.so.2
#0  0x4f182782 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
(gdb) where
#0  0x4f182782 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1  0x4f1c6946 in kill () from /lib/tls/libc.so.6
#2  0x080ad005 in fatal_error_signal (sig=11) at emacs.c:642
#3  <signal handler called>
#4  garbage_collect_1 () at alloc.c:2537
#5  0x08087b50 in Fgarbage_collect () at alloc.c:3599
#6  0x080b4662 in Ffuncall (nargs=1, args=0x0) at eval.c:3536
#7  0x080903bb in execute_optimized_program (
    program=0x81e41c0 "?\036\b7?032\b?\032\b", stack_depth=0, 
    constants_data=0xf6e039b8) at bytecode.c:748
#8  0x08092245 in funcall_compiled_function (fun=-152626832, nargs=0, 
    args=0xfeffec08) at bytecode.c:516
#9  0x080b45fa in Ffuncall (nargs=1, args=0xfeffec04) at eval.c:3572
#10 0x080903bb in execute_optimized_program (
    program=0x81e41c0 "?\036\b7?032\b?\032\b", stack_depth=0, 
    constants_data=0xf6e041bc) at bytecode.c:748
#11 0x080924a3 in Fbyte_code (instructions=150023624, constants=-153075284, 
    stack_depth=136200640) at bytecode.c:2405
#12 0x080b3d9b in Feval (form=-153334372) at eval.c:3335
#13 0x080b1b9d in condition_case_1 (handlers=136200640, 
    bfun=0x80b3658 <Feval>, barg=-153334372, 
    hfun=0x80b61a2 <run_condition_case_handlers>, harg=-153739324)
    at eval.c:1652
#14 0x080b322d in condition_case_3 (bodyform=136200640, var=-153739324, 
    handlers=-153334492) at eval.c:1730
#15 0x0808f851 in execute_rare_opcode (stack_ptr=0xfeffeff4, 
    program_ptr=0x93f84d5 "\210)\vA\211\023?217\016\036\211\023?016\f?v@!^\024\vA\211\023??!\211\036\037?f?016\037!?006\212?\210))\f.\a\207H
    opcode=Bcondition_case) at bytecode.c:1273
#16 0x0808fc82 in execute_optimized_program (
    program=0x81e41c0 "?\036\b7?032\b?\032\b", stack_depth=0, 
    constants_data=0xf6e0432c) at bytecode.c:658
#17 0x08092245 in funcall_compiled_function (fun=-152625852, nargs=1, 
    args=0xfefff178) at bytecode.c:516
#18 0x080b45fa in Ffuncall (nargs=2, args=0xfefff174) at eval.c:3572
#19 0x080903bb in execute_optimized_program (
    program=0x81e41c0 "?\036\b7?032\b?\032\b", stack_depth=0, 
    constants_data=0xf6e0442c) at bytecode.c:748
#20 0x08092245 in funcall_compiled_function (fun=-152625768, nargs=1, 
    args=0xfefff2ec) at bytecode.c:516
#21 0x080b45fa in Ffuncall (nargs=2, args=0xfefff2e8) at eval.c:3572
#22 0x080b4ca3 in call1 (fn=136200640, arg0=136200640) at eval.c:4190
#23 0x080f365f in execute_internal_event (event=149934144)
    at event-stream.c:3034
#24 0x080f52e8 in Fdispatch_event (event=149934144) at event-stream.c:4263
#25 0x08099968 in Fcommand_loop_1 () at cmdloop.c:583
#26 0x080b1b9d in condition_case_1 (handlers=136200640, 
    bfun=0x80999f1 <command_loop_1>, barg=-153643300, 
    hfun=0x80992f6 <cmd_error>, harg=-153643300) at eval.c:1652
#27 0x080994c9 in command_loop_2 (dummy=-153643300) at cmdloop.c:256
#28 0x080afc13 in internal_catch (tag=136200640, 
    func=0x8099490 <command_loop_2>, arg=-153643300, threw=0x0) at eval.c:1318
#29 0x08099624 in initial_command_loop (load_me=136200640) at cmdloop.c:305
#30 0x080aeb30 in xemacs_21_4_15_i386_redhat_linux (argc=5, argv=0xfefff754, 
    envp=0xfefff76c, restart=0) at emacs.c:2460
#31 0x080af7b8 in main (argc=136200640, argv=0x81e41c0, envp=0x81e41c0)
    at emacs.c:2892
(gdb) 




More information about the fedora-test-list mailing list