6.0.0-beta1
7/9/25

[#11962] Cleanhtml.php Causes Segfault on Solaris 11
Summary Cleanhtml.php Causes Segfault on Solaris 11
Queue Horde Groupware
Queue Version 5.0.3
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester restep (at) eng (dot) utoledo (dot) edu
Created 01/15/2013 (4558 days ago)
Due
Updated 01/16/2013 (4557 days ago)
Assigned
Resolved 01/16/2013 (4557 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
01/16/2013 06:29:17 PM Michael Slusarz Comment #4
State ⇒ Not A Bug
Reply to this comment
I was using the PECL extension, so disabling it was the correct fix.
As the PECL documentation clearly states, this extension is PHP 4 ONLY.

01/16/2013 02:56:07 PM restep (at) eng (dot) utoledo (dot) edu Comment #3 Reply to this comment
The real solution would be to disable/uninstall the tidy extension 
and see if that fixes things.  If it does, there is an issue in that 
extension (hopefully you are not using the tidy PECL extension, 
since that won't work with PHP 5).
That worked for me.

I was using the PECL extension, so disabling it was the correct fix.

01/15/2013 07:49:51 PM Michael Slusarz Comment #2
Priority ⇒ 1. Low
Reply to this comment
Sending HTML messages was causing apache to segfault.
PHP code should NEVER cause PHP to segfault.  If so, it is a bug in 
*PHP*, not the userland PHP code.
The truss indicates there is a bounds issue somewhere in the php code.
The real solution would be to disable/uninstall the tidy extension and 
see if that fixes things.  If it does, there is an issue in that 
extension (hopefully you are not using the tidy PECL extension, since 
that won't work with PHP 5).
01/15/2013 04:31:07 PM restep (at) eng (dot) utoledo (dot) edu Comment #1
Priority ⇒ 2. Medium
New Attachment: solaris11_apache.truss Download
Patch ⇒ No
Milestone ⇒
Queue ⇒ Horde Groupware
Summary ⇒ Cleanhtml.php Causes Segfault on Solaris 11
Type ⇒ Bug
State ⇒ Unconfirmed
Reply to this comment
Sending HTML messages was causing apache to segfault. Trussing the 
apache program I was able to identify Cleanhtml.php as the source of 
the segfault (applicable truss is attached). Because postProcess() 
just filters the html, I was able to comment out the working lines of 
code and stop the segfault issue. The truss indicates there is a 
bounds issue somewhere in the php code.

Saved Queries