This is the mail archive of the
glibc-linux@ricardo.ecn.wfu.edu
mailing list for the glibc project.
Re: Segmentation fault in chunk_free () with XEmacs
- To: Yasushi Shoji <yashi at yashi dot com>
- Subject: Re: Segmentation fault in chunk_free () with XEmacs
- From: Andreas Jaeger <aj at suse dot de>
- Date: 08 Oct 1999 08:17:00 +0200
- Cc: glibc-linux at ricardo dot ecn dot wfu dot edu
- References: <19991007204620M.yashi@yashi.com>
- Reply-To: glibc-linux at ricardo dot ecn dot wfu dot edu
>>>>> Yasushi Shoji writes:
> hello,
> can someone else reproduce this segfault?
Yes.
> or, is it just my system? (high optimization level?)
I don't think so - but better ask on the XEmacs lists.
> comments from libc with lower optimization will be appreciated.
> kernel: Linux 2.2.13pre11
> Compiler: GCC 2.95.1
> C Library: GNU libc 2.1.2 compiled with -O6 -mpentium
I compiled with -O2/-O3 (don't remember).
> running xemacs with option '-t' gives me:
> /opt/src/xemacs-21.2.19/src$ ./xemacs -t
> XEmacs: Option `-t' requires an argument
> Segmentation fault (core dumped)
> /opt/src/xemacs-21.2.19/src$ ldd ./xemacs
> libdl.so.2 => /lib/libdl.so.2 (0x4001a000)
> libdb.so.3 => /lib/libdb.so.3 (0x4001d000)
> libncurses.so.4 => /usr/lib/libncurses.so.4 (0x4005a000)
> libm.so.6 => /lib/libm.so.6 (0x4009b000)
> libc.so.6 => /lib/libc.so.6 (0x400b9000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> (gdb) bt
> #0 0x4010a5f5 in chunk_free () from /lib/libc.so.6
> #1 0x4010a4c8 in free () from /lib/libc.so.6
> #2 0x400da062 in exit () from /lib/libc.so.6
> #3 0x8084db8 in fatal (fmt=0x81918a0 "Option `%s' requires an argument\n") at emacs.c:293
> #4 0x8085fb8 in sort_args (argc=2, argv=0xbffff904) at emacs.c:1894
> #5 0x80853c2 in xemacs_21_2_b19_i586_pc_linux (argc=2, argv=0xbffff904, envp=0xbffff910,
> restart=0) at emacs.c:588
> #6 0x80869b4 in main (argc=2, argv=0xbffff904, envp=0xbffff910) at emacs.c:2188
You might want to try debugging it.
Andreas
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.rhein-neckar.de