mime browser crash

Discuss the Scalix Server software

Moderators: ScalixSupport, admin

stephan.klein
Posts: 68
Joined: Thu Feb 22, 2007 1:10 pm
Location: Germany

mime browser crash

Postby stephan.klein » Sat Mar 03, 2007 12:52 pm

Hi,

when opening an IMAP folder (I am not sure, if this is the real cause for this error), I sometimes get

Code: Select all

mail7:/etc/scripts# tail -f /var/opt/scalix/m7/s/logs/fatal

SERIOUS ERROR           Mime Browser C(Mime Browser C) Sat Mar  3 17:39:21 2007
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 5033
Procedure trace follows:
  <- inCache
  -> beingBrowsed
  <- beingBrowsed
  -> getFreeBrowser
  <- getFreeBrowser
  -> browseRequest
  <- browseRequest
  -> addConnection
  <- addConnection
  -> inCache
  <- inCache
  -> beingBrowsed
  <- beingBrowsed
  -> getFreeBrowser
  <- getFreeBrowser
  -> browseRequest
Pid of logging process: 5033


SERIOUS ERROR           Mime Browser C(Mime Browser C) Sat Mar  3 17:39:21 2007
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0xb7f991a6]
/opt/scalix/lib/libom_er.so[0xb7f994b3]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x27)[0xb7f99647]
[0xffffe420]
mime.control[0x804aeb1]
mime.control[0x804a8d9]
mime.control[0x8049cff]
/lib/tls/libc.so.6(__libc_start_main+0xc8)[0xb7e18ea8]
mime.control[0x8049831]
Pid of logging process: 5033


SERIOUS ERROR           Browser       (Service 14    ) Sat Mar  3 17:39:21 2007
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 8451
Procedure trace follows:
  -> msl_outputMime
  -> msl:outputMime
  <- msl:outputMime
  <- msl_outputMime
  <- msl_readContainerOpenedParent
  -> ct_CloseCtner 3001
  -> sfl_CloseItem
  <- sfl_CloseItem
  <- ct_CloseCtner 3001
  <- msl_readContainer
  -> msl_outputIndex
  -> msl:outputMime
  <- msl:outputMime
  <- msl_outputIndex
  <- browseMessage
  -> decodeParams
Pid of logging process: 8451
  Last Msg Id: cf6101c75d9a(036)8cbb4b60(036)016fa8c0(a)AF3E2742305D458
  Last Msg DirectRef: 00014c00e80dc2b3


SERIOUS ERROR           Browser       (Service 14    ) Sat Mar  3 17:39:21 2007
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0xb7ecd1a6]
/opt/scalix/lib/libom_er.so[0xb7ecd4b3]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x27)[0xb7ecd647]
[0xffffe420]
/opt/scalix/bin/index.browse[0x804a230]
/lib/tls/libc.so.6(__libc_start_main+0xc8)[0xb7c13ea8]
/opt/scalix/bin/index.browse[0x8049761]
Pid of logging process: 8451
  Last Msg Id: cf6101c75d9a(036)8cbb4b60(036)016fa8c0(a)AF3E2742305D458
  Last Msg DirectRef: 00014c00e80dc2b3



omstat -a shows 'Mime Browser Controller' Aborted'

I have to restart scalix (omshut) to get the mime browser back working. When mime browser is gone, mails can't be opened, neither by webmail nor by thunderbird.

Any help welcome..

Kind regards
Stephan

---
System Debian testing, Kernel 2.6.17 (without grsecurity ;-)

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Wed Mar 07, 2007 7:33 am

Hi!

Can you run the command "omtidyallu -M" for MIME pre-generation, this command might
take some time, please run this command at low load time.

Does the Mime Browser Controller aborts quite often?

Thanks,
Subir

stephan.klein
Posts: 68
Joined: Thu Feb 22, 2007 1:10 pm
Location: Germany

Postby stephan.klein » Wed Mar 07, 2007 7:50 am

Hi Subir,

the mime browser crashed while I was migrating mails from an old imap server to the new scalix machine using imapsync.

I did an omscan to the related useraccount und deleted the mime cache of the user affected as mentioned in another thread.

In regular operation (without syncing masses of emails), the crash did not happen again.

I will try your suggestion tonight and tell, if anything wents wrong again.

Thank you & regards
stephan

stephan.klein
Posts: 68
Joined: Thu Feb 22, 2007 1:10 pm
Location: Germany

Postby stephan.klein » Sun Apr 01, 2007 5:09 pm

Hi Subir,

'till today, no more crashing of the mime browser on my box (latest Scalix on debian).

But yesterday and today it happened again two times with the following log entries in fatal:

Code: Select all

SERIOUS ERROR           Mime Browser C(Mime Browser C) Sat Mar 31 23:35:47 2007
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 32127
Procedure trace follows:
  <- checkBrowseReturn
  -> addToCache
  <- addToCache
  -> clientReply
  <- clientReply
  -> goodBrowseWaiting
  <- goodBrowseWaiting
  -> addConnection
  <- addConnection
  -> inCache
  <- inCache
  -> beingBrowsed
  <- beingBrowsed
  -> getFreeBrowser
  <- getFreeBrowser
  -> browseRequest
Pid of logging process: 32127


