Compiling the latest CVS with socks (or running XEmacs with runsocks)
crashes immediately at startup:
didier(p2)% runsocks ./src/xemacs 14:08 02/26/00
Fatal error: assertion failed, file /usr/local/src/XEmacs-21.2/src/signal.c, line 340,
async_timer_suppress_count > 0
zsh: segmentation fault (core dumped) runsocks ./src/xemacs
Current directory is /usr/local/src/dxemacs/src/
GNU gdb 19990928
Copyright 1998 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 "i686-pc-linux-gnu"...
Core was generated by `./src/xemacs'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libsocks5_sh.so...done.
Reading symbols from /usr/X11R6/lib/libXm.so.1...done.
Reading symbols from /usr/lib/libcanna.so.1...done.
Reading symbols from /usr/lib/libRKC.so.1...done.
Reading symbols from /usr/lib/libtiff.so.3...done.
Reading symbols from /usr/lib/libpng.so.2...done.
Reading symbols from /usr/lib/libjpeg.so.62...done.
Reading symbols from /usr/lib/libz.so.1...done.
Reading symbols from /usr/lib/libcompface.so.1...done.
Reading symbols from /usr/X11R6/lib/libXpm.so.4...done.
Reading symbols from /usr/X11R6/lib/libXmu.so.6...done.
Reading symbols from /usr/X11R6/lib/libXt.so.6...done.
Reading symbols from /usr/X11R6/lib/libXext.so.6...done.
Reading symbols from /usr/X11R6/lib/libX11.so.6...done.
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/X11R6/lib/libSM.so.6...done.
Reading symbols from /usr/X11R6/lib/libICE.so.6...done.
Reading symbols from /lib/libdl.so.2...done.
Reading symbols from /lib/libdb.so.3...done.
Reading symbols from /usr/lib/libgpm.so.1...done.
Reading symbols from /lib/libncurses.so.5...done.
Reading symbols from /usr/lib/libesd.so.0...done.
Reading symbols from /usr/lib/libaudiofile.so.0...done.
Reading symbols from /lib/libm.so.6...done.
Reading symbols from /lib/libcrypt.so.1...done.
Reading symbols from /usr/lib/libopenldap.so.1...done.
Reading symbols from /usr/lib/liblber-openldap.so.1...done.
Reading symbols from /lib/libc.so.6...done.
Reading symbols from /lib/ld-linux.so.2...done.
Reading symbols from /lib/libnss_files.so.2...done.
Reading symbols from /lib/libnss_dns.so.2...done.
Reading symbols from /lib/libresolv.so.2...done.
#0 0x404aa911 in kill () from /lib/libc.so.6
(gdb) where
#0 0x404aa911 in kill () from /lib/libc.so.6
#1 0x809228a in fatal_error_signal (sig=11)
at /usr/local/src/XEmacs-21.2/src/emacs.c:272
#2 0x404aa848 in sigaction () from /lib/libc.so.6
#3 0x81d35b8 in reset_one_device (d=0x83950d0)
at /usr/local/src/XEmacs-21.2/src/sysdep.c:1958
#4 0x81d3641 in reset_one_console (con=0x8394c28)
at /usr/local/src/XEmacs-21.2/src/sysdep.c:1978
#5 0x81d36b1 in reset_all_consoles ()
at /usr/local/src/XEmacs-21.2/src/sysdep.c:1992
#6 0x8094540 in shut_down_emacs (sig=6, stuff={...})
at /usr/local/src/XEmacs-21.2/src/emacs.c:2438
#7 0x8092241 in fatal_error_signal (sig=6)
at /usr/local/src/XEmacs-21.2/src/emacs.c:253
#8 0x404aa848 in sigaction () from /lib/libc.so.6
#9 0x404abc51 in abort () from /lib/libc.so.6
#10 0x8094ee4 in assert_failed (
file=0x8299500 "/usr/local/src/XEmacs-21.2/src/signal.c", line=340,
expr=0x82994e0 "async_timer_suppress_count > 0")
at /usr/local/src/XEmacs-21.2/src/emacs.c:2770
#11 0x81bde9d in alarm (howlong=0)
at /usr/local/src/XEmacs-21.2/src/signal.c:340
#12 0x4055045d in getutline_r () from /lib/libc.so.6
---Type <return> to continue, or q <return> to quit---
#13 0x4054fd4f in getutline_r () from /lib/libc.so.6
#14 0x40509b5d in getlogin () from /lib/libc.so.6
#15 0x400183c1 in lsEffUser () from /usr/local/lib/libsocks5_sh.so
#16 0x4002a3c2 in lsLibProtoExchg () from /usr/local/lib/libsocks5_sh.so
#17 0x40026c1f in lsUdpConnect () from /usr/local/lib/libsocks5_sh.so
#18 0x4002262f in connect () from /usr/local/lib/libsocks5_sh.so
#19 0x4057fdf7 in __res_send () from /lib/libresolv.so.2
#20 0x4057f05f in res_query () from /lib/libresolv.so.2
#21 0x4057f443 in res_querydomain () from /lib/libresolv.so.2
#22 0x4057f275 in res_search () from /lib/libresolv.so.2
#23 0x40573fef in _nss_dns_gethostbyname2_r () from /lib/libnss_dns.so.2
#24 0x4053998e in gethostbyname2_r () from /lib/libc.so.6
#25 0x40515fd0 in sched_rr_get_interval () from /lib/libc.so.6
#26 0x4051664b in getaddrinfo () from /lib/libc.so.6
#27 0x81d386d in init_system_name ()
at /usr/local/src/XEmacs-21.2/src/sysdep.c:2361
#28 0x808a375 in init_editfns () at /usr/local/src/XEmacs-21.2/src/editfns.c:89
#29 0x8093459 in xemacs_21_2_b31_i686_pc_linux (argc=1, argv=0xbffff124,
envp=0xbffff12c, restart=0) at /usr/local/src/XEmacs-21.2/src/emacs.c:1786
#30 0x809437f in main (argc=1, argv=0xbffff124, envp=0xbffff12c)
at /usr/local/src/XEmacs-21.2/src/emacs.c:2305
--
/ / _ _ Didier Verna
http://www.inf.enst.fr/~verna/
- / / - / / /_/ / EPITA / LRDE mailto:didier@epita.fr
/_/ / /_/ / /__ / 14-16 rue Voltaire Tel. +33 (1) 44 08 01 77
94276 Kremlin-Bicêtre cedex Fax. +33 (1) 44 08 01 99