[haiku-bugs] Re: [Haiku] #8174: mail_daemon crashing on fetching mail

  • From: "humdinger" <trac@xxxxxxxxxxxx>
  • Date: Sat, 03 Dec 2011 16:26:49 -0000

#8174: mail_daemon crashing on fetching mail
-----------------------------------+----------------------------
   Reporter:  humdinger            |      Owner:  czeidler
       Type:  bug                  |     Status:  new
   Priority:  normal               |  Milestone:  R1
  Component:  Servers/mail_daemon  |    Version:  R1/Development
 Resolution:                       |   Keywords:  pop3
 Blocked By:                       |   Blocking:
Has a Patch:  0                    |   Platform:  All
-----------------------------------+----------------------------

Comment (by humdinger):

 I started the mail_daemon with {{{LD_PRELOAD=libroot_debug.so
 /boot/system/servers/mail_daemon -E}}} and get this written to the syslog:
 {{{

 KERN: bfs: bfs_create_index:2077: File or Directory already exists
 KERN: Last message repeated 59 times.
 KERN: write access attempted on write-protected area 0x6f35 at 0x0061a000
 KERN: vm_page_fault: vm_soft_fault returned error 'Permission denied' on
 fault at 0x61ae04, ip 0x23063d, write 1, user 1, thread 0x4bd
 KERN: vm_page_fault: thread "user thread" (1213) in team "mail_daemon"
 (1206) tried to write address 0x61ae04, ip 0x23063d
 ("libroot_debug.so_seg0ro" +0x3063d)
 KERN: debug_server: Thread 1213 entered the debugger: Segment violation
 KERN: stack trace, current PC 0x23063d  atomic_add + 0x8:
 KERN:   (0x780f5f8c)  0x53d1f5  _._11BStringList + 0x2d
 KERN:   (0x780f5fbc)  0x25f79a9  CheckForDeletedMessages__12POP3Protocol +
 0x75
 KERN:   (0x780f68ec)  0x25f58fc  SyncMessages__12POP3Protocol + 0x208
 KERN:   (0x780f6e5c)  0x60ff7b
 MessageReceived__21InboundProtocolThreadP8BMessage + 0x77
 KERN:   (0x780f6f0c)  0x3fdda7
 DispatchMessage__7BLooperP8BMessageP8BHandler + 0x5b
 KERN:   (0x780f6f3c)  0x3ff6d1  task_looper__7BLooper + 0x205
 KERN:   (0x780f6f7c)  0x3ff2c3  _task0___7BLooperPv + 0x3f
 KERN:   (0x780f6fac)  0x22c7d7  thread_entry + 0x23
 KERN: 1211: DEBUGGER: free(): free failed for address 0x627d20
 KERN:
 KERN: debug_server: Killing team 1206 (/boot/system/servers/mail_daemon
 -E)
 KERN: debug_server: TeamDebugHandler::Init(): Failed to get info for team
 1206: Operation on invalid team
 KERN: debug_server: KillTeam(): Error getting info for team 1206:
 Operation on invalid team
 KERN: debug_server: Killing team 1206 ()
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8174#comment:1>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: