From owner-freebsd-i386@FreeBSD.ORG Tue Dec 7 02:00:51 2010 Return-Path: Delivered-To: freebsd-i386@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 43C0B106564A for ; Tue, 7 Dec 2010 02:00:51 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 1AFE48FC18 for ; Tue, 7 Dec 2010 02:00:51 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id oB720o7B095651 for ; Tue, 7 Dec 2010 02:00:50 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id oB720oX2095643; Tue, 7 Dec 2010 02:00:50 GMT (envelope-from gnats) Date: Tue, 7 Dec 2010 02:00:50 GMT Message-Id: <201012070200.oB720oX2095643@freefall.freebsd.org> To: freebsd-i386@FreeBSD.org From: Uffe Jakobsen Cc: Subject: Re: i386/152873: jls coredumps X-BeenThere: freebsd-i386@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Uffe Jakobsen List-Id: I386-specific issues for FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 07 Dec 2010 02:00:51 -0000 The following reply was made to PR i386/152873; it has been noted by GNATS. From: Uffe Jakobsen 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)