Launchpad has imported 7 comments from the remote bug at
http://bugs.squid-cache.org/show_bug.cgi?id=3097.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2010-11-05T06:53:40+00:00 M-a-young wrote:

I am running squid 3.1.9 and saw that it had restarted. The error
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_to_buf=0x2aaadd7be700, len=72, handle=0, handle_data=0x0,
    free_func=0x57e730 <FreeObject(void*)>) at disk.cc:377
#4  0x000000000057e88a in UFSSwapDir::logEntry (this=0x1619e150, e=..., op=1)
    at ufs/store_dir_ufs.cc:1052
#5  0x000000000053655a in storeSwapOutFileClosed (data=<value optimized out>,
    errflag=0, self=<value optimized out>) at store_swapout.cc:354
#6  0x0000000000582688 in UFSStoreState::doCloseCallback (this=0x2aaafe3ffaf8,
    errflag=0) at ufs/store_io_ufs.cc:390
#7  0x00000000005806cc in UFSStoreState::closeCompleted (this=0x2aaafe3ffaf8)
    at ufs/store_io_ufs.cc:177
#8  0x0000000000581bf8 in UFSStoreState::openDone (this=0x2aaafe3ffaf8)
    at ufs/store_io_ufs.cc:151
#9  0x000000000058f979 in DiskThreadsDiskFile::openDone (this=0x2aaaaca11c18,
    unused=<value optimized out>, unused2=<value optimized out>,
    anFD=<value optimized out>, errflag=0)
    at DiskIO/DiskThreads/DiskThreadsDiskFile.cc:198
#10 0x000000000058cd3b in DiskThreadsIOStrategy::callback (this=0x93a1a0)
    at DiskIO/DiskThreads/DiskThreadsIOStrategy.cc:149
#11 0x0000000000531dc9 in StoreHashIndex::callback (this=0x16190530)
    at store_dir.cc:743
#12 0x0000000000505395 in StoreRootEngine::checkEvents (
    this=<value optimized out>, timeout=25415) at main.cc:162
#13 0x00000000004be583 in EventLoop::checkEngine (this=0x7fffb4a41190,
    engine=0x7fffb4a41200, primary=6) at EventLoop.cc:48
#14 0x00000000004be6a7 in EventLoop::runOnce (this=0x7fffb4a41190)
    at EventLoop.cc:114
#15 0x00000000004be7f8 in EventLoop::run (this=0x7fffb4a41190)
    at EventLoop.cc:94
#16 0x0000000000504c9f in SquidMain (argc=<value optimized out>,
    argv=0x7fffb4a41318) at main.cc:1400
#17 0x00000000005052a6 in SquidMainSafe (argc=25415, argv=0x6347)
    at main.cc:1160
#18 main (argc=25415, argv=0x6347) at main.cc:1152

Reply at:
https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/988802/comments/0

------------------------------------------------------------------------
On 2010-12-14T07:28:17+00:00 M-a-young wrote:

I had a couple of occurrences of this with 3.1.9 when doing a squid -k 
reconfigure
In cache.log the log lines are

2010/12/14 10:34:35| Reconfiguring Squid Cache (version 3.1.9)...
2010/12/14 10:34:35| FD 12 Closing HTTP connection
2010/12/14 10:34:35| assertion failed: disk.cc:377: "fd >= 0"
2010/12/14 10:36:45| Starting Squid Cache version 3.1.9 for 
x86_64-unknown-linux-gnu...

Reply at:
https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/988802/comments/1

------------------------------------------------------------------------
On 2011-05-31T04:06:39+00:00 M-a-young wrote:

This has happened again with 3.1.12.1-20110523 after doing squid -k 
reconfigure. The traceback (below) looks similar.
#0  0x0000003174830265 in raise () from /lib64/libc.so.6
#1  0x0000003174831d10 in abort () from /lib64/libc.so.6
#2  0x00000000004afc23 in xassert (msg=0x5bc317 "fd >= 0",
    file=0x5b9618 "disk.cc", line=377) at debug.cc:556
#3  0x00000000004bb6f8 in file_write (fd=0, file_offset=-1,
    ptr_to_buf=0x326b1c30, len=72, handle=0, handle_data=0x0,
    free_func=0x585900 <FreeObject(void*)>) at disk.cc:377
