Guest User!

You are not Sophos Staff.

[8.172][BUG][FIXED] HTTP segfault issues

Hi All

My HTTp proxy just restarted with the following error in the kernel log

2011:07:01-15:06:41 ***** kernel: [24055.872175] httpproxy[6535]: segfault at 50000002 ip 00000000f7490feb sp 00000000f3f6c080 error 4 in libglib-2.0.so.0.2200.5[f7437000+c5000]  



same issue as https://community.sophos.com/products/unified-threat-management/astaroorg/f/110/t/70994

2011:07:01-15:06:49 ******* selfmonng[5257]: I check Failed increment httpproxy_running counter 1 - 3
2011:07:01-15:06:54 ******* selfmonng[5257]: I check Failed increment httpproxy_running counter 2 - 3
2011:07:01-15:06:59 ******* selfmonng[5257]: W check Failed increment httpproxy_running counter 3 - 3
2011:07:01-15:06:59 ******* selfmonng[5257]: Http proxy not running - restarted
2011:07:01-15:06:59 ******* selfmonng[5257]: W NOTIFYEVENT Name=httpproxy_running Level=INFO Id=141 sent
2011:07:01-15:06:59 ******* selfmonng[5257]: W triggerAction: 'cmd'
2011:07:01-15:06:59 ******* selfmonng[5257]: W actionCmd(+): '/var/mdw/scripts/httpproxy restart'
2011:07:01-15:07:00 ******* selfmonng[5257]: W child returned status: exit='0' signal='0' 


