php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #31178 Segmentation fault (again)
Submitted: 2004-12-18 10:46 UTC Modified: 2004-12-29 18:33 UTC
From: guth at fiifo dot u-psud dot fr Assigned:
Status: No Feedback Package: Scripting Engine problem
PHP Version: 5.0.3 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: guth at fiifo dot u-psud dot fr
New email:
PHP Version: OS:

 

 [2004-12-18 10:46 UTC] guth at fiifo dot u-psud dot fr
Description:
------------
No reproduce code, juste a GDB backtrace, because :

<!--
Debug information :
 - 10.667681932449 s.
 - 94 files included
 - 544.84 Ko of PHP code
 - 20676 lines
-->

I hope that this bug report will help you. I have no time to produce a PHP code.

Vincent Guth

Reproduce code:
---------------
(gdb) bt
#0  0x4031feb3 in zif_implode (ht=2, return_value=0x8ac98f4, this_ptr=0x0, return_value_used=1)
    at /usr/src/php-5.0.3RC1/ext/standard/string.c:885
#1  0x403d5f4c in zend_do_fcall_common_helper (execute_data=0xbfff50c0, opline=0x8493004, op_array=0x848f9c4)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2711
#2  0x403d66c5 in zend_do_fcall_handler (execute_data=0xbfff50c0, opline=0x8493004, op_array=0x848f9c4)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2843
#3  0x403d2542 in execute (op_array=0x848f9c4) at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:1400
#4  0x403d60e5 in zend_do_fcall_common_helper (execute_data=0xbfff5360, opline=0x848d484, op_array=0x8a96374)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2740
#5  0x403d65b7 in zend_do_fcall_by_name_handler (execute_data=0xbfff5360, opline=0x848d484, op_array=0x8a96374)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2825
#6  0x403d2542 in execute (op_array=0x8a96374) at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:1400
#7  0x403d60e5 in zend_do_fcall_common_helper (execute_data=0xbfff5610, opline=0x8497154, op_array=0x849613c)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2740
#8  0x403d65b7 in zend_do_fcall_by_name_handler (execute_data=0xbfff5610, opline=0x8497154, op_array=0x849613c)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2825
#9  0x403d2542 in execute (op_array=0x849613c) at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:1400
#10 0x403d60e5 in zend_do_fcall_common_helper (execute_data=0xbfff64f0, opline=0x8495a78, op_array=0x848f9c4)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2740
#11 0x403d65b7 in zend_do_fcall_by_name_handler (execute_data=0xbfff64f0, opline=0x8495a78, op_array=0x848f9c4)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2825
#12 0x403d2542 in execute (op_array=0x848f9c4) at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:1400
#13 0x403d60e5 in zend_do_fcall_common_helper (execute_data=0xbfff6790, opline=0x848d484, op_array=0x8a96374)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2740
#14 0x403d65b7 in zend_do_fcall_by_name_handler (execute_data=0xbfff6790, opline=0x848d484, op_array=0x8a96374)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2825
#15 0x403d2542 in execute (op_array=0x8a96374) at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:1400
#16 0x403d60e5 in zend_do_fcall_common_helper (execute_data=0xbfff6a40, opline=0x8497154, op_array=0x849613c)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2740
#17 0x403d65b7 in zend_do_fcall_by_name_handler (execute_data=0xbfff6a40, opline=0x8497154, op_array=0x849613c)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2825
#18 0x403d2542 in execute (op_array=0x849613c) at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:1400
#19 0x403d60e5 in zend_do_fcall_common_helper (execute_data=0xbfff7920, opline=0x8495a78, op_array=0x848f9c4)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2740
#20 0x403d65b7 in zend_do_fcall_by_name_handler (execute_data=0xbfff7920, opline=0x8495a78, op_array=0x848f9c4)
---Type <return> to continue, or q <return> to quit---
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2825
#21 0x403d2542 in execute (op_array=0x848f9c4) at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:1400
#22 0x403d60e5 in zend_do_fcall_common_helper (execute_data=0xbfff7bc0, opline=0x848d484, op_array=0x8a96374)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2740
#23 0x403d65b7 in zend_do_fcall_by_name_handler (execute_data=0xbfff7bc0, opline=0x848d484, op_array=0x8a96374)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2825
#24 0x403d2542 in execute (op_array=0x8a96374) at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:1400
#25 0x403d60e5 in zend_do_fcall_common_helper (execute_data=0xbfff7e70, opline=0x8497154, op_array=0x849613c)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2740
#26 0x403d65b7 in zend_do_fcall_by_name_handler (execute_data=0xbfff7e70, opline=0x8497154, op_array=0x849613c)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2825
#27 0x403d2542 in execute (op_array=0x849613c) at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:1400
#28 0x403d60e5 in zend_do_fcall_common_helper (execute_data=0xbfff8d50, opline=0x8495a78, op_array=0x848f9c4)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2740
#29 0x403d65b7 in zend_do_fcall_by_name_handler (execute_data=0xbfff8d50, opline=0x8495a78, op_array=0x848f9c4)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2825
#30 0x403d2542 in execute (op_array=0x848f9c4) at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:1400
#31 0x403d60e5 in zend_do_fcall_common_helper (execute_data=0xbfff8ff0, opline=0x848d484, op_array=0x8a96374)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2740
#32 0x403d65b7 in zend_do_fcall_by_name_handler (execute_data=0xbfff8ff0, opline=0x848d484, op_array=0x8a96374)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2825
#33 0x403d2542 in execute (op_array=0x8a96374) at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:1400
#34 0x403d60e5 in zend_do_fcall_common_helper (execute_data=0xbfffad40, opline=0x8ab3960, op_array=0x8a9d17c)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2740
#35 0x403d65b7 in zend_do_fcall_by_name_handler (execute_data=0xbfffad40, opline=0x8ab3960, op_array=0x8a9d17c)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2825
#36 0x403d2542 in execute (op_array=0x8a9d17c) at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:1400
#37 0x403d60e5 in zend_do_fcall_common_helper (execute_data=0xbfffb1c0, opline=0x81c5a9c, op_array=0x8a8528c)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2740
#38 0x403d65b7 in zend_do_fcall_by_name_handler (execute_data=0xbfffb1c0, opline=0x81c5a9c, op_array=0x8a8528c)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2825
#39 0x403d2542 in execute (op_array=0x8a8528c) at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:1400
#40 0x403d60e5 in zend_do_fcall_common_helper (execute_data=0xbfffb350, opline=0x8191c28, op_array=0x818f574)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2740
#41 0x403d65b7 in zend_do_fcall_by_name_handler (execute_data=0xbfffb350, opline=0x8191c28, op_array=0x818f574)
---Type <return> to continue, or q <return> to quit---
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2825
#42 0x403d2542 in execute (op_array=0x818f574) at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:1400
#43 0x403d60e5 in zend_do_fcall_common_helper (execute_data=0xbfffb8d0, opline=0x81c362c, op_array=0x8a8507c)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2740
#44 0x403d65b7 in zend_do_fcall_by_name_handler (execute_data=0xbfffb8d0, opline=0x81c362c, op_array=0x8a8507c)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2825
#45 0x403d2542 in execute (op_array=0x8a8507c) at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:1400
#46 0x403d60e5 in zend_do_fcall_common_helper (execute_data=0xbfffbc70, opline=0x81d4ae0, op_array=0x81d2414)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2740
#47 0x403d65b7 in zend_do_fcall_by_name_handler (execute_data=0xbfffbc70, opline=0x81d4ae0, op_array=0x81d2414)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2825
#48 0x403d2542 in execute (op_array=0x81d2414) at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:1400
#49 0x403d60e5 in zend_do_fcall_common_helper (execute_data=0xbfffce40, opline=0x817ec88, op_array=0x816bc6c)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2740
#50 0x403d65b7 in zend_do_fcall_by_name_handler (execute_data=0xbfffce40, opline=0x817ec88, op_array=0x816bc6c)
    at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:2825
