| Author | 
  | 
Steffen Moderator
 
  Joined: 15 Oct 2005 Posts: 3131 Location: Hilversum, NL, EU
  | 
 Posted: Tue 14 Apr '20 11:30    Post subject:  | 
     | 
 
  | 
 
| 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: 3131 Location: Hilversum, NL, EU
  | 
 Posted: Tue 14 Apr '20 14:20    Post subject:  | 
     | 
 
  | 
 
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
 
  | 
 Posted: Wed 15 Apr '20 8:47    Post subject:  | 
     | 
 
  | 
 
 	  | 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: 3131 Location: Hilversum, NL, EU
  | 
 Posted: Wed 15 Apr '20 9:56    Post subject:  | 
     | 
 
  | 
 
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
 
  | 
 Posted: Wed 15 Apr '20 12:15    Post subject:  | 
     | 
 
  | 
 
 	  | 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: 3131 Location: Hilversum, NL, EU
  | 
 Posted: Wed 15 Apr '20 12:31    Post subject:  | 
     | 
 
  | 
 
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
 
  | 
 Posted: Wed 15 Apr '20 14:19    Post subject:  | 
     | 
 
  | 
 
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: 3131 Location: Hilversum, NL, EU
  | 
 Posted: Wed 15 Apr '20 16:15    Post subject:  | 
     | 
 
  | 
 
Yes that helps.
 
 
 
More info now:
 
 
See CallStack
 
 
 Removed
 
 
and 
 
 
 Removed | 
 
  | 
| Back to top | 
 | 
Jan-E
 
 
  Joined: 09 Mar 2012 Posts: 1283 Location: Amsterdam, NL, EU
  | 
 | 
| Back to top | 
 | 
Jan-E
 
 
  Joined: 09 Mar 2012 Posts: 1283 Location: Amsterdam, NL, EU
  | 
 Posted: Thu 16 Apr '20 19:45    Post subject:  | 
     | 
 
  | 
 
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: 3131 Location: Hilversum, NL, EU
  | 
 | 
| Back to top | 
 | 
mdrmdr
 
 
  Joined: 05 Apr 2020 Posts: 16
 
  | 
 Posted: Thu 16 Apr '20 22:17    Post subject:  | 
     | 
 
  | 
 
Works perfectly well   | 
 
  | 
| Back to top | 
 | 
Steffen Moderator
 
  Joined: 15 Oct 2005 Posts: 3131 Location: Hilversum, NL, EU
  | 
 Posted: Fri 17 Apr '20 9:53    Post subject:  | 
     | 
 
  | 
 
Thanks! very much for helping to debug.
 
 
Steffen | 
 
  | 
| Back to top | 
 | 
mdrmdr
 
 
  Joined: 05 Apr 2020 Posts: 16
 
  | 
 Posted: Fri 17 Apr '20 10:21    Post subject:  | 
     | 
 
  | 
 
 	  | 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 | 
 |