Thanks
  • i think this can be re-produce on demand 

    when u try to download some files (exe,pdf.ppt) and start google and orkut or try some google related sites 
    i am using local datbase and app ctrl with 10 apps 

    u will alos notice when u download files of 15-20 mb u cant browse internet

    i think i posted where that when u got segfault that time there is spike in cpu usage 

    this all logs are not cut /paste they are in seqence 

    2011:07:08-08:17:08 acenn kernel: [ 68.290331] CPU1: Temperature above threshold, cpu clock throttled (total events = 1)
    2011:07:08-08:17:08 acenn kernel: [ 68.290334] Disabling lock debugging due to kernel taint
    2011:07:08-08:17:08 acenn kernel: [ 68.290721] CPU1: Temperature/speed normal
    2011:07:08-08:21:01 acenn kernel: [ 300.701019] Machine check events logged
    2011:07:08-11:38:27 acenn kernel: [12147.502523] httpproxy[6675]: segfault at 0 ip 0000000008059e65 sp 00000000ed83f280 error 4 in httpproxy[8048000+74000]
    2011:07:08-11:44:13 acenn kernel: [12493.616622] CPU0: Temperature above threshold, cpu clock throttled (total events = 18469)
    2011:07:08-11:44:13 acenn kernel: [12493.617013] CPU0: Temperature/speed normal
    2011:07:08-11:46:00 acenn kernel: [12600.704007] Machine check events logged
    2011:07:08-12:18:16 acenn kernel: [14536.414421] httpproxy[20118]: segfault at 4 ip 00000000f74fd0fc sp 00000000b7e602b0 error 4 in libglib-2.0.so.0.2200.5[f74a4000+c5000]
    2011:07:08-12:35:50 acenn kernel: [15590.887448] httpproxy[25644]: segfault at 7b8008be ip 00000000f73134be sp 00000000ed80ceb4 error 4 in libc-2.11.1.so[f729c000+15b000]
    2011:07:08-08:17:08 acenn kernel: [ 68.290331] CPU1: Temperature above threshold, cpu clock throttled (total events = 1)
    2011:07:08-08:17:08 acenn kernel: [ 68.290334] Disabling lock debugging due to kernel taint
    2011:07:08-08:17:08 acenn kernel: [ 68.290721] CPU1: Temperature/speed normal
    2011:07:08-08:21:01 acenn kernel: [ 300.701019] Machine check events logged
    2011:07:08-11:38:27 acenn kernel: [12147.502523] httpproxy[6675]: segfault at 0 ip 0000000008059e65 sp 00000000ed83f280 error 4 in httpproxy[8048000+74000]
    2011:07:08-11:44:13 acenn kernel: [12493.616622] CPU0: Temperature above threshold, cpu clock throttled (total events = 18469)
    2011:07:08-11:44:13 acenn kernel: [12493.617013] CPU0: Temperature/speed normal
    2011:07:08-11:46:00 acenn kernel: [12600.704007] Machine check events logged
    2011:07:08-12:18:16 acenn kernel: [14536.414421] httpproxy[20118]: segfault at 4 ip 00000000f74fd0fc sp 00000000b7e602b0 error 4 in libglib-2.0.so.0.2200.5[f74a4000+c5000]
    2011:07:08-12:35:50 acenn kernel: [15590.887448] httpproxy[25644]: segfault at 7b8008be ip 00000000f73134be sp 00000000ed80ceb4 error 4 in libc-2.11.1.so[f729c000+15b000] 

    thx

    edit[:$]s windows 7 home premium/64 bit ,asg 64 bit 3 gb ram ,3 nic
  • I don't know if that's related to the proxy crashes, but you have some serious HW issues (most likely insufficient CPU cooling):

    2011:07:08-08:17:08 acenn kernel: [ 68.290331] CPU1: Temperature above threshold, cpu clock throttled (total events = 1)
    2011:07:08-08:17:08 acenn kernel: [ 68.290334] Disabling lock debugging due to kernel taint
    2011:07:08-08:17:08 acenn kernel: [ 68.290721] CPU1: Temperature/speed normal
    2011:07:08-08:21:01 acenn kernel: [ 300.701019] Machine check events logged
  • Hi Sven

    Today I had another segfault http issue with application control disabled this time(I 've disabled it yesterday as per my previous post). The relevant entry is : 

    2011:07:07-23:05:04 **** kernel: [49038.973537] httpproxy[6891]: segfault at 4 ip 00000000f74960fc sp 00000000e3fe32b0 error 4 in libglib-2.0.so.0.2200.5[f743d000+c5000]
  • This is happening to me as well, though not frequently.  I am using application control and will disable it now to test.  From what I can tell there doesn't seem to be a common site or action.

    here is my error message:

    httpproxy[6900]: segfault at 50000002 ip 00000000f7552feb sp 00000000ef024080 error 4 in libglib-2.0.so.0.2200.5[f74f9000+c5000]


    I'll let you know what happens.

    Paul
  • Happened to me this morning again


    2011:07:09-07:14:23 ******  kernel: [81460.861715] httpproxy[6366]: segfault at 21212121 ip 00000000f72bc64b sp 00000000f2fc277c error 4 in libc-2.11.1.so[f7247000+15b000]
    2011:07:09-07:28:03 ******  kernel: [82280.569866] httpproxy[1945]: segfault at b3 ip 00000000f750efe0 sp 00000000bbe1bea0 error 4 in libglib-2.0.so.0.2200.5[f74b5000+c5000]
    2011:07:09-07:31:27 ******  kernel: [82485.130485] Loading kernel module for a network device with CAP_SYS_MODULE (deprecated). Use CAP_NET_ADMIN and alias netdev-ppp0 instead
    2011:07:09-07:44:30 ******  kernel: [83267.930867] httpproxy[1996]: segfault at a9 ip 00000000f750bfeb sp 00000000f25fd080 error 4 in libglib-2.0.so.0.2200.5[f74b2000+c5000]
  • It happened again today and I had all the rules disabled and network visibility turned off.

    Paul
  • All,

    from looking at the crash dumps on wingman's box it seems like the proxy crashes if there's a deferred download (means the astaro downloader page) running and a proxy config reload is triggered in the meantime.

    I can reproduce this crash here by doing the following:

    - enabling AV scan, with max scanning size set to >100MB
    - downloading some kernel tarball from The Linux Kernel Archives
    - sending the HTTP Proxy a SIGUSR1 during download and scanning stage.

    I'm currently doing a fix for this issue so stay tuned.