Advertisement
Guest User

Untitled

a guest
Jul 16th, 2015
273
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.27 KB | None | 0 0
  1. cd /root
  2. mkdir php
  3. cd php
  4. wget https://downloads.php.net/~ab/php-7.0.0beta1.tar.gz
  5. tar -xvf php-7.0.0beta1.tar.gz
  6. cd php-7.0.0beta1/
  7. ./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
  8. make
  9. make install
  10. azureuser@php7test1:~$ php --version
  11. PHP 7.0.0beta1 (cli) (built: Jul 17 2015 04:26:27) (DEBUG)
  12. Copyright (c) 1997-2015 The PHP Group
  13. Zend Engine v3.0.0-dev, Copyright (c) 1998-2015 Zend Technologies
  14.  
  15.  
  16. Unit test execution with
  17. php /srv/www/trunk.php7test1.brainsonic.com/html/plugins/bsPlaylistPlugin/test/functional/services/bsPlaylistServicesActionsTest.php http://trunk-tv1-services-php7test1.brainsonic.com/
  18. ....
  19. Segmentation fault (core dumped)
  20.  
  21. ulimit -c unlimited
  22. echo "/tmp/core-%e.%p" > /proc/sys/kernel/core_pattern
  23.  
  24. gdb /usr/local/bin/php /tmp/core-php.9838
  25. php /srv/www/trunk.php7test1.brainsonic.com/html/plugins/bsPlaylistPlugin/test/functional/services/bsPlaylistServicesActionsTest.php http://trunk-tv1-services-php7test1.brainsonic.com/
  26. ....
  27. Segmentation fault (core dumped)
  28.  
  29. gdb /usr/local/bin/php /tmp/core-php.9838
  30. GNU gdb (Ubuntu 7.9-1ubuntu1) 7.9
  31. Copyright (C) 2015 Free Software Foundation, Inc.
  32. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
  33. This is free software: you are free to change and redistribute it.
  34. There is NO WARRANTY, to the extent permitted by law. Type "show copying"
  35. and "show warranty" for details.
  36. This GDB was configured as "x86_64-linux-gnu".
  37. Type "show configuration" for configuration details.
  38. For bug reporting instructions, please see:
  39. <http://www.gnu.org/software/gdb/bugs/>.
  40. Find the GDB manual and other documentation resources online at:
  41. <http://www.gnu.org/software/gdb/documentation/>.
  42. For help, type "help".
  43. Type "apropos word" to search for commands related to "word"...
  44. Reading symbols from /usr/local/bin/php...done.
  45. [New LWP 9838]
  46. [Thread debugging using libthread_db enabled]
  47. Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
  48. Core was generated by `php /srv/www/trunk.php7test1.brainsonic.com/html/plugins/bsPlaylistPlugin/test/'.
  49. Program terminated with signal SIGSEGV, Segmentation fault.
  50. #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)
  51. at /root/php/php-7.0.0beta1/Zend/zend_alloc.c:1244
  52. 1244 heap->free_slot[bin_num] = p->next_free_slot;
  53. (gdb) bt
  54. #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)
  55. at /root/php/php-7.0.0beta1/Zend/zend_alloc.c:1244
  56. #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
  57. #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
  58. #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
  59. #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
  60. #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
  61. #6 0x00000000007c2127 in zim_SoapClient_SoapClient (execute_data=0x7f153521a6c0, return_value=0x7f153521a650) at /root/php/php-7.0.0beta1/ext/soap/soap.c:2520
  62. #7 0x0000000000a87635 in ZEND_DO_FCALL_SPEC_HANDLER () at /root/php/php-7.0.0beta1/Zend/zend_vm_execute.h:836
  63. #8 0x0000000000a864cd in execute_ex (ex=0x7f1535215030) at /root/php/php-7.0.0beta1/Zend/zend_vm_execute.h:405
  64. #9 0x0000000000a865e2 in zend_execute (op_array=0x7f1535280000, return_value=0x0) at /root/php/php-7.0.0beta1/Zend/zend_vm_execute.h:449
  65. #10 0x0000000000a29705 in zend_execute_scripts (type=8, retval=0x0, file_count=2) at /root/php/php-7.0.0beta1/Zend/zend.c:1399
  66. #11 0x00000000009929bf in php_execute_script (primary_file=0x7ffd0fa77da0) at /root/php/php-7.0.0beta1/main/main.c:2472
  67. #12 0x0000000000aef5f4 in do_cli (argc=3, argv=0x20b2d90) at /root/php/php-7.0.0beta1/sapi/cli/php_cli.c:971
  68. #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