This is the mail archive of the glibc-linux@ricardo.ecn.wfu.edu mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Segmentation fault in chunk_free () with XEmacs


hello,

can someone else reproduce this segfault?
or, is it just my system? (high optimization level?) 
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

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
--
               yashi

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]