#4  0x0000000000585a5d in UFSSwapDir::logEntry (this=0x1bd880d0, e=..., op=1)
    at ufs/store_dir_ufs.cc:1049
#5  0x000000000053d1ea in storeSwapOutFileClosed (data=<value optimized out>,
    errflag=0, self=<value optimized out>) at store_swapout.cc:354
#6  0x0000000000589868 in UFSStoreState::doCloseCallback (this=0x2aaab745c938,
    errflag=0) at ufs/store_io_ufs.cc:390
#7  0x00000000005878ac in UFSStoreState::closeCompleted (this=0x2aaab745c938)
    at ufs/store_io_ufs.cc:177
#8  0x0000000000588dd8 in UFSStoreState::openDone (this=0x2aaab745c938)
    at ufs/store_io_ufs.cc:151
#9  0x0000000000596b89 in DiskThreadsDiskFile::openDone (this=0x1c004a68,
    unused=<value optimized out>, unused2=<value optimized out>,
    anFD=<value optimized out>, errflag=0)
    at DiskIO/DiskThreads/DiskThreadsDiskFile.cc:198
#10 0x0000000000593f4b in DiskThreadsIOStrategy::callback (this=0x949620)
    at DiskIO/DiskThreads/DiskThreadsIOStrategy.cc:149
---Type <return> to continue, or q <return> to quit---
#11 0x0000000000538a59 in StoreHashIndex::callback (this=0x1bd6e6a0)
    at store_dir.cc:743
#12 0x000000000050b4e5 in StoreRootEngine::checkEvents (
    this=<value optimized out>, timeout=7174) at main.cc:170
#13 0x00000000004c43e3 in EventLoop::checkEngine (this=0x7fffb695f780,
    engine=0x7fffb695f7f0, primary=6) at EventLoop.cc:48
#14 0x00000000004c4507 in EventLoop::runOnce (this=0x7fffb695f780)
    at EventLoop.cc:114
#15 0x00000000004c4658 in EventLoop::run (this=0x7fffb695f780)
    at EventLoop.cc:94
#16 0x000000000050adef in SquidMain (argc=<value optimized out>,
    argv=0x7fffb695f908) at main.cc:1416
#17 0x000000000050b3f6 in SquidMainSafe (argc=7174, argv=0x1c06)
    at main.cc:1176
#18 main (argc=7174, argv=0x1c06) at main.cc:1168

Reply at:
https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/988802/comments/2

------------------------------------------------------------------------
On 2011-10-19T17:11:21+00:00 Amos Jeffries wrote:

*** Bug 2532 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/988802/comments/3

------------------------------------------------------------------------
On 2012-10-25T03:30:44+00:00 Ralf Hildebrandt wrote:

Today I also encountered this bug on a squid -k reconfigure:

...
2012/10/25 11:12:45| urlParse: Illegal hostname 'dreammail.edgesuite..net'
2012/10/25 11:17:09| Reconfiguring Squid Cache (version 3.1.21)...
2012/10/25 11:17:09| FD 271 Closing HTTP connection
2012/10/25 11:17:09| FD 272 Closing ICP connection
2012/10/25 11:17:09| FD 273 Closing SNMP socket
2012/10/25 11:17:09| assertion failed: disk.cc:377: "fd >= 0"

Reply at:
https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/988802/comments/12

------------------------------------------------------------------------
On 2014-12-08T07:26:19+00:00 Amos Jeffries wrote:

*** Bug 3652 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/988802/comments/14

------------------------------------------------------------------------
On 2014-12-08T07:28:52+00:00 Amos Jeffries wrote:

Marking as duplicate of 3819 since that report contains a lot of good
anaysis of this problem.

*** This bug has been marked as a duplicate of bug 3819 ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/squid3/+bug/988802/comments/15


** Changed in: squid
       Status: Unknown => Invalid

** Changed in: squid
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to squid3 in Ubuntu.
https://bugs.launchpad.net/bugs/988802

Title:
  squid3 killed by ABRT signal. assertion failed: disk.cc377: "fd >= 0"

To manage notifications about this bug go to:
https://bugs.launchpad.net/squid/+bug/988802/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to