logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache 2.4.43 / Windows 10 / Crash of libhttpd.dll Page Previous  1, 2
Author
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3049
Location: Hilversum, NL, EU

PostPosted: Tue 14 Apr '20 11:30    Post subject: Reply with quote

Are you absolutely sure that used used all from 2.4.43 download, and no leftover files from 2.4.41 ?
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3049
Location: Hilversum, NL, EU

PostPosted: Tue 14 Apr '20 14:20    Post subject: Reply with quote

Maybe a debug files(s) is generated.


Let crash again and then look the bottom in the Windows Event Viewer. Do you see there files mentioned in the WER folder ?

In C:\ProgramData\Microsoft\Windows\WER ? And take the files with the time of the crash.

Can I download some where that ?
Maybe OneDrive or from your server.
Back to top
mdrmdr



Joined: 05 Apr 2020
Posts: 16

PostPosted: Wed 15 Apr '20 8:47    Post subject: Reply with quote

Steffen wrote:
Are you absolutely sure that used used all from 2.4.43 download, and no leftover files from 2.4.41 ?


Yes, I'm sure. This is the procedure I followed:
- completely remove the Apache2 folder
- extract from the download from this site here (httpd-2.4.43-win64-VS16.zip)
- rename "conf" to "conf.org"
- create new "conf"
- xcopy all "conf" files from .41 to the new .43 "conf". Only files in "conf"!
- start Apache Monitor and then httpd with Apache Monitor
- call example 3-liner perl twice in browser
- 2x crash!
- stop server, exchange .43 mod_http2 with mod_http2_1874347.so and start server
- call example 3-liner perl in browser
- works!

Steffen wrote:
Maybe a debug files(s) is generated. In C:\ProgramData\Microsoft\Windows\WER ? And take the files with the time of the crash. Can I download some where that ?

The 2 crash files are here: Removed

I can offer to run httpd.exe again with GDB and with symbols. But I do not find symbols for .43. Can you point me to a symbols file for that version?
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3049
Location: Hilversum, NL, EU

PostPosted: Wed 15 Apr '20 9:56    Post subject: Reply with quote

Thanks !

Pity no debug file.

No other files in C:\ProgramData\Microsoft\Windows\WER ?

Also look in Control Panel\All Control Panel Items\Security and Maintenance\Problem Reports for files

Here are symbols:

Removed
Back to top
mdrmdr



Joined: 05 Apr 2020
Posts: 16

PostPosted: Wed 15 Apr '20 12:15    Post subject: Reply with quote

Steffen wrote:
Here are symbols:
Removed


Unfortunately this does not help as GDB cannot read Visual Studio symbol files:

