Opened 9 years ago

Closed 9 months ago

#7205 closed bug (fixed)

[mail_daemon] crashed in std::_Rb_tree_increment

Reported by: diver Owned by: bga
Priority: normal Milestone: R1
Component: Servers/mail_daemon Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

This is hrev40416, gcc4hybrid. I had tried to stop mail_daemon from downloading all of my mail from gmail by quiting it from ProcessController which led to this crash:

Thread 926 caused an exception: Segment violation
[...]
[Switching to team /boot/system/servers/mail_daemon (564) thread user thread (926)]
0x007c1c32 in std::_Rb_tree_increment () from /boot/system/lib/libstdc++.so
(gdb) bt
#0  0x007c1c32 in std::_Rb_tree_increment () from /boot/system/lib/libstdc++.so
#1  0x007c1c8c in std::_Rb_tree_increment () from /boot/system/lib/libstdc++.so
#2  0x01bd6fd3 in IMAPMailboxSync::Sync () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#3  0x01bc8bb3 in IMAPInboundProtocol::Connect () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#4  0x01bca733 in IMAPInboundProtocol::SyncMessages () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#5  0x01bc8828 in IMAPInboundProtocol::UpdateSettings () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#6  0x01bc8e13 in IMAPInboundProtocol::AddedToLooper () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#7  0x005bdbc6 in MailProtocol::SetProtocolThread () from /boot/system/lib/libmail.so
#8  0x005bdedd in MailProtocolThread::MessageReceived () from /boot/system/lib/libmail.so
#9  0x005be3ff in InboundProtocolThread::MessageReceived () from /boot/system/lib/libmail.so
#10 0x003eea38 in BLooper::DispatchMessage () from /boot/system/lib/libbe.so
#11 0x003f0574 in BLooper::task_looper () from /boot/system/lib/libbe.so
#12 0x003f029a in BLooper::_task0_ () from /boot/system/lib/libbe.so
#13 0x0024e070 in thread_entry () from /boot/system/lib/libroot.so
#14 0x703cdfec in ?? ()
(gdb)

Change History (2)

comment:1 by diver, 8 years ago

I've just observed it in hrev41828.

comment:2 by waddlesplash, 9 months ago

Resolution: fixed
Status: newclosed

Almost certainly fixed by hrev52647 or one of the preceding commits.

Note: See TracTickets for help on using tickets.