php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64029 segfault on libphp5.so
Submitted: 2013-01-18 22:27 UTC Modified: 2013-01-22 00:29 UTC
From: jmdoren at ok dot cl Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.4.11 OS:
Private report: No CVE-ID: None
 [2013-01-18 22:27 UTC] jmdoren at ok dot cl
Description:
------------
segfault on libphp5.so
Jan 18 18:34:43 db2 kernel: httpd[20339]: segfault at 71 ip 00007f00043b28ac sp 
00007efff47f2700 error 4 in libphp5.so[7f0003f99000+912000]
Jan 18 18:35:35 db2 kernel: httpd[21958]: segfault at 18 ip 00007f0004378d45 sp 
00007efff33f0620 error 4 in libphp5.so[7f0003f99000+912000]

the php was compiled like this:
'./configure' '--disable-phar' '--with-mysqli=mysqlnd' '--with-mysql' '--with-
apxs2=/usr/local/apache2/bin/apxs' '--with-config-file-path=/etc' '--enable-
calendar' '--disable-simplexml' '--enable-libxml' '--with-curl' '--enable-
mbstring' '--with-gd' '--with-jpeg-dir=/usr/lib64/' '--with-t1lib' '--enable-gd-
native-ttf' '--with-freetype-dir=/usr/local' '--with-zlib'

it also runs with eAccelerator v1.0-dev, Copyright (c) 2004-2012 eAccelerator, 
by eAccelerator




Test script:
---------------
Don't know, I use mysqli and cUrl but may be another lib


Actual result:
--------------
Jan 18 18:34:43 db2 kernel: httpd[20339]: segfault at 71 ip 00007f00043b28ac sp 
00007efff47f2700 error 4 in libphp5.so[7f0003f99000+912000]
Jan 18 18:35:35 db2 kernel: httpd[21958]: segfault at 18 ip 00007f0004378d45 sp 
00007efff33f0620 error 4 in libphp5.so[7f0003f99000+912000]

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-01-21 01:13 UTC] aharvey@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.

Please check whether PHP crashes at all without third party modules such as eAccelerator. If so, please provide a short, self contained example that segfaults PHP, and a backtrace (as described above).

Thanks!
 [2013-01-21 01:13 UTC] aharvey@php.net
-Status: Open +Status: Feedback -Package: Unknown/Other Function +Package: Reproducible crash
 [2013-01-21 16:11 UTC] jmdoren at ok dot cl
apparently the bug was on eAccelerator, I disabled it and php works fine now
 [2013-01-21 16:11 UTC] jmdoren at ok dot cl
-Status: Feedback +Status: Closed
 [2013-01-22 00:29 UTC] aharvey@php.net
-Status: Closed +Status: Not a bug
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 13:01:29 2024 UTC