Re: [PHP-DEV] How to debug?

2002-10-13 Thread Yasuo Ohgaki
Generally speaking, we need _short_ _complete_ script for this. However, try CVS version. We don't fix bugs other than CVS version now. -- Yasuo Ohgaki Ernani Joppert Pontes Martins wrote: I was having a problem like this in one simple script It generates segfault by executing from

Re: [PHP-DEV] How to debug?

2002-10-13 Thread Ernani Joppert Pontes Martins
Thanks Yasuo... Does the cvs version is provided in rpm format too? []'s Ernani Yasuo Ohgaki [EMAIL PROTECTED] escreveu na mensagem [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Generally speaking, we need _short_ _complete_ script for this. However, try CVS version. We

Re: [PHP-DEV] How to debug?

2002-10-12 Thread Ernani Joppert Pontes Martins
I was having a problem like this in one simple script It generates segfault by executing from shell, from apache it don't stop processing and locks up the machine, when it reaches the max_execution time, then it breaks. The gdb backtrace is here: #0 0x403d6646 in chunk_free

Re: [PHP-DEV] How to debug?

2002-10-12 Thread Yasuo Ohgaki
Ernani Joppert Pontes Martins wrote: Thanks Yasuo... Does the cvs version is provided in rpm format too? No. You need to build it from source. (There may be people creating RPM, but I just don't know) -- Yasuo Ohgaki []'s Ernani "Yasuo Ohgaki" [EMAIL PROTECTED]

Re: [PHP-DEV] How to debug?

2002-10-12 Thread Yasuo Ohgaki
Ernani Joppert Pontes Martins wrote: That was pretty weird, like those magics of David Blaine But It was working before I made a change on it... So then I decided to see what was wrong... I found the error in a for loop, I was stripslashing the database strings... That caused the

Re: [PHP-DEV] How to debug?

2002-10-11 Thread Markus Fischer
On Fri, Oct 11, 2002 at 03:22:21PM +0100, David Reid wrote : Can I run the tests under gdb to try and see if I can get a better backtrace? I'm still seeing the segafluts in the session tests... Does http://bugs.php.net/bugs-generating-backtrace.php help you? -- GnuPG Key:

[PHP-DEV] how to debug a php extension...

2002-07-16 Thread Ron Lange
hi, in which way I could debug my extension (builtin, apachemodule)? unfortunately I get segmentation faults of the forked apache proc, and I can only guess where it is. It's in a particular place, where I set up a socket and two fds. I don't use php_streams. Any hints? Regards Ron -- PHP

Re: [PHP-DEV] how to debug a php extension...

2002-07-16 Thread David Eriksson
On Tue, 16 Jul 2002, Ron Lange wrote: hi, in which way I could debug my extension (builtin, apachemodule)? unfortunately I get segmentation faults of the forked apache proc, and I can only guess where it is. It's in a particular place, where I set up a socket and two fds. I don't use

RE: [PHP-DEV] how to debug a php extension...

2002-07-16 Thread Joseph Tate
in debug mode.) Then make it crash. Debug as you would any windows App. Joseph -Original Message- From: Ron Lange [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 16, 2002 9:47 AM To: [EMAIL PROTECTED] Subject: [PHP-DEV] how to debug a php extension... hi, in which way I could debug my

Re: [PHP-DEV] how to debug a php extension...

2002-07-16 Thread Ron Lange
Hi David, hi Joseph, thanks a lot, I have a very helpful backtrace now. Regards Ron David Eriksson wrote: On Tue, 16 Jul 2002, Ron Lange wrote: hi, in which way I could debug my extension (builtin, apachemodule)? unfortunately I get segmentation faults of the forked apache proc, and I