|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-07-30 18:37 UTC] sterling@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 19:00:01 2025 UTC |
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---