Edit report at https://bugs.php.net/bug.php?id=64836&edit=1
ID: 64836
Comment by: mah at everybody dot org
Reported by: r dot biegel at gmx dot at
Summary: segfault in softmagic.c
Status: Suspended
Type: Bug
Package: Unknown/Other Function
Operating System: Gentoo Linux
PHP Version: 5.4.15
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
Someone posting on this problem on the Gentoo forums
(https://forums.gentoo.org/viewtopic-p-7260284.html) said that they fixed this (or a similar
problem) by adding USE=nss for apr-utils.
Previous Comments:
------------------------------------------------------------------------
[2013-06-10 13:48:44] r dot biegel at gmx dot at
No change of behaviour with php 5.4.16 and 5.5.0_rc3.
------------------------------------------------------------------------
[2013-06-06 16:46:10] r dot biegel at gmx dot at
Shame on me, I still suffer from this crash. Somehow I confused the "-D SVN" and "-D
DAV" apache startup parameters and didn't add the SVN to the options when testing.
PHP Versions 5.3.25, 5.4.13, 5.4.14, 5.4.15 and 5.5.0_rc2 all segfault for me.
What did you mean with "TS build"? Treadsafe? I compiled php with threads enabled (at
least i specified the gentoo threads USE flag which seems to enable maintainer-zts).
------------------------------------------------------------------------
[2013-05-25 07:48:03] ab@php.net
Hi,
thanks for investing so much time in this ticket. After looking at the Gentoo
tickets
- #470828 seems to report about SVN issue in apache, PHP is only mentioned aside
- #467756 looks related to PHP, however 5.4.14. As i've mentioned, libmagic is
upgraded in 5.4.15, though one small regression was present. The crash in that
ticket is therefore most likely not relevant for 5.4.15 and later.
- The BT in this ticket isn't reproducible anymore by you, nor I could get it
crashy
Conclusion - I would suspend this bug and check when the new PHP version is out.
May be also some more info is present in the Gentoo tickets by that time.
Have a nice weekend :)
------------------------------------------------------------------------
[2013-05-23 11:04:18] r dot biegel at gmx dot at
OK, in short: I can't reproduce the segfault behaviour anymore.
Longer version:
- updated kernel from gentoo-hardened 3.8.12 to 3.9.2
- updated gcc to 4.7.3
- compiled php 5.4.13 and 5.4.14 and both work fine
- compiled php 5.4.15 again which now works fine too
- downgraded kernel and gcc to previous versions
- compiled php 5.4.15, still works
I just don't get it... I already had re-compiled php and apache before reporting as bug.
With "-D SVN" I meant the startup-arguments for apache on the command line. Don't
know if this is Gentoo specific, but it controls the loading of the svn DAV module.
At last I'd like to link these two bugs on gentoo bugzilla, which might be related:
https://bugs.gentoo.org/show_bug.cgi?id=467756
https://bugs.gentoo.org/show_bug.cgi?id=470828
Thanks for your help!
------------------------------------------------------------------------
[2013-05-21 08:00:47] ab@php.net
I've just compiled apache 2.4 with subversion 1.7.x module plus PHP-5.5, TS
build. But it still doesn't crash for me. Note that the libmagic is the same in
5.4 and 5.5 and was upgraded in 5.4.15 and 5.5.0 beta4.
To diagnose it further, is it possible you to check if the behavior is the same
with the earlier php versions? May be 5.4.14 or 5.5.0 beta3. Also i think this
behaviour is TS specific, svn might be even not the cause, too.
btw what do you mean "not using -D SVN"? As i've experienced the mod_dav_svn.so
has to be built from the subversion sources and is not contained in the apache
source tree.
Thanks.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
https://bugs.php.net/bug.php?id=64836
--
Edit this bug report at https://bugs.php.net/bug.php?id=64836&edit=1