Code:
(gdb) symbol-file ../modules/mod_http2_src.pdb
`X:\Apps\Apache24\modules\mod_http2_src.pdb': can't read symbols: file format not recognized.


Since I do not have Visual Studio installed, I cannot debug further...
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3049
Location: Hilversum, NL, EU

PostPosted: Wed 15 Apr '20 12:31    Post subject: Reply with quote

No files mentioned at : Control Panel\All Control Panel Items\Security and Maintenance\Problem Reports ?

Yep for debug in Visual Studio the debug files in WER are needed for further debugging. You looked for files as mentioned in my post above ?

You tried ?

>gdb X:\Apps\Apache24\bin\httpd.exe
...
...
...
(gdb)run -X -e debug
...
...
(gdb)bt

same as without the symbols ?
Back to top
mdrmdr



Joined: 05 Apr 2020
Posts: 16

PostPosted: Wed 15 Apr '20 14:19    Post subject: Reply with quote

No, no further files in "C:\ProgramData\Microsoft\Windows\WER" as I linked already in the .zip file.

In "Problem Reports for files" there are entries for each crash. But not more information as from the Windows Event Viewer. I added one as an example:

Code:
Quelle
Apache HTTP Server

Zusammenfassung
Nicht mehr funktionsfähig

Datum
‎15.‎04.‎2020 12:45

Status
Der Bericht wurde gesendet.

Beschreibung
Pfad der fehlerhaften Anwendung:   X:\Apps\Apache24\bin\httpd.exe

Problemsignatur
Problemereignisame:   APPCRASH
Anwendungsname:   httpd.exe
Anwendungsversion:   2.4.43.0
Anwendungszeitstempel:   5e834d57
Fehlermodulname:   libhttpd.dll
Fehlermodulversion:   2.4.43.0
Fehlermodulzeitstempel:   5e834d1f
Ausnahmecode:   c0000005
Ausnahmeoffset:   00000000000015d9
Betriebsystemversion:   10.0.18363.2.0.0.256.48
Gebietsschema-ID:   1031
Zusatzinformation 1:   c5e5
Zusatzinformation 2:   c5e51464b296093f30820593cbd78927
Zusatzinformation 3:   79d4
Zusatzinformation 4:   79d4dbff379970fb1bc7b7f101ec5ae0

Weitere Informationen über das Problem
Bucket-ID:   865ae96e512eee64c32dae080a327b91 (1381952010226662289)

gdb with "-e debug" is the same as without. It just prints in addition the list of loaded modules.

I created a dump using Sysinternal tool procdump:

Code:
procdump -64 -e -ma httpd.exe httpd.dmp

May be this helps? Download the dump here: Removed
I tried to analyze it with kd. The result is here: Removed
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3049
Location: Hilversum, NL, EU

PostPosted: Wed 15 Apr '20 16:15    Post subject: Reply with quote

Yes that helps.


More info now:

See CallStack

Removed

and

Removed
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1248
Location: Amsterdam, NL, EU

PostPosted: Thu 16 Apr '20 19:09    Post subject: Reply with quote

https://github.com/icing/mod_h2/releases/tag/v1.15.8

Quote:
Fixed an unfortunate regression introduced in v1.15.7 that prevented H2_STREAM_ID to be set. Fixes https://bz.apache.org/bugzilla/show_bug.cgi?id=64330
and Windows crashes reported in
https://www.apachelounge.com/viewtopic.php?p=39012#39012.
Back to top
Jan-E



Joined: 09 Mar 2012
Posts: 1248
Location: Amsterdam, NL, EU

PostPosted: Thu 16 Apr '20 19:45    Post subject: Reply with quote

Change:
Code:
diff --git a/mod_http2/h2_task.c b/mod_http2/h2_task.c
index c3bf6a6..a0b22a3 100644
--- a/mod_http2/h2_task.c
+++ b/mod_http2/h2_task.c
@@ -586,6 +586,8 @@ apr_status_t h2_task_do(h2_task *task, apr_thread_t *thread, int worker_id)
          * configurations by mod_h2 alone.
          */
         task->c->id = (c->master->id << 8)^worker_id;
+        task->id = apr_psprintf(task->pool, "%ld-%d", c->master->id,
+                                task->stream_id);
     }
         
     h2_beam_create(&task->output.beam, c->pool, task->stream_id, "output",

@steffenal: apply this patch and see if the compiled version works for 'mdrmdr'
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3049
Location: Hilversum, NL, EU

PostPosted: Thu 16 Apr '20 19:58    Post subject: Reply with quote

Of course we always do. Someone has to vote on Windows.

mdrmdr please give it a try.

Removed, see www.apachelounge.com/viewtopic.php?p=39062#39062
Back to top
mdrmdr



Joined: 05 Apr 2020
Posts: 16

PostPosted: Thu 16 Apr '20 22:17    Post subject: Reply with quote

Works perfectly well Smile
Back to top
Steffen
Moderator


Joined: 15 Oct 2005
Posts: 3049
Location: Hilversum, NL, EU

PostPosted: Fri 17 Apr '20 9:53    Post subject: Reply with quote

Thanks! very much for helping to debug.

Steffen
Back to top
mdrmdr



Joined: 05 Apr 2020
Posts: 16

PostPosted: Fri 17 Apr '20 10:21    Post subject: Reply with quote

Steffen wrote:
Thanks! very much for helping to debug. Steffen

Many thanks also from my side for all your efforts in providing Apache for Windows users.

Manfred

PS: I'll delete the above linked files from my server now...
Back to top


Reply to topic   Topic: Apache 2.4.43 / Windows 10 / Crash of libhttpd.dll View previous topic :: View next topic
Post new topic   Forum Index -> Apache Page Previous  1, 2