#51 0x403d2542 in execute (op_array=0x816bc6c) at /usr/src/php-5.0.3RC1/Zend/zend_execute.c:1400
#52 0x403ab6f9 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at /usr/src/php-5.0.3RC1/Zend/zend.c:1060
#53 0x403632e0 in php_execute_script (primary_file=0xbffff1b0) at /usr/src/php-5.0.3RC1/main/main.c:1628
#54 0x403de480 in apache_php_module_main (r=0x815c31c, display_source_mode=0)
    at /usr/src/php-5.0.3RC1/sapi/apache/sapi_apache.c:54

#55 0x403df40b in send_php (r=0x815c31c, display_source_mode=0,
    filename=0x815fb14 "/www/haricow/0.4/haricow/test/runTests.php") at /usr/src/php-5.0.3RC1/sapi/apache/mod_php5.c:622
#56 0x403df484 in send_parsed_php (r=0x815c31c) at /usr/src/php-5.0.3RC1/sapi/apache/mod_php5.c:637
#57 0x08071e77 in ap_invoke_handler ()
#58 0x08086ebd in process_request_internal ()
#59 0x08086f1c in ap_process_request ()
#60 0x0807df40 in child_main ()
#61 0x0807e0e8 in make_child ()
#62 0x0807e24e in startup_children ()
#63 0x0807e90e in standalone_main ()
#64 0x0807f12c in main ()


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-12-18 23:40 UTC] derick@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc.

If possible, make the script source available online and provide
an URL to it here. Try avoid embedding huge scripts into the report.

Sorry, but we can not debug this without a short reproducing script.
 [2004-12-29 18:33 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon May 06 15:01:31 2024 UTC