You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Christophe JAILLET <ch...@wanadoo.fr> on 2021/03/31 10:56:02 UTC
[users@httpd] Re: External exception in httpd
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@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Re: External exception in httpd
Posted by Yann Ylavic <yl...@gmail.com>.
On Thu, Apr 1, 2021 at 8:56 AM Michael Rabatscher
<m....@schillermedilog.com> wrote:
>
> we always use the precompiled version from https://www.apachelounge.com/download/
> (httpd-2.4.46-win32-VS16.zip)
Hopefully it's fixed in [1], if you could apply this patch and test it
would help backporting it to 2.4.
If you don't build httpd yourself, you may want to ask on apachelounge
that they create a version including it (possibly Steffen is listening
here anyway and can help ;)
Regards;
Yann.
[1] https://svn.apache.org/r1888266
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
[users@httpd] Re: External exception in httpd
Posted by Michael Rabatscher <m....@schillermedilog.com>.
Dear all,
thanks again for coming back at me...
Am Mi., 31. März 2021 um 18:38 Uhr schrieb Christophe JAILLET <
christophe.jaillet@wanadoo.fr>:
> Le 31/03/2021 à 15:53, Michael Rabatscher a écrit :
> > Thanks for the information! These bugs seem to have the same symptoms.
> >
> > To clarify.. I encounter this excption any time I shutdown the the httpd
> > (ctrl + c) console window while
> > having the debugger attached - so basically every time the module
> > cleanup chain is executed.
> >
> > The version I use is acutally 2.4.46 so afaik the latest offically
> > released one including APR-1.7.0.
>
> Hi,
> APR in not included in the httpd code source.
>
> Did you build httpd from source code or did you used a pre-compiled
> version. If so, which one is it?
>
>
we always use the precompiled version from
https://www.apachelounge.com/download/
(httpd-2.4.46-win32-VS16.zip)
kind regards
Mike
CJ
>
> >
> > kind regards
> > Mike
> >
> >
> > Am Mi., 31. März 2021 um 15:14 Uhr schrieb Yann Ylavic
> > <ylavic.dev@gmail.com <ma...@gmail.com>>:
> >
> > On Wed, Mar 31, 2021 at 12:56 PM Christophe JAILLET
> > <christophe.jaillet@wanadoo.fr
> > <ma...@wanadoo.fr>> wrote:
> > >
> > > Le 30/03/2021 à 11:30, Michael Rabatscher a écrit :
> > > >
> > > > system exception (code 0xc0000008)
> > > >
> > > > which as far as I could research is due to a double CloseHandle
> > call in
> > > > libapr
> > > >
> > >
> > > could be a duplicate of
> > https://bz.apache.org/bugzilla/show_bug.cgi?id=59798
> > <https://bz.apache.org/bugzilla/show_bug.cgi?id=59798>
> >
> > If so it should be fixed in APR-1.7.0, which APR version are you
> > using Michael?
> >
> >
> > Regards;
> > Yann.
> >
>
>
[users@httpd] Re: External exception in httpd
Posted by Christophe JAILLET <ch...@wanadoo.fr>.
Le 31/03/2021 à 15:53, Michael Rabatscher a écrit :
> Thanks for the information! These bugs seem to have the same symptoms.
>
> To clarify.. I encounter this excption any time I shutdown the the httpd
> (ctrl + c) console window while
> having the debugger attached - so basically every time the module
> cleanup chain is executed.
>
> The version I use is acutally 2.4.46 so afaik the latest offically
> released one including APR-1.7.0.
Hi,
APR in not included in the httpd code source.
Did you build httpd from source code or did you used a pre-compiled
version. If so, which one is it?
CJ
>
> kind regards
> Mike
>
>
> Am Mi., 31. März 2021 um 15:14 Uhr schrieb Yann Ylavic
> <ylavic.dev@gmail.com <ma...@gmail.com>>:
>
> On Wed, Mar 31, 2021 at 12:56 PM Christophe JAILLET
> <christophe.jaillet@wanadoo.fr
> <ma...@wanadoo.fr>> wrote:
> >
> > Le 30/03/2021 à 11:30, Michael Rabatscher a écrit :
> > >
> > > system exception (code 0xc0000008)
> > >
> > > which as far as I could research is due to a double CloseHandle
> call in
> > > libapr
> > >
> >
> > could be a duplicate of
> https://bz.apache.org/bugzilla/show_bug.cgi?id=59798
> <https://bz.apache.org/bugzilla/show_bug.cgi?id=59798>
>
> If so it should be fixed in APR-1.7.0, which APR version are you
> using Michael?
>
>
> Regards;
> Yann.
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org
Re: [users@httpd] Re: External exception in httpd
Posted by Michael Rabatscher <m....@schillermedilog.com>.
Thanks for the information! These bugs seem to have the same symptoms.
To clarify.. I encounter this excption any time I shutdown the the httpd
(ctrl + c) console window while
having the debugger attached - so basically every time the module cleanup
chain is executed.
The version I use is acutally 2.4.46 so afaik the latest offically released
one including APR-1.7.0.
kind regards
Mike
Am Mi., 31. März 2021 um 15:14 Uhr schrieb Yann Ylavic <ylavic.dev@gmail.com
>:
> On Wed, Mar 31, 2021 at 12:56 PM Christophe JAILLET
> <ch...@wanadoo.fr> wrote:
> >
> > Le 30/03/2021 à 11:30, Michael Rabatscher a écrit :
> > >
> > > system exception (code 0xc0000008)
> > >
> > > which as far as I could research is due to a double CloseHandle call in
> > > libapr
> > >
> >
> > could be a duplicate of
> https://bz.apache.org/bugzilla/show_bug.cgi?id=59798
>
> If so it should be fixed in APR-1.7.0, which APR version are you using
> Michael?
>
>
> Regards;
> Yann.
>
Re: [users@httpd] Re: External exception in httpd
Posted by Yann Ylavic <yl...@gmail.com>.
On Wed, Mar 31, 2021 at 12:56 PM Christophe JAILLET
<ch...@wanadoo.fr> wrote:
>
> Le 30/03/2021 à 11:30, Michael Rabatscher a écrit :
> >
> > system exception (code 0xc0000008)
> >
> > which as far as I could research is due to a double CloseHandle call in
> > libapr
> >
>
> could be a duplicate of https://bz.apache.org/bugzilla/show_bug.cgi?id=59798
If so it should be fixed in APR-1.7.0, which APR version are you using Michael?
Regards;
Yann.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org