SERIOUS ERROR           Mime Browser C(Mime Browser C) Sat Mar 31 23:35:47 2007
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0xb7f591a6]
/opt/scalix/lib/libom_er.so[0xb7f594b3]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x27)[0xb7f59647]
[0xffffe420]
mime.control[0x804aeb1]
mime.control[0x804a8d9]
mime.control[0x8049cff]
/lib/tls/libc.so.6(__libc_start_main+0xc8)[0xb7dd8ea8]
mime.control[0x8049831]
Pid of logging process: 32127

SERIOUS ERROR           Browser       (Service 14    ) Sat Mar 31 23:35:47 2007
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 8927
Procedure trace follows:
  <- mapi_IpmClassCmp
  <- msl_transform_
  -> msl_transform_
  <- msl_transform_
  <- msl_readContainerOpenedParent
  -> ct_CloseCtner 3001
  -> sfl_CloseItem
  <- sfl_CloseItem
  <- ct_CloseCtner 3001
  <- msl_readContainer
  -> msl_outputIndex
  -> msl:outputMime
  <- msl:outputMime
  <- msl_outputIndex
  <- browseMessage
  -> decodeParams
Pid of logging process: 8927
  Last Msg Id: H000006a0003ff06.1175376870.mail7.gigatec.de
  Last Msg DirectRef: 00024e82f4410d23


SERIOUS ERROR           Browser       (Service 14    ) Sat Mar 31 23:35:47 2007
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0xb7f471a6]
/opt/scalix/lib/libom_er.so[0xb7f474b3]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x27)[0xb7f47647]
[0xffffe420]
/opt/scalix/bin/index.browse[0x8049600]
/lib/tls/libc.so.6(__libc_start_main+0xc8)[0xb7d8fea8]
/opt/scalix/bin/index.browse[0x8049241]
Pid of logging process: 8927
  Last Msg Id: H000006a0003ff06.1175376870.mail7.gigatec.de
  Last Msg DirectRef: 00024e82f4410d23


and a few hours ago:

Code: Select all

SERIOUS ERROR           Mime Browser C(Mime Browser C) Sun Apr  1 16:19:24 2007
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 4515
Procedure trace follows:
  <- checkBrowseReturn
  -> addToCache
  <- addToCache
  -> clientReply
  <- clientReply
  -> goodBrowseWaiting
  <- goodBrowseWaiting
  -> addConnection
  <- addConnection
  -> inCache
  <- inCache
  -> beingBrowsed
  <- beingBrowsed
  -> getFreeBrowser
  <- getFreeBrowser
  -> browseRequest
Pid of logging process: 4515


SERIOUS ERROR           Mime Browser C(Mime Browser C) Sun Apr  1 16:19:24 2007
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0xb7f161a6]
/opt/scalix/lib/libom_er.so[0xb7f164b3]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x27)[0xb7f16647]
[0xffffe420]
mime.control[0x804aeb1]
mime.control[0x804a8d9]
mime.control[0x8049cff]
/lib/tls/libc.so.6(__libc_start_main+0xc8)[0xb7d95ea8]
mime.control[0x8049831]
Pid of logging process: 4515

SERIOUS ERROR           Browser       (Service 14    ) Sun Apr  1 16:19:24 2007
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 4601
Procedure trace follows:
  <- mapi_IpmClassCmp
  <- msl_transform_
  -> msl_transform_
  <- msl_transform_
  <- msl_readContainerOpenedParent
  -> ct_CloseCtner 3001
  -> sfl_CloseItem
  <- sfl_CloseItem
  <- ct_CloseCtner 3001
  <- msl_readContainer
  -> msl_outputIndex
  -> msl:outputMime
  <- msl:outputMime
  <- msl_outputIndex
  <- browseMessage
  -> decodeParams
Pid of logging process: 4601
  Last Msg Id: H000006a00040a88.1175437107.mail7.gigatec.de
  Last Msg DirectRef: 00024fcfe32b2d72


SERIOUS ERROR           Browser       (Service 14    ) Sun Apr  1 16:19:24 2007
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xc6)[0xb7f061a6]
/opt/scalix/lib/libom_er.so[0xb7f064b3]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x27)[0xb7f06647]
[0xffffe420]
/opt/scalix/bin/index.browse[0x8049600]
/lib/tls/libc.so.6(__libc_start_main+0xc8)[0xb7d4eea8]
/opt/scalix/bin/index.browse[0x8049241]
Pid of logging process: 4601
  Last Msg Id: H000006a00040a88.1175437107.mail7.gigatec.de
  Last Msg DirectRef: 00024fcfe32b2d72


An 'omon mime' did the trick to restart the service, but it makes me a little bit nervous not to know why the service is crashing and how I can solve this issue permanently.

As suggested by Subir I ran 'omtidyallu -M' after the first crash, but this could not avoid the second crash.

Any help is welcome ,-)

Thank you very much in advance
Stephan

ScalixSupport
Scalix
Scalix
Posts: 5503
Joined: Thu Mar 25, 2004 8:15 pm

Postby ScalixSupport » Mon Apr 02, 2007 9:45 am

Hi!

Seems 1-2 messages have corrupted and they are causing the trouble, if you run omstat -d,
this would list the messages in the deferred message queue directory. This lists both
messages that have been deferred by a user when the message is mailed, and messages
that are deferred as a result of route deferral action by the Service Router.

Try to re-submit the messages by using the command omresub -d msg_ref, msg_ref you
would get from the result of omstat -d.

Thanks,
Subir


Return to “Scalix Server”



Who is online

Users browsing this forum: No registered users and 13 guests

cron