6.0.0-beta1
7/5/25

[#8710] IMP crashes while trying to display a message
Summary IMP crashes while trying to display a message
Queue IMP
Queue Version Git master
Type Bug
State Not A Bug
Priority 1. Low
Owners
Requester rsalmon (at) mbpgroup (dot) com
Created 11/16/2009 (5710 days ago)
Due
Updated 11/25/2009 (5701 days ago)
Assigned 11/16/2009 (5710 days ago)
Resolved 11/18/2009 (5708 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
11/25/2009 03:19:02 PM rsalmon (at) mbpgroup (dot) com Comment #9 Reply to this comment
I've downloaded/rebuild tidy-0.99.0-17.20070615 and install. Then 
rebuild php and reinstalled.
php no longer crashes!

I must have had a buggy version of tidy lib, and this is really weird 
that I didn't have any problem until now.

Anyway,
thanks for you help.
11/25/2009 02:44:58 PM Chuck Hagenbuch Comment #8 Reply to this comment
What do you see if you remove the error-suppressing @ on that line?
11/25/2009 01:33:56 PM rsalmon (at) mbpgroup (dot) com Comment #7 Reply to this comment
I ran strace on php and the problem seems to be coming from tidy.

If I disable the "tidy" call, everthing works :
     public function postProcess($text)
     {
             return $text;
     }


The following code is making php crash :
horde-git/framework/Text_Filter/lib/Horde/Text/Filter/Cleanhtml.php:68
$tidy = @tidy_parse_string(Horde_String::convertCharset($text, 
$this->_params['charset'], 'UTF-8'), $tidy_config, 'utf8');

libTidy Release         14 June 2007
Extension Version         2.0 ($Id: tidy.c 272374 2008-12-31 11:17:49Z sebastian $)

Can someone reproduce this ? If not, can you tell me what version of 
tidy are you running ?
Thanks.
11/23/2009 05:29:10 PM rsalmon (at) mbpgroup (dot) com Comment #6 Reply to this comment
Still crashing with php-5.2.11

Everything works perfectly if I disable inline html though!:

mime_drivers['imp']['html'] = array(
     'inline' => false,
...
11/18/2009 08:43:09 PM rsalmon (at) mbpgroup (dot) com Comment #5 Reply to this comment
Still an issue with PHP internals, though, and not with PHP userland 
code.  You probably need to do coredump/gdb analysis and then track 
over at bugs.php.net.
Probably shoudl have mention php/apache versions :
php 5.2.5
apache 2.2.2

I'll try to update php to lastest 5.2.x to see if it makes any differences.
I remember reading you about a buggy version of php but I can't find 
your post. Was it 5.2.5 ?


11/18/2009 07:05:50 PM Michael Slusarz Comment #4
State ⇒ Not A Bug
Reply to this comment
Still an issue with PHP internals, though, and not with PHP userland 
code.  You probably need to do coredump/gdb analysis and then track 
over at bugs.php.net.
11/17/2009 08:13:49 AM rsalmon (at) mbpgroup (dot) com Comment #3 Reply to this comment
Works fine here.  Are you sure you are using Git and not IMP 4.x?
Yes, here is the script I run to update imp/turba/kronolith

cvs update -dP
cd ../horde-git && git pull
cd ../horde-hatchery && git pull

# Now we have to refresh the Framework library symlinks:
cd ../horde
rm -rf libs/*
horde-fw-symlinks.php --src ../horde-git/framework
horde-fw-symlinks.php --src ../horde-hatchery/framework
horde-fw-symlinks.php

/bin/cp -a ../horde-hatchery/imp .
/bin/cp -a ../horde-hatchery/turba .
/bin/cp -a ../horde-hatchery/kronolith .
/bin/cp -a ../horde-hatchery/content .

11/16/2009 06:24:53 PM Michael Slusarz Comment #2
State ⇒ Feedback
Reply to this comment
Works fine here.  Are you sure you are using Git and not IMP 4.x?
11/16/2009 10:37:04 AM rsalmon (at) mbpgroup (dot) com Comment #1
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ IMP crashes while trying to display a message
Queue ⇒ IMP
Milestone ⇒
Patch ⇒ No
New Attachment: email.elm Download
State ⇒ Unconfirmed
Reply to this comment
IMP crashes while trying to display the attached message.
I get the following error in apache's log file:

[notice] child pid 18836 exit signal Floating point exception (8)

After further testing, we have lots of email, sent using different 
flavour of Outlook, that don't work with IMP/apache.

I believe those messages were displayed just fine last week or so.

Saved Queries