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
Parents
  • 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
Reply Children
  • 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.