Relationship Graph

Relationship Graph
related to related to child of child of duplicate of duplicate of

View Issue Details

IDProjectCategoryView StatusLast Update
0001703SOGo Native Outlook Compatibility (obsolete)public2012-05-21 02:17
ReporterFleOxm Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
Product Versiontrunk 
Summary0001703: Samba crash due to IMAP4 Connection Error
Description

Hello

I ve installed SOGO beta5 on a debian machine amd64 with postfix/cyrus and ldap authentication.

All works fine using SOGo, thunderbird or funambol.

Samba4 and openchange provisionning is ok and i can join my domain.
I can configure outlook and it find my account.
However, when i try to launch Outlook (2007 or 2010), samba crash with the following error :

kernel: [353705.641880] samba[19469]: segfault at 18 ip 00007f707b9e7b61 sp 00007fff0bc12f58 error 4 in libc-2.13.so[7f707b968000+17d000]

my samba log :
[SOGo: sogo_backend_list_contexts:196]
2012-03-16 11:28:29.195 samba[19469] registered class 'MAPIStoreNotesContext' as handler of 'notes' contexts
2012-03-16 11:28:29.195 samba[19469] registered class 'MAPIStoreFallbackContext' as handler of 'fallback' contexts
2012-03-16 11:28:29.195 samba[19469] registered class 'MAPIStoreCalendarContext' as handler of 'calendar' contexts
2012-03-16 11:28:29.195 samba[19469] registered class 'MAPIStoreOutboxContext' as handler of 'outbox' contexts
2012-03-16 11:28:29.195 samba[19469] registered class 'MAPIStoreTasksContext' as handler of 'tasks' contexts
2012-03-16 11:28:29.195 samba[19469] registered class 'MAPIStoreContactsContext' as handler of 'contacts' contexts
2012-03-16 11:28:29.195 samba[19469] registered class 'MAPIStoreMailContext' as handler of 'mail' contexts
Mar 16 11:28:29 samba [19469]: <0x02B5F7B0[SOGoMAPIFSFolder]:(null)> directory: /usr/local/samba/private/mapistore/SOGo/username/message/fallback/
Mar 16 11:28:29 samba [19469]: [WARN] <0x0x276c850[SOGoWebDAVAclManager]> entry '{DAV:}write' already exists in DAV permissions table
Mar 16 11:28:29 samba [19469]: [WARN] <0x0x276c850[SOGoWebDAVAclManager]> entry '{DAV:}write-properties' already exists in DAV permissions table
Mar 16 11:28:29 samba [19469]: [WARN] <0x0x276c850[SOGoWebDAVAclManager]> entry '{DAV:}write-content' already exists in DAV permissions table
2012-03-16 11:28:29.201 samba[19469] WARNING: IMAP4 connection pooling is disabled!
Mar 16 11:28:32 samba [19469]: [ERROR] <0x0x43017d0[NGImap4ConnectionManager]> IMAP4 login failed:
host=127.0.0.1, user=username, pwd=yes
url=imap://username@127.0.0.1/
base=(null)
base-class=(null))
= <0x0x251d6f0[NGImap4Client]: login=username(pwd) socket=<NGActiveSocket[0x0x453b550]: mode=rw address=<0x0x32e5620[NGInternetSocketAddress]: host=localhost port=37442> connectedTo=<0x0x4301a50[NGInternetSocketAddress]: host=127.0.0.1 port=143>>>
2012-03-16 11:28:32.213 samba[19469] Note(NGImap4Connection): using '/' as the IMAP4 folder separator.
Mar 16 11:28:32 samba [19469]: <0x03D0FE40[SOGoMailAccount]:0> renewing imap4 password
Mar 16 11:28:32 samba [19469]: [ERROR] <0x03D0FE40[SOGoMailAccount]:0> no IMAP4 password available
Mar 16 11:28:32 samba [19469]: [ERROR] <0x03D0FE40[SOGoMailAccount]:0> Could not connect IMAP4
Segfault Error

I accept any help to investigate this error..

Thanks

TagsNo tags attached.

Activities

2012-03-20 09:18

 

gdb.txt (14,007 bytes)   
#23 0x00007f267d9c6b5e in mapistore_backend_list_contexts (username=0x3dd0360 "username", tdbwrap=0x3bade50, mem_ctx=0x3db4bf0, contexts_listP=0x7fff2f515378) at mapiproxy/libmapistore/mapistore_backend.c:312
        retval = MAPISTORE_SUCCESS
        i = 0
        contexts_list = 0x0
        current_contexts_list = 0x3e621c0
#24 0x00007f267d9c020b in mapistore_list_contexts_for_user (mstore_ctx=0x3e621c0, owner=0x3dd0360 "username", mem_ctx=0x3db4bf0, contexts_listp=0x7fff2f515378) at mapiproxy/libmapistore/mapistore_interface.c:448
        mapistore_dir = 0x2406270 "/usr/local/samba/private/mapistore/username"
        ictx = 0x2aa38b0
#25 0x00007f267df2d22a in emsmdbp_mailbox_provision (emsmdbp_ctx=0x3325320, username=0x3dd0360 "username") at mapiproxy/servers/default/emsmdb/emsmdbp_provisioning.c:224
        mem_ctx = 0x3db4bf0
        ret = 67742480
        retval = MAPISTORE_SUCCESS
        contexts_list = 0x1002168550
        existing_uris = 0x7f2696030e60
        main_entries = {0x7fff2f515408, 0x7fff2f515340, 0x30a6500, 0x96030e60, 0x32c67b0, 0x20bdb00, 0x10120, 0x2168550, 0x2168500, 0x7f2696667850, 0x7f267df501a6}
        secondary_entries = {0x20bdb00, 0x7f269667f171, 0x0, 0x49a6be0, 0x7fff2f515450, 0x2049aec90, 0x2168550, 0x7fff2f515448, 0x28127d0, 0x420c5d0, 0x7fff2f515320}
        next_entry = 0x33cd740
        current_entry = 0x3ec3e80
        folder_names = {0x0, 0x7f267df5007a "Root", 0x7f267df5007f "Deferred Action", 0x7f267df5008f "Spooler Queue", 0x7f267df5009d "Common Views", 0x7f267df500aa "Schedule", 0x7f267df500b3 "Finder",
          0x7f267df500ba "Views", 0x7f267df500c0 "Shortcuts", 0x7f267df500ca "Top of Information Store", 0x7f267df500e3 "Inbox", 0x7f267df500e9 "Outbox", 0x7f267df500f0 "Sent Items", 0x7f267df500fb "Deleted Items"}
        special_folders = {{role = MAPISTORE_DRAFTS_ROLE, entryid_property = PR_IPM_DRAFTS_ENTRYID, name = 0x7f267df50109 "Drafts"}, {role = MAPISTORE_CALENDAR_ROLE, entryid_property = PR_IPM_APPOINTMENT_ENTRYID,
            name = 0x7f267df50110 "Calendar"}, {role = MAPISTORE_CONTACTS_ROLE, entryid_property = PR_IPM_CONTACT_ENTRYID, name = 0x7f267df50119 "Contacts"}, {role = MAPISTORE_TASKS_ROLE,
            entryid_property = PR_IPM_TASK_ENTRYID, name = 0x7f267df50122 "Tasks"}, {role = MAPISTORE_NOTES_ROLE, entryid_property = PR_IPM_NOTE_ENTRYID, name = 0x7f267df50128 "Notes"}, {
            role = MAPISTORE_JOURNAL_ROLE, entryid_property = PR_IPM_JOURNAL_ENTRYID, name = 0x7f267df5012e "Journal"}}
        container_classes = 0x7f2696686038
        context_id = 0
        mailbox_fid = 0
        ipm_fid = 139803708884464
        inbox_fid = 0
        current_fid = 140733987247088
        found_fid = 73369696
        current_cn = 51012784
        fallback_url = 0x33cd740 "\020\337\307\002"
        entryid_dump = 0x7fff2f5153b0 "\360K\333\003"
        mapistore_url = 0x7f267df501a6 "sAMAccountName"
        current_name = 0x0
        base_name = 0x7f267df501a6 "sAMAccountName"
        current_folder = 0x7f26966680bd
        property_row = {ulAdrEntryPad = 2523426067, cValues = 32550, lpProps = 0x30a6500}
        i = 32767
        j = 793859056
        nbr_special_folders = 6
        entryid_data = {data = 0x7fff2f515290 "\360SQ/\377\177", length = 139803706603211}
        folder_entryid = {Flags = 793858656, ProviderUID = {time_low = 32767, time_mid = 37760, time_hi_and_version = 38403, clock_seq = "&\177", node = "\000\000\325dh\226"}, FolderType = 32550,
          FolderDatabaseGuid = {time_low = 73369696, time_mid = 0, time_hi_and_version = 0, clock_seq = "`R", node = "Q/\005\000\000"}, FolderGlobalCounter = {bytes = "\000e\n\003\000", value = 51012864},
          Pad = 25776}
        entryId = 0x33253d0
        exists = false
        backend_object = 0x7fff2f515450
        __FUNCTION__ = "emsmdbp_mailbox_provision"
