-
Notifications
You must be signed in to change notification settings - Fork 209
Crashing Apache after Windows 7 to 10 updgrade #80
Comments
@Rarst is the crash related to Tideways? Does it go away when you remove the tideways DLL? |
Yes, as far as I see it, if I comment out DLL and restart Apache the crash goes away (and the other way around). |
I thought to look in Windows event log, and it explicitly attributes the crash to tideways DLL:
|
Unfortunately I don't know at all how to debug a segfault on Windows :-( There needs to be some way to get a stacktrace, or at least the file and line where the crash occurred somehow. |
There is a
|
I asked around how to proceed and if you don't want to install Visual Studio then running with https://docs.microsoft.com/en-us/sysinternals/downloads/procdump could be an option to find out the stack trace. The DLLs are not build with debug symbols, which could complicate the stack trace details, but please check if you can find something out this way. |
Ok, I installed procdump as postmortem debugger, reproduced the crash, got Here is the result;
Is this helpful?.. Let me know if you want me to send full |
@Rarst YES, it has the stacktrace :-) Thank you very much, I will look if that helps me fix the problem. |
@Rarst I know this is a long time ago, did you call tideways_xhprof_disable() in a register_shutdown_function handler? From the stacktrace it looks like this could be the place were the crash happens, but I can't be sure. |
Yeah, think I am hooking that to WordPress shutdown handler in my profiling wiring. |
Seems to work again, after round of updates to Apache 2.4.41 / PHP 7.4 / Tideways 5.0.2 / whatever else had changed since. |
Aaaand the problem is back. :( |
Hey, is it possible to get any clarity if this would ever be resolved? It's not critical to me, but I have a related profile viewer project I tinker on sporadically. This is effectively the last xhprof-type PHP profiler on Windows and if it's not going to work I would just drop the viewer thing for good. |
I've upgraded my desktop from Windows 7 to 10, without any changes to my portable Apache/MySQL/PHP web stack.
After the update having tideways_xhprof binary enabled started to crash Apache on general browsing of PHP pages (not trying to profile) with following message:
Binary version
php_tideways_xhprof-5.0.0-master-39806cc8-7.3-vc15-x86_64.dll
Any pointers how can I try tweak or troubleshoot this?
The text was updated successfully, but these errors were encountered: