rc1 and rc2-dev SIG11 problem
| From: | Paul Jongsma | Date: | Fri, 28 Apr 2000 14:28:20 +0000 |
| Subject: | rc1 and rc2-dev SIG11 problem | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-14147@lists.php.net to get a copy of this message | ||
Compiled as a CGI module and running a script from the cron on a FreeBSD 3
machine I often get this coredump:
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (i386-unknown-freebsd),
Copyright 1996 Free Software Foundation, Inc...
Core was generated by `php4'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /web/server/mysql/lib/mysql/libmysqlclient.so.4.0...done.
Reading symbols from /usr/lib/libm.so.2...done.
Reading symbols from /usr/lib/libcrypt.so.2...done.
Reading symbols from /usr/lib/libc.so.3...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0 shutdown_memory_manager (silent=1, clean_cache=0) at zend_alloc.c:376
376 if (!iterator->cached(gdb) bt #0 shutdown_memory_manager (silent=1, clean_cache=0) at zend_alloc.c:376 #1 0x8083476 in php_request_shutdown (dummy=0x0) at main.c:681 #2 0x80592a2 in main (argc=2, argv=0xefbfddb8) at cgi_main.c:623 #3 0x8058915 in _start () After several repeated tries with RC1 I deciced to try the current cvs version, which gives the same results. It is the always the same script, which reads content from a website using fopen("http://") parses html and puts the results in a mysql table. There might be a bug in the script, but it's not supposed to sig11 php right? Running the script manually from the shell never caused a coredump, I tried many times... Any hints on how I can debug this further is appreciated... Thanks Paul