|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-07-18 14:14 UTC] tony2001@php.net
[2006-07-18 14:49 UTC] gabriel dot zerbib at protilab dot com
[2006-07-26 01:00 UTC] php-bugs at lists dot php dot net
[2006-08-17 09:22 UTC] gabriel dot zerbib at protilab dot com
[2006-08-17 09:42 UTC] gerome dot fournier at infomaniak dot ch
[2006-08-17 09:43 UTC] tony2001@php.net
[2006-08-17 09:48 UTC] gabriel dot zerbib at protilab dot com
[2006-08-17 10:01 UTC] tony2001@php.net
[2006-08-17 11:17 UTC] gerome dot fournier at infomaniak dot ch
[2006-08-17 11:56 UTC] tony2001@php.net
[2006-08-18 09:08 UTC] gabriel dot zerbib at protilab dot com
[2006-08-21 08:20 UTC] tony2001@php.net
[2006-08-29 01:00 UTC] php-bugs at lists dot php dot net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Nov 04 23:00:01 2025 UTC |
Description: ------------ Making a simple xml transformation using xslt_process gives from time to time a segfault. The php code looks like this: $xmlFile = "file.xml"; $xsl_url = "file.xsl"; $result = xslt_process($xh, $xmlFile, $xsl_url); if ($result) { echo $result; } else { echo "Error"; } xslt_free($xh); I provide hereafter a backtrace after the segfault occured: Program received signal SIGPIPE, Broken pipe. [Switching to Thread -1209740000 (LWP 4068)] 0xb7f1f5e8 in writev () from /lib/tls/libc.so.6 (gdb) bt #0 0xb7f1f5e8 in writev () from /lib/tls/libc.so.6 #1 0xb6db9cbf in ssl_io_hook_writev () from /opt/apache/libexec/libssl.so #2 0xbf886f40 in ?? () #3 0x00000002 in ?? () #4 0x081228c4 in ?? () #5 0x00000000 in ?? () #6 0x00000017 in ?? () #7 0x00000000 in ?? () #8 0x00003908 in ?? () #9 0x081228c4 in ?? () #10 0x00000000 in ?? () #11 0x080cbd04 in ?? () #12 0x0807f4a7 in ap_hook_call_func () #13 0xb7979494 in sapi_send_headers () at /root/SOURCES/php4-debug/php-4.4.2/main/SAPI.c:813 #14 0xb7987c6e in php_ub_body_write_no_header ( str=0x84413b4 "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"fr\" xml:lang=\"fr\">\n <head>\n <title>Protilab - gestion</title>\n <style>\n\t\t\t\tbody {\n\t\t\t\t\tfont-family: tahoma;\n\t\t\t\t\tfont-size: 8pt;\n\t\t\t\t\tmargin-top"..., str_length=91404) at /root/SOURCES/php4-debug/php-4.4.2/main/output.c:692 #15 0xb7987d2f in php_ub_body_write ( str=0x84413b4 "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"fr\" xml:lang=\"fr\">\n <head>\n <title>Protilab - gestion</title>\n <style>\n\t\t\t\tbody {\n\t\t\t\t\tfont-family: tahoma;\n\t\t\t\t\tfont-size: 8pt;\n\t\t\t\t\tmargin-top"..., str_length=91404) at /root/SOURCES/php4-debug/php-4.4.2/main/output.c:725 #16 0xb798702d in php_end_ob_buffer (send_buffer=1 '\001', just_flush=1 '\001') at /root/SOURCES/php4-debug/php-4.4.2/main/output.c:302 #17 0xb7988979 in php_ob_append ( text=0x83c6f24 "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"fr\" xml:lang=\"fr\">\n <head>\n <title>Protilab - gestion</title>\n <style>\n\t\t\t\tbody {\n\t\t\t\t\tfont-family: tahoma;\n\t\t\t\t\tfont-size: 8pt;\n\t\t\t\t\tmargin-top"..., text_length=91404) at /root/SOURCES/php4-debug/php-4.4.2/main/output.c:619 #18 0xb7987c3d in php_b_body_write ( str=0x83c6f24 "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"fr\" xml:lang=\"fr\">\n <head>\n <title>Protilab - gestion</title>\n <style>\n\t\t\t\tbody {\n\t\t\t\t\tfont-family: tahoma;\n\t\t\t\t\tfont-size: 8pt;\n\t\t\t\t\tmargin-top"..., str_length=91404) at /root/SOURCES/php4-debug/php-4.4.2/main/output.c:678 #19 0xb79868ad in php_body_write ( str=0x83c6f24 "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"fr\" xml:lang=\"fr\">\n <head>\n <title>Protilab - gestion</title>\n <style>\n\t\t\t\tbody {\n\t\t\t\t\tfont-family: tahoma;\n\t\t\t\t\tfont-size: 8pt;\n\t\t\t\t\tmargin-top"..., str_length=91404) at /root/SOURCES/php4-debug/php-4.4.2/main/output.c:121 #20 0xb797090b in php_body_write_wrapper ( str=0x83c6f24 "<html xmlns=\"http://www.w3.org/1999/xhtml\" lang=\"fr\" xml:lang=\"fr\">\n <head>\n <title>Protilab - gestion</title>\n <style>\n\t\t\t\tbody {\n\t\t\t\t\tfont-family: tahoma;\n\t\t\t\t\tfont-size: 8pt;\n\t\t\t\t\tmargin-top"..., str_length=91404) at /root/SOURCES/php4-debug/php-4.4.2/main/main.c:1029 #21 0xb79a8b7f in zend_print_zval_ex (write_func=0xb79708f3 <php_body_write_wrapper>, expr=0x85139a4, indent=0) at /root/SOURCES/php4-debug/php-4.4.2/Zend/zend.c:211 #22 0xb79a8b08 in zend_print_zval (expr=0x85139a4, indent=0) at /root/SOURCES/php4-debug/php-4.4.2/Zend/zend.c:192 #23 0xb79a8612 in zend_print_variable (var=0x85139a4) at /root/SOURCES/php4-debug/php-4.4.2/Zend/zend_variables.c:151 #24 0xb79bbd1a in execute (op_array=0x8440adc) at /root/SOURCES/php4-debug/php-4.4.2/Zend/zend_execute.c:1270 #25 0xb79a9e68 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /root/SOURCES/php4-debug/php-4.4.2/Zend/zend.c:934 #26 0xb79722a6 in php_execute_script (primary_file=0xbf889830) at /root/SOURCES/php4-debug/php-4.4.2/main/main.c:1753 #27 0xb79c34df in apache_php_module_main (r=0x81228c4, display_source_mode=0) at /root/SOURCES/php4-debug/php-4.4.2/sapi/apache/sapi_apache.c:54 #28 0xb79c427c in send_php (r=0x81228c4, display_source_mode=0, filename=0x8124634 "/home/www/5be1dded2c48ff4fd001cc540b87e6f9/web/test/xsltprocess.php") at /root/SOURCES/php4-debug/php-4.4.2/sapi/apache/mod_php4.c:627 #29 0xb79c42f2 in send_parsed_php (r=0x81228c4) at /root/SOURCES/php4-debug/php-4.4.2/sapi/apache/mod_php4.c:642 ---Type <return> to continue, or q <return> to quit--- #30 0x08055dff in ap_invoke_handler () #31 0x081228c4 in ?? () #32 0xb7bd85a2 in tinytens () from /opt/apache/libexec/libphp4.so #33 0x00000017 in ?? () #34 0xffffffff in ?? () #35 0xffffffff in ?? () #36 0xffffffff in ?? () #37 0x080c19bc in ?? () #38 0x080c19ac in ?? () #39 0x08122bcc in ?? () #40 0xbf889ba0 in ?? () #41 0x00000002 in ?? () #42 0x0805592c in run_method () #43 0x00000017 in ?? () #44 0x08398b90 in ?? () #45 0x081228c4 in ?? () #46 0x080c46a4 in ?? () #47 0x081228c4 in ?? () #48 0xb7e4bd32 in add_env_module_vars_unset () from /opt/apache/libexec/mod_env.so #49 0x00000017 in ?? () #50 0x00000000 in ?? () #51 0x080c46a4 in ?? () #52 0x08398b90 in ?? () #53 0x0806f3c1 in process_request_internal () #54 0x081228c4 in ?? () #55 0x080af210 in status_lines () #56 0xbf889d28 in ?? () #57 0x080515ff in ap_table_get () #58 0x08124264 in ?? () #59 0x080acece in priorities () #60 0xb7e63974 in __libc_start_main () from /lib/tls/libc.so.6 #61 0xb7e63974 in __libc_start_main () from /lib/tls/libc.so.6 #62 0x08050051 in _start () at ../sysdeps/i386/elf/start.S:102