From: [EMAIL PROTECTED] Operating system: NetBSD/Alpha 1.5W-current PHP version: 4.0 Latest CVS (2001-06-28) PHP Bug Type: Sablotron XSL Bug description: php apache dso coredumps using die() inside function for xslt_set_error_handler function xsl_error($parser, $code, $level, $errors) { ... die("this will cause a coredump or fatal trap"); } xslt_set_error_handler($parser, "xsl_error"); by calling die() inside a function for xslt_set_error_handler will cause my NetBSD/Alpha system to either coredump or go to a fatal user trap. it coredumps if i didn't compile with '--enable-debug'. with debug compiled in, it usually reports a fatal user trap. this only happens with the PHP Apache DSO. as a cgi, it exits just fine. i've verified and repeated this on PHP 4.0.5 and the latest cvs. ---cut--- Jun 28 08:17:06 ns01 /netbsd: CPU 0: fatal user trap: Jun 28 08:17:08 ns01 /netbsd: Jun 28 08:17:08 ns01 /netbsd: CPU 0 trap entry = 0x4 (unaligned access fault) Jun 28 08:17:08 ns01 /netbsd: CPU 0 a0 = 0x2b5d3f5c5e5b5e27 Jun 28 08:17:08 ns01 /netbsd: CPU 0 a1 = 0x28 Jun 28 08:17:08 ns01 /netbsd: CPU 0 a2 = 0x1 Jun 28 08:17:08 ns01 /netbsd: CPU 0 pc = 0x1606b9c24 Jun 28 08:17:08 ns01 /netbsd: CPU 0 ra = 0x160731664 Jun 28 08:17:09 ns01 /netbsd: CPU 0 curproc = 0xfffffc00356af400 Jun 28 08:17:09 ns01 /netbsd: CPU 0 pid = 6108, comm = httpd Jun 28 08:17:09 ns01 /netbsd: Jun 28 08:17:09 ns01 /netbsd: pid 6108 (httpd), uid 71: exited on signal 11 (core not dumped, err = 1) ---cut--- -- Edit Bug report at: http://bugs.php.net/?id=11777&edit=1 -- 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]