View Issue Details

IDProjectCategoryView StatusLast Update
0001421SOGoWeb Mailpublic2011-12-30 16:29
Reportergienger Assigned Toludovic  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionunable to reproduce 
Product Version1.3.8a 
Summary0001421: sogod crashes when accessing a specific user's malbox
Description

sogod crashes with the following error:

EXCEPTION: <NSException: 0x1f8e1930> NAME:NSRangeException REASON:in subdataWithRange:, range { 31, 0 } extends beyond size (30) INFO:(nil)

(NSException: 0x... varies).

The Mailbox is a normal Cyrus IMAP Mailbox with 2166 RECENT messages:
. list "" "*"

  • LIST (\Noinferiors) "." "INBOX"
  • LIST (\HasNoChildren) "." "Deleted Messages"
  • LIST (\HasNoChildren) "." "Drafts"
  • LIST (\HasNoChildren) "." "Sent"
  • LIST (\HasNoChildren) "." "Sent Messages"
  • LIST (\HasNoChildren) "." "Trash"
    . OK Completed (0.110 secs 7 calls)
    . SELECT INBOX
  • FLAGS (\Answered \Flagged \Draft \Deleted \Seen $Forwarded $NotJunk $Junk)
  • OK [PERMANENTFLAGS (\Answered \Flagged \Draft \Deleted \Seen $Forwarded $NotJunk $Junk *)]
  • 2166 EXISTS
  • 0 RECENT
  • OK [UNSEEN 154]
  • OK [UIDVALIDITY 1285078502]
  • OK [UIDNEXT 3874]
  • OK [NOMODSEQ] Sorry, modsequences have not been enabled on this mailbox
  • OK [URLMECH INTERNAL]
    . OK [READ-WRITE] Completed

The mailbox is in working order, Access via IMAP works flawlessly.

TagsNo tags attached.

Activities

gienger

gienger

2011-08-17 13:09

reporter   ~0002802

oops not RECENT, 2166 EXISTS ;-)

ludovic

ludovic

2011-08-18 13:51

administrator   ~0002810

Please provide a complete stacktrace with the breakpoint set on [NSException raise]

gienger

gienger

2011-08-19 11:42

reporter   ~0002812

How can I accomplish this?

ludovic

ludovic

2011-10-05 14:10

administrator   ~0002871

On a test system, use only one process.

Attach to the child process using gdb:

gdb -p <pid>
b [NSException raise]
c

Make it crash, do:

bt

Send me the trace.

You NEED the debug symbols of SOGo, SOPE and GNUstep installed prior your restart of SOGo using only one process.

ludovic

ludovic

2011-10-12 11:24

administrator   ~0002886

Any updates on producing a stack trace?

ludovic

ludovic

2011-10-14 15:03

administrator   ~0002907

Again, any updates on producing a stack trace?

gienger

gienger

2011-10-18 14:56

reporter   ~0002930

In Version 2.0.0 this error does not occur on the specified mailbox any more.

I can't say whether the user has deleted the message or a change in the code has "healed" that.

I don't have any snapshot of that particular mailbox.

But as we have a compiled version from source of 2.0.0 the next time this arrives I will be able to produce a trace immediately.

Sorry for the delay.

ludovic

ludovic

2011-12-30 16:29

administrator   ~0003226

Closing for now. If it happens, reopen the ticket and post a nice stack trace.

Issue History

Date Modified Username Field Change
2011-08-17 13:07 gienger New Issue
2011-08-17 13:09 gienger Note Added: 0002802
2011-08-18 13:51 ludovic Status new => assigned
2011-08-18 13:51 ludovic Assigned To => ludovic
2011-08-18 13:51 ludovic Note Added: 0002810
2011-08-19 11:42 gienger Note Added: 0002812
2011-10-05 14:10 ludovic Note Added: 0002871
2011-10-05 14:17 ludovic Target Version => 1.3.9
2011-10-12 11:24 ludovic Note Added: 0002886
2011-10-14 15:03 ludovic Note Added: 0002907
2011-10-18 14:56 gienger Note Added: 0002930
2011-10-18 15:01 ludovic Target Version 1.3.9 =>
2011-12-30 16:29 ludovic Note Added: 0003226
2011-12-30 16:29 ludovic Status assigned => closed
2011-12-30 16:29 ludovic Resolution open => unable to reproduce