#26 0x00007f267df2e7ea in RopLogon_Mailbox (mem_ctx=0x28127d0, emsmdbp_ctx=0x3325320, mapi_req=0x498eb20, mapi_repl=0x48e1030) at mapiproxy/servers/default/emsmdb/oxcstor.c:76
        request = 0x498eb28
        response = 0x48e1038
        attrs = {0x7f267df50190 "*", 0x0}
        ret = MAPI_E_SUCCESS
        res = 0x20bdb00
        username = 0x3dd0360 "username"
        LogonTime = 0xfe
        t = 206158430216
        nttime = 0
#27 0x00007f267df2eed5 in EcDoRpc_RopLogon (mem_ctx=0x28127d0, emsmdbp_ctx=0x3325320, mapi_req=0x498eb20, mapi_repl=0x48e1030, handles=0x45a4410, size=0x7fff2f515546)
    at mapiproxy/servers/default/emsmdb/oxcstor.c:224
        retval = MAPI_E_SUCCESS
        request = 0x498eb28
        rec = 0x0
        object = 0x7f267df4afc5
        mailboxstore = true
        __FUNCTION__ = "EcDoRpc_RopLogon"
#28 0x00007f267df21327 in EcDoRpc_process_transaction (mem_ctx=0x28127d0, emsmdbp_ctx=0x3325320, mapi_request=0x33db3c0) at mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:1207
        retval = MAPI_E_SUCCESS
        mapi_response = 0x28a8e00
        notification_holder = 0x37b3270
        nlist = 0x7fff2f5155f0
        el = 0x0
        sel = 0x37b3270
        subscription_list = 0x37b32c0
        subscription_holder = 0x37b32c0
        handles_length = 768
        size = 0
        i = 0
        idx = 0
        needs_realloc = true
        __FUNCTION__ = "EcDoRpc_process_transaction"
#29 0x00007f267df22cc3 in dcesrv_EcDoRpcExt2 (dce_call=0x28127d0, mem_ctx=0x28127d0, r=0x3101430) at mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:1726
        session = 0x287f960
        emsmdbp_ctx = 0x3325320
        mapi2k7_request = {header = {Version = 0, Flags = 4, Size = 97, SizeActual = 97}, mapi_request = 0x33db3c0}
        mapi_response = 0x28c1090
        RPC_HEADER_EXT = {Version = 24640, Flags = 12113, Size = 32767, SizeActual = 0}
        ndr_pull = 0x37b32c0
        ndr_uncomp_rgbOut = 0x7f2697fb28db
        ndr_comp_rgbOut = 0x7f2696452558
        ndr_rgbOut = 0x28127d0
        pulFlags = 0
        pulTransTime = 0
        rgbIn = {data = 0x28c05c0 "", length = 105}
        __FUNCTION__ = "dcesrv_EcDoRpcExt2"
#30 0x00007f267df231a5 in dcesrv_exchange_emsmdb_dispatch (dce_call=0x28127d0, mem_ctx=0x28127d0, r=0x3101430, mapiproxy=0x7fff2f515730) at mapiproxy/servers/default/emsmdb/dcesrv_exchange_emsmdb.c:1887
        table = 0x7f267f574c80
        opnum = 11
#31 0x00007f267f0045b1 in mapiproxy_server_dispatch (dce_call=0x28127d0, mem_ctx=0x28127d0, r=0x3101430, mapiproxy=0x7fff2f515730) at mapiproxy/libmapiproxy/dcesrv_mapiproxy_server.c:57
        server = 0x3966d00
        table = 0x7f267f574c80
        status = {v = 2134241737}
#32 0x00007f267f24048e in mapiproxy_op_dispatch (dce_call=0x28127d0, mem_ctx=0x28127d0, r=0x3101430) at mapiproxy/dcesrv_mapiproxy.c:490
        private = 0x3d5cad0
        push = 0x7f267f23fec7
        ndr_err = 32767
        mapiproxy = {norelay = true, ahead = false}
        table = 0x7f267f574c80
        call = 0x7f267f5764b8
        opnum = 11
        name = 0x7f267f35f1c9 "EcDoRpcExt2"
        status = {v = 2136427648}
        this_dispatch = 1
        tv = {tv_sec = 1332234084, tv_usec = 694529}
        __FUNCTION__ = "mapiproxy_op_dispatch"
#33 0x00007f26890b1f42 in dcesrv_request (call=0x28127d0) at ../source4/rpc_server/dcerpc_server.c:964
        pull = 0x3309210
        status = {v = 0}
        context = 0x296f900
        __FUNCTION__ = "dcesrv_request"
#34 0x00007f26890b24ad in dcesrv_process_ncacn_packet (dce_conn=0x355d1b0, pkt=0x3943600, blob=...) at ../source4/rpc_server/dcerpc_server.c:1109
        status = {v = 35912960}
        call = 0x28127d0
#35 0x00007f26890b34f8 in dcesrv_read_fragment_done (subreq=0x0) at ../source4/rpc_server/dcerpc_server.c:1487
        dce_conn = 0x355d1b0
        pkt = 0x3943600
        buffer = {data = 0x223fd00 "\005", length = 208}
        status = {v = 0}
#36 0x00007f269603ac33 in _tevent_req_notify_callback (req=0x25c2c60, location=0x7f26968a78f0 "../librpc/rpc/dcerpc_util.c:295") at ../tevent_req.c:101
No locals.
#37 0x00007f269603ac65 in tevent_req_finish (req=0x25c2c60, state=TEVENT_REQ_DONE, location=0x7f26968a78f0 "../librpc/rpc/dcerpc_util.c:295") at ../tevent_req.c:110
No locals.
#38 0x00007f269603ac8c in _tevent_req_done (req=0x25c2c60, location=0x7f26968a78f0 "../librpc/rpc/dcerpc_util.c:295") at ../tevent_req.c:116
No locals.
#39 0x00007f26968a3865 in dcerpc_read_ncacn_packet_done (subreq=0x0) at ../librpc/rpc/dcerpc_util.c:295
        req = 0x25c2c60
        state = 0x27582c0
        ret = 208
        sys_errno = -1773850414
        ndr = 0x0
        ndr_err = NDR_ERR_SUCCESS
        status = {v = 793860448}
