squid3 killed by ABRT signal. assertion failed: disk.cc377: "fd >= 0"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Squid |
Unknown
|
Unknown
|
|||
squid3 (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
On 12.04 x86 server during start-up.
dmesg shows:
[ 79.073519] init: squid3 main process (3562) killed by ABRT signal
/var/log/
$ sudo tail /var/log/
2012/04/26 11:12:23| Loaded Icons.
2012/04/26 11:12:23| Accepting intercepted HTTP connections at 0.0.0.0:3128, FD 14.
2012/04/26 11:12:23| HTCP Disabled.
2012/04/26 11:12:23| Squid plugin modules loaded: 0
2012/04/26 11:12:23| Adaptation support is off.
2012/04/26 11:12:23| Ready to serve requests.
2012/04/26 11:12:23| Store rebuilding is 3.22% complete
2012/04/26 11:12:24| Reconfiguring Squid Cache (version 3.1.19)...
2012/04/26 11:12:24| FD 14 Closing HTTP connection
2012/04/26 11:12:24| assertion failed: disk.cc:377: "fd >= 0"
In /var/log/syslog
Apr 26 11:12:23 jeeves dnsmasq-dhcp[3636]: DHCP, IP range 10.254.250.2 -- 10.254.250.254, lease time 1d
Apr 26 11:12:23 jeeves dnsmasq-dhcp[3636]: DHCP, IP range 10.254.251.50 -- 10.254.251.254, lease time 1d
Apr 26 11:12:24 jeeves kernel: [ 71.276249] phy0 -> rt2800pci_
Apr 26 11:12:24 jeeves pptpd[3814]: MGR: connections limit (100) reached, extra IP addresses ignored
Apr 26 11:12:24 jeeves pptpd[3814]: MGR: connections limit (100) reached, extra IP addresses ignored
Apr 26 11:12:24 jeeves pptpd[3815]: MGR: Manager process started
Apr 26 11:12:24 jeeves pptpd[3815]: MGR: Maximum of 100 connections available
I suspect this is related to bug #978356 "squid3 gets killed at startup with dnsmasq and no networkmanager".
It could be that the squid3 resolver script '/etc/resolvcon
The service can be successfully restarted manually but that is no solution for an unattended server.
description: | updated |
Changed in squid: | |
importance: | Unknown → Medium |
status: | Unknown → Invalid |
Changed in squid: | |
importance: | Medium → Unknown |
status: | Invalid → Unknown |
I am running squid 3.1.9 and saw that it had restarted. The error to_buf= 0x2aaadd7be700, len=72, handle=0, handle_data=0x0, func=0x57e730 <FreeObject( void*)> ) at disk.cc:377 :logEntry (this=0x1619e150, e=..., op=1) dir_ufs. cc:1052 eClosed (data=<value optimized out>, cc:354 :doCloseCallbac k (this=0x2aaafe3 ffaf8, io_ufs. cc:390 :closeCompleted (this=0x2aaafe3 ffaf8) io_ufs. cc:177 :openDone (this=0x2aaafe3 ffaf8) io_ufs. cc:151 File::openDone (this=0x2aaaaca 11c18, DiskThreads/ DiskThreadsDisk File.cc: 198 rategy: :callback (this=0x93a1a0) DiskThreads/ DiskThreadsIOSt rategy. cc:149 :callback (this=0x16190530) ::checkEvents ( :checkEngine (this=0x7fffb4a 41190, 0x7fffb4a41200, primary=6) at EventLoop.cc:48 41190) 41190) 0x7fffb4a41318) at main.cc:1400
assertion failed: disk.cc:377: "fd >= 0" was in the cache.log file. There is also a core file, which gives the backtrace
#0 0x00002b5011036265 in raise () from /lib64/libc.so.6
#1 0x00002b5011037d10 in abort () from /lib64/libc.so.6
#2 0x00000000004aa023 in xassert (msg=0x5af417 "fd >= 0",
file=0x5ac738 "disk.cc", line=377) at debug.cc:556
#3 0x00000000004b5b07 in file_write (fd=0, file_offset=-1,
ptr_
free_
#4 0x000000000057e88a in UFSSwapDir:
at ufs/store_
#5 0x000000000053655a in storeSwapOutFil
errflag=0, self=<value optimized out>) at store_swapout.
#6 0x0000000000582688 in UFSStoreState:
errflag=0) at ufs/store_
#7 0x00000000005806cc in UFSStoreState:
at ufs/store_
#8 0x0000000000581bf8 in UFSStoreState:
at ufs/store_
#9 0x000000000058f979 in DiskThreadsDisk
unused=<value optimized out>, unused2=<value optimized out>,
anFD=<value optimized out>, errflag=0)
at DiskIO/
#10 0x000000000058cd3b in DiskThreadsIOSt
at DiskIO/
#11 0x0000000000531dc9 in StoreHashIndex:
at store_dir.cc:743
#12 0x0000000000505395 in StoreRootEngine
this=<value optimized out>, timeout=25415) at main.cc:162
#13 0x00000000004be583 in EventLoop:
engine=
#14 0x00000000004be6a7 in EventLoop::runOnce (this=0x7fffb4a
at EventLoop.cc:114
#15 0x00000000004be7f8 in EventLoop::run (this=0x7fffb4a
at EventLoop.cc:94
#16 0x0000000000504c9f in SquidMain (argc=<value optimized out>,
argv=
#17 0x00000000005052a6 in SquidMainSafe (argc=25415, argv=0x6347)
at main.cc:1160
#18 main (argc=25415, argv=0x6347) at main.cc:1152