[OGo-Bugs][Bug 1890] NGMimeFileData does not work on GNUstep

bugs@opengroupware.org bugs@opengroupware.org
Wed, 1 Aug 2007 19:47:08 +0200 (CEST)


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug
report.

http://bugzilla.opengroupware.org/bugzilla/show_bug.cgi?id=1890


wsourdeau@inverse.ca changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED




------- Additional Comments From wsourdeau@inverse.ca  2007-08-01 19:47 -------
Here is the backtrace. This happens when attaching a file to an email with SOGo:
Breakpoint 1, -[NGMimeFileData initWithBytesNoCopy:length:freeWhenDone:]
(self=0x91030c8, _cmd=0xb786eec8, aBuffer=0x0,
    bufferSize=0, shouldFree=1 '\001') at NGMimeFileData.m:92
92        dataBytes = aBuffer;
(gdb) bt
#0  -[NGMimeFileData initWithBytesNoCopy:length:freeWhenDone:] (self=0x91030c8,
_cmd=0xb786eec8, aBuffer=0x0,
    bufferSize=0, shouldFree=1 '\001') at NGMimeFileData.m:92
#1  0xb7646328 in -[NSData init] (self=0x91030c8, _cmd=0xb7b10be8) at NSData.m:504
#2  0xb7a9558b in -[NGMimeFileData initWithPath:removeFile:] (self=0x91030c8,
_cmd=0xb7b10c18, _path=0x91581b0,
    _remove=1 '\001') at NGMimeFileData.m:48
#3  0xb7a958c3 in -[NGMimeFileData initWithBytes:length:] (self=0x91030c8,
_cmd=0xb66c3f88, _bytes=0x91e2078,
    _length=21685) at NGMimeFileData.m:84
#4  0xb66b37ed in -[SOGoDraftObject bodyPartForAttachmentWithName:]
(self=0x9145a58, _cmd=0xb66c3fa0, _name=0x9157f18)
    at SOGoDraftObject.m:530
#5  0xb66b3a33 in -[SOGoDraftObject bodyPartsForAllAttachments] (self=0x9145a58,
_cmd=0xb66c4030)
    at SOGoDraftObject.m:555
#6  0xb66b4957 in -[SOGoDraftObject mimeMessageWithHeaders:] (self=0x9145a58,
_cmd=0xb66c4058, _headers=0x0)
    at SOGoDraftObject.m:704
#7  0xb66b4c0e in -[SOGoDraftObject saveMimeMessageToTemporaryFileWithHeaders:]
(self=0x9145a58, _cmd=0xb66677a8,
    _h=0x0) at SOGoDraftObject.m:738
#8  0xb665b631 in -[UIxMailEditor sendAction] (self=0x913f388, _cmd=0x8c6a910)
at UIxMailEditor.m:622


------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.