[7.880][BUG][FIXED] HTTP proxy restarts and seg faults

Hi folks,
I have been getting 2 or 3 of these a day, but had not been able to find any log entries.

Regards

Ian M

2010:03:03-13:35:17 fw1-on-house kernel:  httpproxy[362]: segfault at 0 ip 00000000f730d733 sp 00000000e676003c error 4 in libc-2.9.so[f729a000+155000]
2010:03:03-21:21:42 fw1-on-house kernel:  httpproxy[27718]: segfault at 0 ip 00000000f72fe733 sp 00000000ecc0e03c error 4 in libc-2.9.so[f728b000+155000]
  • Please check again with the version we are planning to release this week. We've fixed numerous things in the proxy.
  • Hi kbr,

    I installed the up2date version this morning my time.

    2010:03:05-16:44:13 fw1-on-house kernel:  httpproxy[1639]: segfault at 0 ip 00000000f7315733 sp 00000000eda4c03c error 4 in libc-2.9.so[f72a2000+155000]
  • can you see if it's related to any special websites or certain traffic patterns? Do you have the http proxys log from ~1-2 minutes before the segfautl happened?
  • Astaro Beta Report
    --------------------------------
    Version: 7.880
    Type: BUG
    State: RESOLVED/FIXED
    Reporter: RFCat_vk
    Contributor:  
    MantisID: 12929
    Target version: 
    Fixed in version: 
    --------------------------------

  • Hi,

    2010:03:06-02:04:00 fw1-on-house kernel:  httpproxy[31541]: segfault at 0 ip 00000000f73bf733 sp 00000000dd47e03c error 4 in libc-2.9.so[f734c000+155000]


    Zip attached with log extract of about 5 minutes

    Ian M
    v8b-http log.zip
  • Hi,
    another http log extract from the http proxy restart which just happened. There was a seg fault generated.

    Ian M

    2010:03:06-11:58:58 fw1-on-house httpproxy[31174]:  Integrated HTTP-Proxy (c) 2007-2010 Astaro AG, Release 20.g279d3c0
    2010:03:06-11:58:58 fw1-on-house httpproxy[31174]:  id="0003" severity="info" sys="SecureWeb" sub="http" request="(nil)" function="main" file="httpproxy.c" line="174" message="reading configuration"
    2010:03:06-11:59:00 fw1-on-house httpproxy[31174]:  id="0003" severity="info" sys="SecureWeb" sub="http" request="(nil)" function="main" file="httpproxy.c" line="189" message="reading profiles"
    2010:03:06-11:59:00 fw1-on-house httpproxy[31174]:  id="0003" severity="info" sys="SecureWeb" sub="http" request="(nil)" function="confd_filteraction_filter" file="confd-client.c" line="1047" message="compilation of pattern "*.msecn.net" failed, position 0: nothing to repeat"
    2010:03:06-11:59:01 fw1-on-house httpproxy[31174]:  id="0003" severity="info" sys="SecureWeb" sub="http" request="(nil)" function="disk_cache_zap" file="diskcache.c" line="430" message="creating cache"
    2010:03:06-11:59:01 fw1-on-house httpproxy[31174]:  id="0003" severity="info" sys="SecureWeb" sub="http" request="(nil)" function="disk_cache_zap" file="diskcache.c" line="450" message="rename: Permission denied"
    2010:03:06-11:59:01 fw1-on-house httpproxy[31174]:  id="0003" severity="info" sys="SecureWeb" sub="http" request="(nil)" function="disk_cache_create" file="diskcache.c" line="859" message="sub mkdir /var/httpcache/0 failed: File exists"
  • I'll see if i can make svens work on this problem first. Cebit is over next week, so there will be less distraction.

    Please keep posting log excerpts when you see these segfaults.
  • Hi RFCat_vk,

    i've checked the coredumps, and almost every time the proxy crashed while doing MIME Type scanning. I've disabled the 'MIME type inspects body' option for testing now, to see
    if that changes anything.

    Thanks,

    Sven.
  • Hi Sven,
    I have had two http proxy restarts today, but no seg faults.

    Ian M

    2010:03:10-00:29:49 fw1-on-house selfmonng[4286]:  I check Failed increment httpproxy_running counter 1 - 3
    2010:03:10-00:29:54 fw1-on-house selfmonng[4286]:  I check Failed increment httpproxy_running counter 2 - 3
    2010:03:10-01:55:18 fw1-on-house selfmonng[4286]:  I check Failed increment httpproxy_running counter 1 - 3
    2010:03:10-01:55:23 fw1-on-house selfmonng[4286]:  I check Failed increment httpproxy_running counter 2 - 3
    2010:03:10-01:55:28 fw1-on-house selfmonng[4286]:  W check Failed increment httpproxy_running counter 3 - 3
    2010:03:10-01:55:29 fw1-on-house selfmonng[4286]:  Http proxy not running - restarted
    2010:03:10-01:55:29 fw1-on-house selfmonng[4286]:  W NOTIFYEVENT Name=httpproxy_running Level=INFO Id=141 sent
    2010:03:10-01:55:29 fw1-on-house selfmonng[4286]:  W triggerAction: 'cmd'
    2010:03:10-01:55:29 fw1-on-house selfmonng[4286]:  W actionCmd(+):  '/var/mdw/scripts/httpproxy restart'
    2010:03:10-01:55:30 fw1-on-house selfmonng[4286]:  W child returned status: exit='0' signal='0'
    2010:03:10-02:21:40 fw1-on-house selfmonng[4286]:  I check Failed increment ctasd_mem_usage counter 1 - 10
    2010:03:10-02:21:45 fw1-on-house selfmonng[4286]:  I check Failed increment ctasd_mem_usage counter 2 - 10
    2010:03:10-03:04:42 fw1-on-house selfmonng[4286]:  I check Failed increment ntpd_running counter 1 - 3
    2010:03:10-09:58:01 fw1-on-house selfmonng[4286]:  I check Failed increment ctasd_mem_usage counter 1 - 10
    2010:03:10-10:14:12 fw1-on-house selfmonng[4286]:  I check Failed increment ntpd_running counter 1 - 3
    2010:03:10-16:54:25 fw1-on-house selfmonng[4286]:  I check Failed increment ctasd_mem_usage counter 1 - 10
    2010:03:10-21:16:07 fw1-on-house selfmonng[4286]:  I check Failed increment httpproxy_running counter 1 - 3
    2010:03:10-21:16:12 fw1-on-house selfmonng[4286]:  I check Failed increment httpproxy_running counter 2 - 3
    2010:03:10-21:16:17 fw1-on-house selfmonng[4286]:  W check Failed increment httpproxy_running counter 3 - 3
    2010:03:10-21:16:18 fw1-on-house selfmonng[4286]:  Http proxy not running - restarted
    2010:03:10-21:16:18 fw1-on-house selfmonng[4286]:  W NOTIFYEVENT Name=httpproxy_running Level=INFO Id=141 sent
    2010:03:10-21:16:18 fw1-on-house selfmonng[4286]:  W triggerAction: 'cmd'
    2010:03:10-21:16:18 fw1-on-house selfmonng[4286]:  W actionCmd(+):  '/var/mdw/scripts/httpproxy restart'
    2010:03:10-21:16:19 fw1-on-house selfmonng[4286]:  W child returned status: exit='0' signal='0'
  • Hi Sven,
    I am now running 7.890. I still receive the http proxy restart messages a couple of times a day, but no seg faults.

    Should I enable mime scanning?

    Ian M