The chances that it's in the memory manager are very very slim...   The 
memory manager is a poor component - if there's a bug anywhere in PHP, the 
crash is very likely to appear to point at the memory manager :)

Does this script use any fancy modules?

Zeev

At 17:22 24/11/2001, Stig Venaas wrote:
>Hi
>
>I don't know for sure yet, but wanted to warn you. I'm digging into
>this, but right now I have a script that runs for a long time after
>the last line in the script is executed, and then it segfaults with:
>
><b>Fatal error</b>:  Maximum execution time of 30 seconds exceeded in 
><b>Unknown</b> on line <b>0</b><br>
>
>Program received signal SIGSEGV, Segmentation fault.
>0x40124df0 in chunk_free (ar_ptr=0x401cdf00, p=0x15f2e560) at malloc.c:3131
>3131    malloc.c: No such file or directory.
>         in malloc.c
>(gdb) bt
>#0  0x40124df0 in chunk_free (ar_ptr=0x401cdf00, p=0x15f2e560) at 
>malloc.c:3131
>#1  0x40124d59 in __libc_free (mem=0x15f2e5a0) at malloc.c:3054
>#2  0x080bd370 in _efree (ptr=0x15f2e5ac) at zend_alloc.c:246
>#3  0x080bd703 in shutdown_memory_manager (silent=1, clean_cache=1)
>     at zend_alloc.c:469
>#4  0x0805c3ba in php_module_shutdown () at main.c:1007
>#5  0x0805b05d in main (argc=2, argv=0xbffffb5c) at cgi_main.c:788
>#6  0x400c1177 in __libc_start_main (main=0x805a748 <main>, argc=2,
>     ubp_av=0xbffffb5c, init=0x80595b0 <_init>, fini=0x80e7f90 <_fini>,
>     rtld_fini=0x4000e184 <_dl_fini>, stack_end=0xbffffb4c)
>     at ../sysdeps/generic/libc-start.c:129
>
>Also note that the program runs for many minutes (I've set the time
>limit to 0), but it still gives an execution time error after the
>last line is executed, but then it runs for a long time after that
>error.
>
>Reproduced this on two different computers.
>
>Stig
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to