Hi -
I'm having some PHP segfault issues, and I can't seem to figure out what's
wrong. Kinda frustrating :) The script i'm using to test is really simple,
and as I tweak it to figure out the failure point, I'm finding that it
/seems/ to break more reliably based on the presence of code **after** a
call to exit. This seems counterintuitive to me.
Being a novice to gdb, I was hoping someone might help me to understand
this backtrace?
#0 0x4010d76e in chunk_free () from /lib/libc.so.6
#1 0x4010d548 in free () from /lib/libc.so.6
#2 0x4033cb87 in shutdown_memory_manager (silent=1, clean_cache=0) at
/usr/local/src/build/php-4.3.2/Zend/zend_alloc.c:532
#3 0x403236cc in php_request_shutdown (dummy=0x0) at
/usr/local/src/build/php-4.3.2/main/main.c:992
#4 0x40365001 in apache_php_module_main (r=0x8103a84, display_source_mode=0)
at /usr/local/src/build/php-4.3.2/sapi/apache/sapi_apache.c:60
#5 0x40365b7e in send_php (r=0x8103a84, display_source_mode=0, filename=0x0)
at /usr/local/src/build/php-4.3.2/sapi/apache/mod_php4.c:617
#6 0x40365bd2 in send_parsed_php (r=0x8103a84) at
/usr/local/src/build/php-4.3.2/sapi/apache/mod_php4.c:632
#7 0x08053c73 in ap_invoke_handler ()
#8 0x08068bf7 in process_request_internal ()
#9 0x08068c58 in ap_process_request ()
#10 0x0805fa95 in child_main ()
#11 0x0805fc40 in make_child ()
#12 0x0805fdb4 in startup_children ()
#13 0x0806042c in standalone_main ()
#14 0x08060c8f in main ()
#15 0x400b01c4 in __libc_start_main () from /lib/libc.so.6
---------------------------------------------------------------------
michal migurski- contact info and pgp key:
sf/ca http://mike.teczno.com/contact.html
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php