Edit report at https://bugs.php.net/bug.php?id=64836&edit=1

 ID:                 64836
 Updated by:         a...@php.net
 Reported by:        r dot biegel at gmx dot at
 Summary:            segfault in softmagic.c
-Status:             Suspended
+Status:             Feedback
 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:

Thanks staying on this guys. Reading the linked ticket:

"Simply removing (and thus disabling file) /usr/share/misc/magic.mgc "fixes" 
issues 
with Mediawiki"

That could be a plausible explanation why PHP could fail, not sure about crash. 
As 
PHP uses a compiled in magic file which is strongly recommended to use (so no 
external file loading). However that explanation wouldn't exactly match with 
what 
"r dot biegel at gmx dot at" told earlier

"PHP Versions 5.3.25, 5.4.13, 5.4.14, 5.4.15 and 5.5.0_rc2 all segfault for 
me." 

where by 5.3 didn't become any libmagic upgrades since long. That fact makes me 
really confused, as that would mean even without upgrade the constellation of 
apache svn module and php would cause crash. 5.3 has libmagic 5.11 or older if 
i 
don't err.

And this is anyway something i can't reproduce compiling all the stuff 
manually. 
@r.biegel - if downgrading libmagic on your gentoo system works, i would close 
this 
ticket with the status "mystic" :)

Thanks


Previous Comments:
------------------------------------------------------------------------
[2013-07-09 08:46:08] sabel at altmuehlnet dot de

https://bugs.gentoo.org/show_bug.cgi?id=471682

Downgrading sys-apps/file to version 5.11 solved the issue for me.

------------------------------------------------------------------------
[2013-07-08 22:09:02] sabel at altmuehlnet dot de

I have the same issue on two different systems with two different applications 
(ownCloud and Roundcubemail).
Disabling (removing -D SVN) the svn module fixes the problem...
Any news on that issue?

------------------------------------------------------------------------
[2013-06-10 17:23:14] r dot biegel at gmx dot at

USE=nss doesn't work for me. Seems to be another problem, sorry.

------------------------------------------------------------------------
[2013-06-10 16:06:21] mah at everybody dot org

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.

------------------------------------------------------------------------
[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.

------------------------------------------------------------------------


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

Reply via email to