Wild guess, but did you load an extension using dl() in the file that crashed?

Zeev

At 15:23 21/05/2002, Dave Brotherstone wrote:
>Hi,
>   I've got a particular script that seg-faults when certain parts of it run
>(tested with 4.1.0 and 4.2.1, both CGI and Apache module).
>
>I've done a back trace, included below.
>
>Linux 2.4.18 (Redhat 7.0).
>
>I'm not sure what to do next, as if it is something not free'ing properly,
>or free'ing twice (as hinted in the bt), then are there any ways I can tell
>where?
>
>Many thanks for any pointers,
>
>Dave.
>
>#0  0x40139566 in chunk_free (ar_ptr=0x401dbce0, p=0x81a5360) at
>malloc.c:3131
>#1  0x40139334 in __libc_free (mem=0x81a5368) at malloc.c:3043
>#2  0x80e7d67 in shutdown_memory_manager (silent=0, clean_cache=0)
>     at zend_alloc.c:485
>#3  0x8062049 in php_request_shutdown (dummy=0x0) at main.c:742
>#4  0x80608ff in main (argc=1, argv=0xbffffb34) at cgi_main.c:776
>#5  0x400d9b65 in __libc_start_main (main=0x8060610 <main>, argc=1,
>     ubp_av=0xbffffb34, init=0x805f000 <_init>, fini=0x8117fbc <_fini>,
>     rtld_fini=0x4000df24 <_dl_fini>, stack_end=0xbffffb2c)
>     at ../sysdeps/generic/libc-start.c:111
>
>
>Line 485 of zend_alloc.c is the zend_message_dispatcher line
>
>  if (!silent) {
>          zend_message_dispatcher(ZMSG_MEMORY_LEAK_DETECTED, t);
>  }
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, visit: http://www.php.net/unsub.php


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to