#40 0x00007f269603ac33 in _tevent_req_notify_callback (req=0x2f70f00, location=0x7f2693a43d30 "../lib/tsocket/tsocket_helpers.c:231") at ../tevent_req.c:101
No locals.
#41 0x00007f269603ac65 in tevent_req_finish (req=0x2f70f00, state=TEVENT_REQ_DONE, location=0x7f2693a43d30 "../lib/tsocket/tsocket_helpers.c:231") at ../tevent_req.c:110
No locals.
#42 0x00007f269603ac8c in _tevent_req_done (req=0x2f70f00, location=0x7f2693a43d30 "../lib/tsocket/tsocket_helpers.c:231") at ../tevent_req.c:116
No locals.
#43 0x00007f2693a3bc6b in tstream_readv_pdu_ask_for_next_vector (req=0x2f70f00) at ../lib/tsocket/tsocket_helpers.c:231
        state = 0x366be40
        ret = 0
        to_read = 0
        i = 39417712
        subreq = 0x7fff2f515a10
#44 0x00007f2693a3be58 in tstream_readv_pdu_readv_done (subreq=0x22c9460) at ../lib/tsocket/tsocket_helpers.c:290
        req = 0x2f70f00
        state = 0x366be40
        ret = 198
        sys_errno = 66251808
#45 0x00007f269603ac33 in _tevent_req_notify_callback (req=0x22c9460, location=0x7f2693a43823 "../lib/tsocket/tsocket.c:604") at ../tevent_req.c:101
No locals.
#46 0x00007f269603ac65 in tevent_req_finish (req=0x22c9460, state=TEVENT_REQ_DONE, location=0x7f2693a43823 "../lib/tsocket/tsocket.c:604") at ../tevent_req.c:110
No locals.
#47 0x00007f269603ac8c in _tevent_req_done (req=0x22c9460, location=0x7f2693a43823 "../lib/tsocket/tsocket.c:604") at ../tevent_req.c:116
No locals.
#48 0x00007f2693a3b1d5 in tstream_readv_done (subreq=0x0) at ../lib/tsocket/tsocket.c:604
        req = 0x22c9460
        state = 0x2597770
        ret = 198
        sys_errno = 0
#49 0x00007f269603ac33 in _tevent_req_notify_callback (req=0x3f2ec20, location=0x7f2693a44e78 "../lib/tsocket/tsocket_bsd.c:1703") at ../tevent_req.c:101
No locals.
#50 0x00007f269603ac65 in tevent_req_finish (req=0x3f2ec20, state=TEVENT_REQ_DONE, location=0x7f2693a44e78 "../lib/tsocket/tsocket_bsd.c:1703") at ../tevent_req.c:110
No locals.
#51 0x00007f269603ad83 in tevent_req_trigger (ev=0x200e7c0, im=0x2c562a0, private_data=0x3f2ec20) at ../tevent_req.c:166
        req = 0x3f2ec20
#52 0x00007f269603a198 in tevent_common_loop_immediate (ev=0x200e7c0) at ../tevent_immediate.c:135
        im = 0x2c562a0
        handler = 0x7f269603ad3b <tevent_req_trigger>
        private_data = 0x3f2ec20
#53 0x00007f269603e078 in std_event_loop_once (ev=0x200e7c0, location=0x4101f7 "../source4/smbd/server.c:471") at ../tevent_standard.c:554
        std_ev = 0x200db50
        tval = {tv_sec = 5, tv_usec = 47}
#54 0x00007f2696039380 in _tevent_loop_once (ev=0x200e7c0, location=0x4101f7 "../source4/smbd/server.c:471") at ../tevent.c:505
        ret = 0
        nesting_stack_ptr = 0x0
#55 0x00007f26960395a5 in tevent_common_loop_wait (ev=0x200e7c0, location=0x4101f7 "../source4/smbd/server.c:471") at ../tevent.c:606
        ret = 0
#56 0x00007f2696039670 in _tevent_loop_wait (ev=0x200e7c0, location=0x4101f7 "../source4/smbd/server.c:471") at ../tevent.c:625
No locals.
#57 0x000000000040bd46 in binary_smbd_main (binary_name=0x40fc03 "samba", argc=5, argv=0x7fff2f516048) at ../source4/smbd/server.c:471
        opt_daemon = false
        opt_interactive = true
        opt = -1
        pc = 0x1ff5040
        static_init = {0x7f2698c89cdc <server_service_auth_init>, 0x7f2698c8c1ef <server_service_echo_init>, 0}
        shared_init = 0x2020460
        event_ctx = 0x200e7c0
        stdin_event_flags = 1
        status = {v = 0}
        model = 0x1ff5a80 "single"
        max_runtime = 0
        long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x7f269644e520, val = 0, descrip = 0x40fd9e "Help options:", argDescrip = 0x0}, {longName = 0x40fdac "daemon", shortName = 68 'D',
            argInfo = 0, arg = 0x0, val = 1000, descrip = 0x40fdb3 "Become a daemon (default)", argDescrip = 0x0}, {longName = 0x40fdcd "interactive", shortName = 105 'i', argInfo = 0, arg = 0x0, val = 1001,
            descrip = 0x40fde0 "Run interactive (not a daemon)", argDescrip = 0x0}, {longName = 0x40fdff "model", shortName = 77 'M', argInfo = 1, arg = 0x0, val = 1002, descrip = 0x40fe05 "Select process model",
            argDescrip = 0x40fe1a "MODEL"}, {longName = 0x40fe20 "maximum-runtime", shortName = 0 '\000', argInfo = 2, arg = 0x7fff2f515ebc, val = 0,
            descrip = 0x40fe30 "set maximum runtime of the server process, till autotermination", argDescrip = 0x40fe70 "seconds"}, {longName = 0x40fe78 "show-build", shortName = 98 'b', argInfo = 0, arg = 0x0,
            val = 1003, descrip = 0x40fe83 "show build info", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x612d40, val = 0, descrip = 0x40fe93 "Common samba options:",
            argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x612f00, val = 0, descrip = 0x40fe93 "Common samba options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000',
            argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}}
        __FUNCTION__ = "binary_smbd_main"
#58 0x000000000040bd8c in main (argc=5, argv=0x7fff2f516048) at ../source4/smbd/server.c:482
No locals.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
gdb.txt (14,007 bytes)   

2012-03-20 09:18

 

samba-log.txt (11,680 bytes)   
                szDisplayName            : *
                    szDisplayName            : 'username'
            rgwServerVersion: ARRAY(3)
                rgwServerVersion         : 0x0008 (8)
                rgwServerVersion         : 0x82b4 (33460)
                rgwServerVersion         : 0x0003 (3)
            rgwBestVersion: ARRAY(3)
                rgwBestVersion           : 0x000e (14)
                rgwBestVersion           : 0x17dd (6109)
                rgwBestVersion           : 0x1388 (5000)
            pulTimeStamp             : *
                pulTimeStamp             : 0x4f68482a (1332234282)
            rgbAuxOut                : NULL
            pcbAuxOut                : *
                pcbAuxOut                : 0x00000000 (0)
            result                   : MAPI_E_SUCCESS (0x0)
