Re: External exception in httpd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Le 30/03/2021 à 11:30, Michael Rabatscher a écrit :
Hey guys!

I'm currently a Delphi developer creating a windows module for the apache 2.4 server. Every time I run the module with a debugger attached (and httpd.exe -X acutally to avoid
2 instances) I get a system exception on shutdown:

system exception (code 0xc0000008)

which as far as I could research is due to a double CloseHandle call in libapr

following the callstack that results in this stack
:77462c6c ntdll.ZwClose + 0xc
:66f85f95 libapr-1.apr_shm_remove + 0x115
:66f85e5e libapr-1._apr_shm_destroy@4 + 0xe
:5cc614a9 ; D:\ImportTest\modules\mod_socache_shmcb.so
:5cc014e5 mod_ssl.ssl_run_proxy_post_handshake + 0x7B95
:5cbf4cad mod_ssl.ssl_run_pre_handshake + 0x34BD
:66f7c98d libapr-1._apr_pool_destroy@4 + 0x5d
:66f7c96c libapr-1._apr_pool_destroy@4 + 0x3c
:00f611f6 httpd.OPENSSL_Applink + 0x1F6
:00f61875 httpd.OPENSSL_Applink + 0x875
:00f627f5 httpd.OPENSSL_Applink + 0x17F5
:75bcfa29 KERNEL32.BaseThreadInitThunk + 0x19
:77457c7e RtlGetAppContainerNamedObjectPath + 0x11E
:77457c4e ntdll.RtlGetAppContainerNamedObjectPath + 0xee

so basically I think the problem is rooted in mod_ssl and the Mod_socache module.

I found a few threads that point in the same direction so I wanted to check if there is someone with more knowledge about the code who could help to fix or circumvent the problem. Note that according to the msdn the exception is only raised if there
is a debugger attached ;) so it does not appear in production.

king regards
   Mike

Hi,

could be a duplicate of https://bz.apache.org/bugzilla/show_bug.cgi?id=59798

CJ

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux