Bug #60185

IMAP Signal (Segmentation Violation)

Added by Volodymyr Tomash almost 3 years ago. Updated about 1 year ago.

Status:UpdatedStart date:12/17/2015
Priority:HighDue date:
Assignee:ServerDevsGroup% Done:
50%
Category:Scalix Server
Target version:Scalix 12.6
Operation System:Rhel 6
Milestones: Scalix 12.6 release

Description

Hello
On my account I have got SERIOUS ERROR
This is omwhowlog logs

SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 12.17.15 02:59:27
[OM 10270] Process about to terminate due to error.
Signal (Segmentation Violation) trapped by process 1364
Procedure trace follows:
  <- imapClearCurrentFolder
  -> uni_Utf7ToUcs2
  <- uni_Utf7ToUcs2
  -> uni_Ucs2ToUtf8
  <- uni_Ucs2ToUtf8
  -> imapual_findMailbox
  -> imapFindCacheByName
  <- imapFindCacheByName
  <- imapual_findMailbox
  -> uni_Utf8ToUcs2
  <- uni_Utf8ToUcs2
  -> uni_Ucs2ToUtf7
  <- uni_Ucs2ToUtf7
  -> imapActivateMailbox
  -> imapLoadCachedFolder
  -> imapual_currentTime
User Name: Vladimir Tomash / Lviv/CN=Vladimir Tomash

SERIOUS ERROR                  IMAP Server Da(IMAP Server Pr) 12.17.15 02:59:27
[OM 10272] BACKTRACE:
/opt/scalix/lib/libom_er.so(er_add_backtrace+0xa7)[0x708e47]
/opt/scalix/lib/libom_er.so(+0x4156)[0x709156]
/opt/scalix/lib/libom_er.so(er_DumpProcAndExit+0x1f)[0x7092ef]
[0xf2d400]
/opt/scalix/lib/libom_tucl.so(ual_send+0x4ca)[0xe8573e]
in.imap41d CORE[0x80885a0]
in.imap41d CORE[0x808a8ba]
in.imap41d CORE[0x805d4d7]
in.imap41d CORE[0x8054130]
in.imap41d CORE[0x806674e]
in.imap41d CORE[0x8059ee4]
in.imap41d CORE[0x805ad37]
in.imap41d CORE[0x806f41e]
in.imap41d CORE[0x80704fb]
in.imap41d CORE[0x806674e]
in.imap41d CORE[0x806886e]
in.imap41d CORE[0x8069389]
/lib/libc.so.6(__libc_start_main+0xe6)[0xf44d36]
in.imap41d CORE[0x804e0f1]
User Name: Vladimir Tomash / Lviv/CN=Vladimir Tomash

REPORT                         IMAP Server Da(IMAP Server Pr) 12.17.15 02:59:28
[OM 24070] Debug message for Lab use :
imapSatMonitor:Core server returned no data! 
User Name: Vladimir Tomash / Lviv/CN=Vladimir Tomash

Also for my account enabled trace log
and I see '1369 02:59:28.001 RSP: A21084 NO cannot SELECT that mailbox'
this is more logs

