Opened 10 years ago

Closed 5 years ago

#5265 closed bug (no change required)

Mail server crash

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


I set up my mail_server to work with my gmail account via IMAP. It downloaded my mails, but i got this:

[tcsetpgrp failed in terminal_inferior: Invalid Argument]
[Switching to team /boot/system/servers/mail_daemon (576) thread (640)]
0x004f6d46 in BList::CountItems () from /boot/system/lib/
(gdb) bt
#0  0x004f6d46 in BList::CountItems () from /boot/system/lib/
#1  0x00962ef3 in NestedString::CountItems ()
   from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#2  0x0096227d in IMAP4PartialReader::FetchMessage ()
   from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#3  0x00961f98 in IMAP4PartialReader::Seek ()
   from /boot/system/add-ons/mail_daemon/inbound_protocols/IMAP
#4  0x00aeb1bb in FolderFilter::ProcessMailMessage ()
   from /boot/system/add-ons/mail_daemon/system_filters/Inbox
#5  0x005b3af4 in BMailChainRunner::get_messages ()
   from /boot/system/lib/
#6  0x005b3033 in BMailChainRunner::MessageReceived ()
   from /boot/system/lib/
#7  0x003d86fb in BLooper::DispatchMessage () from /boot/system/lib/
#8  0x003da069 in BLooper::task_looper () from /boot/system/lib/
#9  0x003d9c57 in BLooper::_task0_ () from /boot/system/lib/
#10 0x0023be1e in thread_entry () from /boot/system/lib/
#11 0x70080fec in ?? ()

And in syslog:

KERN: vm_soft_fault: va 0x0 not covered by area in address space
KERN: vm_page_fault: vm_soft_fault returned error 'Bad address' on fault at 0x8, ip 0x4f6d46, write 0, user 1, thread 0x280
KERN: vm_page_fault: thread "" (640) in team "mail_daemon" (576) tried to read address 0x8, ip 0x4f6d46 ("libbe.so_seg0ro" +0x1e1d46)
KERN: debug_server: Thread 640 entered the debugger: Segment violation
KERN: stack trace, current PC 0x4f6d46  CountItems__C5BList + 0x6:
KERN:   (0x700804ac)  0x962ef3  CountItems__C12NestedString + 0x1f
KERN:   (0x700804dc)  0x96227d  FetchMessage__18IMAP4PartialReaderPCc + 0x191
KERN:   (0x7008055c)  0x961f98  Seek__18IMAP4PartialReaderxUl + 0x54
KERN:   (0x7008059c)  0xaeb1bb  ProcessMailMessage__12FolderFilterPP11BPositionIOP6BEntryP8BMessageP5BPathPCc + 0x217
KERN:   (0x700808dc)  0x5b3af4  get_messages__16BMailChainRunnerP11BStringList + 0x370
KERN:   (0x70080a2c)  0x5b3033  MessageReceived__16BMailChainRunnerP8BMessage + 0x34b
KERN:   (0x70080f0c)  0x3d86fb  DispatchMessage__7BLooperP8BMessageP8BHandler + 0x5b
KERN:   (0x70080f3c)  0x3da069  task_looper__7BLooper + 0x211
KERN:   (0x70080f7c)  0x3d9c57  _task0___7BLooperPv + 0x3f
KERN:   (0x70080fac)  0x23be1e  thread_entry + 0x36

Attachments (1)

email_daemon_crash_after_nointernetconnection.txt (768 bytes ) - added by streak 10 years ago.
Mail Server email check crash after disconnecting from internet

Download all attachments as: .zip

Change History (9)

comment:1 by miqlas, 10 years ago

I have hrev35081 gcc2hybrid Haiku.

comment:2 by mmadia, 10 years ago

Version: R1/alpha1R1/Development

by streak, 10 years ago

Mail Server email check crash after disconnecting from internet

comment:3 by streak, 10 years ago

email daemon will crash the same way if you pull off the lan cable :) and wait for daemon to download the emails

comment:4 by humdinger, 10 years ago

Not sure it's the same thing, but there's #5067 that deals with crashes on pulled lan cables.

comment:5 by humdinger, 9 years ago

Can you try with a recent nightly? IMAP handling has been thoroughly reworked by Clemens. Probably works now...

comment:6 by miqlas, 6 years ago

I checked with hrev46130,MailServer cannot connect to gmail, network unreachable. I can't found any logfile. The server settings looks good (I used the default settings).

But Haiku works very well with my email address. Mail server downloaded the headers prety fast, now i have around 1300 emails, i selected all of them, and opened them. Now my MailServer a little bit busy to fetching all the mails. But Works.

Can You check please the default setting for gmail?


comment:7 by miqlas, 5 years ago

I think we can close this ticket.

Thank you guys!

comment:8 by luroh, 5 years ago

Resolution: no change required
Status: newclosed
Note: See TracTickets for help on using tickets.