View Issue Details

IDProjectCategoryView StatusLast Update
0001864SOGo Native Outlook Compatibility (obsolete)public2012-08-07 17:39
Reporternbr11 Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Target Version2.0.0 
Summary0001864: rc4 samba crash
Description

When creating new event in calendar and trying to send an invite to event, samba crashes.

Additional Information

[2012/07/06 07:44:55, 0] ../lib/util/util.c:445(dump_data)
[0000] 01 01 00 00 00 00 06 01 6F 00 00 00 00 00 00 00 ........ o.......
[0010] 00 00 00 00 00 .....
[2012/07/06 07:44:55, 0] mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:680(EcDoRp
c_process_transaction)
MAPI Rop: 0x06 (0)
[2012/07/06 07:44:55, 0] mapiproxy/libmapiproxy/mapi_handles.c:292(mapi_handles_add)
We have found free record 0x2e
Jul 06 07:44:55 samba [2199]: <MAPIStoreOutboxFolder:0x1e19a20:folderDrafts> METHOD '-[MAPISto
reFolder createMessage:withMID:isAssociated:]' -- mid: 0x1f02060000000001 associated: 0
Jul 06 07:44:55 samba [2199]: <MAPIStoreMailVolatileMessage:0x278e160:(null)> -init
[2012/07/06 07:44:55, 0] mapiproxy/servers/default/emsmdb/oxcmsg.c:526(EcDoRpc_RopCreateMessa
ge)
CreateMessage: 0x6e01060000000001: mapistore = true
[2012/07/06 07:44:55, 0] mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:680(EcDoRp
c_process_transaction)
MAPI Rop: 0x0a (15)
[2012/07/06 07:44:55, 0] mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:680(EcDoRp
c_process_transaction)
MAPI Rop: 0x0a (23)
[2012/07/06 07:44:55, 0] ../lib/util/fault.c:72(fault_report)

[2012/07/06 07:44:55, 0] ../lib/util/fault.c:73(fault_report)
INTERNAL ERROR: Signal 11 in pid 2199 (4.0.0alpha18)
Please read the Trouble-Shooting section of the Samba HOWTO
[2012/07/06 07:44:55, 0] ../lib/util/fault.c:75(fault_report)

[2012/07/06 07:44:55, 0] ../lib/util/fault.c:142(smb_panic_default)
PANIC: internal error

TagsNo tags attached.

Relationships

related to 0001815 closed Calendar invitation accept/decline fails from OUTLOOK 

Activities

ludovic

ludovic

2012-08-06 18:01

administrator   ~0004271

I can also reproduce the bug, here is the stack trace:

