[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#166949: Man -k lmcs crashes in libc6



Package: libc6
Version: 2.3.1-3

When I run "man -k lmcs" on man-db 2.4.0 it crashes with a segfault. I
have installed the libc6-dbg package and I have run the command in gdb;
the output is included below.

Regards,
Bart Samwel



zappa:~/man-db-2.4.0# gdb src/man
GNU gdb 2002-08-18-cvs
Copyright 2002 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-linux"...
(gdb) r -k lmcs
Starting program: /root/man-db-2.4.0/src/man -k lmcs

Program received signal SIGTRAP, Trace/breakpoint trap.
0x40000b50 in _start () from /lib/ld-linux.so.2
(gdb) cont
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x400c0848 in re_string_context_at () from /usr/lib/debug/libc.so.6
(gdb) bt
#0  0x400c0848 in re_string_context_at () from /usr/lib/debug/libc.so.6
#1  0x400c0629 in re_string_reconstruct () from /usr/lib/debug/libc.so.6
#2  0x400bb95e in re_search_internal () from /usr/lib/debug/libc.so.6
#3  0x400bb071 in regexec () from /usr/lib/debug/libc.so.6
#4  0x080498ad in fdopen ()
#5  0x08049a3e in setlocale ()
#6  0x08049d44 in strrchr () at strrchr:-1
#7  0x0804a0b3 in checked_popen (command=0x3 <Address 0x3 out of bounds>,
     type=0xbffffa34 "7???????B???") at man.c:241
#8  0x400279cf in __libc_start_main () from /usr/lib/debug/libc.so.6
(gdb)


--

Leiden Institute of Advanced Computer Science (http://www.liacs.nl)
E-mail: bsamwel@liacs.nl    Telephone: +31-71-5277037
Homepage: http://www.liacs.nl/~bsamwel
Opinions stated in this e-mail are mine and not necessarily my employer's.






Reply to: