ID: 24196 Updated by: [EMAIL PROTECTED] Reported By: ramato at squiz dot net -Status: Open +Status: No Feedback Bug Type: Reproducible crash Operating System: Redhat 7.3 PHP Version: 4.3.2 New Comment:
No short example script provided. Previous Comments: ------------------------------------------------------------------------ [2003-06-17 00:20:32] ramato at squiz dot net I might be able to arrange shell access to the machine and show you the code thats doing it if that would help ? The problem is that its in a codebase which has around 300,000 lines of code in it which makes pinning it down more difficult. But if you think shell access to the machine would help let me know. ------------------------------------------------------------------------ [2003-06-16 08:18:49] [EMAIL PROTECTED] We really need the example script, otherwise it's impossible to even guess where the problem is.. ------------------------------------------------------------------------ [2003-06-16 01:16:39] ramato at squiz dot net I forgot to include the actual seg fault message in the report. (gdb) run -X Starting program: /usr/local/apache/bin/httpd -X Program received signal SIGSEGV, Segmentation fault. 0x4024b352 in php_var_serialize_class_name (buf=0xbffd9fec, struc=0x86829d0) at /root/apache+php/php4-STABLE-200306160330/ext/standard/var.c:416 416 PHP_SET_CLASS_ATTRIBUTES(*struc); ------------------------------------------------------------------------ [2003-06-15 23:59:34] ramato at squiz dot net Snapshot still crashes. Backtrace looks esentially identical. I will see if I can get a simple test script but I have tried a few times in the past to make one and havn't been able to. I have a bunch of core files that I can work on and I can reproduce it every time, however I couldn't work out enough about the internals to figure out how to get gdb to print out the var that is getting passed to it (which I suspect to be the problem). I tried asking on the dev list if anyone has any ideas about this and they suggested recompiling with gcc 2.95 but that didn't make any difference. ------------------------------------------------------------------------ [2003-06-15 22:19:35] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip And if that crashes too, please try to provide a short example script.. ------------------------------------------------------------------------ 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/24196 -- Edit this bug report at http://bugs.php.net/?id=24196&edit=1