...
...
 1369 02:59:27.835 S: A21081 OK [READ-WRITE] SELECT completed.
 1369 02:59:27.836 C: A21082 LIST "" Notes
 1369 02:59:27.836 CMD: A21082 LIST "" "Notes" 
 1369 02:59:27.840 S: * LIST (\X-FolderClass=IPF.StickyNote \X-SpecialFolder=Notes \X-DirectRef=000114140df2b50f \X-ModDate=20141127234946 \X-Total-Msgs=0 \X-Unseen-Msgs=0) "/" Notes
 1369 02:59:27.840 RSP: A21082 OK LIST completed
 1369 02:59:27.840 S: A21082 OK LIST completed
 1369 02:59:27.841 C: A21083 EXAMINE Notes
 1369 02:59:27.841 S: * 0 EXISTS
 1369 02:59:27.841 S: * 0 RECENT
 1369 02:59:27.841 S: * OK [UIDVALIDITY 2690873] UIDVALIDITY value
 1369 02:59:27.841 S: * OK [UIDNEXT 1] Predicted next UID
 1369 02:59:27.841 S: * FLAGS (\Answered \Flagged \Deleted \Seen \Draft $Label1 $Label2 $Label3 $Label4 $Label5 $Forwarded Junk NonJunk X-Scalix-Processed $MdnSent)
 1369 02:59:27.841 S: * OK [PERMANENTFLAGS (\Answered \Flagged \Deleted \Seen \Draft $Label1 $Label2 $Label3 $Label4 $Label5 $Forwarded Junk NonJunk X-Scalix-Processed $MdnSent)] flags will stay set
 1369 02:59:27.841 RSP: A21083 OK [READ-WRITE] EXAMINE completed.
 1369 02:59:27.841 S: A21083 OK [READ-WRITE] EXAMINE completed.
 1369 02:59:27.847 C: A21084 SELECT "Other Users/sxTest@madeit.com/Calendar" 
 1369 02:59:27.847 CMD: A21084 SELECT  "Other Users/sxTest@madeit.com/Calendar" 
 1369 02:59:28.001 RSP: A21084 NO cannot SELECT that mailbox
 1369 02:59:28.001 S: A21084 NO cannot SELECT that mailbox
 1369 02:59:28.001 IMAP4 Satellite Server exiting.

History

#1 Updated by Alexey Bobyr almost 3 years ago

scalix-api logs

2015-12-17 03:01:05,143  WARN [ImapDataCache.fullSynch:1732] Failed some sql JDBC connection.
java.lang.IllegalStateException: Not connected
        at com.sun.mail.imap.IMAPStore.checkConnected(IMAPStore.java:1480)
        at com.sun.mail.imap.IMAPStore.getFolder(IMAPStore.java:1311)
        at com.scalix.api.imap.Imap.select(Imap.java:2553)
        at com.scalix.api.imap.Imap.selectFolder(Imap.java:411)
        at com.scalix.api.mailbox.ImapDataCache.fullSynch(ImapDataCache.java:1320)
        at com.scalix.api.mailbox.ImapDataCache.fullSynch(ImapDataCache.java:1281)
        at com.scalix.api.mailbox.ImapDataCache.synchFolder(ImapDataCache.java:899)
        at com.scalix.api.mailbox.ImapDataCache.synchFolder(ImapDataCache.java:814)
        at com.scalix.api.wireless.db.CacheResync.run(CacheResync.java:25)
        at java.lang.Thread.run(Unknown Source)
2015-12-17 03:01:05,143  WARN [ImapDataCache.fullSynch:1732] Failed some sql JDBC connection.
java.lang.IllegalStateException: Not connected
        at com.sun.mail.imap.IMAPStore.checkConnected(IMAPStore.java:1480)
        at com.sun.mail.imap.IMAPStore.getFolder(IMAPStore.java:1311)
        at com.scalix.api.imap.Imap.select(Imap.java:2553)
        at com.scalix.api.imap.Imap.selectFolder(Imap.java:411)
        at com.scalix.api.mailbox.ImapDataCache.fullSynch(ImapDataCache.java:1320)
        at com.scalix.api.mailbox.ImapDataCache.fullSynch(ImapDataCache.java:1281)
        at com.scalix.api.mailbox.ImapDataCache.synchFolder(ImapDataCache.java:899)
        at com.scalix.api.mailbox.ImapDataCache.synchFolder(ImapDataCache.java:814)
        at com.scalix.api.wireless.db.CacheResync.run(CacheResync.java:25)
        at java.lang.Thread.run(Unknown Source)

ImapDataCache line 1320

                    imap.selectFolder(folder);

It tried to open folder.
Api tried to update msgs cache for all users folders.

Volodymyr Tomash wrote:

Hello
On my account I have got SERIOUS ERROR
This is omwhowlog logs
[...]

Also for my account enabled trace log
and I see '1369 02:59:28.001 RSP: A21084 NO cannot SELECT that mailbox'
this is more logs

[...]

#2 Updated by Alexey Bobyr almost 3 years ago

It happening again

2015-12-17 06:16:29,775  WARN [ImapDataCache.fullSynch:1723] Imap processing of the message set failed.
javax.mail.MessagingException: A10704 NO cannot SELECT that mailbox;
  nested exception is:
        com.sun.mail.iap.CommandFailedException: A10704 NO cannot SELECT that mailbox
        at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:945)
        at com.scalix.api.imap.Imap.select(Imap.java:2556)
        at com.scalix.api.imap.Imap.selectFolder(Imap.java:413)
        at com.scalix.api.mailbox.ImapDataCache.fullSynch(ImapDataCache.java:1320)
        at com.scalix.api.mailbox.ImapDataCache.fullSynch(ImapDataCache.java:1281)
        at com.scalix.api.mailbox.ImapDataCache.synchFolder(ImapDataCache.java:899)
        at com.scalix.api.mailbox.ImapDataCache.synchFolder(ImapDataCache.java:814)
        at com.scalix.api.wireless.db.CacheResync.run(CacheResync.java:25)
        at java.lang.Thread.run(Unknown Source)
Caused by: com.sun.mail.iap.CommandFailedException: A10704 NO cannot SELECT that mailbox
        at com.sun.mail.iap.Protocol.handleResult(Protocol.java:328)
        at com.sun.mail.imap.protocol.IMAPProtocol.select(IMAPProtocol.java:642)
        at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:869)
        ... 8 more
2015-12-17 06:16:29,775  WARN [ImapDataCache.fullSynch:1723] Imap processing of the message set failed.
javax.mail.MessagingException: A10704 NO cannot SELECT that mailbox;
  nested exception is:
        com.sun.mail.iap.CommandFailedException: A10704 NO cannot SELECT that mailbox
        at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:945)
        at com.scalix.api.imap.Imap.select(Imap.java:2556)
        at com.scalix.api.imap.Imap.selectFolder(Imap.java:413)
        at com.scalix.api.mailbox.ImapDataCache.fullSynch(ImapDataCache.java:1320)
        at com.scalix.api.mailbox.ImapDataCache.fullSynch(ImapDataCache.java:1281)
        at com.scalix.api.mailbox.ImapDataCache.synchFolder(ImapDataCache.java:899)
        at com.scalix.api.mailbox.ImapDataCache.synchFolder(ImapDataCache.java:814)
        at com.scalix.api.wireless.db.CacheResync.run(CacheResync.java:25)
        at java.lang.Thread.run(Unknown Source)
Caused by: com.sun.mail.iap.CommandFailedException: A10704 NO cannot SELECT that mailbox
        at com.sun.mail.iap.Protocol.handleResult(Protocol.java:328)
        at com.sun.mail.imap.protocol.IMAPProtocol.select(IMAPProtocol.java:642)
        at com.sun.mail.imap.IMAPFolder.open(IMAPFolder.java:869)
        ... 8 more

Alexey Bobyr wrote:

scalix-api logs
[...]

ImapDataCache line 1320
[...]

It tried to open folder.
Api tried to update msgs cache for all users folders.

Volodymyr Tomash wrote:

Hello
On my account I have got SERIOUS ERROR
This is omwhowlog logs
[...]

Also for my account enabled trace log
and I see '1369 02:59:28.001 RSP: A21084 NO cannot SELECT that mailbox'
this is more logs

[...]

#5 Updated by Danny T over 2 years ago

  • % Done changed from 0 to 50
  • Status changed from New to In Progress

#7 Updated by Danny T about 1 year ago

  • Status changed from In Progress to Updated

Also available in: Atom PDF