Apache 2.2 Crash when loading FAQs [v2.8]

Please report bugs here!

Moderator: Thorsten

Post Reply
IHaveYourMilk
Posts: 13
Joined: Sun May 19, 2013 8:16 am

Apache 2.2 Crash when loading FAQs [v2.8]

Post by IHaveYourMilk »

Hello,

first thing first,
great work on 2.8... looks better, works great with rtl
and to the point be, didn't see encoding problems which is pretty neat. GJ!

last night i updated my v2.7.9 to v2.8.0.

My Machine:
Windows 7 Pro.
Apache 2.2
PHP 5.4.12
MySql
Database updated from 2.7.9

i upgraded (locally) my 2.7.9 database (on MySQL),
recreated my Templates, and all is nice.

I Noticed today, that when i try open FAQs:
some of them load correctly,
but several cause Apache sub-process to crash and return a
"Error 101 (net::ERR_CONNECTION_RESET): The connection was reset."

Apache "Access.log" does not even show the request!

and "Errors.Log" shows nothing special
[Thu Jun 06 15:04:55 2013] [notice] Parent: child process exited with status 3221225725 -- Restarting.
[Thu Jun 06 15:04:55 2013] [notice] Digest: generating secret for digest authentication ...
[Thu Jun 06 15:04:55 2013] [notice] Digest: done
[Thu Jun 06 15:04:55 2013] [notice] Apache/2.2.23 (Win32) DAV/2 PHP/5.4.12 configured -- resuming normal operations
[Thu Jun 06 15:04:55 2013] [notice] Server built: Aug 24 2012 11:30:00
[Thu Jun 06 15:04:55 2013] [notice] Parent: Created child process 5672
[Thu Jun 06 15:04:55 2013] [notice] Digest: generating secret for digest authentication ...
[Thu Jun 06 15:04:55 2013] [notice] Digest: done
[Thu Jun 06 15:04:55 2013] [notice] Child 5672: Child process is running
[Thu Jun 06 15:04:55 2013] [notice] Child 5672: Acquired the start mutex.
[Thu Jun 06 15:04:55 2013] [notice] Child 5672: Starting 64 worker threads.
[Thu Jun 06 15:04:55 2013] [notice] Child 5672: Starting thread to listen on port 80.
Note: the same thing happened when i tried before to access "Interface Translation" in the admin section (though that didn't bother me).
You do not have the required permissions to view the files attached to this post.
"If you build it, it will come..."
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Apache 2.2 Crash when loading FAQs [v2.8]

Post by Thorsten »

Hi,

thanks, we already have a bugreport for that and we're working on a fix.

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Apache 2.2 Crash when loading FAQs [v2.8]

Post by Thorsten »

Hi,

is ti possible for you to install a debug PHP version? Please check https://bugs.php.net/bugs-generating-ba ... -win32.php

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Apache 2.2 Crash when loading FAQs [v2.8]

Post by Thorsten »

Hi,

is it possible to test it on Apache 2.4, too? I'm setting up my own Windows environment, too

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
IHaveYourMilk
Posts: 13
Joined: Sun May 19, 2013 8:16 am

Re: Apache 2.2 Crash when loading FAQs [v2.8]

Post by IHaveYourMilk »

some additional info:
1. i removed all the languages except for Hebrew
2. it happen only when i click "Interface Translation" while displaying English interface.

Hey, i tried doing the Debug thing, but i dont think i managed to do it correctly.
1. installed MS Debug Diag Tools
2. downloaded php_debug Pack and extracted to c:\php
3. setup a rule for httpd.exe.
4. configure MS Dbg Diag Tool in options... Debug Symbol location c:\php

Attaching the Crash Dump MHT File
it say it cannot find Symbols for php5ts.dll :(
"If you build it, it will come..."
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Apache 2.2 Crash when loading FAQs [v2.8]

Post by Thorsten »

Hi,

I couldn't reproduce this issue on Win 7 with Apache 2.4

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
IHaveYourMilk
Posts: 13
Joined: Sun May 19, 2013 8:16 am

Re: Apache 2.4 Crash when loading FAQs [v2.8]

Post by IHaveYourMilk »

Hey,

I reproduced this with Apache 2.4.4, and still same thing, crash.
attached screenshot...

some additional info:
1. i removed all the languages but hebrew
2. it happens only when i go in "Interface Translation" while the UI is in English!
3. debugging shows that it is a Stack Overflow Exception

did anyone else encountered this?

Debugging it:
I Dont know if it will help, i hope it does, i succeeded loading the Debug Symbols in VS2010
Attached a screenshot of the Critical failure.
(dont know how to export the data, sry... )
You do not have the required permissions to view the files attached to this post.
"If you build it, it will come..."
IHaveYourMilk
Posts: 13
Joined: Sun May 19, 2013 8:16 am

Re: Apache 2.4 Crash when loading FAQs [v2.8]

Post by IHaveYourMilk »

Success in creating the Debug Analysis :)

Attached: Zipped mht...
You do not have the required permissions to view the files attached to this post.
"If you build it, it will come..."
Thorsten
Posts: 15724
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Apache 2.2 Crash when loading FAQs [v2.8]

Post by Thorsten »

Hi,

I talked to the Microsoft PHP guy and we said that you should please incread the Apache Stack: https://httpd.apache.org/docs/2.4/mod/m ... dstacksize

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
IHaveYourMilk
Posts: 13
Joined: Sun May 19, 2013 8:16 am

Re: Apache 2.2 Crash when loading FAQs [v2.8]

Post by IHaveYourMilk »

Really? it is not an infinite recursive function?

i was sure cause of the repeating lines of match() in the Call-Stack. (see attachments)

tried thinking of a wierd enough Infinitly Recursive Reg-Ex?

But i see a lot of places complaining about Apache ThreadStackSize, so might be it,
i'll check :)
You do not have the required permissions to view the files attached to this post.
"If you build it, it will come..."
Post Reply