[OGo-Bugs][Bug 1944] New: segfault when try to reply or create a new mail

bugs@opengroupware.org bugs@opengroupware.org
Mon, 11 Feb 2008 17:33:41 +0100 (CET)


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=1944

           Summary: segfault when try to reply or create a new mail
           Product: OpenGroupware.org
           Version: TRUNK
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: blocker
          Priority: normal
         Component: Mailer
        AssignedTo: qa@opengroupware.org
        ReportedBy: sebastia@l00-bugdead-prods.de
         QAContact: qa@opengroupware.org
                CC: bugs@opengroupware.org


>From Bugzilla Helper:
User-Agent: Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.7 (like 
Gecko) SUSE

Description of problem:
on opensuse x86_66
try to reply or to create a mail ends in a segfault.

The reason is the following:

create a signature (just press return in the webui signature field, and save 
this signature)

then try to create a new mail, or try to reply to someones other mail. 

here is the backtrace:
#0  0x00002b3ebfa2624b in -[NSString(GSAdditions) stringByTrimmingTailSpaces] 
(self=0x16f8348, _cmd=0x2b3ebfc706b0) at NSString+Ext.m:131
#1  0x00002b3ebfa263ba in -[NSString(GSAdditions) stringByTrimmingSpaces] 
(self=0x16f8348, _cmd=0x2b3eca32a5f0) at NSString+Ext.m:149
#2  0x00002b3eca109d59 in ?? () 
from /usr/local/lib64/opengroupware.org-1.1/webui/OGoMailEditor.lso/OGoMailEditor
#3  0x00002b3eca113577 in ?? () 
from /usr/local/lib64/opengroupware.org-1.1/webui/OGoMailEditor.lso/OGoMailEditor
#4  0x00002b3eca1135f7 in ?? () 
from /usr/local/lib64/opengroupware.org-1.1/webui/OGoMailEditor.lso/OGoMailEditor
#5  0x00002b3ec7a61d9d in ?? () 
from /usr/local/lib64/opengroupware.org-1.1/webui/BaseUI.lso/BaseUI
#6  0x00002b3ec7a625e9 in ?? () 
from /usr/local/lib64/opengroupware.org-1.1/webui/BaseUI.lso/BaseUI
#7  0x00002b3ebe7d8e84 in -[WODirectAction performActionNamed:] 
(self=0x1755158, _cmd=0x6156a0, _actionName=0x1281c28)
    at WODirectAction.m:101
#8  0x0000000000408895 in -[DirectAction performActionNamed:] (self=0x1755158, 
_cmd=0x2b3ebeb1c5c0, _actionName=0x12f94e8)
    at DirectAction.m:142
#9  0x00002b3ebe7da356 in -[WODirectActionRequestHandler 
handleRequest:inContext:session:application:] (self=0x7a5558,
    _cmd=0x2b3ebeb2c870, _request=0x178f118, context=0x13a2b18, 
session=0x15121e8, app=0x746028) at WODirectActionRequestHandler.m:210
#10 0x00002b3ebe7ee839 in -[WORequestHandler handleRequest:] (self=0x7a5558, 
_cmd=0x2b3ebeaf04c0, _request=0x178f118)
    at WORequestHandler.m:241
#11 0x00002b3ebe7a0df4 in -[WOCoreApplication dispatchRequest:usingHandler:] 
(self=0x746028, _cmd=0x2b3ebeaf0520, _request=0x178f118,
    handler=0x7a5558) at WOCoreApplication.m:669
#12 0x00002b3ebe7a119a in -[WOCoreApplication dispatchRequest:] 
(self=0x746028, _cmd=0x613870, _request=0x178f118)
    at WOCoreApplication.m:709
#13 0x000000000040779f in -[OpenGroupware dispatchRequest:] (self=0x746028, 
_cmd=0x2b3ebeb99380, _request=0x178f118)
    at OpenGroupware.m:829
