Re: [PHP-DEV] Help with generating a stack trace on IIS6

2006-05-20 Thread Sharad Gupta
Ok, I was finally able to compile a release version of PHP 4.4.2 with debug flags. When running as a ISAPI module under IIS6 on a windows server 2003 SP1 machine, I was able to observe it break on "Access Violation" exception catch block in php4isapi.c But the call trace and the registers values

Re: [PHP-DEV] Help with generating a stack trace on IIS6

2006-05-01 Thread Wez Furlong
Switching to linking against the release build of libc should help. Change /MDd to /MD in the dsp/dsw or whatever it is. --Wez. On 4/30/06, Sharad Gupta <[EMAIL PROTECTED]> wrote: Ok, when I compile a "release" version .. I dont get "no input file specified" error when opening php scripts in br

Re: [PHP-DEV] Help with generating a stack trace on IIS6

2006-04-30 Thread Sharad Gupta
Ok, when I compile a "release" version .. I dont get "no input file specified" error when opening php scripts in browser .. But when I compile "debug" version, I get that error ... can any one shed some light on this behaviour .. is it intended behaviour and what can I do to rectify it ? Thanks

Re: [PHP-DEV] Help with generating a stack trace on IIS6

2006-04-29 Thread Sharad Gupta
It seems I was able to compile a debug version of php 4.4.2 myself using MSVC++ 6 with php4dll.dsw... but when I point IIS to ISAPI dll ... on all scripts, I get "input file not found" error ... when I dump a phpinfo using "php -i" ... it tells me that I am using PHP in CGI/FastCGI mode ... but I

Re: [PHP-DEV] Help with generating a stack trace on IIS6

2006-04-29 Thread Nuno Lopes
I haven't been able to use such tool with PHP with the .pdb files myself. If you have success, could you please write a tutorial for our bugs.php.net site? That tool teoricaly should also find memory leaks, but well, I can't work with it.. Wine with valgrind is much easier :) Nuno - Orig

Re: [PHP-DEV] Help with generating a stack trace on IIS6

2006-04-28 Thread William A. Rowe, Jr.
Hannes Magnusson wrote: Hi Sharad I would appreciate if anyone can help me in finding out how to obtain extra information from php ... I am not able to find a debug pack for PHP 4 The sad bit is, it's totally unnecessary to have a specific debug build, but the maintainers have never tak

Re: [PHP-DEV] Help with generating a stack trace on IIS6

2006-04-28 Thread Hannes Magnusson
Hi Sharad I would appreciate if anyone can help me in finding out how to obtain extra information from php ... I am not able to find a debug pack for PHP 4 Edin recently compiled one.. http://php.emini.dk/misc/php-4.4.3-dev-Win32-debug.zip -- PHP Internals - PHP Runtime Development Mailin