View Issue Details

IDProjectCategoryView StatusLast Update
0001912SOGoOpenChange backendpublic2012-11-20 17:07
ReporterD-Evil Assigned To 
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionunable to reproduce 
Summary0001912: Samba4 locks when starting Outlook
Description

Samba4 locks after Outlook logged in, with glibc message in log:

[2012/08/05 19:16:29, 3] mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:1709(dcesrv_EcDoRpcExt2)
exchange_emsmdb: EcDoRpcExt2 (0xB)
[2012/08/05 19:16:29, 0] mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:680(EcDoRpc_process_transaction)
MAPI Rop: 0xfe (0)
[2012/08/05 19:16:29, 4] mapiproxy/servers/default/emsmdb/oxcstor.c:206(EcDoRpc_RopLogon)
exchange_emsmdb: [OXCSTOR] Logon (0xFE)
[2012/08/05 19:16:29, 0] MAPIStoreSOGo.m:225(sogo_backend_list_contexts)
[SOGo: sogo_backend_list_contexts:225]
2012-08-05 19:16:29.977 samba[12658] registered class 'MAPIStoreNotesContext' as handler of 'notes' contexts
2012-08-05 19:16:29.978 samba[12658] registered class 'MAPIStoreFallbackContext' as handler of 'fallback' contexts
2012-08-05 19:16:29.978 samba[12658] registered class 'MAPIStoreCalendarContext' as handler of 'calendar' contexts
2012-08-05 19:16:29.978 samba[12658] registered class 'MAPIStoreOutboxContext' as handler of 'outbox' contexts
2012-08-05 19:16:29.978 samba[12658] registered class 'MAPIStoreTasksContext' as handler of 'tasks' contexts
2012-08-05 19:16:29.978 samba[12658] registered class 'MAPIStoreContactsContext' as handler of 'contacts' contexts
2012-08-05 19:16:29.978 samba[12658] registered class 'MAPIStoreMailContext' as handler of 'mail' contexts
glibc detected /usr/sbin/samba: double free or corruption (!prev): 0x0a813f30 ***

This results in locked Outlook trying long minutes to connect. Also samba process is locked and cannot be terminated by initscript - process has to be killed.

This occurs on my Debian Squeeze (i386) with latest (downloaded and installed today) packages from inverse.ca nightly repository.

Rest of my SOGo installation is working correctly (user can log in, IMAP folders and messages are visible, calendars and contacts are working too).

TagsNo tags attached.

Activities

wsourdeau

wsourdeau

2012-08-06 13:59

viewer   ~0004262

Which version of Openchange and Samba are you using ?

D-Evil

D-Evil

2012-08-06 15:09

reporter   ~0004263

Samba - 4.0.0~alpha18.dfsg1-5~inverse1.0
Openchange - 1.0.r4087.sogo-1~inverse1.0

philipweber

philipweber

2012-08-06 19:26

reporter   ~0004273

same problem here. just finished installing from scratch with Debian nightly packages.
will try to get a more detailed stack-trace.

D-Evil

D-Evil

2012-08-10 18:46

reporter   ~0004315

After updating packages today, logged error has changed and Outlook terminates just after this error.

This is how it fails with latest version:

[2012/08/10 20:39:24, 4] mapiproxy/servers/default/emsmdb/oxcstor.c:206(EcDoRpc_RopLogon)
exchange_emsmdb: [OXCSTOR] Logon (0xFE)
[2012/08/10 20:39:24, 0] MAPIStoreSOGo.m:225(sogo_backend_list_contexts)
[SOGo: sogo_backend_list_contexts:225]
2012-08-10 20:39:24.056 samba[23188] registered class 'MAPIStoreNotesContext' as handler of 'notes' contexts
2012-08-10 20:39:24.057 samba[23188] registered class 'MAPIStoreFallbackContext' as handler of 'fallback' contexts
2012-08-10 20:39:24.057 samba[23188] registered class 'MAPIStoreCalendarContext' as handler of 'calendar' contexts
2012-08-10 20:39:24.057 samba[23188] registered class 'MAPIStoreOutboxContext' as handler of 'outbox' contexts
2012-08-10 20:39:24.057 samba[23188] registered class 'MAPIStoreTasksContext' as handler of 'tasks' contexts
2012-08-10 20:39:24.057 samba[23188] registered class 'MAPIStoreContactsContext' as handler of 'contacts' contexts
2012-08-10 20:39:24.058 samba[23188] registered class 'MAPIStoreMailContext' as handler of 'mail' contexts
[2012/08/10 20:39:24, 0] ../lib/util/fault.c:72(fault_report)

