pkgsrc-Bugs archive

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

Re: pkg/42837 (www/squid31 abort()s)



The following reply was made to PR pkg/42837; it has been noted by GNATS.

From: Hauke Fath <hauke%Espresso.Rhein-Neckar.DE@localhost>
To: Matthias Scheler <tron%NetBSD.org@localhost>
Cc: Hauke Fath <hauke%Espresso.Rhein-Neckar.DE@localhost>,
        NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Subject: Re: pkg/42837 (www/squid31 abort()s)
Date: Fri, 19 Feb 2010 09:50:53 +0100

 At 8:33 Uhr +0000 18.2.2010, Matthias Scheler wrote:
 >Could you please try compiling "squid31" with debugging options and
 >use "gdb" to find out where it crashes?
 
 Hum... running squid (built with COPTS="-g -O" CFLAGS="-g -O" CXXFLAGS="-g
 -O") as user squid, and looking at the core:
 
 [hauke@pizza] /tmp > id
 uid=39(squid) gid=53(squid) groups=53(squid)
 [hauke@pizza] /tmp > ls -l /usr/pkg/sbin/squid
 -r-xr-xr-x  1 root  wheel  11731408 Feb 19 09:45 /usr/pkg/sbin/squid
 [hauke@pizza] /tmp > file /usr/pkg/sbin/squid
 /usr/pkg/sbin/squid: ELF 32-bit MSB executable, SPARC, version 1 (SYSV),
 for NetBSD 4.0, dynamically linked (uses shared libs), not stripped
 [hauke@pizza] /tmp > /usr/pkg/sbin/squid -N
 Abort(core dumped)
 [hauke@pizza] /tmp > gdb /usr/pkg/sbin/squid squid.core
 GNU gdb 6.5
 Copyright (C) 2006 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 "sparc--netbsdelf"...(no debugging symbols found)
 
 Reading symbols from /usr/lib/libpthread.so.0...(no debugging symbols
 found)...d
 one.
 Loaded symbols for /usr/lib/libpthread.so.0
 Symbols already loaded for /usr/lib/libpthread.so.0
 Reading symbols from /usr/lib/libcrypt.so.0...(no debugging symbols
 found)...don
 e.
 Loaded symbols for /usr/lib/libcrypt.so.0
 Reading symbols from /usr/lib/libgnumalloc.so.0...
 (no debugging symbols found)...done.
 Loaded symbols for /usr/lib/libgnumalloc.so.0
 Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols
 found)...do
 ne.
 Loaded symbols for /usr/lib/libstdc++.so.6
 Reading symbols from /usr/lib/libm.so.0...
 (no debugging symbols found)...done.
 Loaded symbols for /usr/lib/libm.so.0
 Reading symbols from /usr/lib/libgcc_s.so.1...(no debugging symbols
 found)...don
 e.
 Loaded symbols for /usr/lib/libgcc_s.so.1
 Reading symbols from /usr/lib/libsparc_v8.so.0...
 (no debugging symbols found)...done.
 Loaded symbols for /usr/lib/libsparc_v8.so.0
 Reading symbols from /usr/lib/libc.so.12...(no debugging symbols found)...done.
 Loaded symbols for /usr/lib/libc.so.12
 Reading symbols from /usr/libexec/ld.elf_so...
 (no debugging symbols found)...done.
 Loaded symbols for /usr/libexec/ld.elf_so
 Core was generated by `squid'.
 Program terminated with signal 6, Aborted.
 #0  0x40510ee8 in abort () from /usr/lib/libc.so.12
 (gdb) bt
 #0  0x40510ee8 in abort () from /usr/lib/libc.so.12
 #1  0x00135c80 in death ()
 #2  <signal handler called>
 #3  0x00000000 in ?? ()
 (gdb)
 
 
 ... and...
 
 
 [hauke@pizza] /tmp > gdb /usr/pkg/sbin/squid
 GNU gdb 6.5
 Copyright (C) 2006 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 "sparc--netbsdelf"...(no debugging symbols found)
 
 (gdb) run -N
 Starting program: /usr/pkg/sbin/squid -N
 (no debugging symbols found)
 Couldn't get registers: Operation not permitted.
 (gdb)
 
        hauke
 
 --
 "It's never straight up and down"     (DEVO)
 
 


Home | Main Index | Thread Index | Old Index