#14 0x00002b3ebe85760f in -[WOHttpTransaction _run] (self=0x18f86b8, 
_cmd=0x2b3ebeb993b0) at WOHttpTransaction.m:540
#15 0x00002b3ebe857ad8 in -[WOHttpTransaction run] (self=0x18f86b8, 
_cmd=0x2b3ebeb97110) at WOHttpTransaction.m:593
---Type <return> to continue, or q <return> to quit---
#16 0x00002b3ebe852aae in -[WOHttpAdaptor runConnection:] (self=0x10d6608, 
_cmd=0x2b3ebeb971b0, _socket=0x1285ea8) at WOHttpAdaptor.m:484
#17 0x00002b3ebe852e06 in -[WOHttpAdaptor _handleAcceptedConnection:] 
(self=0x10d6608, _cmd=0x2b3ebeb97260, _connection=0x1285ea8)
    at WOHttpAdaptor.m:518
#18 0x00002b3ebe8537fc in -[WOHttpAdaptor acceptConnection:] (self=0x10d6608, 
_cmd=0x2b3ebeb97080, _notification=0x1543a28)
    at WOHttpAdaptor.m:626
#19 0x00002b3ec0793193 in -[NSObject performSelector:withObject:] 
(self=0x10d6608, _cmd=<value optimized out>, aSelector=0x2b3ebeb97080,
    anObject=0x1543a28) at NSObject.m:730
#20 0x00002b3ec0793193 in -[NSObject performSelector:withObject:] 
(self=0x10f5908, _cmd=<value optimized out>, aSelector=0x2b3ec0a87520,
    anObject=0x1543a28) at NSObject.m:730
#21 0x00002b3ec079e29c in -[NSArray makeObjectsPerform:withObject:] 
(self=0x17d8568, _cmd=<value optimized out>,
    aSelector=0x2b3ec0a87520, anObject=0x1543a28) at NSArray.m:403
#22 0x00002b3ec07dbd62 in -[NSNotificationCenter postNotification:] 
(self=0x696858, _cmd=<value optimized out>,
    notification=<value optimized out>) at NSNotificationCenter.m:453
#23 0x00002b3ec07db35c in -[NSNotificationCenter postNotificationName:object:] 
(self=0x696858, _cmd=<value optimized out>,
    notificationName=0x2b3ec0a9d920, object=0x10f21b8) at 
NSNotificationCenter.m:590
#24 0x00002b3ec07f513b in -[NSRunLoop acceptInputForMode:beforeDate:] 
(self=0x7a81b8, _cmd=<value optimized out>,
    aMode=<value optimized out>, limitDate=<value optimized out>) at 
NSRunLoop.m:767
#25 0x00002b3ec07f395b in -[NSRunLoop runMode:beforeDate:] (self=0x7a81b8, 
_cmd=<value optimized out>, aMode=0x2b3ec0a9d8e0,
    limitDate=<value optimized out>) at NSRunLoop.m:621
#26 0x00002b3ebe7a04f8 in -[WOCoreApplication run] (self=0x746028, 
_cmd=0x2b3ebeb16510) at WOCoreApplication.m:541
#27 0x00002b3ebe7d459d in WOApplicationMain (_appClassName=0x6101e0, argc=3, 
argv=0x7fffecfbc3d8) at WOApplicationMain.m:42
#28 0x00002b3ebe7f8955 in WOWatchDogApplicationMain (appName=0x6101e0, argc=3, 
argv=0x7fffecfbc3d8) at WOWatchDogApplicationMain.m:251
#29 0x000000000040293e in main (argc=3, argv=0x7fffecfbc3d8, 
env=0x7fffecfbc3f8) at main.m:32


here is this what gets saved in the defaults file of the user in the 
signature:

signature = "^M\n^M\n";

Whereas the ^M are not actually the characters, but the Windows line end. 
The signature was created using firefox, the crash also happended in firefox.


I know this works on OpenBSD, i386, and I cannot remember having seen this 
before on i686 Linux, maybe related to 64Bit installation.


Version-Release number of selected component (if applicable):
-trunk

How reproducible:
Always

Steps to Reproduce:
1.
2.
3.
    

Actual Results:  crash

Expected Results:  no crash

Additional info:

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