NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
dbg 2.13


Joined: 04 Jul 2006
Posts: 4
Reply with quote
Apache 2.2.2 PHP 5.1.4 dbg 2.13.1 Win32 XP SP2

Sometimes dbg crashes whole apache. Always crashes when service is stopping...

I can attach drwtsn32.log (74k =/ ) later if it needed.

when disabling dbg all works fine. No other extensions loaded.

Call Stack (or something...)
Code:

ChildEBP RetAddr  Args to Child             
0006fef0 00aeb2a6 019ae390 015e6ba8 002da070 0x27f1c50
005a30b8 002da070 00000003 002d7be0 002d7c32 php5ts!tsrm_shutdown+0x66
002d8068 002da070 002d5bf0 002d3bec 013a6298 0x2da070
002d3be8 002d8068 00000000 00000000 002d3c48 0x2da070
00000000 00000000 00000000 00000000 00000000 0x2d8068


Can someone help me?

а то я уже заебался =/
View user's profileFind all posts by maniacSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8340
Reply with quote
it's a bug in php TSRM.
See http://bugs.php.net/bug.php?id=37299

I've made a workaround in commercial vesion of debugger (3.x) but 2.13 (free) is still as is.
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 04 Jul 2006
Posts: 4
Reply with quote
I found two bugs that looks similar...

http://bugs.php.net/bug.php?id=34725
http://bugs.php.net/bug.php?id=32220

will this patch fix the problem?

or maybe you can post your workaround here? (if it possible)

Thanks for reply.

PS. Great work. There are no comprehensive alternatives to DBG.
View user's profileFind all posts by maniacSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8340
Reply with quote
I didn't try this patch (yet).
If they claim it fixes the problem, please go ahead and give it a try.
BTW, it's my understanding that you're using CGI, right?
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 04 Jul 2006
Posts: 4
Reply with quote
no matter it crashes on apache service stopping, it crashes on every launch of standalone php.exe, it crashes on cgi...

I did'nt try this patch too. but I'll try tomorow or later.
as I can see TSRM is (propably) most buggy php component =/

I'll post my feedback when I try something


Last edited by maniac on Fri Jul 07, 2006 6:29 am; edited 1 time in total
View user's profileFind all posts by maniacSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 8340
Reply with quote
it's php crashing.
a little and strightforward investigation showed that it first unload modules then call their "globals" destructor. Not really wise.
I'd recommend just comment out all calls to tsrm_shutdown()
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 04 Jul 2006
Posts: 4
Reply with quote
thanks, it helped me
View user's profileFind all posts by maniacSend private message
dbg 2.13
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic