Opened 13 years ago

Closed 13 years ago

#7392 closed bug (fixed)

[mail_daemon] crash in memmove

Reported by: diver Owned by: czeidler
Priority: normal Milestone: R1
Component: Servers/mail_daemon Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

This is hrev41069, gcc4 gybrid.

Crash happend in the middle of the first mail fetching right after creating account.

Thread 2522 caused an exception: Segment violation
[..]
[Switching to team /boot/system/servers/mail_daemon (2484) thread user thread (2522)]
0x002b24c1 in memmove () from /boot/system/lib/libroot.so
(gdb) bt
#0  0x002b24c1 in memmove () from /boot/system/lib/libroot.so
#1  0x00506b5a in BString::Trim () from /boot/system/lib/libbe.so
#2  0x005b1b96 in HaikuMailFormatFilter::_ExtractName () from /boot/system/lib/libmail.so
#3  0x005b20e8 in HaikuMailFormatFilter::HeaderFetched () from /boot/system/lib/libmail.so
#4  0x005bf48d in MailProtocol::NotifyHeaderFetched () from /boot/system/lib/libmail.so
#5  0x01e6151e in DispatcherIMAPListener::HeaderFetched () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#6  0x01e69dbe in FetchMessageCommand::Handle () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#7  0x01e6d73a in IMAPProtocol::HandleResponse () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#8  0x01e6da2c in IMAPProtocol::_ProcessCommandWithoutAfterQuake () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#9  0x01e6dab9 in IMAPProtocol::_ProcessCommandWithoutAfterQuake () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#10 0x01e6db9c in IMAPProtocol::ProcessCommand () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#11 0x01e6bc41 in IMAPMailbox::FetchMessages () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#12 0x01e6f94c in IMAPMailboxSync::Sync () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#13 0x01e601ad in IMAPInboundProtocol::Connect () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#14 0x01e625b5 in IMAPRootInboundProtocol::Connect () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#15 0x01e61d29 in IMAPInboundProtocol::SyncMessages () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#16 0x01e6225f in IMAPRootInboundProtocol::SyncMessages () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#17 0x01e5fdd4 in IMAPInboundProtocol::UpdateSettings () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#18 0x01e603d1 in IMAPInboundProtocol::AddedToLooper () from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#19 0x005bf7ec in MailProtocol::SetProtocolThread () from /boot/system/lib/libmail.so
#20 0x005bfb03 in MailProtocolThread::MessageReceived () from /boot/system/lib/libmail.so
#21 0x005bfffc in InboundProtocolThread::MessageReceived () from /boot/system/lib/libmail.so
#22 0x003eeb78 in BLooper::DispatchMessage () from /boot/system/lib/libbe.so
#23 0x003f06b4 in BLooper::task_looper () from /boot/system/lib/libbe.so
#24 0x003f03da in BLooper::_task0_ () from /boot/system/lib/libbe.so
#25 0x0024e10d in thread_entry () from /boot/system/lib/libroot.so
#26 0x70143fec in ?? ()
(gdb)

Change History (2)

comment:1 by czeidler, 13 years ago

Anyway to reproduce it?

comment:2 by czeidler, 13 years ago

Resolution: fixed
Status: newclosed

Ok got it fixed in hrev41076.

Note: See TracTickets for help on using tickets.