[2012/08/10 20:39:24, 0] ../lib/util/fault.c:73(fault_report)
INTERNAL ERROR: Signal 11 in pid 23188 (4.0.0alpha18)
Please read the Trouble-Shooting section of the Samba HOWTO
[2012/08/10 20:39:24, 0] ../lib/util/fault.c:75(fault_report)

[2012/08/10 20:39:24, 0] ../lib/util/fault.c:142(smb_panic_default)
PANIC: internal error

Samba version is same, openchange was updated to 1:1.0.r4107.sogo-1~inverse1.0.

I've also found following error preceding (may be relevant):

[2012/08/10 20:39:23, 3] mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:1559(dcesrv_EcDoConnectEx)
exchange_emsmdb: EcDoConnectEx (0xA)
[2012/08/10 20:39:23, 3] mapiproxy/libmapistore/mapistore_backend.c:87(mapistore_backend_register)
MAPISTORE backend 'SOGo' registered
Aug 10 20:39:23 samba [23188]: [ERROR] [so-category-info] did not find exported SoClass 'SOGo' in product <0x0x9f5b6c8[SoProduct]: loaded code-loaded bundle=/usr/lib/GNUstep/SOGo/MainUI.SOGo #classes=8 #categories=4 rm=0x0x9de6508>!
Aug 10 20:39:24 samba [23188]: <0x0xa9f7250[SOGoCache]> Cache cleanup interval set every 300.000000 seconds
Aug 10 20:39:24 samba [23188]: <0x0xa9f7250[SOGoCache]> Using host(s) 'localhost' as server(s)
[2012/08/10 20:39:24, 3] mapiproxy/libmapistore/mapistore_backend.c:283(mapistore_backend_init)
MAPISTORE backend 'SOGo' loaded

ludovic

ludovic

2012-09-26 12:36

administrator   ~0004553

Can you try to run samba in single process mode from gdb?

When it "locks up", just hit Control-C and send a backtrace (using "bt" in gdb). You can start samba like this:

gdb --args /usr/local/samba/sbin/samba -d1 -i -M single

Adjust samba's binary path accordingly.

wsourdeau

wsourdeau

2012-09-26 19:11

viewer   ~0004573

By chance, are you using Samba as its own LDAP server in the SOGo configuration?

D-Evil

D-Evil

2012-10-01 21:18

reporter   ~0004603

I am sorry, but I am not able to test it anymore. I've lost my test system during system update few months ago, because new samba4 package failed to install on my system. This bug persists so I have no working testing environment at the moment.

But for sure I was using Samba as its own LDAP server.

ludovic

ludovic

2012-11-20 17:07

administrator   ~0004938

Unfortunately, the tester can't help us anymore with this issue and we can't reproduce it. Closing for now but if someone can reproduce it in a constant manner, reopen the ticket and produce a stack trace.

Issue History

Date Modified Username Field Change
2012-08-05 20:06 D-Evil New Issue
2012-08-06 13:59 wsourdeau Note Added: 0004262
2012-08-06 13:59 wsourdeau Status new => feedback
2012-08-06 15:09 D-Evil Note Added: 0004263
2012-08-06 19:26 philipweber Note Added: 0004273
2012-08-10 18:46 D-Evil Note Added: 0004315
2012-09-26 12:36 ludovic Note Added: 0004553
2012-09-26 19:11 wsourdeau Note Added: 0004573
2012-10-01 21:18 D-Evil Note Added: 0004603
2012-10-03 15:09 wsourdeau Project SOGo Native Outlook Compatibility (obsolete) => SOGo
2012-10-03 15:12 wsourdeau Category => OpenChange backend
2012-11-20 17:07 ludovic Note Added: 0004938
2012-11-20 17:07 ludovic Status feedback => closed
2012-11-20 17:07 ludovic Resolution open => unable to reproduce