namespace is sogo:// and backend_uri is 'sogo1:sogo1@outbox/folderDrafts/'
[SOGo: sogo_backend_create_context:155]
2012-08-06 14:00:41.685 samba[353] METHOD '+[MAPIStoreContext openContext:withURI:connectionInfo:andTDBIndexing:]' (226) -- uri: 'sogo1:sogo1@outbox/folderDrafts/'
[SOGo: sogo_context_get_root_folder:301]
Aug 06 14:00:41 samba [353]: <MAPIStoreOutboxFolder:0x1968e70:(null)> -init
[SOGo: sogo_folder_move_copy_messages:582]
/usr/local/samba/sbin/samba: Uncaught exception NSInvalidArgumentException, reason: Tried to add nil to array
Translation from RTF performed by UnRTF, version 0.21.2 font table contains 93 fonts total Translation from RTF performed by UnRTF, version 0.21.2 font table contains 93 fonts total
Program received signal SIGABRT, Aborted.
0x00007ffff3af7445 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007ffff3af7445 in raise () from /lib/x86_64-linux-gnu/libc.so.6
0000001 0x00007ffff3afabab in abort () from /lib/x86_64-linux-gnu/libc.so.6
0000002 0x00007fffd89cd0fc in _terminate () at NSException.m:751
0000003 _NSFoundationUncaughtExceptionHandler (exception=<optimized out>) at NSException.m:775
0000004 callUncaughtHandler (value=<optimized out>) at NSException.m:795
0000005 0x00007fffd85c1a75 in objc_exception_throw (exception=0xa28af0) at /build/buildd/gcc-4.6-4.6.3/src/libobjc/exception.c:539
0000006 0x00007fffd89ccdd6 in -[NSException raise] (self=0xa28af0, _cmd=<optimized out>) at NSException.m:963
0000007 0x00007fffd89cd231 in +[NSException raise:format:] (self=0x7fffd8e81080, _cmd=<optimized out>, name=0x7fffd8e810f0, format=0x7fffd8e3b710) at NSException.m:835
0000008 0x00007fffd891b631 in -[GSMutableArray addObject:] (self=0x15b9740, _cmd=<optimized out>, anObject=0x0) at GSArray.m:454
0000009 0x00007fffd032eea0 in -[MAPIStoreMailFolder moveCopyMessagesWithMIDs:andCount:fromFolder:withMIDs:andChangeKeys:wantCopy:] (self=0x1ee9380, _cmd=0x7fffdbaa2400,
srcMids=0x7fffffffd690, midCount=1, sourceFolder=0x1968e70, targetMids=0x7fffffffd698, targetChangeKeys=0x7fffffffd6a0, wantCopy=0 '\000') at MAPIStoreMailFolder.m:918
0000010 0x00007fffdb89d43f in sogo_folder_move_copy_messages (folder_object=0x1e65a90, source_folder_object=0x1db93c0, mid_count=1, src_mids=0x7fffffffd690, t_mids=0x7fffffffd698,
target_change_keys=0x7fffffffd6a0, want_copy=0 '\000') at MAPIStoreSOGo.m:594
0000011 0x00007fffdc6d35e2 in mapistore_backend_folder_move_copy_messages (bctx=0x1e65b00, target_folder=0x1e65a90, source_folder=0x1db93c0, mid_count=1,
source_mids=0x7fffffffd690, target_mids=0x7fffffffd698, target_change_keys=0x7fffffffd6a0, want_copy=0 '\000') at mapiproxy/libmapistore/mapistore_backend.c:569
0000012 0x00007fffdc6cc1b4 in mapistore_folder_move_copy_messages (mstore_ctx=0xf0ab30, context_id=2, target_folder=0x1e65a90, source_folder=0x1db93c0, mid_count=1,
source_mids=0x7fffffffd690, target_mids=0x7fffffffd698, target_change_keys=0x7fffffffd6a0, want_copy=0 '\000') at mapiproxy/libmapistore/mapistore_interface.c:740
0000013 0x00007fffdcc2c6cb in EcDoRpc_RopSyncImportMessageMove (mem_ctx=0x29836b0, emsmdbp_ctx=0x990790, mapi_req=0x32eba60, mapi_repl=0x3333d60, handles=0x22eac80,
size=0x7fffffffd78c) at mapiproxy/servers/default/emsmdb/oxcfxics.c:2477
0000014 0x00007fffdcc0f5dc in EcDoRpc_process_transaction (mem_ctx=0x29836b0, emsmdbp_ctx=0x990790, mapi_request=0xe4c830)
at mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:1158
0000015 0x00007fffdcc10fd6 in dcesrv_EcDoRpcExt2 (dce_call=0x29836b0, mem_ctx=0x29836b0, r=0x19687e0) at mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:1743
0000016 0x00007fffdcc114b8 in dcesrv_exchange_emsmdb_dispatch (dce_call=0x29836b0, mem_ctx=0x29836b0, r=0x19687e0, mapiproxy=0x7fffffffd950)
at mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:1904
0000017 0x00007fffddc78f71 in mapiproxy_server_dispatch (dce_call=0x29836b0, mem_ctx=0x29836b0, r=0x19687e0, mapiproxy=0x7fffffffd950)
at mapiproxy/libmapiproxy/dcesrv_mapiproxy_server.c:57
0000018 0x00007fffddeae8b7 in mapiproxy_op_dispatch (dce_call=0x29836b0, mem_ctx=0x29836b0, r=0x19687e0) at mapiproxy/dcesrv_mapiproxy.c:497
0000019 0x00007fffe9d2a89b in dcesrv_request () from /usr/local/samba/lib/libdcerpc-server.so.0
0000020 0x00007fffe9d2ae06 in dcesrv_process_ncacn_packet () from /usr/local/samba/lib/libdcerpc-server.so.0
0000021 0x00007fffe9d2bdb4 in dcesrv_read_fragment_done () from /usr/local/samba/lib/libdcerpc-server.so.0
0000022 0x00007ffff64766cb in _tevent_req_notify_callback () from /usr/local/samba/lib/private/libtevent.so.0
0000023 0x00007ffff64766fd in tevent_req_finish () from /usr/local/samba/lib/private/libtevent.so.0
0000024 0x00007ffff6476724 in _tevent_req_done () from /usr/local/samba/lib/private/libtevent.so.0
0000025 0x00007ffff42ad121 in dcerpc_read_ncacn_packet_done () from /usr/local/samba/lib/libdcerpc-binding.so.0
0000026 0x00007ffff64766cb in _tevent_req_notify_callback () from /usr/local/samba/lib/private/libtevent.so.0
0000027 0x00007ffff64766fd in tevent_req_finish () from /usr/local/samba/lib/private/libtevent.so.0
0000028 0x00007ffff6476724 in _tevent_req_done () from /usr/local/samba/lib/private/libtevent.so.0
0000029 0x00007ffff1419eab in tstream_readv_pdu_ask_for_next_vector () from /usr/local/samba/lib/private/libsamba-sockets.so
0000030 0x00007ffff141a098 in tstream_readv_pdu_readv_done () from /usr/local/samba/lib/private/libsamba-sockets.so
0000031 0x00007ffff64766cb in _tevent_req_notify_callback () from /usr/local/samba/lib/private/libtevent.so.0
0000032 0x00007ffff64766fd in tevent_req_finish () from /usr/local/samba/lib/private/libtevent.so.0
0000033 0x00007ffff6476724 in _tevent_req_done () from /usr/local/samba/lib/private/libtevent.so.0
0000034 0x00007ffff1419415 in tstream_readv_done () from /usr/local/samba/lib/private/libsamba-sockets.so
0000035 0x00007ffff64766cb in _tevent_req_notify_callback () from /usr/local/samba/lib/private/libtevent.so.0
0000036 0x00007ffff64766fd in tevent_req_finish () from /usr/local/samba/lib/private/libtevent.so.0
0000037 0x00007ffff647681b in tevent_req_trigger () from /usr/local/samba/lib/private/libtevent.so.0
0000038 0x00007ffff6475c30 in tevent_common_loop_immediate () from /usr/local/samba/lib/private/libtevent.so.0
0000039 0x00007ffff6479c58 in std_event_loop_once () from /usr/local/samba/lib/private/libtevent.so.0
0000040 0x00007ffff6474d85 in _tevent_loop_once () from /usr/local/samba/lib/private/libtevent.so.0
0000041 0x00007ffff6474faa in tevent_common_loop_wait () from /usr/local/samba/lib/private/libtevent.so.0
0000042 0x00007ffff6475075 in _tevent_loop_wait () from /usr/local/samba/lib/private/libtevent.so.0
0000043 0x000000000040b2ef in binary_smbd_main ()
0000044 0x000000000040b335 in main ()
(gdb)

ludovic

ludovic

2012-08-07 17:39

administrator   ~0004284

This should now be fixed. Reopen if necessary.

Issue History

Date Modified Username Field Change
2012-07-06 11:53 nbr11 New Issue
2012-07-25 20:08 ludovic Target Version => 2.0
2012-08-06 18:01 ludovic Note Added: 0004271
2012-08-06 18:02 ludovic Relationship added related to 0001815
2012-08-07 17:39 ludovic Note Added: 0004284
2012-08-07 17:39 ludovic Status new => closed
2012-08-07 17:39 ludovic Resolution open => fixed