Skip to content

jsond Segmentation fault for php5.6 #23

Open
@gufei

Description

@gufei

php 5.6.39
apache 2.2.22
centos 6.6
jsond 1.4.0 use --enable-jsond-prefixing

Program received signal SIGSEGV, Segmentation fault.
0x00007fd61e2b9ea5 in ?? () from /usr/lib64/httpd/modules/libphp5.so
(gdb) bt
#0  0x00007fd61e2b9ea5 in ?? () from /usr/lib64/httpd/modules/libphp5.so
#1  0x00007fd6143663ee in php_json_parser_object_update (parser=0x7fffc8eeb750, object=<value optimized out>,
    key__val=0x7fd62907d058 "", key__len=0, zvalue=0x7fffc8ee9758) at /root/src/jsond-1.4.0/jsond_parser.tab.c:1902
#2  0x00007fd614366f23 in php_json_yyparse (parser=0x7fffc8eeb750) at /root/src/jsond-1.4.0/jsond_parser.tab.c:1502
#3  0x00007fd614361b23 in php_json_decode_ex (return_value=0x7fd62c2c10c0, str=<value optimized out>,
    str_len=<value optimized out>, options=<value optimized out>, depth=<value optimized out>) at /root/src/jsond-1.4.0/jsond.c:303
#4  0x00007fd614361c01 in zif_json_decode (ht=<value optimized out>, return_value=0x7fd62c2c10c0,
    return_value_ptr=<value optimized out>, this_ptr=<value optimized out>, return_value_used=<value optimized out>)
    at /root/src/jsond-1.4.0/jsond.c:379
#5  0x00007fd61e3618b0 in ?? () from /usr/lib64/httpd/modules/libphp5.so
#6  0x00007fd61e351138 in execute_ex () from /usr/lib64/httpd/modules/libphp5.so
#7  0x00007fd61e2d4c40 in zend_call_function () from /usr/lib64/httpd/modules/libphp5.so
#8  0x00007fd61e222bc7 in ?? () from /usr/lib64/httpd/modules/libphp5.so
#9  0x00007fd61e3618b0 in ?? () from /usr/lib64/httpd/modules/libphp5.so
#10 0x00007fd61e351138 in execute_ex () from /usr/lib64/httpd/modules/libphp5.so
#11 0x00007fd61e2d4c40 in zend_call_function () from /usr/lib64/httpd/modules/libphp5.so
#12 0x00007fd61e2faf27 in zend_call_method () from /usr/lib64/httpd/modules/libphp5.so
#13 0x00007fd61e30d1b6 in zend_std_callstatic_user_call () from /usr/lib64/httpd/modules/libphp5.so
#14 0x00007fd61e3618b0 in ?? () from /usr/lib64/httpd/modules/libphp5.so
#15 0x00007fd61e351138 in execute_ex () from /usr/lib64/httpd/modules/libphp5.so
#16 0x00007fd61e2d4c40 in zend_call_function () from /usr/lib64/httpd/modules/libphp5.so
#17 0x00007fd61e222bc7 in ?? () from /usr/lib64/httpd/modules/libphp5.so
#18 0x00007fd61e3618b0 in ?? () from /usr/lib64/httpd/modules/libphp5.so
#19 0x00007fd61e351138 in execute_ex () from /usr/lib64/httpd/modules/libphp5.so
#20 0x00007fd61e2d4c40 in zend_call_function () from /usr/lib64/httpd/modules/libphp5.so
#21 0x00007fd61e2faf27 in zend_call_method () from /usr/lib64/httpd/modules/libphp5.so
#22 0x00007fd61e30d1b6 in zend_std_callstatic_user_call () from /usr/lib64/httpd/modules/libphp5.so
#23 0x00007fd61e3618b0 in ?? () from /usr/lib64/httpd/modules/libphp5.so
#24 0x00007fd61e351138 in execute_ex () from /usr/lib64/httpd/modules/libphp5.so
#25 0x00007fd61e2d4c40 in zend_call_function () from /usr/lib64/httpd/modules/libphp5.so
#26 0x00007fd61e222bc7 in ?? () from /usr/lib64/httpd/modules/libphp5.so
#27 0x00007fd61e3618b0 in ?? () from /usr/lib64/httpd/modules/libphp5.so
#28 0x00007fd61e351138 in execute_ex () from /usr/lib64/httpd/modules/libphp5.so
#29 0x00007fd61e2e197c in zend_execute_scripts () from /usr/lib64/httpd/modules/libphp5.so
#30 0x00007fd61e27f4ea in php_execute_script () from /usr/lib64/httpd/modules/libphp5.so
#31 0x00007fd61e38923d in ?? () from /usr/lib64/httpd/modules/libphp5.so
#32 0x00007fd62927a7ca in ap_run_handler (r=0x7fd62b9f4518) at /home/brewbuilder/rpms/BUILD/httpd-2.2.22/server/config.c:157
#33 0x00007fd62927db32 in ap_invoke_handler (r=0x7fd62b9f4518) at /home/brewbuilder/rpms/BUILD/httpd-2.2.22/server/config.c:376
#34 0x00007fd6292889a8 in ap_process_request (r=0x7fd62b9f4518)
    at /home/brewbuilder/rpms/BUILD/httpd-2.2.22/modules/http/http_request.c:282
#35 0x00007fd629285a50 in ap_process_http_connection (c=0x7fd62b9e86a8)
    at /home/brewbuilder/rpms/BUILD/httpd-2.2.22/modules/http/http_core.c:190
#36 0x00007fd629281ae2 in ap_run_process_connection (c=0x7fd62b9e86a8)
    at /home/brewbuilder/rpms/BUILD/httpd-2.2.22/server/connection.c:43
#37 0x00007fd62928d14d in child_main (child_num_arg=<value optimized out>)
    at /home/brewbuilder/rpms/BUILD/httpd-2.2.22/server/mpm/prefork/prefork.c:667
#38 0x00007fd62928d3fa in make_child (s=0x7fd62b149860, slot=1)
    at /home/brewbuilder/rpms/BUILD/httpd-2.2.22/server/mpm/prefork/prefork.c:768
#39 0x00007fd62928dc5d in ap_mpm_run (_pconf=<value optimized out>, plog=<value optimized out>, s=<value optimized out>)
    at /home/brewbuilder/rpms/BUILD/httpd-2.2.22/server/mpm/prefork/prefork.c:903
#40 0x00007fd629267625 in main (argc=1, argv=0x7fffc8eef5b8) at /home/brewbuilder/rpms/BUILD/httpd-2.2.22/server/main.c:753

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions