6.0.0-beta1
▾
Tasks
New Task
Search
Photos
Wiki
▾
Tickets
New Ticket
Search
dev.horde.org
Toggle Alerts Log
Help
11/29/25
H
istory
A
ttachments
C
omment
W
atch
Download
Comment on [#10252] Infinite loop breaks apache
*
Your Email Address
*
Spam protection
Enter the letters below:
.__ .__ . .___..__ [__)[ __| | [__) | [_./|___ | [__)
Comment
> I've just came across a severe bug in IMP which locks up my apache 2 > process with 100% CPU load. I'm not exactly sure what I did to cause > it but I will describe my actions as good as I can. > > I setup horde4 with imp, kronolith, turba etc. it worked like a charm > for some weeks now. I regularly update the pear packages when I get > the announcements. > > Today I used kronolith to create a new calendar entry in April 2012, > shortly after this I moved an appointment from today to tomorrow via > drag and drop. Then I tried to switch back to DIMP. It kept saying > "Loading" but nothing happened. I logged into my server and realized > that the apache2 process was running at 100% CPU load. I checked the > logfiles and saw that my /var/log/messages file grew rapidly. See > below, the "fread" and "feof" error lines spammed the logfile. I > restarted the apache server, removed /tmp/<horde cache files>*, > restarted my browser and logged in again to the horde webinterface. > The snippet below from the /var/log/messages file is the result of > this successful login process but the result is the same, the logfile > gets spammed with the PHP error messages. > > Since then I can no longer use the horde webinterface because as soon > as I access it, it instantly locks up my apache server. > > System information: > ------------- > root@server:~# pear list -c horde > INSTALLED PACKAGES, CHANNEL PEAR.HORDE.ORG: > =========================================== > PACKAGE VERSION STATE > ... > horde 4.0.6 stable > imp 5.0.7 stable > kronolith 3.0.4 stable > ... > ------------- > root@server:~# pear list-upgrades > Channel pear.horde.org: No upgrades available > ------------- > root@server:~# php -v > PHP 5.3.3-7+squeeze1 with Suhosin-Patch (cli) (built: Mar 18 2011 17:22:52) > Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies > with Suhosin v0.9.32.1, Copyright (c) 2007-2010, by SektionEins GmbH > > Logfiles: > /var/log/messages: > Jun 16 10:53:41 server HORDE: HORDE [horde] Login success for a@b.de > [111.111.222.222] to horde. [pid 25835 on line 153 of > "/usr/share/horde4/login.php"] > Jun 16 10:53:41 server HORDE: HORDE [imp] Login success for a@b.de > (Horde user a@b.de) [111.111.222.222] to {localhost:993 [imap]} [pid > 25835 on line 179 of "/usr/share/horde4/imp/lib/Auth.php"] > Jun 16 10:53:44 server HORDE: HORDE [imp] PHP ERROR: rewind() expects > parameter 1 to be resource, string given [pid 25835 on line 1802 of > "/usr/share/php/Horde/Mime/Part.php"] > Jun 16 10:53:44 server HORDE: HORDE [imp] PHP ERROR: feof() expects > parameter 1 to be resource, string given [pid 25835 on line 1803 of > "/usr/share/php/Horde/Mime/Part.php"] > Jun 16 10:53:44 server HORDE: HORDE [imp] PHP ERROR: fread() expects > parameter 1 to be resource, string given [pid 25835 on line 1804 of > "/usr/share/php/Horde/Mime/Part.php"] > Jun 16 10:53:44 server HORDE: HORDE [imp] PHP ERROR: feof() expects > parameter 1 to be resource, string given [pid 25835 on line 1803 of > "/usr/share/php/Horde/Mime/Part.php"] > Jun 16 10:53:44 server HORDE: HORDE [imp] PHP ERROR: fread() expects > parameter 1 to be resource, string given [pid 25835 on line 1804 of > "/usr/share/php/Horde/Mime/Part.php"] > Jun 16 10:53:44 server HORDE: HORDE [imp] PHP ERROR: feof() expects > parameter 1 to be resource, string given [pid 25835 on line 1803 of > "/usr/share/php/Horde/Mime/Part.php"] > ... > ------------- > /var/log/syslog: > ... > Jun 16 10:54:01 server HORDE: HORDE [imp] PHP ERROR: fread() expects > parameter 1 to be resource, string given [pid 25835 on line 1804 of > "/usr/share/php/Horde/Mime/Part.php"] > Jun 16 10:54:01 server HORDE: HORDE [imp] PHP ERROR: feof() expects > parameter 1 to be resource, string given [pid 25835 on line 1803 of > "/usr/share/php/Horde/Mime/Part.php"] > Jun 16 10:54:01 server suhosin[16086]: ALERT - canary mismatch on > efree() - heap overflow detected at 0xba12588c (attacker 'REMOTE_ADDR > not set', file '/usr/share/horde4/imp/lib/Ajax/Application.php', line > 456) > ------------- > > Please tell me if you need further information.
Attachment
Watch this ticket
N
ew Ticket
M
y Tickets
S
earch
Q
uery Builder
R
eports
Saved Queries
Open Bugs
Bugs waiting for Feedback
Open Bugs in Releases
Open Enhancements
Enhancements waiting for Feedback
Bugs with Patches
Enhancements with Patches
Release Showstoppers
Stalled Tickets
New Tickets
Horde 5 Showstoppers