mapiproxy::mapiproxy_op_dispatch: [tv=1332234282.274942] [#0 end]
mapiproxy::mapiproxy_op_reply
mapiproxy::mapiproxy_op_ndr_push
ntlmssp_seal_data: seal
../librpc/rpc/dcerpc_util.c:140: auth_pad_length 4
ntlmssp_unseal_packet: seal
ntlmssp_check_packet: NTLMSSP signature OK !
mapiproxy::mapiproxy_op_ndr_pull
mapiproxy::mapiproxy_op_dispatch: [tv=1332234282.296044] [#1 start]
mapiproxy::mapiproxy_op_dispatch: EcDoRpcExt2(0xb): 128 bytes
     EcDoRpcExt2: struct EcDoRpcExt2
        in: struct EcDoRpcExt2
            handle                   : *
                handle: struct policy_handle
                    handle_type              : 0x00000001 (1)
                    uuid                     : f1dff614-6844-4845-aff7-9665806129ad
            pulFlags                 : *
                pulFlags                 : 0x00000002 (2)
[0000] 00 00 04 00 61 00 61 00   5D 00 FE 00 00 01 0C 04   ....a.a. ].......
[0010] 00 01 00 00 00 00 4D 00   2F 6F 3D 46 69 72 73 74   ......M. /o=First
[0020] 20 4F 72 67 61 6E 69 7A   61 74 69 6F 6E 2F 6F 75    Organiz ation/ou
[0030] 3D 46 69 72 73 74 20 41   64 6D 69 6E 69 73 74 72   =First A dministr
[0040] 61 74 69 76 65 20 47 72   6F 75 70 2F 63 6E 3D 52   ative Gr oup/cn=R
[0050] 65 63 69 70 69 65 6E 74   73 2F 63 6E 3D 79 72 61   ecipient s/cn=use
[0060] 6C 6C 65 74 00 FF FF FF   FF                       rname... .
            mapi_request: struct mapi2k7_request
                header: struct RPC_HEADER_EXT
                    Version                  : 0x0000 (0)
                    Flags                    : 0x0004 (4)
                           0: RHEF_Compressed
                           0: RHEF_XorMagic
                           1: RHEF_Last
                    Size                     : 0x0061 (97)
                    SizeActual               : 0x0061 (97)
                mapi_request             : *
                    mapi_len                 : 0x00000061 (97)
                    length                   : 0x005d (93)
                        mapi_request: struct EcDoRpc_MAPI_REQ
                            opnum                    : 0xfe (254)
                            logon_id                 : 0x00 (0)
                            handle_idx               : 0x00 (0)
                            u                        : union EcDoRpc_MAPI_REQ_UNION(case 254)
                            mapi_Logon: struct Logon_req
                                LogonFlags               : 0x01 (1)
                                       1: LogonPrivate
                                       0: UnderCover
                                       0: Ghosted
                                       0: SpIProcess
                                OpenFlags                : 0x0100040c (16778252)
                                       0: PUBLIC
                                       1: HOME_LOGON
                                       1: TAKE_OWNERSHIP
                                       0: ALTERNATE_SERVER
                                       0: IGNORE_HOME_MDB
                                       1: NO_MAIL
                                       0: USE_PER_MDB_REPLID_MAPPING
                                StoreState               : 0x00000000 (0)
                                       0: STORE_HAS_SEARCHES
                                EssDN                    : '/o=First Organization/ou=First Administrative Group/cn=Recipients/cn=username'
                        mapi_request             : (handles) number=1
                            handle                   : 0xffffffff (4294967295)
                cbIn                     : 0x00000069 (105)
                pcbOut                   : *
                    pcbOut                   : 0x00008007 (32775)
                rgbAuxIn                 : DATA_BLOB length=0
                cbAuxIn                  : 0x00000000 (0)
                pcbAuxOut                : *
                    pcbAuxOut                : 0x00001008 (4104)
exchange_emsmdb: EcDoRpcExt2 (0xB)
MAPI Rop: 0xfe (0)
exchange_emsmdb: [OXCSTOR] Logon (0xFE)
ldb: ldb_trace_request: SEARCH
 dn: DC=mydomain,DC=fr
 scope: sub
 expr: (legacyExchangeDN=/o=First\20Organization/ou=First\20Administrative\20Group/cn=Recipients/cn=username)
 attr: *
 control: <NONE>

ldb: ldb_trace_request: (resolve_oids)->search
ldb: ldb_trace_next_request: (repl_meta_data)->extended
ldb: ldb_trace_next_request: (partition)->extended
ldb: ldb_trace_next_request: (tdb)->extended
ldb: ldb_trace_next_request: (tdb)->extended
ldb: ldb_trace_next_request: (rootdse)->search
ldb: ldb_trace_next_request: (lazy_commit)->search
ldb: ldb_trace_next_request: (dirsync)->search
ldb: ldb_trace_next_request: (paged_results)->search
ldb: ldb_trace_next_request: (ranged_results)->search
ldb: ldb_trace_next_request: (anr)->search
ldb: ldb_trace_next_request: (server_sort)->search
ldb: ldb_trace_next_request: (asq)->search
ldb: ldb_trace_next_request: (extended_dn_in)->search
ldb: ldb_trace_next_request: (repl_meta_data)->extended
ldb: ldb_trace_next_request: (partition)->extended
ldb: ldb_trace_next_request: (tdb)->extended
ldb: ldb_trace_next_request: (tdb)->extended
ldb: ldb_trace_next_request: (descriptor)->search
ldb: ldb_trace_next_request: (acl)->search
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (repl_meta_data)->extended
ldb: ldb_trace_next_request: (partition)->extended
ldb: ldb_trace_next_request: (tdb)->extended
ldb: ldb_trace_next_request: (tdb)->extended
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: ldb_trace_next_request: (tdb)->extended
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_next_request: (repl_meta_data)->extended
ldb: ldb_trace_next_request: (partition)->extended
ldb: ldb_trace_next_request: (tdb)->extended
ldb: ldb_trace_next_request: (tdb)->extended
ldb: ldb_trace_next_request: (aclread)->search
ldb: ldb_trace_next_request: (operational)->search
ldb: ldb_trace_next_request: (rdn_name)->search
ldb: ldb_trace_next_request: (extended_dn_out_ldb)->search
ldb: ldb_trace_next_request: (repl_meta_data)->extended
ldb: ldb_trace_next_request: (partition)->extended
ldb: ldb_trace_next_request: (tdb)->extended
ldb: ldb_trace_next_request: (tdb)->extended
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: ldb_trace_next_request: (tdb)->extended
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_next_request: (show_deleted)->search
ldb: ldb_trace_next_request: (partition)->search
ldb: ldb_trace_next_request: (tdb)->extended
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (schema_data)->search
ldb: ldb_trace_next_request: (tdb)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: partition_request() -> (metadata partition)
ldb: ldb_trace_next_request: (tdb)->search
ldb: ldb_trace_response: ENTRY
dn: CN=username,CN=Users,DC=mydomain,DC=fr
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn: username
instanceType: 4
whenCreated: 20120313115841.0Z
uSNCreated: 5174
name: username
objectGUID: f83c7d9b-e84b-490d-aba5-dd685bb1abcc
badPwdCount: 0
codePage: 0
countryCode: 0
badPasswordTime: 0
lastLogoff: 0
lastLogon: 0
primaryGroupID: 513
objectSid: S-1-5-21-609720353-1311245572-3884858708-1104
logonCount: 0
sAMAccountName: username
sAMAccountType: 805306368
userPrincipalName: username@mydomain.fr
objectCategory: CN=Person,CN=Schema,CN=Configuration,DC=mydomain,DC=fr
pwdLastSet: 129761135210000000
userAccountControl: 66048
accountExpires: 0
displayName: username
auxiliaryClass: msExchBaseClass
mailNickname: username
homeMDB: CN=Mailbox Store (ORION),CN=First Storage Group,CN=InformationStore,C
 N=ORION,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=
 First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=alle
 goria,DC=fr
homeMTA: CN=Mailbox Store (ORION),CN=First Storage Group,CN=InformationStore,C
 N=ORION,CN=Servers,CN=First Administrative Group,CN=Administrative Groups,CN=
 First Organization,CN=Microsoft Exchange,CN=Services,CN=Configuration,DC=alle
 goria,DC=fr
legacyExchangeDN: /o=First Organization/ou=First Administrative Group/cn=Recip
 ients/cn=username
proxyAddresses: =EX:/o=First Organization/ou=First Administrative Group/cn=Rec
 ipients/cn=username
proxyAddresses: smtp:postmaster@mydomain.fr
proxyAddresses: X400:c=US;a= ;p=First Organizati;o=Exchange;s=username
proxyAddresses: SMTP:username@mydomain.fr
msExchUserAccountControl: 0
whenChanged: 20120313115915.0Z
uSNChanged: 5180
distinguishedName: CN=username,CN=Users,DC=mydomain,DC=fr



ldb: ldb_trace_response: REFERRAL
ref: ldap://mydomain.fr/CN=Configuration,DC=mydomain,DC=fr

ldb: ldb_trace_response: DONE
error: 0

[SOGo: sogo_backend_list_contexts:196]
2012-03-20 10:04:42.303 samba[6106]   registered class 'MAPIStoreNotesContext' as handler of 'notes' contexts
2012-03-20 10:04:42.303 samba[6106]   registered class 'MAPIStoreFallbackContext' as handler of 'fallback' contexts
2012-03-20 10:04:42.303 samba[6106]   registered class 'MAPIStoreCalendarContext' as handler of 'calendar' contexts
2012-03-20 10:04:42.303 samba[6106]   registered class 'MAPIStoreOutboxContext' as handler of 'outbox' contexts
2012-03-20 10:04:42.303 samba[6106]   registered class 'MAPIStoreTasksContext' as handler of 'tasks' contexts
2012-03-20 10:04:42.303 samba[6106]   registered class 'MAPIStoreContactsContext' as handler of 'contacts' contexts
2012-03-20 10:04:42.303 samba[6106]   registered class 'MAPIStoreMailContext' as handler of 'mail' contexts
Mar 20 10:04:42 samba [6106]: <0x03D99290[SOGoMAPIFSFolder]:(null)> directory: /usr/local/samba/private/mapistore/SOGo/username/message/fallback/
Mar 20 10:04:42 samba [6106]: [WARN] <0x0x1eeb030[SOGoWebDAVAclManager]> entry '{DAV:}write' already exists in DAV permissions table
Mar 20 10:04:42 samba [6106]: [WARN] <0x0x1eeb030[SOGoWebDAVAclManager]> entry '{DAV:}write-properties' already exists in DAV permissions table
Mar 20 10:04:42 samba [6106]: [WARN] <0x0x1eeb030[SOGoWebDAVAclManager]> entry '{DAV:}write-content' already exists in DAV permissions table
Segfault Error
samba-log.txt (11,680 bytes)   
FleOxm

FleOxm

2012-03-20 09:27

reporter   ~0003600

Last edited: 2012-03-21 17:02

After a few tries, IMAP4 was a wrong clue. I no longer met this error, but only Segfault error.

I join some log file..

Thanks

Edit 21/03 : add Valgrind log, trying to read it

2012-03-21 17:02

 

valgrind.txt (19,805 bytes)   
==31037== Conditional jump or move depends on uninitialised value(s)
==31037==    at 0x3125B5FA: mysql_real_connect (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x30FBB621: _i_MySQL4Channel__openChannel (MySQL4Channel.m:157)
==31037==    by 0x294EB033: _i_GCSChannelManager__acquireOpenChannelForURL_ (GCSChannelManager.m:318)
==31037==    by 0x26C138A9: _i_SOGoSQLUserProfile__fetchJSONProfileFromDB (SOGoSQLUserProfile.m:111)
==31037==    by 0x26C12B02: _i_SOGoUserProfile__jsonRepresentation (SOGoUserProfile.m:174)
==31037==    by 0x26C12C68: _i_SOGoUserProfile__primaryFetchProfile (SOGoUserProfile.m:197)
==31037==    by 0x26C12F42: _i_SOGoUserProfile__fetchProfile (SOGoUserProfile.m:254)
==31037==    by 0x26BFE7AC: _c_SOGoUserDefaults__defaultsForUser_inDomain_ (SOGoUserDefaults.m:60)
==31037==    by 0x26C23CE2: _i_SOGoUser__userDefaults (SOGoUser.m:382)
==31037==    by 0x26C24850: _i_SOGoUser___appendSystemMailAccount (SOGoUser.m:585)
==31037==    by 0x26C25479: _i_SOGoUser__mailAccounts (SOGoUser.m:708)
==31037==    by 0x2ED4AEAE: _i_SOGoMailAccounts__lookupName_inContext_acquire_ (SOGoMailAccounts.m:82)
==31037==
==31037== Conditional jump or move depends on uninitialised value(s)
==31037==    at 0x3125B62A: mysql_real_connect (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x30FBB621: _i_MySQL4Channel__openChannel (MySQL4Channel.m:157)
==31037==    by 0x294EB033: _i_GCSChannelManager__acquireOpenChannelForURL_ (GCSChannelManager.m:318)
==31037==    by 0x26C138A9: _i_SOGoSQLUserProfile__fetchJSONProfileFromDB (SOGoSQLUserProfile.m:111)
==31037==    by 0x26C12B02: _i_SOGoUserProfile__jsonRepresentation (SOGoUserProfile.m:174)
==31037==    by 0x26C12C68: _i_SOGoUserProfile__primaryFetchProfile (SOGoUserProfile.m:197)
==31037==    by 0x26C12F42: _i_SOGoUserProfile__fetchProfile (SOGoUserProfile.m:254)
==31037==    by 0x26BFE7AC: _c_SOGoUserDefaults__defaultsForUser_inDomain_ (SOGoUserDefaults.m:60)
==31037==    by 0x26C23CE2: _i_SOGoUser__userDefaults (SOGoUser.m:382)
==31037==    by 0x26C24850: _i_SOGoUser___appendSystemMailAccount (SOGoUser.m:585)
==31037==    by 0x26C25479: _i_SOGoUser__mailAccounts (SOGoUser.m:708)
==31037==    by 0x2ED4AEAE: _i_SOGoMailAccounts__lookupName_inContext_acquire_ (SOGoMailAccounts.m:82)
==31037==
==31037== Conditional jump or move depends on uninitialised value(s)
==31037==    at 0x3125C199: mysql_real_connect (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x30FBB621: _i_MySQL4Channel__openChannel (MySQL4Channel.m:157)
==31037==    by 0x294EB033: _i_GCSChannelManager__acquireOpenChannelForURL_ (GCSChannelManager.m:318)
==31037==    by 0x26C138A9: _i_SOGoSQLUserProfile__fetchJSONProfileFromDB (SOGoSQLUserProfile.m:111)
==31037==    by 0x26C12B02: _i_SOGoUserProfile__jsonRepresentation (SOGoUserProfile.m:174)
==31037==    by 0x26C12C68: _i_SOGoUserProfile__primaryFetchProfile (SOGoUserProfile.m:197)
==31037==    by 0x26C12F42: _i_SOGoUserProfile__fetchProfile (SOGoUserProfile.m:254)
==31037==    by 0x26BFE7AC: _c_SOGoUserDefaults__defaultsForUser_inDomain_ (SOGoUserDefaults.m:60)
==31037==    by 0x26C23CE2: _i_SOGoUser__userDefaults (SOGoUser.m:382)
==31037==    by 0x26C24850: _i_SOGoUser___appendSystemMailAccount (SOGoUser.m:585)
==31037==    by 0x26C25479: _i_SOGoUser__mailAccounts (SOGoUser.m:708)
==31037==    by 0x2ED4AEAE: _i_SOGoMailAccounts__lookupName_inContext_acquire_ (SOGoMailAccounts.m:82)
==31037==
==31037== Conditional jump or move depends on uninitialised value(s)
==31037==    at 0x3125C049: mysql_real_connect (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x30FBB621: _i_MySQL4Channel__openChannel (MySQL4Channel.m:157)
==31037==    by 0x294EB033: _i_GCSChannelManager__acquireOpenChannelForURL_ (GCSChannelManager.m:318)
==31037==    by 0x26C138A9: _i_SOGoSQLUserProfile__fetchJSONProfileFromDB (SOGoSQLUserProfile.m:111)
==31037==    by 0x26C12B02: _i_SOGoUserProfile__jsonRepresentation (SOGoUserProfile.m:174)
==31037==    by 0x26C12C68: _i_SOGoUserProfile__primaryFetchProfile (SOGoUserProfile.m:197)
==31037==    by 0x26C12F42: _i_SOGoUserProfile__fetchProfile (SOGoUserProfile.m:254)
==31037==    by 0x26BFE7AC: _c_SOGoUserDefaults__defaultsForUser_inDomain_ (SOGoUserDefaults.m:60)
==31037==    by 0x26C23CE2: _i_SOGoUser__userDefaults (SOGoUser.m:382)
==31037==    by 0x26C24850: _i_SOGoUser___appendSystemMailAccount (SOGoUser.m:585)
==31037==    by 0x26C25479: _i_SOGoUser__mailAccounts (SOGoUser.m:708)
==31037==    by 0x2ED4AEAE: _i_SOGoMailAccounts__lookupName_inContext_acquire_ (SOGoMailAccounts.m:82)
==31037==
==31037== Conditional jump or move depends on uninitialised value(s)
==31037==    at 0x3125C04D: mysql_real_connect (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x30FBB621: _i_MySQL4Channel__openChannel (MySQL4Channel.m:157)
==31037==    by 0x294EB033: _i_GCSChannelManager__acquireOpenChannelForURL_ (GCSChannelManager.m:318)
==31037==    by 0x26C138A9: _i_SOGoSQLUserProfile__fetchJSONProfileFromDB (SOGoSQLUserProfile.m:111)
==31037==    by 0x26C12B02: _i_SOGoUserProfile__jsonRepresentation (SOGoUserProfile.m:174)
==31037==    by 0x26C12C68: _i_SOGoUserProfile__primaryFetchProfile (SOGoUserProfile.m:197)
==31037==    by 0x26C12F42: _i_SOGoUserProfile__fetchProfile (SOGoUserProfile.m:254)
==31037==    by 0x26BFE7AC: _c_SOGoUserDefaults__defaultsForUser_inDomain_ (SOGoUserDefaults.m:60)
==31037==    by 0x26C23CE2: _i_SOGoUser__userDefaults (SOGoUser.m:382)
==31037==    by 0x26C24850: _i_SOGoUser___appendSystemMailAccount (SOGoUser.m:585)
==31037==    by 0x26C25479: _i_SOGoUser__mailAccounts (SOGoUser.m:708)
==31037==    by 0x2ED4AEAE: _i_SOGoMailAccounts__lookupName_inContext_acquire_ (SOGoMailAccounts.m:82)
==31037==
==31037== Conditional jump or move depends on uninitialised value(s)
==31037==    at 0x3125C056: mysql_real_connect (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x30FBB621: _i_MySQL4Channel__openChannel (MySQL4Channel.m:157)
==31037==    by 0x294EB033: _i_GCSChannelManager__acquireOpenChannelForURL_ (GCSChannelManager.m:318)
==31037==    by 0x26C138A9: _i_SOGoSQLUserProfile__fetchJSONProfileFromDB (SOGoSQLUserProfile.m:111)
==31037==    by 0x26C12B02: _i_SOGoUserProfile__jsonRepresentation (SOGoUserProfile.m:174)
==31037==    by 0x26C12C68: _i_SOGoUserProfile__primaryFetchProfile (SOGoUserProfile.m:197)
==31037==    by 0x26C12F42: _i_SOGoUserProfile__fetchProfile (SOGoUserProfile.m:254)
==31037==    by 0x26BFE7AC: _c_SOGoUserDefaults__defaultsForUser_inDomain_ (SOGoUserDefaults.m:60)
==31037==    by 0x26C23CE2: _i_SOGoUser__userDefaults (SOGoUser.m:382)
==31037==    by 0x26C24850: _i_SOGoUser___appendSystemMailAccount (SOGoUser.m:585)
==31037==    by 0x26C25479: _i_SOGoUser__mailAccounts (SOGoUser.m:708)
==31037==    by 0x2ED4AEAE: _i_SOGoMailAccounts__lookupName_inContext_acquire_ (SOGoMailAccounts.m:82)
==31037==
==31037== Conditional jump or move depends on uninitialised value(s)
==31037==    at 0x3125C163: mysql_real_connect (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x30FBB621: _i_MySQL4Channel__openChannel (MySQL4Channel.m:157)
==31037==    by 0x294EB033: _i_GCSChannelManager__acquireOpenChannelForURL_ (GCSChannelManager.m:318)
==31037==    by 0x26C138A9: _i_SOGoSQLUserProfile__fetchJSONProfileFromDB (SOGoSQLUserProfile.m:111)
==31037==    by 0x26C12B02: _i_SOGoUserProfile__jsonRepresentation (SOGoUserProfile.m:174)
==31037==    by 0x26C12C68: _i_SOGoUserProfile__primaryFetchProfile (SOGoUserProfile.m:197)
==31037==    by 0x26C12F42: _i_SOGoUserProfile__fetchProfile (SOGoUserProfile.m:254)
==31037==    by 0x26BFE7AC: _c_SOGoUserDefaults__defaultsForUser_inDomain_ (SOGoUserDefaults.m:60)
==31037==    by 0x26C23CE2: _i_SOGoUser__userDefaults (SOGoUser.m:382)
==31037==    by 0x26C24850: _i_SOGoUser___appendSystemMailAccount (SOGoUser.m:585)
==31037==    by 0x26C25479: _i_SOGoUser__mailAccounts (SOGoUser.m:708)
==31037==    by 0x2ED4AEAE: _i_SOGoMailAccounts__lookupName_inContext_acquire_ (SOGoMailAccounts.m:82)
==31037==
==31037== Conditional jump or move depends on uninitialised value(s)
==31037==    at 0x3125B71A: mysql_real_connect (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x30FBB621: _i_MySQL4Channel__openChannel (MySQL4Channel.m:157)
==31037==    by 0x294EB033: _i_GCSChannelManager__acquireOpenChannelForURL_ (GCSChannelManager.m:318)
==31037==    by 0x26C138A9: _i_SOGoSQLUserProfile__fetchJSONProfileFromDB (SOGoSQLUserProfile.m:111)
==31037==    by 0x26C12B02: _i_SOGoUserProfile__jsonRepresentation (SOGoUserProfile.m:174)
==31037==    by 0x26C12C68: _i_SOGoUserProfile__primaryFetchProfile (SOGoUserProfile.m:197)
==31037==    by 0x26C12F42: _i_SOGoUserProfile__fetchProfile (SOGoUserProfile.m:254)
==31037==    by 0x26BFE7AC: _c_SOGoUserDefaults__defaultsForUser_inDomain_ (SOGoUserDefaults.m:60)
==31037==    by 0x26C23CE2: _i_SOGoUser__userDefaults (SOGoUser.m:382)
==31037==    by 0x26C24850: _i_SOGoUser___appendSystemMailAccount (SOGoUser.m:585)
==31037==    by 0x26C25479: _i_SOGoUser__mailAccounts (SOGoUser.m:708)
==31037==    by 0x2ED4AEAE: _i_SOGoMailAccounts__lookupName_inContext_acquire_ (SOGoMailAccounts.m:82)
==31037==
==31037== Conditional jump or move depends on uninitialised value(s)
==31037==    at 0x3125B728: mysql_real_connect (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x30FBB621: _i_MySQL4Channel__openChannel (MySQL4Channel.m:157)
==31037==    by 0x294EB033: _i_GCSChannelManager__acquireOpenChannelForURL_ (GCSChannelManager.m:318)
==31037==    by 0x26C138A9: _i_SOGoSQLUserProfile__fetchJSONProfileFromDB (SOGoSQLUserProfile.m:111)
==31037==    by 0x26C12B02: _i_SOGoUserProfile__jsonRepresentation (SOGoUserProfile.m:174)
==31037==    by 0x26C12C68: _i_SOGoUserProfile__primaryFetchProfile (SOGoUserProfile.m:197)
==31037==    by 0x26C12F42: _i_SOGoUserProfile__fetchProfile (SOGoUserProfile.m:254)
==31037==    by 0x26BFE7AC: _c_SOGoUserDefaults__defaultsForUser_inDomain_ (SOGoUserDefaults.m:60)
==31037==    by 0x26C23CE2: _i_SOGoUser__userDefaults (SOGoUser.m:382)
==31037==    by 0x26C24850: _i_SOGoUser___appendSystemMailAccount (SOGoUser.m:585)
==31037==    by 0x26C25479: _i_SOGoUser__mailAccounts (SOGoUser.m:708)
==31037==    by 0x2ED4AEAE: _i_SOGoMailAccounts__lookupName_inContext_acquire_ (SOGoMailAccounts.m:82)
==31037==
==31037== Conditional jump or move depends on uninitialised value(s)
==31037==    at 0x3125B738: mysql_real_connect (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x30FBB621: _i_MySQL4Channel__openChannel (MySQL4Channel.m:157)
==31037==    by 0x294EB033: _i_GCSChannelManager__acquireOpenChannelForURL_ (GCSChannelManager.m:318)
==31037==    by 0x26C138A9: _i_SOGoSQLUserProfile__fetchJSONProfileFromDB (SOGoSQLUserProfile.m:111)
==31037==    by 0x26C12B02: _i_SOGoUserProfile__jsonRepresentation (SOGoUserProfile.m:174)
==31037==    by 0x26C12C68: _i_SOGoUserProfile__primaryFetchProfile (SOGoUserProfile.m:197)
==31037==    by 0x26C12F42: _i_SOGoUserProfile__fetchProfile (SOGoUserProfile.m:254)
==31037==    by 0x26BFE7AC: _c_SOGoUserDefaults__defaultsForUser_inDomain_ (SOGoUserDefaults.m:60)
==31037==    by 0x26C23CE2: _i_SOGoUser__userDefaults (SOGoUser.m:382)
==31037==    by 0x26C24850: _i_SOGoUser___appendSystemMailAccount (SOGoUser.m:585)
==31037==    by 0x26C25479: _i_SOGoUser__mailAccounts (SOGoUser.m:708)
==31037==    by 0x2ED4AEAE: _i_SOGoMailAccounts__lookupName_inContext_acquire_ (SOGoMailAccounts.m:82)
==31037==
==31037== Conditional jump or move depends on uninitialised value(s)
==31037==    at 0x3125B85C: mysql_real_connect (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x30FBB621: _i_MySQL4Channel__openChannel (MySQL4Channel.m:157)
==31037==    by 0x294EB033: _i_GCSChannelManager__acquireOpenChannelForURL_ (GCSChannelManager.m:318)
==31037==    by 0x26C138A9: _i_SOGoSQLUserProfile__fetchJSONProfileFromDB (SOGoSQLUserProfile.m:111)
==31037==    by 0x26C12B02: _i_SOGoUserProfile__jsonRepresentation (SOGoUserProfile.m:174)
==31037==    by 0x26C12C68: _i_SOGoUserProfile__primaryFetchProfile (SOGoUserProfile.m:197)
==31037==    by 0x26C12F42: _i_SOGoUserProfile__fetchProfile (SOGoUserProfile.m:254)
==31037==    by 0x26BFE7AC: _c_SOGoUserDefaults__defaultsForUser_inDomain_ (SOGoUserDefaults.m:60)
==31037==    by 0x26C23CE2: _i_SOGoUser__userDefaults (SOGoUser.m:382)
==31037==    by 0x26C24850: _i_SOGoUser___appendSystemMailAccount (SOGoUser.m:585)
==31037==    by 0x26C25479: _i_SOGoUser__mailAccounts (SOGoUser.m:708)
==31037==    by 0x2ED4AEAE: _i_SOGoMailAccounts__lookupName_inContext_acquire_ (SOGoMailAccounts.m:82)
==31037==
==31037== Conditional jump or move depends on uninitialised value(s)
==31037==    at 0x3125B014: mysql_init_character_set (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x3125B881: mysql_real_connect (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x30FBB621: _i_MySQL4Channel__openChannel (MySQL4Channel.m:157)
==31037==    by 0x294EB033: _i_GCSChannelManager__acquireOpenChannelForURL_ (GCSChannelManager.m:318)
==31037==    by 0x26C138A9: _i_SOGoSQLUserProfile__fetchJSONProfileFromDB (SOGoSQLUserProfile.m:111)
==31037==    by 0x26C12B02: _i_SOGoUserProfile__jsonRepresentation (SOGoUserProfile.m:174)
==31037==    by 0x26C12C68: _i_SOGoUserProfile__primaryFetchProfile (SOGoUserProfile.m:197)
==31037==    by 0x26C12F42: _i_SOGoUserProfile__fetchProfile (SOGoUserProfile.m:254)
==31037==    by 0x26BFE7AC: _c_SOGoUserDefaults__defaultsForUser_inDomain_ (SOGoUserDefaults.m:60)
==31037==    by 0x26C23CE2: _i_SOGoUser__userDefaults (SOGoUser.m:382)
==31037==    by 0x26C24850: _i_SOGoUser___appendSystemMailAccount (SOGoUser.m:585)
==31037==    by 0x26C25479: _i_SOGoUser__mailAccounts (SOGoUser.m:708)
==31037==
==31037== Conditional jump or move depends on uninitialised value(s)
==31037==    at 0x3125B02F: mysql_init_character_set (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x3125B881: mysql_real_connect (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x30FBB621: _i_MySQL4Channel__openChannel (MySQL4Channel.m:157)
==31037==    by 0x294EB033: _i_GCSChannelManager__acquireOpenChannelForURL_ (GCSChannelManager.m:318)
==31037==    by 0x26C138A9: _i_SOGoSQLUserProfile__fetchJSONProfileFromDB (SOGoSQLUserProfile.m:111)
==31037==    by 0x26C12B02: _i_SOGoUserProfile__jsonRepresentation (SOGoUserProfile.m:174)
==31037==    by 0x26C12C68: _i_SOGoUserProfile__primaryFetchProfile (SOGoUserProfile.m:197)
==31037==    by 0x26C12F42: _i_SOGoUserProfile__fetchProfile (SOGoUserProfile.m:254)
==31037==    by 0x26BFE7AC: _c_SOGoUserDefaults__defaultsForUser_inDomain_ (SOGoUserDefaults.m:60)
==31037==    by 0x26C23CE2: _i_SOGoUser__userDefaults (SOGoUser.m:382)
==31037==    by 0x26C24850: _i_SOGoUser___appendSystemMailAccount (SOGoUser.m:585)
==31037==    by 0x26C25479: _i_SOGoUser__mailAccounts (SOGoUser.m:708)
==31037==
==31037== Use of uninitialised value of size 8
==31037==    at 0x312455F3: my_strcasecmp_8bit (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x3123A4B3: get_charset_number (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x3123A7B6: get_charset_by_csname (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x3125B04A: mysql_init_character_set (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x3125B881: mysql_real_connect (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x30FBB621: _i_MySQL4Channel__openChannel (MySQL4Channel.m:157)
==31037==    by 0x294EB033: _i_GCSChannelManager__acquireOpenChannelForURL_ (GCSChannelManager.m:318)
==31037==    by 0x26C138A9: _i_SOGoSQLUserProfile__fetchJSONProfileFromDB (SOGoSQLUserProfile.m:111)
==31037==    by 0x26C12B02: _i_SOGoUserProfile__jsonRepresentation (SOGoUserProfile.m:174)
==31037==    by 0x26C12C68: _i_SOGoUserProfile__primaryFetchProfile (SOGoUserProfile.m:197)
==31037==    by 0x26C12F42: _i_SOGoUserProfile__fetchProfile (SOGoUserProfile.m:254)
==31037==    by 0x26BFE7AC: _c_SOGoUserDefaults__defaultsForUser_inDomain_ (SOGoUserDefaults.m:60)
==31037==
==31037== Invalid read of size 1
==31037==    at 0x312455F3: my_strcasecmp_8bit (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x3123A4B3: get_charset_number (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x3123A7B6: get_charset_by_csname (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x3125B04A: mysql_init_character_set (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x3125B881: mysql_real_connect (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x30FBB621: _i_MySQL4Channel__openChannel (MySQL4Channel.m:157)
==31037==    by 0x294EB033: _i_GCSChannelManager__acquireOpenChannelForURL_ (GCSChannelManager.m:318)
==31037==    by 0x26C138A9: _i_SOGoSQLUserProfile__fetchJSONProfileFromDB (SOGoSQLUserProfile.m:111)
==31037==    by 0x26C12B02: _i_SOGoUserProfile__jsonRepresentation (SOGoUserProfile.m:174)
==31037==    by 0x26C12C68: _i_SOGoUserProfile__primaryFetchProfile (SOGoUserProfile.m:197)
==31037==    by 0x26C12F42: _i_SOGoUserProfile__fetchProfile (SOGoUserProfile.m:254)
==31037==    by 0x26BFE7AC: _c_SOGoUserDefaults__defaultsForUser_inDomain_ (SOGoUserDefaults.m:60)
==31037==  Address 0xd1 is not stack'd, malloc'd or (recently) free'd
==31037==
==31037==
==31037== Process terminating with default action of signal 11 (SIGSEGV)
==31037==  Access not within mapped region at address 0xD1
==31037==    at 0x312455F3: my_strcasecmp_8bit (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x3123A4B3: get_charset_number (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x3123A7B6: get_charset_by_csname (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x3125B04A: mysql_init_character_set (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x3125B881: mysql_real_connect (in /usr/lib/libmysqlclient.so.16.0.0)
==31037==    by 0x30FBB621: _i_MySQL4Channel__openChannel (MySQL4Channel.m:157)
==31037==    by 0x294EB033: _i_GCSChannelManager__acquireOpenChannelForURL_ (GCSChannelManager.m:318)
==31037==    by 0x26C138A9: _i_SOGoSQLUserProfile__fetchJSONProfileFromDB (SOGoSQLUserProfile.m:111)
==31037==    by 0x26C12B02: _i_SOGoUserProfile__jsonRepresentation (SOGoUserProfile.m:174)
==31037==    by 0x26C12C68: _i_SOGoUserProfile__primaryFetchProfile (SOGoUserProfile.m:197)
==31037==    by 0x26C12F42: _i_SOGoUserProfile__fetchProfile (SOGoUserProfile.m:254)
==31037==    by 0x26BFE7AC: _c_SOGoUserDefaults__defaultsForUser_inDomain_ (SOGoUserDefaults.m:60)
==31037==  If you believe this happened as a result of a stack
==31037==  overflow in your program's main thread (unlikely but
==31037==  possible), you can try to increase the size of the
==31037==  main thread stack using the --main-stacksize= flag.
==31037==  The main thread stack size used in this run was 8388608.
==31037==
==31037== HEAP SUMMARY:
==31037==     in use at exit: 11,948,685 bytes in 99,292 blocks
==31037==   total heap usage: 894,264 allocs, 794,972 frees, 193,140,318 bytes allocated
==31037==
==31037== LEAK SUMMARY:
==31037==    definitely lost: 38,242 bytes in 2,029 blocks
==31037==    indirectly lost: 103,676 bytes in 1,171 blocks
==31037==      possibly lost: 1,997,968 bytes in 17,461 blocks
==31037==    still reachable: 9,808,799 bytes in 78,631 blocks
==31037==         suppressed: 0 bytes in 0 blocks
==31037== Rerun with --leak-check=full to see details of leaked memory
==31037==
==31037== For counts of detected and suppressed errors, rerun with: -v
==31037== Use --track-origins=yes to see where uninitialised values come from
==31037== ERROR SUMMARY: 15 errors from 15 contexts (suppressed: 365 from 10)
valgrind.txt (19,805 bytes)   
FleOxm

FleOxm

2012-03-28 14:23

reporter   ~0003666

Last edited: 2012-03-28 14:26

After an update to Openchange1.0, Samba Alpha 18, and last revision of SOPE/SOGo/Openchange Connector, i always have a crash when i launch Outlook..

Normally, it should be authenticate against IMAP server but it seems that it doesn't send my password (from ldap).

I don't know why, during one try and with the same configuration, i could launch Outlook, folders were created in mapistore and Openchange.ldb was updated.
However, samba finally crashed.

i continue to investigate.. valgrind trace and other logs are the same

(sorry for my english..)

wsourdeau

wsourdeau

2012-05-21 02:17

viewer   ~0003929

This is not a bug. As stated in the documentation, login must be allowed with any password from the OpenChange host (and only from it). This is a limitation of OpenChange/SOGo due to the fact that we cannot know the user password, hence we cannot use it again when authenticating to an IMAP server.

Issue History

Date Modified Username Field Change
2012-03-16 10:44 FleOxm New Issue
2012-03-20 09:18 FleOxm File Added: gdb.txt
2012-03-20 09:18 FleOxm File Added: samba-log.txt
2012-03-20 09:27 FleOxm Note Added: 0003600
2012-03-21 17:02 FleOxm Note Edited: 0003600
2012-03-21 17:02 FleOxm File Added: valgrind.txt
2012-03-28 14:23 FleOxm Note Added: 0003666
2012-03-28 14:26 FleOxm Note Edited: 0003666
2012-05-21 02:17 wsourdeau Note Added: 0003929
2012-05-21 02:17 wsourdeau Status new => closed
2012-05-21 02:17 wsourdeau Resolution open => no change required