MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000002XdebugUsage problems (Wrong Results)public2003-08-30 11:082003-08-30 23:36
Reportersebastian 
Assigned Toderick 
PrioritynormalSeveritycrashReproducibilityalways
StatusclosedResolutionopen 
PlatformOSOS Version
Product Version 
Target VersionFixed in Version 
Summary0000002: "pear package" triggers a segfault
Description"pear package" triggers a segfault
Additional Information(gdb) bt
#0 0x40653200 in xdebug_build_fname (edata=0xbfffde40,
    new_op_array=0x406de45c) at /usr/src/xdebug/xdebug.c:524
#1 0x4065339e in add_stack_frame (zdata=0xbfffde40, op_array=0x406de45c,
    type=52) at /usr/src/xdebug/xdebug.c:588
0000002 0x406538fd in xdebug_execute (op_array=0x406de45c)
    at /usr/src/xdebug/xdebug.c:740
0000003 0x08227ef5 in zend_call_function (fci=0xbfffdee0, fci_cache=0x0)
    at /usr/src/php/php5/Zend/zend_execute_API.c:739
0000004 0x08227189 in call_user_function_ex (function_table=0x83d0540,
    object_pp=0x0, function_name=0x40ba0380, retval_ptr_ptr=0xbfffdf60,
    param_count=0, params=0x40be4b6c, no_separation=0, symbol_table=0x0)
    at /usr/src/php/php5/Zend/zend_execute_API.c:513
0000005 0x0816ca03 in zif_call_user_func_array (ht=2, return_value=0x40b898f8,
    this_ptr=0x0, return_value_used=0)
    at /usr/src/php/php5/ext/standard/basic_functions.c:1955
0000006 0x08253504 in execute_internal (execute_data_ptr=0xbfffe8c0,
    return_value_used=0) at /usr/src/php/php5/Zend/zend_execute.c:1218
0000007 0x40653cd7 in xdebug_execute_internal (current_execute_data=0xbfffe8c0,
    return_value_used=0) at /usr/src/xdebug/xdebug.c:814
0000008 0x08257898 in zend_do_fcall_common_helper (execute_data=0xbfffe8c0,
    op_array=0x84468e8) at /usr/src/php/php5/Zend/zend_execute.c:2538
0000009 0x082580e1 in zend_do_fcall_handler (execute_data=0xbfffe8c0,
    op_array=0x84468e8) at /usr/src/php/php5/Zend/zend_execute.c:2682
0000010 0x0825368d in execute (op_array=0x84468e8)
    at /usr/src/php/php5/Zend/zend_execute.c:1267
0000011 0x40653a0e in xdebug_execute (op_array=0x84468e8)
    at /usr/src/xdebug/xdebug.c:782
0000012 0x08227ef5 in zend_call_function (fci=0xbfffee60, fci_cache=0x0)
    at /usr/src/php/php5/Zend/zend_execute_API.c:739
0000013 0x08227189 in call_user_function_ex (function_table=0x83d0540,
    object_pp=0x0, function_name=0x4067fcbc, retval_ptr_ptr=0xbfffeec4,
    param_count=0, params=0x40be4844, no_separation=1, symbol_table=0x0)
    at /usr/src/php/php5/Zend/zend_execute_API.c:513
0000014 0x08227040 in call_user_function (function_table=0x83d0540, object_pp=0x0,
    function_name=0x4067fcbc, retval_ptr=0xbfffef00, param_count=0,
    params=0x4067fc40) at /usr/src/php/php5/Zend/zend_execute_API.c:488
0000015 0x0816d5f0 in user_shutdown_function_call (
    shutdown_function_entry=0x4067f8a4)
    at /usr/src/php/php5/ext/standard/basic_functions.c:2075
0000016 0x0823bab8 in zend_hash_apply (ht=0x40680198,
    apply_func=0x816d599 <user_shutdown_function_call>)
    at /usr/src/php/php5/Zend/zend_hash.c:658
0000017 0x0816d96e in php_call_shutdown_functions ()
---Type <return> to continue, or q <return> to quit---
    at /usr/src/php/php5/ext/standard/basic_functions.c:2156
0000018 0x081ea83f in php_request_shutdown (dummy=0x0)
    at /usr/src/php/php5/main/main.c:1179
0000019 0x08261dac in main (argc=3, argv=0xbffff7b4)
    at /usr/src/php/php5/sapi/cli/php_cli.c:1013
0000020 0x404eeb47 in __libc_start_main () from /lib/libc.so.6
TagsNo tags attached.
Operating SystemLinux
PHP Version5.0.0-dev
Attached Files

- Relationships

-  Notes
(0000001)
derick (administrator)
2003-08-30 17:24

In order to track the bug I used "php -C -q -d include_path=/usr/local/lib/php -d output_buffering=1 /usr/local/lib/php/pearcmd.php package" instead of the "pear package" command which merely wraps and executes the statement above.
(0000002)
derick (administrator)
2003-08-30 23:36

Fixed in CVS

- Issue History
Date Modified Username Field Change
2003-08-30 11:08 sebastian New Issue
2003-08-30 17:24 derick Note Added: 0000001
2003-08-30 17:24 derick Assigned To => derick
2003-08-30 17:24 derick Status new => confirmed
2003-08-30 23:36 derick Note Added: 0000002
2003-08-30 23:36 derick Status confirmed => closed
2016-07-31 13:36 derick Category Usage problems => Usage problems (Crashes)
2016-07-31 13:38 derick Category Usage problems (Crashes) => Usage problems (Wrong Results)


Copyright © 2000 - 2017 MantisBT Team
Powered by Mantis Bugtracker