Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cd /root
- mkdir php
- cd php
- wget https://downloads.php.net/~ab/php-7.0.0beta1.tar.gz
- tar -xvf php-7.0.0beta1.tar.gz
- cd php-7.0.0beta1/
- ./configure '--with-apxs2=/usr/bin/apxs' '--with-mysqli' '--enable-soap' '--enable-sockets' '--enable-sysvsem' '--with-xsl' '--enable-zip' '--enable-mbstring' '--with-curl' '--with-mcrypt' '--enable-ftp' '--with-gd' '--with-jpeg-dir=/usr/lib' '--enable-exif' '--with-openssl' '--enable-pcntl' --enable-debug
- make
- make install
- azureuser@php7test1:~$ php --version
- PHP 7.0.0beta1 (cli) (built: Jul 17 2015 04:26:27) (DEBUG)
- Copyright (c) 1997-2015 The PHP Group
- Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
- Unit test execution with
- php /srv/www/trunk.php7test1.brainsonic.com/html/plugins/bsPlaylistPlugin/test/functional/services/bsPlaylistServicesActionsTest.php http://trunk-tv1-services-php7test1.brainsonic.com/
- ....
- Segmentation fault (core dumped)
- ulimit -c unlimited
- echo "/tmp/core-%e.%p" > /proc/sys/kernel/core_pattern
- gdb /usr/local/bin/php /tmp/core-php.9838
- php /srv/www/trunk.php7test1.brainsonic.com/html/plugins/bsPlaylistPlugin/test/functional/services/bsPlaylistServicesActionsTest.php http://trunk-tv1-services-php7test1.brainsonic.com/
- ....
- Segmentation fault (core dumped)
- gdb /usr/local/bin/php /tmp/core-php.9838
- GNU gdb (Ubuntu 7.9-1ubuntu1) 7.9
- Copyright (C) 2015 Free Software Foundation, Inc.
- License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
- This is free software: you are free to change and redistribute it.
- There is NO WARRANTY, to the extent permitted by law. Type "show copying"
- and "show warranty" for details.
- This GDB was configured as "x86_64-linux-gnu".
- Type "show configuration" for configuration details.
- For bug reporting instructions, please see:
- <http://www.gnu.org/software/gdb/bugs/>.
- Find the GDB manual and other documentation resources online at:
- <http://www.gnu.org/software/gdb/documentation/>.
- For help, type "help".
- Type "apropos word" to search for commands related to "word"...
- Reading symbols from /usr/local/bin/php...done.
- [New LWP 9838]
- [Thread debugging using libthread_db enabled]
- Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
- Core was generated by `php /srv/www/trunk.php7test1.brainsonic.com/html/plugins/bsPlaylistPlugin/test/'.
- Program terminated with signal SIGSEGV, Segmentation fault.
- #0 0x00000000009f2103 in zend_mm_alloc_small (heap=0x7f1535200040, size=56, bin_num=6, __zend_filename=0x10460a8 "/root/php/php-7.0.0beta1/ext/soap/php_sdl.c", __zend_lineno=1126, __zend_orig_filename=0x0, __zend_orig_lineno=0)
- at /root/php/php-7.0.0beta1/Zend/zend_alloc.c:1244
- 1244 heap->free_slot[bin_num] = p->next_free_slot;
- (gdb) bt
- #0 0x00000000009f2103 in zend_mm_alloc_small (heap=0x7f1535200040, size=56, bin_num=6, __zend_filename=0x10460a8 "/root/php/php-7.0.0beta1/ext/soap/php_sdl.c", __zend_lineno=1126, __zend_orig_filename=0x0, __zend_orig_lineno=0)
- at /root/php/php-7.0.0beta1/Zend/zend_alloc.c:1244
- #1 0x00000000009f2368 in zend_mm_alloc_heap (heap=0x7f1535200040, size=56, __zend_filename=0x10460a8 "/root/php/php-7.0.0beta1/ext/soap/php_sdl.c", __zend_lineno=1126, __zend_orig_filename=0x0, __zend_orig_lineno=0) at /root/php/php-7.0.0beta1/Zend/zend_alloc.c:1311
- #2 0x00000000009f447d in _emalloc (size=19, __zend_filename=0x10460a8 "/root/php/php-7.0.0beta1/ext/soap/php_sdl.c", __zend_lineno=1126, __zend_orig_filename=0x0, __zend_orig_lineno=0) at /root/php/php-7.0.0beta1/Zend/zend_alloc.c:2210
- #3 0x00000000009f497a in _estrdup (s=0x7f153261b038 "getMediasByTagName", __zend_filename=0x10460a8 "/root/php/php-7.0.0beta1/ext/soap/php_sdl.c", __zend_lineno=1126, __zend_orig_filename=0x0, __zend_orig_lineno=0) at /root/php/php-7.0.0beta1/Zend/zend_alloc.c:2309
- #4 0x00000000007f0780 in load_wsdl (this_ptr=0x7f153521a6e0, struri=0x7f1534e3dab8 "http://trunk-tv1-services-php7test1.brainsonic.com/wsdl_test?random=55a88558422fa") at /root/php/php-7.0.0beta1/ext/soap/php_sdl.c:1126
- #5 0x00000000007faf31 in get_sdl (this_ptr=0x7f153521a6e0, uri=0x7f1534e3dab8 "http://trunk-tv1-services-php7test1.brainsonic.com/wsdl_test?random=55a88558422fa", cache_wsdl=0) at /root/php/php-7.0.0beta1/ext/soap/php_sdl.c:3301
- #6 0x00000000007c2127 in zim_SoapClient_SoapClient (execute_data=0x7f153521a6c0, return_value=0x7f153521a650) at /root/php/php-7.0.0beta1/ext/soap/soap.c:2520
- #7 0x0000000000a87635 in ZEND_DO_FCALL_SPEC_HANDLER () at /root/php/php-7.0.0beta1/Zend/zend_vm_execute.h:836
- #8 0x0000000000a864cd in execute_ex (ex=0x7f1535215030) at /root/php/php-7.0.0beta1/Zend/zend_vm_execute.h:405
- #9 0x0000000000a865e2 in zend_execute (op_array=0x7f1535280000, return_value=0x0) at /root/php/php-7.0.0beta1/Zend/zend_vm_execute.h:449
- #10 0x0000000000a29705 in zend_execute_scripts (type=8, retval=0x0, file_count=2) at /root/php/php-7.0.0beta1/Zend/zend.c:1399
- #11 0x00000000009929bf in php_execute_script (primary_file=0x7ffd0fa77da0) at /root/php/php-7.0.0beta1/main/main.c:2472
- #12 0x0000000000aef5f4 in do_cli (argc=3, argv=0x20b2d90) at /root/php/php-7.0.0beta1/sapi/cli/php_cli.c:971
- #13 0x0000000000af07ae in main (argc=3, argv=0x20b2d90) at /root/php/php-7.0.0beta1/sapi/cli/php_cli.c:1338
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement