ID: 29330 Updated by: [EMAIL PROTECTED] Reported By: grayw at mail dot montclair dot edu -Status: Open +Status: Closed Bug Type: Reproducible crash Operating System: Mac OS X 10.3.4 PHP Version: 5.0.0 New Comment:
Let's close it then; please reopen if the problem returns. Previous Comments: ------------------------------------------------------------------------ [2004-09-27 17:23:10] grayw at mail dot montclair dot edu Update: upgrading to Mac OS X 10.3.5 did not fix this bug, however, using PHP 5.0.2 with the same exact code, this problem is no longer occurring. These changes may have been related: (from the Changelog for the new version): Fixed bug #29873 (No defines around pcntl_*priority definitions). (Derick) These possibly related changes were made in 5.0.1: pcntl_wait(). (GeorgeS) pcntl_getpriority() and pcntl_setpriority(). (Ilia) ------------------------------------------------------------------------ [2004-08-03 20:38:30] grayw at mail dot montclair dot edu As this was a PHP-CLI program, and I did not build the apache module for PHP5 (I use php4 for my webserver), I rebuilt PHP5 with the apache module and configured my web server to use it instead of 4. (There has to be a better way! Damn apple and the missing coredumps ;-) Then I spent a lot of time trying to convert fputs into prints, etc. Apparantly, pcntl_fork() isn't recognized by the php5_module, just the PHP CLI. Which makes sense. This program forks twice to detach from the terminal and run as a daemon. So, I don't think we can really get this program to work using httpd -X from gdb. Is there another way I can get a core dump? Or does someone in the PHP group know how to turn them on in Mac OS X? Are you able to get any useful information from the Mac OS X crashlog below? It does provide a stack trace. ------------------------------------------------------------------------ [2004-08-03 09:15:28] [EMAIL PROTECTED] Please read that page carefully, it also says what to do if you're not getting core-dumps. ------------------------------------------------------------------------ [2004-08-02 23:38:05] grayw at mail dot montclair dot edu Still trying to determine how to get a core file in Mac OS X Panther. According to the manpage, cores should dump to /cores provided that /etc/hostconfig has COREDUMPS=-YES- and the invoking user can write to cores. This, however, is not working. ------------------------------------------------------------------------ [2004-08-02 11:07:01] [EMAIL PROTECTED] Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/29330 -- Edit this bug report at http://bugs.php.net/?id=29330&edit=1
