Summary | Virtual INBOX messages not being deleted |
Queue | IMP |
Queue Version | HEAD |
Type | Bug |
State | Resolved |
Priority | 3. High |
Owners | slusarz (at) horde (dot) org |
Requester | mrubinsk (at) horde (dot) org |
Created | 09/28/2005 (7301 days ago) |
Due | |
Updated | 01/24/2006 (7183 days ago) |
Assigned | 01/23/2006 (7184 days ago) |
Resolved | 01/23/2006 (7184 days ago) |
Github Issue Link | |
Github Pull Request | |
Milestone | 4.1.0 |
Patch | No |
Virtual Inbox, when I delete the last message in a folder from the
message view, I had expected to see the message view of the first
unread message in the next folder. Instead, I'm taken back to the
mailbox view (of the Virtual Inbox). I can see, though, that this
might be the expected behavior; I just want to make sure it isn't a
bug or misconfiguration at my end.
Bug 3338.State ⇒ Resolved
Thanks Mike!
One quick question, just to make sure it's working correctly...In the
Virtual Inbox, when I delete the last message in a folder from the
message view, I had expected to see the message view of the first
unread message in the next folder. Instead, I'm taken back to the
mailbox view (of the Virtual Inbox). I can see, though, that this
might be the expected behavior; I just want to make sure it isn't a
bug or misconfiguration at my end.
Thanks for the great work!
Rick
Taken from
State ⇒ Feedback
readonly access in IMAP_Search:: and UW-IMAP doesn't handle concurrent
access as well as other servers. Additionally, we now simply use the
currently open stream in IMP anyway (instead of opening a new stream)
so this shouldn't be an issue.
Priority ⇒ 3. High
hosed. No other IMAP clients I know of have an issue with two
connections to the server at the same time (this may be why I am not
seeing this issue - I use dovecot). Why should losing mailbox lock on
the server cause a segfault on the client end?
If someone could point to the area where the code is segfaulting - or
at least the last area of code which will run before segfaulting -
that would be helpful.
State ⇒
some operation
on the last message in the virtual mailbox (delete it, undelete it,
mark it as important, etc)
then I get a segfault in the web browser. The UW-IMAP server shows
that a second imap
connection is made while the first imap connection is still active.
This causes UW-IMAP
to kill the first imap process since it lost the mailbox lock, and
that causes the segfault
in the web server. Note if you use the browser back button to return
to the previous page,
the message will show the new state of the message in question; that
is, the message
really does get deleted/undeleted/changed as you wanted. So the error
is not in the
operation itself, but it seems to be in the failure to terminate the
imap process after the
operation is done.
It might be relevent that I have the option set to return to the
mailbox view after deleting
the last message in a mailbox, etc. In other words, it may be that
setting which is causing
it to create the second imap connection. I've not tried disabling
that yet though.
State ⇒ Stalled
this issue.
State ⇒ Feedback
I was thinking of changing IMAP servers over the Thanksgiving weekend
(probably to Courier), but will be unable to troubleshoot this further
if I do. Is it worth sticking with UW, or is this an isolated problem
(since it seems not many are having it) that I probably won't be able
to fix?
that determines whether the IMAP server supports UTF-8?
that determines whether the IMAP server supports UTF-8?
this line:
return @imap_search($imap, $criteria, SE_UID, $this->_charset);
(or virtual folder) and returning to it after a deletion is that $imap
points to a different resource id. No idea if this is helpful to you
or not...I'll continue to try to track down more info.
process is killed due to a segmentation fault every time, though.
checked again and I am getting similar problems with both IE and
Firefox. Not sure if that's relevent for you or not.
when $this->_charset is removed.
return @imap_search($imap, $criteria, SE_UID, $this->_charset);
to:
return imap_search($imap, $criteria, SE_UID, $this->_charset);
and report any error messages. If no error messages are output, try
removing the $this->_charset parameter and see how that works.
/ imap-2004g
Bug 2828and got a quick and dirty fix(just hard-coded the 8859-1 charset in) I was able to test this issue
against Courier. Everything works as expected when using Courier IMAP.
If I switch back to UW-IMAP (most recent version 2004g I believe), I
see this behaviour again. Apache log shows:
[Wed Oct 26 01:35:27 2005] [info] [client 192.168.1.1] (32)Broken
pipe: client stopped connection before rwrite completed
[Wed Oct 26 01:54:39 2005] [notice] child pid 3907 exit signal
Segmentation fault (11)
This only happens when communicating with UW-IMAP server...
but was seeing this behavior with the old version as well).
When I view Virtual INBOX, I see all of the new messages grouped by
the folders containing them. If I select the checkbox of a message and
click the delete link, the browser spins for a minute, then stops with
no refresh. If I open the first message in one of the folders (viewing
from inside Virtual INBOX), everything works as expected (deleting or
moving to the next message) until I get to the last message in the
particular folder. Trying to delete it nets the same results; the
browser spins for a minute, but the screen never refreshes. It
appears, though, that the message is deleted.
When this happens, the apache logs show segfaults. Unfortunately, I
don't have the knowledge to find out what's causing it to segfault.
I'm happy to troubleshoot, if somebody can help me with the "how" :-)
Bug 2828(??)server. Searching and *viewing* items in virtual folders work fine
when using UW-IMAP - it's just deleting them that is giving me the
problem.
Not sure if it's relevant or not though ;)
Bug 2828(??)Assigned to
works fine no matter what browser I use.
- updated to HEAD again and killed all my prefs just for good measure.
- cleared all browser cache files on my local box.
- cleared out the php-accelerator cache files on my server and disabled.
- cleared all old session caches.
- upgraded to most recent FireFox (1.07)
I am still seeing this behaviour. I see it on multiple windows and
linux machines - all using FireFox. IE works fine for me though. I
will try to trouble shoot this the best that I can, but I am not
really all that familiar with the IMP code base. Is there any other
information I can provide to help?
me - I see the expected results of a search page. Are you sure you do
not have a cache file or something that is causing the output to be
invalid on your system?
New Attachment: mailbox.php.txt
FWIW, in IE this works fine, but in Firefox (using 1.04 on a windows
box at the moment), I get a screen full of javascript code returned.
Javascript console shows no errors. I've attached the source of the
returned page...
screen correctly updates the mailbox for me.
State ⇒ Feedback
correctly updates the mailbox for me.
State ⇒ Assigned
*except* for when you try to delete the only remaining message in the
virtual INBOX. In this case, the message is deleted from the server
but the screen does not update and continues to display the same
message view.
Using latest CVS, UW IMAP, Firefox 104
Priority ⇒ 1. Low
State ⇒ Unconfirmed
Queue ⇒ IMP
Type ⇒ Bug
Summary ⇒ Virtual INBOX messages not being deleted
the checkbox on one or more messages, then clicking the delete
action), it appears that the message is deleted, but the screen does
not refresh to reflect this.
Not sure if this is related to
ticket 2305or not.