pkgsrc-Bugs archive

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

pkg/42837: www/squid31 abort()s



>Number:         42837
>Category:       pkg
>Synopsis:       www/squid31 abort()s
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Feb 17 16:30:00 +0000 2010
>Originator:     Hauke Fath
>Release:        NetBSD 4.0_STABLE
>Organization:
Falling Raindrops
>Environment:
        
        
System: NetBSD pizza.causeuse.org 4.0_STABLE NetBSD 4.0_STABLE (PIZZA_PF) #0: 
Tue Feb 16 20:53:37 CET 2010 
hf@Hochstuhl:/var/obj/netbsd-builds/4/sparc/sys/arch/sparc/compile/PIZZA_PF 
sparc
Architecture: sparc
Machine: sparc
>Description:

        The squid daemon from www/squid31 aborts during startup:

[hauke@pizza] ~ # squid -N -d9
2010/02/17 14:47:44| Starting Squid Cache version 3.1.0.16 for 
sparc--netbsdelf...
2010/02/17 14:47:44| Process ID 28427
2010/02/17 14:47:44| With 3392 file descriptors available
2010/02/17 14:47:44| Initializing IP Cache...
2010/02/17 14:47:44| DNS Socket created at 0.0.0.0, FD 4
2010/02/17 14:47:44| Adding domain causeuse.org from /etc/resolv.conf
2010/02/17 14:47:44| Adding nameserver 172.16.7.10 from /etc/resolv.conf
2010/02/17 14:47:44| Not currently OK to rewrite swap log.
2010/02/17 14:47:44| storeDirWriteCleanLogs: Operation aborted.
Abort
[hauke@pizza] ~ # 


        From the tail end of the ktrace
        <http://la.causeuse.org/hauke/NetBSD/pkgsrc/squid31-kdump.gz>:

[...]
[hauke@pizza] /<2>www/squid31 > tail -60 kdump.out
 22338      1 squid    NAMI  "/var/log/squid/access.log"
 22338      1 squid    RET   open 5, 521/0x209
 22338      1 squid    CALL  fcntl(5,3,0)
 22338      1 squid    RET   fcntl 9, 3
 22338      1 squid    CALL  fcntl(5,2,9)
 22338      1 squid    RET   fcntl 0, 2
 22338      1 squid    CALL  break(0x54c000)
 22338      1 squid    RET   break 0, 92/0x5c
 22338      1 squid    CALL  break(0x54d000)
 22338      1 squid    RET   break 0, 467/0x1d3
 22338      1 squid    CALL  break(0x54e000)
 22338      1 squid    RET   break 0, -268444036/0xefffde7c
 22338      1 squid    CALL  break(0x54f000)
 22338      1 squid    RET   break 0, -268445172/0xefffda0c
 22338      1 squid    CALL  break(0x550000)
 22338      1 squid    RET   break 0, -268445172/0xefffda0c
 22338      1 squid    CALL  break(0x551000)
 22338      1 squid    RET   break 0, -268445172/0xefffda0c
 22338      1 squid    PSIG  SIGSEGV caught handler=0x131f1c mask=(): 
code=SEGV_MAPERR, addr=0x551000, trap=9)
 22338      1 squid    CALL  gettimeofday(0x2e0880,0)
 22338      1 squid    RET   gettimeofday 0
 22338      1 squid    CALL  write(3,0x506000,0x66)
 22338      1 squid    GIO   fd 3 wrote 102 bytes
       "FATAL: Received Segment Violation...dying.
        2010/02/17 08:14:19| Not currently OK to rewrite swap log.
       "
 22338      1 squid    RET   write 102/0x66, 5267456/0x506000
 22338      1 squid    CALL  write(2,0xefffc4f0,0x3b)
 22338      1 squid    GIO   fd 2 wrote 59 bytes
       "2010/02/17 08:14:19| Not currently OK to rewrite swap log.
       "
 22338      1 squid    RET   write 59/0x3b, -268450576/0xefffc4f0
 22338      1 squid    CALL  gettimeofday(0x2e0880,0)
 22338      1 squid    RET   gettimeofday 0
 22338      1 squid    CALL  write(3,0x506000,0x40)
 22338      1 squid    GIO   fd 3 wrote 64 bytes
       "2010/02/17 08:14:19| storeDirWriteCleanLogs: Operation aborted.
       "
 22338      1 squid    RET   write 64/0x40, 5267456/0x506000
 22338      1 squid    CALL  write(2,0xefffc4f0,0x40)
 22338      1 squid    GIO   fd 2 wrote 64 bytes
       "2010/02/17 08:14:19| storeDirWriteCleanLogs: Operation aborted.
       "
 22338      1 squid    RET   write 64/0x40, -268450576/0xefffc4f0
 22338      1 squid    CALL  getrusage(0,0xefffd650)
 22338      1 squid    RET   getrusage 0, -268446128/0xefffd650
 22338      1 squid    CALL  __sigprocmask14(3,0x40275434,0)
 22338      1 squid    RET   __sigprocmask14 0, 1076319284/0x40275434
 22338      1 squid    CALL  write(3,0x506000,0x6f)
 22338      1 squid    GIO   fd 3 wrote 111 bytes
       "CPU Usage: 0.536 seconds = 0.253 user + 0.283 sys
        Maximum Resident Size: 0 KB
        Page faults with physical i/o: 0
       "
 22338      1 squid    RET   write 111/0x6f, 5267456/0x506000
 22338      1 squid    CALL  getpid
 22338      1 squid    RET   getpid 22338/0x5742, 13189/0x3385
 22338      1 squid    CALL  kill(0x5742, SIGABRT)
 22338      1 squid    RET   kill 0, 6
 22338      1 squid    PSIG  SIGABRT SIG_DFL
[hauke@pizza] /<2>www/squid31 >

        The squid spool & log directories were set up and
        accessible. There is no further information in squid's log
        files.

>How-To-Repeat:

        Install & run www/squid31 on netbsd-4 (sparc, if it matters).

>Fix:
        None known.

>Unformatted:
        
        


Home | Main Index | Thread Index | Old Index