Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 2010 02:00:50 GMT
From:      Uffe Jakobsen <uffe@uffe.org>
To:        freebsd-i386@FreeBSD.org
Subject:   Re: i386/152873: jls coredumps
Message-ID:  <201012070200.oB720oX2095643@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/152873; it has been noted by GNATS.

From: Uffe Jakobsen <uffe@uffe.org>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: i386/152873: jls coredumps
Date: Tue, 07 Dec 2010 02:55:30 +0100

 followup: manually building jls with CFLAGS="-g" gave a little more info:
 
 ./jls -n
 Segmentation fault: 11 (core dumped)
 
 gdb jls jls.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"...
 Core was generated by `jls'.
 Program terminated with signal 11, Segmentation fault.
 Reading symbols from /lib/libjail.so.1...done.
 Loaded symbols for /lib/libjail.so.1
 Reading symbols from /lib/libc.so.7...done.
 Loaded symbols for /lib/libc.so.7
 Reading symbols from /libexec/ld-elf.so.1...done.
 Loaded symbols for /libexec/ld-elf.so.1
 #0  0x2817bda2 in strchr () from /lib/libc.so.7
 
 (gdb) bt
 #0  0x2817bda2 in strchr () from /lib/libc.so.7
 #1  0x0804998f in sort_param (a=0x282015c0, b=0x28201780) at jls.c:283
 #2  0x281664e7 in qsort () from /lib/libc.so.7
 #3  0x08049523 in add_param (name=0x804a598 "all", value=0x0, valuelen=0, 
 source=0x0, flags=16777216) at jls.c:214
 #4  0x08048e52 in main (argc=2, argv=0xbfbfeab0) at jls.c:118
 (gdb)
 
 
 
 ./jls -j abc
    JID  IP Address      Hostname                      Path
 Segmentation fault: 11 (core dumped)
 
 gdb jls jls.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"...
 Core was generated by `jls'.
 Program terminated with signal 11, Segmentation fault.
 Reading symbols from /lib/libjail.so.1...done.
 Loaded symbols for /lib/libjail.so.1
 Reading symbols from /lib/libc.so.7...done.
 Loaded symbols for /lib/libc.so.7
 Reading symbols from /libexec/ld-elf.so.1...done.
 Loaded symbols for /libexec/ld-elf.so.1
 #0  0x28092616 in jailparam_get () from /lib/libjail.so.1
 
 (gdb) bt
 #0  0x28092616 in jailparam_get () from /lib/libjail.so.1
 #1  0x08049bb5 in print_jail (pflags=1, jflags=0) at jls.c:333
 #2  0x080493b8 in main (argc=3, argv=0xbfbfea94) at jls.c:187
 (gdb) 
 
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012070200.oB720oX2095643>