public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* squid 64-bit is Aborting sporadically
@ 2014-05-20  5:18 Shaddy Baddah
  2014-05-20  5:44 ` Shaddy Baddah
  0 siblings, 1 reply; 2+ messages in thread
From: Shaddy Baddah @ 2014-05-20  5:18 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1678 bytes --]

Hi,

I run squid as a non-daemon process, with the following command-line:

/usr/sbin/squid -f ~/etc/squid/squid3_sbaddah.conf -N -u 0

Sporadically I find squid aborting with; Aborted (core dumped).

I've attached the last stackdump for this. Running addr2line against
both cygwin1.dll and squid.exe, I get the following backtrace:

/usr/src/debug/cygwin-1.7.29-2/winsup/cygwin/exceptions.cc:765
/usr/src/debug/cygwin-1.7.29-2/winsup/cygwin/exceptions.cc:1463
/usr/src/debug/cygwin-1.7.29-2/winsup/cygwin/smallprint.cc:205
/usr/src/debug/cygwin-1.7.29-2/winsup/cygwin/sigproc.cc:324
/usr/src/debug/cygwin-1.7.29-2/winsup/cygwin/sigproc.cc:1159
/usr/src/debug/cygwin-1.7.29-2/winsup/cygwin/sigproc.cc:1065
/usr/src/debug/cygwin-1.7.29-2/winsup/cygwin/sigproc.cc:255
/usr/src/debug/squid-3.3.3-1/src/debug.cc:565
/usr/src/debug/squid-3.3.3-1/src/store_swapout.cc:308
/usr/src/debug/squid-3.3.3-1/src/fs/ufs/UFSStoreState.cc:347
/usr/src/debug/squid-3.3.3-1/src/fs/ufs/UFSStoreState.cc:140
/usr/src/debug/squid-3.3.3-1/include/RefCount.h:90
/usr/src/debug/squid-3.3.3-1/include/RefCount.h:90
/usr/src/debug/squid-3.3.3-1/src/fs/ufs/UFSSwapDir.cc:509
/usr/src/debug/squid-3.3.3-1/include/RefCount.h:77
/usr/src/debug/squid-3.3.3-1/include/RefCount.h:60

I can see that this is due to a failed assertion in store_swapout.cc:

     assert(e->swap_status == SWAPOUT_WRITING);

I haven't really taken careful note of every crash, bit it seems that
most of the aborts happen after my laptop comes out of a sleep.

It's not a big problem. The crashes aren't too frequent. But thought it
might help to have it reported in case it offers clues to more serious
issues.

-- 
Regards,
Shaddy

[-- Attachment #2: squid.exe.stackdump --]
[-- Type: text/plain, Size: 1368 bytes --]

Stack trace:
Frame        Function    Args
000002299E0  0018006F883 (00000000002, 00100685AAC, 00000000002, 00000000000)
00000000006  00180070D4A (FFFFFFFFFFFFFFD0, 00100000000, 00000000418, 00000000000)
00000229BC0  00180119EE8 (00000229F20, 006006F9A60, 001800C018C, 00000229D60)
000000000C1  00180116F9E (0000000005B, 00000000042, 00000000000, 000FFFFFFFF)
00000000133  0018011746B (006006F98F0, 003F97DFC00, 001800C0213, 00000000006)
00000000133  0018011763C (00100695DF0, 003F97DFC18, 000FFFFFFFF, 0000022A1C0)
00000000133  001801178FF (0000022A1B0, 0000022A1D0, 001801282CF, 006004CD7E0)
00000000133  00100454D9F (006005CAA08, 006003E7360, 0000022A088, 00000000001)
0000022A080  0010052196F (0060078ED20, 0000022A2B0, 00000000023, 006003E7328)
0000022A080  001005B96C7 (001005B796C, 006001BFDC8, 0010057D3D0, 0060001D530)
00000000023  001005B602D (00600011C70, 0000022A2B0, 001005AC392, 006003E7380)
00000000023  0010057D7A0 (001005AC0EC, 000000000A9, 00100527698, 00100521930)
00000000023  001005ACBF1 (006004CD7E0, 0000022A350, 0060078EC60, 0010051F740)
0010071CA20  001005A5CF6 (00600250CD8, 0010071CA20, 006004CD7E0, 00100521930)
0010071CA20  00100511D44 (0010071CA40, 00100805D08, 001801749C0, 006005CAA08)
0000022A350  001005212DA (0010071CA40, 00600250CD8, 0000022A928, 00000000000)
End of stack trace (more stack frames may be present)

[-- Attachment #3: Type: text/plain, Size: 218 bytes --]

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: squid 64-bit is Aborting sporadically
  2014-05-20  5:18 squid 64-bit is Aborting sporadically Shaddy Baddah
@ 2014-05-20  5:44 ` Shaddy Baddah
  0 siblings, 0 replies; 2+ messages in thread
From: Shaddy Baddah @ 2014-05-20  5:44 UTC (permalink / raw)
  To: cygwin

Hi,

On 2014-05-20 10:28+1000, Shaddy Baddah wrote:
<snip/>
>
> I haven't really taken careful note of every crash, bit it seems that
> most of the aborts happen after my laptop comes out of a sleep.
>
> It's not a big problem. The crashes aren't too frequent. But thought it
> might help to have it reported in case it offers clues to more serious
> issues.

I forgot to add (although implied) that aborts do happen outside of
just waking from sleep. This just happened to me.

Also very important, I took to running within gdb for a number of weeks,
and never encountered an abort. That suggests to me that it is some
sort of timing/race condition issue.

-- 
Regards,
Shaddy




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-05-20  5:18 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-05-20  5:18 squid 64-bit is Aborting sporadically Shaddy Baddah
2014-05-20  5:44 ` Shaddy Baddah

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).