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: Matthias Scheler <tron%NetBSD.org@localhost>
To: Hauke Fath <hauke%Espresso.Rhein-Neckar.DE@localhost>
Cc: NetBSD GNATS <gnats-bugs%NetBSD.org@localhost>
Subject: Re: pkg/42837 (www/squid31 abort()s)
Date: Fri, 19 Feb 2010 09:41:38 +0000

 On Fri, Feb 19, 2010 at 09:50:53AM +0100, Hauke Fath wrote:
 > 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)
 
 Well, it looks like it calls abort(). It could either do that directly
 or throw a C++ exception. Can you please try to add debugging
 statements to figure out where it crashes?
 
        Kind regards
 
 -- 
 Matthias Scheler                                  http://zhadum.org.uk/
 


Home | Main Index | Thread Index | Old Index