Crash in _get_zval_ptr_ptr_var
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
php |
Unknown
|
Unknown
|
|||
php5 (Ubuntu) |
Fix Released
|
High
|
Unassigned |
Bug Description
Hello,
I'm getting a systematic php segmentation fault when accessing my Zenphoto http://
The following php packages are installed on the system (Saucy).
ii libapache2-mod-php5 5.5.3+dfsg-1ubuntu1 amd64 server-side, HTML-embedded scripting language (Apache 2 module)
ii php5 5.5.3+dfsg-1ubuntu1 all server-side, HTML-embedded scripting language (metapackage)
ii php5-common 5.5.3+dfsg-1ubuntu1 amd64 Common files for packages built from the php5 source
ii php5-gd 5.5.3+dfsg-1ubuntu1 amd64 GD module for php5
ii php5-mysql 5.5.3+dfsg-1ubuntu1 amd64 MySQL module for php5
The same code/config combo runs fine with php 5.3.10 on another server. It also runs fine with PHP 5.5.4 from ppa:chris-
In apache's log I only get:
[Tue Oct 08 09:48:36.746162 2013] [core:notice] [pid 8891] AH00052: child pid 8896 exit signal Segmentation fault (11)
After enabling core dumps, I could get a backtrace:
(gdb) bt
#0 zval_delref_p (pz=<optimized out>) at /build/
#1 zend_pzval_
#2 _get_zval_
#3 ZEND_FETCH_
#4 0x00007fddbb473928 in execute_ex (execute_
#5 0x00007fddbb44b760 in zend_execute_
#6 0x00007fddbb3eba95 in php_execute_script (primary_
#7 0x00007fddbb4fb8ca in php_handler (r=<optimized out>) at /build/
#8 0x00007fddc2f1f320 in ap_run_handler ()
#9 0x00007fddc2f1f6f9 in ap_invoke_handler ()
#10 0x00007fddc2f3458a in ap_process_
#11 0x00007fddc2f34874 in ap_process_request ()
#12 0x00007fddc2f31302 in ?? ()
#13 0x00007fddc2f28210 in ap_run_
#14 0x00007fddbbe1a767 in ?? () from /usr/lib/
#15 0x00007fddbbe1a9a6 in ?? () from /usr/lib/
#16 0x00007fddbbe1aa06 in ?? () from /usr/lib/
#17 0x00007fddbbe1b6f0 in ?? () from /usr/lib/
#18 0x00007fddc2f064ae in ap_run_mpm ()
#19 0x00007fddc2effc66 in main ()
I also get the same segfault in running php in CGI mode.
Changed in php5 (Ubuntu): | |
status: | New → Triaged |
importance: | Undecided → High |
summary: |
- php 5.5.3 segfault + Crash in _get_zval_ptr_ptr_var |
Thank you for reporting this bug and helping to make Ubuntu better.
This could be upstream bug https:/ /bugs.php. net/bug. php?id= 65510 fixed in http:// git.php. net/?p= php-src. git;a=commitdif f;h=5015c4af6c1 d2af992e0525f10 e93b01043730e1 but it isn't clear without a test case. Do you have a minimal test case we can use to test proposed fixes, please?