luit -encoding gbk causes Segmentation fault (core dumped) in 9-stable

Yue Wu vanopen at gmail.com
Wed Sep 28 04:43:44 UTC 2011


On Wed, Sep 28, 2011 at 10:17:54AM +0800, Adrian Chadd wrote:
> On 28 September 2011 09:08, Yue Wu <vanopen at gmail.com> wrote:
> > Hello list,
> >
> > As the title said. When on 8-stable, luit -encdoding gbk works fine,
> > anyone can figure it out what's wrong?
> >
> > I'm sure it's not a luit's bug because luit works fine and no any
> > version updating happened before and after OS's upgrading, I just
> > recompiled luit from ports after upgrade from 8-stable to 9-stable, with
> > the same compiling options.
> 
> Can you use gdb with the binary and core dump to investigate where it crashed?
> That may provide some clues.
> 

Hi, attachment is the output of gdb.

-- 
Regards,
Yue Wu

Key Laboratory of Modern Chinese Medicines
Department of Traditional Chinese Medicine
China Pharmaceutical University(中國藥科大學)
No.24, Tongjia Xiang Street, Nanjing 210009, China
-------------- next part --------------
> gdb luit luit.core
GNU gdb 6.1.1 [FreeBSD]
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-marcel-freebsd"...(no debugging symbols found)...
Core was generated by `luit'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/local/lib/libX11.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libX11.so.6
Reading symbols from /usr/local/lib/libfontenc.so.1...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libfontenc.so.1
Reading symbols from /lib/libz.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.6
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/libxcb.so.2...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libxcb.so.2
Reading symbols from /usr/local/lib/libXau.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libXau.so.6
Reading symbols from /usr/local/lib/libXdmcp.so.6...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libXdmcp.so.6
Reading symbols from /usr/local/lib/libpthread-stubs.so.0...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libpthread-stubs.so.0
Reading symbols from /usr/lib/librpcsvc.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/librpcsvc.so.5
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x00000000 in ?? ()
(gdb) bt
#0  0x00000000 in ?? ()
#1  0x0804a97e in ?? ()
#2  0x0000005e in ?? ()
#3  0x00000000 in ?? ()
#4  0x00000001 in ?? ()
#5  0x0804d4a2 in ?? ()
#6  0xbfbfe2d8 in ?? ()
#7  0x00000002 in ?? ()
#8  0xffffffff in ?? ()
#9  0x00000000 in ?? ()
#10 0x00000190 in ?? ()
#11 0xbfbfe314 in ?? ()
#12 0x5e000000 in ?? ()
#13 0x00000002 in ?? ()
#14 0x00000002 in ?? ()
#15 0x00000003 in ?? ()
#16 0xbfbfe528 in ?? ()
#17 0x0804b159 in ?? ()
#18 0x2840c0b0 in ?? ()
#19 0x00000000 in ?? ()
#20 0xbfbfe312 in ?? ()
#21 0x00000002 in ?? ()
#22 0x2808f800 in ?? ()
#23 0x2808f800 in ?? ()
#24 0xbfbfe31c in ?? ()
#25 0xbfbfe36c in ?? ()
#26 0x435ef26c in ?? ()
#27 0x2808f800 in ?? ()
#28 0x280547b2 in dlclose () from /libexec/ld-elf.so.1
Previous frame inner to this frame (corrupt stack?)
(gdb)


More information about the freebsd-stable mailing list