Re: [squid-users] Squid 2.6 STABLE 16 also crashing

From: Ali resting <aliresting@dont-contact.us>
Date: Fri, 05 Oct 2007 11:40:18 +0200

Hi Adrian,

I get the following stack traces. I had changed the refresh_pattern a while
back so my current refresh_pattern:

refresh_pattern ^ftp: 1440 20% 10080
refresh_pattern ^gopher: 1440 0% 1440
refresh_pattern . 300 99% 2880

Stack Traces:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 8192 (LWP 31576)]
0x420c15c4 in re_string_context_at () from /lib/i686/libc.so.6
#0 0x420c15c4 in re_string_context_at () from /lib/i686/libc.so.6
#1 0x420c12db in re_string_reconstruct () from /lib/i686/libc.so.6
#2 0x420bd350 in re_search_internal () from /lib/i686/libc.so.6
#3 0x420c2df5 in regexec () from /lib/i686/libc.so.6
#4 0x080a6d4b in refreshLimits (url=0x8254d84 "\030>%\bX") at refresh.c:114
#5 0x0808e9ef in httpCachableReply (httpState=0xc2ee488) at http.c:305
#6 0x0808f1a4 in httpProcessReplyHeader (httpState=0xc2ee488,
    buf=0x8130620 "HTTP/1.0 200 OK\r\nDate: Fri, 05 Oct 2007 09:27:27
GMT\r\nContent-Length: 145\r\nContent-Type: text/javascript;
charset=UTF-8\r\nCache-Control: no-cache, no-store\r\nConnection:
keep-alive\r\nProxy-Connection: ke"...,
    size=517) at http.c:533
#7 0x0809005e in httpReadReply (fd=779, data=0xc2ee488) at http.c:933
#8 0x0807857e in comm_call_handlers (fd=779, read_event=64, write_event=0)
    at comm_generic.c:264
#9 0x08078bac in do_comm_select (msec=8) at comm_poll.c:156
#10 0x0807887c in comm_select (msec=394) at comm_generic.c:390
#11 0x0809e0f9 in main (argc=2, argv=0x147) at main.c:837
#12 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6

#0 0x420c15c4 in re_string_context_at () from /lib/i686/libc.so.6
#1 0x420c12db in re_string_reconstruct () from /lib/i686/libc.so.6
#2 0x420bd350 in re_search_internal () from /lib/i686/libc.so.6
#3 0x420c2df5 in regexec () from /lib/i686/libc.so.6
#4 0x080a6d4b in refreshLimits (url=0x8253cac "\b\036%\bX") at
refresh.c:114
#5 0x080a76f8 in getMaxAge (
    url=0x95c8c50
"http://partner.googleadservices.com/gampad/ads?correlator=1191576413609&output=json_html&callback=_GA_googleAdEngine.setAdContentsBySlotForSync&impl=s&prev_afc=0&client=ca-pub-7518399278719852&slotnam"...)
    at refresh.c:426
#6 0x0809094a in httpBuildRequestHeader (request=0x95c2d30,
    orig_request=0x95c2d30, entry=0x95c8b08, hdr_out=0xbffff960, flags=
      {proxying = 0, keepalive = 1, only_if_cached = 0, keepalive_broken =
0, abuse_detected = 0, request_sent = 0, front_end_https = 0, originpeer =
0, chunked = 0, trailer = 0}) at http.c:1322
#7 0x08091096 in httpBuildRequestPrefix (request=0x95c2d30,
    orig_request=0x95c2d30, entry=0x95c8b08, mb=0xbffff9e0, flags=
      {proxying = 0, keepalive = 1, only_if_cached = 0, keepalive_broken =
0, abuse_detected = 0, request_sent = 0, front_end_https = 0, originpeer =
0, chunked = 0, trailer = 0}) at http.c:1370
#8 0x080911ee in httpSendRequest (httpState=0x9a94f48) at http.c:1433
#9 0x080764d9 in commConnectCallback (cs=0x8702918, status=0) at comm.c:321
#10 0x0807846c in comm_call_handlers (fd=186, read_event=0, write_event=256)
    at comm_generic.c:300
#11 0x08078bac in do_comm_select (msec=0) at comm_poll.c:156
#12 0x0807887c in comm_select (msec=174) at comm_generic.c:390
#13 0x0809e0f9 in main (argc=2, argv=0x0) at main.c:837
#14 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6

Regards,

Ali

>From: Adrian Chadd <adrian@creative.net.au>
>To: Ali resting <aliresting@hotmail.com>
>CC: squid-users@squid-cache.org
>Subject: Re: [squid-users] Squid 2.6 STABLE 16 also crashing
>Date: Fri, 5 Oct 2007 13:47:27 +0800
>
>On Thu, Oct 04, 2007, Ali resting wrote:
> > Hi Mark,
> >
> > This problem only started in the last couple of days. I had been running
> > squid on the same mchine for years. I have even tried delete the swap
> > directories hoping it would help, but still no joy. Any suggestions, is
>it
> > hardware related?
>
>You need to match that stack trace against Squid function calls.
>Do you get a coredump? Can you use gdb against the coredump and the
>Squid binary to get symbols?
>
>Is your squid binary install actually lacking debugging symbols?
>
>
>
>ADrian
>
> >
> > Regards,
> >
> > Ali

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE!
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/
Received on Fri Oct 05 2007 - 03:40:31 MDT

This archive was generated by hypermail pre-2.1.9 : Thu Nov 01 2007 - 13:00:01 MDT