6.0.0-beta1
7/5/25

[#1753] Segfault opening the inbox
Summary Segfault opening the inbox
Queue IMP
Queue Version HEAD
Type Bug
State Not A Bug
Priority 3. High
Owners
Requester wk (at) mailstation (dot) de
Created 04/12/2005 (7389 days ago)
Due
Updated 04/13/2005 (7388 days ago)
Assigned
Resolved 04/12/2005 (7389 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
04/13/2005 04:01:03 PM Michael Slusarz Comment #4 Reply to this comment
1. Bug 711 deals with an entirely different issue.  And I still 
believe that PHP is partially responsible for the strange behavior in 
that bug (i.e. PHP would randomly segfault given the same input) - 
although, admittedly, there were some issues with our code.



2. Most likely, there is a message in the INBOX with some kind of 
quirky header that is crashing c-client.  This has come up numerous 
times in the past and, as Chuck correctly points out, the solution is 
to upgrade c-client and recompile.  If this doesn't work, you should 
track down what specific message is causing the problem and then 
inform the c-client people (or possibly the PHP c-client people) so 
that they can fix it.
04/12/2005 01:25:47 PM wk (at) mailstation (dot) de Comment #3 Reply to this comment
Well, two comments on that:



- bug 711 seems to suggest that Horde sometimes isn't that innocent.



- I've used the CVS IMP code for months without any problems. Then I 
did a cvs update and "bang". I didn't change *anything* else. Neither 
Apache nor PHP. Or anything else on the system but the Horde PHP code 
itself.



Of course, it's not directly PHP code that segfaults since that's 
technically impossible but it seems some changed Horde code is 
*triggering* something in PHP. You can say "Not my (seg)fault." but I 
can imagine more constructive approaches...
04/12/2005 01:16:45 PM Chuck Hagenbuch Comment #2
State ⇒ Not A Bug
Reply to this comment
segfaults are never horde bugs. recompile php and c-client.
04/12/2005 05:12:33 AM wk (at) mailstation (dot) de Comment #1
State ⇒ Unconfirmed
Priority ⇒ 3. High
Type ⇒ Bug
Summary ⇒ Segfault opening the inbox
Queue ⇒ IMP
Reply to this comment
Using the latest code, PHP segfaults when an IMP inbox gets opened.



Interestingly, the number of mails in the inbox and its sub-folders 
are displayed correctly. The segfault only happens when trying to open 
it.

Saved Queries