With applied patch from bug #8570 comment #2 and processing two logins from two threads on two independent and totally separated RPC connections I get the below crash. See also bug #8570 comment #8. Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0x7fffcbdd3700 (LWP 9998)] 0x000000356d822755 in __gconv () from /lib64/libc.so.6 (gdb) t a a bt Thread 15 (Thread 0x7fffc9dcf700 (LWP 10013)): #0 0x000000356d8f03e3 in epoll_wait () from /lib64/libc.so.6 #1 0x00007fffe64c6f7c in epoll_event_loop (std_ev=0x7fffc402c440, tvalp=0x7fffc9dce350) at ../tevent_standard.c:264 #2 0x00007fffe64c7897 in std_event_loop_once (ev=0x7fffc402e8a0, location=0x7fffe64c997d "../tevent_req.c:198") at ../tevent_standard.c:548 #3 0x00007fffe64c2dad in _tevent_loop_once (ev=0x7fffc402e8a0, location=0x7fffe64c997d "../tevent_req.c:198") at ../tevent.c:494 #4 0x00007fffe64c4722 in tevent_req_poll (req=0x7fffb40140f0, ev=0x7fffc402e8a0) at ../tevent_req.c:198 #5 0x00007fffe2c6dd9c in dcerpc_binding_handle_call (h=0x7fffc40292c0, object=0x0, table=0x7fffe6c5c9c0, opnum=2, r_mem=0x7fffb4014710, r_ptr=0x7fffc9dce490) at ../librpc/rpc/binding_handle.c:542 #6 0x00007fffe69f11cd in dcerpc_EcDoRpc_r (h=<optimized out>, mem_ctx=<optimized out>, r=<optimized out>) at gen_ndr/ndr_exchange_c.c:12090 #7 0x00007fffe694186f in emsmdb_transaction (emsmdb_ctx=0x7fffc402e610, mem_ctx=0x7fffb4014710, req=0x7fffb4014520, repl=0x7fffc9dce530) at libmapi/emsmdb.c:441 #8 0x00007fffe6941c90 in emsmdb_transaction_wrapper (session=<optimized out>, mem_ctx=<optimized out>, req=<optimized out>, repl=<optimized out>) at libmapi/emsmdb.c:593 #9 0x00007fffe69581a9 in Release (obj=0x7fffc9dce5e0) at libmapi/IUnknown.c:149 #10 0x00007fffe695ffd4 in mapi_object_release (obj=0x7fffc9dce5e0) at libmapi/mapi_object.c:97 #11 0x00007fffe6c89234 in e_mapi_connection_resolve_named_prop (conn=0x64b6c0 [EMapiConnection], fid=18245770940338143233, pidlid_propid=2149318687, cancellable=0x0, perror=0x0) at e-mapi-connection.c:3030 #12 0x00007fffe6c95152 in e_mapi_util_find_array_namedid (properties=0x7fffc9dce950, conn=0x64b6c0 [EMapiConnection], fid=18245770940338143233, namedid=2149318687) at e-mapi-utils.c:256 #13 0x00007fffe6ed1e71 in mapi_book_utils_contact_from_props (conn=0x64b6c0 [EMapiConnection], fid=18245770940338143233, book_uri=0x7fffc40010c0 "mapi://user@server/;Contacts", mapi_properties=0x7fffc9dce950, aRow=0x0) at e-book-backend-mapi.c:1870 #14 0x00007fffe6ed54fa in fetch_contacts_cb (item_data=0x7fffb40038a0, data=0x7fffc9dceb00, cancellable=0x0, perror=0x7fffc9dceaf8) at e-book-backend-mapi-contacts.c:643 #15 0x00007fffe6c8508f in e_mapi_connection_fetch_items (conn=0x64b6c0 [EMapiConnection], fid=18245770940338143233, build_rs_cb=0x7fffe6eccb24 <ebbm_build_cache_update_restriction>, build_rs_cb_data=0x756a10, sort_order=0x0, build_props=0x7fffe6ed1639 <mapi_book_utils_get_prop_list>, brp_data=0x1, cb=0x7fffe6ed5410 <fetch_contacts_cb>, data=0x7fffc9dceb00, options=15, cancellable=0x0, perror=0x7fffc9dceaf8) at e-mapi-connection.c:2119 #16 0x00007fffe6ed8146 in ebbm_contacts_fetch_contacts (ebma=0x756a10 [EBookBackendMAPIContacts], build_rs_cb=0x7fffe6eccb24 <ebbm_build_cache_update_restriction>, build_rs_cb_data=0x756a10, book_view=0x0, notify_contact_data=0x7fffc9dceb90, error=0x7fffc9dcebd0) at e-book-backend-mapi-contacts.c:1162 #17 0x00007fffe6eccab1 in ebbm_fetch_contacts (ebma=0x756a10 [EBookBackendMAPIContacts], build_rs_cb=0x7fffe6eccb24 <ebbm_build_cache_update_restriction>, build_rs_cb_data=0x756a10, book_view=0x0, last_modification_secs=0x7fffc9dcebd8, error=0x7fffc9dcebd0) at e-book-backend-mapi.c:251 #18 0x00007fffe6eccff5 in ebbm_update_cache_cb (data=0x756a10) at e-book-backend-mapi.c:342 #19 0x000000356f86a236 in g_thread_create_proxy (data=0x7fffc402a920) at gthread.c:1962 #20 0x000000356dc07d31 in start_thread () from /lib64/libpthread.so.0 #21 0x000000356d8efdfd in clone () from /lib64/libc.so.6 Thread 14 (Thread 0x7fffddc09700 (LWP 10008)): #0 0x000000356d8e2865 in _xstat () from /lib64/libc.so.6 #1 0x00007fffe5a20aa0 in ldb_modules_load_path (path=0x7fffd801cbf0 "/build/local/samba/modules/ldb", version=0x7fffe5a43e47 "1.1.0") at ../common/ldb_modules.c:867 #2 0x00007fffe5a212d9 in ldb_modules_load (modules_path=0x7fffe5a43e28 "/build/local/samba/modules/ldb", version=0x7fffe5a43e47 "1.1.0") at ../common/ldb_modules.c:1073 #3 0x00007fffe5a3af1f in ldb_init (mem_ctx=0x7fffd801c820, ev_ctx=0x7fffd801de90) at ../common/ldb.c:101 #4 0x00007fffe69444ed in OpenProfileStore (mem_ctx=0x7fffd801c820, ldb_ctx=0x7fffd801c828, profiledb=0x7fffd8002c00 "/home/user/.local/share/evolution/mapi-profiles.ldb") at libmapi/IProfAdmin.c:559 #5 0x00007fffe695ec69 in MAPIInitialize (_mapi_ctx=0x7fffddc08968, profiledb=0x7fffd8002c00 "/home/user/.local/share/evolution/mapi-profiles.ldb") at libmapi/cdo_mapi.c:247 #6 0x00007fffe6c97218 in e_mapi_utils_create_mapi_context (mapi_ctx=0x7fffddc08968, perror=0x7fffddc089d8) at e-mapi-utils.c:1232 #7 0x00007fffe6c7e053 in e_mapi_connection_new (profile=0x7fffd8007ce0 "user@server2", password=0x7fffd8018120 "<pass>", cancellable=0x7fffd80016a0 [GCancellable], perror= 0x7fffddc089d8) at e-mapi-connection.c:375 #8 0x00007fffe6ecd2ef in ebbm_connect_user (ebma=0x756dd0 [EBookBackendMAPIContacts], cancellable=0x7fffd80016a0 [GCancellable], password=0x7fffd8018120 "<pass>", error=0x7fffddc08ab0) at e-book-backend-mapi.c:414 #9 0x00007fffe6ecde15 in ebbm_authenticate_user (ebma=0x756dd0 [EBookBackendMAPIContacts], cancellable=0x7fffd80016a0 [GCancellable], credentials=0x7fffb8001180, error=0x7fffddc08ab0) at e-book-backend-mapi.c:606 #10 0x00007fffe6ecf0f4 in ebbm_operation_cb (op=0x7fffb8001150, cancelled=0, backend=0x756dd0 [EBookBackendMAPIContacts]) at e-book-backend-mapi.c:1036 #11 0x00007fffe6cac0b0 in thread_func_cb (data=0x7fffb8001d10, pqueue=0x7fffc4016940) at e-mapi-operation-queue.c:144 #12 0x000000356f86c758 in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:319 #13 0x000000356f86a236 in g_thread_create_proxy (data=0x7fffb8001100) at gthread.c:1962 #14 0x000000356dc07d31 in start_thread () from /lib64/libpthread.so.0 #15 0x000000356d8efdfd in clone () from /lib64/libc.so.6 Thread 13 (Thread 0x7fffc95ce700 (LWP 10006)): #0 0x000000356dc0e2dd in __lll_lock_wait () from /lib64/libpthread.so.0 #1 0x000000356dc09f27 in _L_lock_863 () from /lib64/libpthread.so.0 #2 0x000000356dc09d7b in pthread_mutex_lock () from /lib64/libpthread.so.0 #3 0x000000356f86a648 in g_static_rec_mutex_lock (mutex=0x7fffe6ec6c20) at gthread.c:1450 #4 0x00007fffe6c970e3 in manage_global_lock (lock=1) at e-mapi-utils.c:1188 #5 0x00007fffe6c97101 in e_mapi_utils_global_lock () at e-mapi-utils.c:1196 #6 0x00007fffe6c97153 in e_mapi_utils_create_mapi_context (mapi_ctx=0x7fffc95cd968, perror=0x7fffc95cd9d8) at e-mapi-utils.c:1214 #7 0x00007fffe6c7e053 in e_mapi_connection_new (profile=0x7fffac001110 "user@server2", password=0x7fffac00fac0 "<pass>", cancellable=0x7fffb4015d60 [GCancellable], perror= 0x7fffc95cd9d8) at e-mapi-connection.c:375 #8 0x00007fffe6ecd2ef in ebbm_connect_user (ebma=0x756ce0 [EBookBackendMAPIGAL], cancellable=0x7fffb4015d60 [GCancellable], password=0x7fffac00fac0 "<pass>", error=0x7fffc95cdab0) at e-book-backend-mapi.c:414 #9 0x00007fffe6ecde15 in ebbm_authenticate_user (ebma=0x756ce0 [EBookBackendMAPIGAL], cancellable=0x7fffb4015d60 [GCancellable], credentials=0x7fffd8007950, error=0x7fffc95cdab0) at e-book-backend-mapi.c:606 #10 0x00007fffe6ecf0f4 in ebbm_operation_cb (op=0x7fffd8007300, cancelled=0, backend=0x756ce0 [EBookBackendMAPIGAL]) at e-book-backend-mapi.c:1036 #11 0x00007fffe6cac0b0 in thread_func_cb (data=0x7fffd8007ca0, pqueue=0x7a3320) at e-mapi-operation-queue.c:144 #12 0x000000356f86c758 in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:319 #13 0x000000356f86a236 in g_thread_create_proxy (data=0x7fffb40043b0) at gthread.c:1962 #14 0x000000356dc07d31 in start_thread () from /lib64/libpthread.so.0 #15 0x000000356d8efdfd in clone () from /lib64/libc.so.6 Thread 10 (Thread 0x7fffca5d0700 (LWP 10002)): #0 0x000000356dc0bddf in pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib64/libpthread.so.0 #1 0x00007ffff7181445 in g_cond_timed_wait_posix_impl (cond=<optimized out>, entered_mutex=<optimized out>, abs_time=<optimized out>) at gthread-posix.c:242 #2 0x000000356f81968f in g_async_queue_pop_intern_unlocked (queue=0x767b50, try=0, end_time=0x7fffca5cfbf0) at gasyncqueue.c:415 #3 0x000000356f819ee1 in g_async_queue_timed_pop (queue=0x767b50, end_time=<optimized out>) at gasyncqueue.c:536 #4 0x000000356f86c677 in g_thread_pool_wait_for_new_pool () at gthreadpool.c:175 #5 g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:378 #6 0x000000356f86a236 in g_thread_create_proxy (data=0x7fffb4000990) at gthread.c:1962 #7 0x000000356dc07d31 in start_thread () from /lib64/libpthread.so.0 #8 0x000000356d8efdfd in clone () from /lib64/libc.so.6 Thread 8 (Thread 0x7fffcb5d2700 (LWP 10000)): #0 0x000000356dc0e2dd in __lll_lock_wait () from /lib64/libpthread.so.0 #1 0x000000356dc09f27 in _L_lock_863 () from /lib64/libpthread.so.0 #2 0x000000356dc09d7b in pthread_mutex_lock () from /lib64/libpthread.so.0 #3 0x000000356f86a648 in g_static_rec_mutex_lock (mutex=0x7fffe6ec6c20) at gthread.c:1450 #4 0x00007fffe6c970e3 in manage_global_lock (lock=1) at e-mapi-utils.c:1188 #5 0x00007fffe6c97101 in e_mapi_utils_global_lock () at e-mapi-utils.c:1196 #6 0x00007fffe6c97153 in e_mapi_utils_create_mapi_context (mapi_ctx=0x7fffcb5d1968, perror=0x7fffcb5d19d8) at e-mapi-utils.c:1214 #7 0x00007fffe6c7e053 in e_mapi_connection_new (profile=0x7fffc0001100 "user@server2", password=0x7fffc00119c0 "<pass>", cancellable=0x7fffc0010580 [GCancellable], perror= 0x7fffcb5d19d8) at e-mapi-connection.c:375 #8 0x00007fffe6ecd2ef in ebbm_connect_user (ebma=0x756bf0 [EBookBackendMAPIContacts], cancellable=0x7fffc0010580 [GCancellable], password=0x7fffc00119c0 "<pass>", error=0x7fffcb5d1ab0) at e-book-backend-mapi.c:414 #9 0x00007fffe6ecde15 in ebbm_authenticate_user (ebma=0x756bf0 [EBookBackendMAPIContacts], cancellable=0x7fffc0010580 [GCancellable], credentials=0x7fffd8003770, error=0x7fffcb5d1ab0) at e-book-backend-mapi.c:606 #10 0x00007fffe6ecf0f4 in ebbm_operation_cb (op=0x7fffd8003740, cancelled=0, backend=0x756bf0 [EBookBackendMAPIContacts]) at e-book-backend-mapi.c:1036 #11 0x00007fffe6cac0b0 in thread_func_cb (data=0x7fffd8003cc0, pqueue=0x7fffd0016c00) at e-mapi-operation-queue.c:144 #12 0x000000356f86c758 in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:319 #13 0x000000356f86a236 in g_thread_create_proxy (data=0x7fffd8003840) at gthread.c:1962 #14 0x000000356dc07d31 in start_thread () from /lib64/libpthread.so.0 #15 0x000000356d8efdfd in clone () from /lib64/libc.so.6 Thread 7 (Thread 0x7fffcbdd3700 (LWP 9998)): #0 0x000000356d822755 in __gconv () from /lib64/libc.so.6 #1 0x000000356d821dba in iconv () from /lib64/libc.so.6 #2 0x00007fffe5c727c7 in sys_iconv (cd=0x7fffc401d200, inbuf=0x7fffcbdd23b0, inbytesleft=0x7fffcbdd23c0, outbuf=0x7fffcbdd2420, outbytesleft=0x7fffcbdd2430) at ../lib/util/charset/iconv.c:150 #3 0x00007fffe5c7293c in smb_iconv (cd=0x7fffc402ad60, inbuf=0x7fffcbdd2428, inbytesleft=0x7fffcbdd2438, outbuf=0x7fffcbdd2420, outbytesleft=0x7fffcbdd2430) at ../lib/util/charset/iconv.c:210 #4 0x00007fffe5c6fe75 in convert_string_talloc_handle (ctx=0x7fffbc032660, ic=0x7fffd001a3e0, from=CH_UNIX, to=CH_DOS, src=0x7fffbc0325a0, srclen=96, dst=0x7fffcbdd2518, converted_size=0x7fffcbdd2520) at ../lib/util/charset/convert_string.c:417 #5 0x00007fffe5c7020d in convert_string_talloc (ctx=0x7fffbc032660, from=CH_UNIX, to=CH_DOS, src=0x7fffbc0325a0, srclen=96, dest=0x7fffcbdd2518, converted_size=0x7fffcbdd2520) at ../lib/util/charset/convert_string.c:535 #6 0x00007fffe62ad325 in ndr_push_string (ndr=0x7fffbc032660, ndr_flags=1, s=0x7fffbc0325a0 "/o=Exchange/ou=Exchange Administrative Group (FYDIBOHF23SPDLT)/cn=Recipients/cn=user") at ../librpc/ndr/ndr_string.c:235 #7 0x00007fffe696f09d in ndr_push_Logon_req (ndr=0x7fffbc032660, ndr_flags=<optimized out>, r=0x7fffbc033c68) at ndr_mapi.c:1602 #8 0x00007fffe69c8dfd in ndr_push_EcDoRpc_MAPI_REQ_UNION (ndr=0x7fffbc032660, ndr_flags=1, r=0x7fffbc033c68) at gen_ndr/ndr_exchange.c:37170 #9 0x00007fffe69d9337 in ndr_push_EcDoRpc_MAPI_REQ (ndr=0x7fffbc032660, ndr_flags=1, r=0x7fffbc033c60) at gen_ndr/ndr_exchange.c:41626 #10 0x00007fffe696a46b in ndr_push_mapi_request (ndr=0x7fffbc032660, ndr_flags=<optimized out>, r=0x7fffbc031890) at ndr_mapi.c:536 #11 0x00007fffe696be6c in ndr_push_EcDoRpc (ndr=0x7fffbc032e20, flags=1, r=0x7fffcbdd2800) at ndr_mapi.c:890 #12 0x00007fffe2c6d7be in dcerpc_binding_handle_call_send (mem_ctx=0x7fffbc031dd0, ev=0x7fffbc02ce20, h=0x7fffbc02c2d0, object=0x0, table=0x7fffe6c5c9c0, opnum=2, r_mem=0x7fffbc01c790, r_ptr=0x7fffcbdd2800) at ../librpc/rpc/binding_handle.c:387 #13 0x00007fffe2c6dd61 in dcerpc_binding_handle_call (h=0x7fffbc02c2d0, object=0x0, table=0x7fffe6c5c9c0, opnum=2, r_mem=0x7fffbc01c790, r_ptr=0x7fffcbdd2800) at ../librpc/rpc/binding_handle.c:534 #14 0x00007fffe69f11cd in dcerpc_EcDoRpc_r (h=<optimized out>, mem_ctx=<optimized out>, r=<optimized out>) at gen_ndr/ndr_exchange_c.c:12090 #15 0x00007fffe694186f in emsmdb_transaction (emsmdb_ctx=0x7fffbc0328c0, mem_ctx=0x7fffbc01c790, req=0x7fffbc031890, repl=0x7fffcbdd28c0) at libmapi/emsmdb.c:441 #16 0x00007fffe6941c90 in emsmdb_transaction_wrapper (session=<optimized out>, mem_ctx=<optimized out>, req=<optimized out>, repl=<optimized out>) at libmapi/emsmdb.c:593 #17 0x00007fffe694d3c0 in OpenUserMailbox (session=0x7fffbc019570, username=0x7fffbc015e50 "user", obj_store=0x64ba98) at libmapi/IMAPISession.c:372 #18 0x00007fffe694d6e3 in OpenMsgStore (session=0x7fffbc019570, obj_store=0x64ba98) at libmapi/IMAPISession.c:275 #19 0x00007fffe6c7e1d8 in e_mapi_connection_new (profile=0x7fffbc001100 "user@server2", password=0x7fffbc0013a0 "<pass>", cancellable=0x7606f0 [GCancellable], perror= 0x7fffcbdd29d8) at e-mapi-connection.c:394 #20 0x00007fffe6ecd2ef in ebbm_connect_user (ebma=0x756b00 [EBookBackendMAPIContacts], cancellable=0x7606f0 [GCancellable], password=0x7fffbc0013a0 "<pass>", error=0x7fffcbdd2ab0) at e-book-backend-mapi.c:414 #21 0x00007fffe6ecde15 in ebbm_authenticate_user (ebma=0x756b00 [EBookBackendMAPIContacts], cancellable=0x7606f0 [GCancellable], credentials=0x7fffd80031d0, error=0x7fffcbdd2ab0) at e-book-backend-mapi.c:606 #22 0x00007fffe6ecf0f4 in ebbm_operation_cb (op=0x7fffd80031a0, cancelled=0, backend=0x756b00 [EBookBackendMAPIContacts]) at e-book-backend-mapi.c:1036 #23 0x00007fffe6cac0b0 in thread_func_cb (data=0x7fffd8003720, pqueue=0x7fffe8004000) at e-mapi-operation-queue.c:144 #24 0x000000356f86c758 in g_thread_pool_thread_proxy (data=<optimized out>) at gthreadpool.c:319 #25 0x000000356f86a236 in g_thread_create_proxy (data=0x7fffd80032a0) at gthread.c:1962 #26 0x000000356dc07d31 in start_thread () from /lib64/libpthread.so.0 #27 0x000000356d8efdfd in clone () from /lib64/libc.so.6 Thread 3 (Thread 0x7fffeea35700 (LWP 9982)): #0 0x000000356d8e7343 in poll () from /lib64/libc.so.6 #1 0x000000356f844fe8 in g_main_context_poll (n_fds=3, fds=0x7fffe8001150, priority=<optimized out>, timeout=-1, context=0x754660) at gmain.c:3402 #2 g_main_context_iterate (context=0x754660, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084 #3 0x000000356f845825 in g_main_loop_run (loop=0x75d160) at gmain.c:3297 #4 0x0000003571cbe626 in gdbus_shared_thread_func (user_data=0x75d180) at gdbusprivate.c:276 #5 0x000000356f86a236 in g_thread_create_proxy (data=0x75d1b0) at gthread.c:1962 #6 0x000000356dc07d31 in start_thread () from /lib64/libpthread.so.0 #7 0x000000356d8efdfd in clone () from /lib64/libc.so.6 Thread 2 (Thread 0x7fffef236700 (LWP 9981)): #0 0x000000356dc0e5bd in read () from /lib64/libpthread.so.0 #1 0x000000356f840ba3 in read (__nbytes=128, __buf=0x7fffef235b70, __fd=<optimized out>) at /usr/include/bits/unistd.h:45 #2 unix_signal_helper_thread (data=<optimized out>) at gmain.c:4567 #3 0x000000356f86a236 in g_thread_create_proxy (data=0x749a60) at gthread.c:1962 #4 0x000000356dc07d31 in start_thread () from /lib64/libpthread.so.0 #5 0x000000356d8efdfd in clone () from /lib64/libc.so.6 Thread 1 (Thread 0x7ffff6d3a980 (LWP 9977)): #0 0x000000356d8e7343 in poll () from /lib64/libc.so.6 #1 0x000000356f844fe8 in g_main_context_poll (n_fds=4, fds=0x76a570, priority=<optimized out>, timeout=-1, context=0x650590) at gmain.c:3402 #2 g_main_context_iterate (context=0x650590, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3084 #3 0x000000356f845825 in g_main_loop_run (loop=0x649d00) at gmain.c:3297 #4 0x00007ffff75e6827 in e_dbus_server_run (server=0x74a010 [EDataBookFactory]) at e-dbus-server.c:248 #5 0x00000000004015e8 in main (argc=1, argv=0x7fffffffdeb8) at evolution-addressbook-factory.c:131
The issue is that handle returned by iconv_open() are documented as not to be shared between threads. To fix this, I'm going to look at reworking the Samba iconv_handle concept, so that a struct iconv_handle is never shared between threads, and is generated when required (rather than being around long-term). I need to check for the possible performance cost of this (which will only hit non-ascii due to the optimisation). In particular, I'm thinking to put back the iconv_handle on the ndr struct, but to have it generated from when the ndr structure is initialised from the long-term iconv configuration state (set from the last loadparm load). That way, a single RPC call (one of our biggest string conversion users) would only generate one handle.
Hi guys, whats the status of this bug, I am having the same issue with iconv handle in multi-threaded environment, following is my stacktrace. #0 0x00007f1a23d2e20c in _talloc_free_internal (ptr=0x7f18e44c8860, location=0x7f1a2417d580 "../lib/util/charset/iconv.c:172") at ../talloc.c:1012 #1 0x00007f1a23d2f604 in _talloc_free (ptr=0x7f18e44c8860, location=0x7f1a2417d580 "../lib/util/charset/iconv.c:172") at ../talloc.c:1594 #2 0x00007f1a2417473b in smb_iconv (cd=0x7f18b0044800, inbuf=0x7f19a187b740, inbytesleft=0x7f19a187b730, outbuf=0x7f19a187b748, outbytesleft=0x7f19a187b738) at ../lib/util/charset/iconv.c:172 #3 0x00007f1a24171c56 in convert_string_talloc_handle (ctx=0x7f18e42540e0, ic=0x7f18b0044490, from=CH_DOS, to=CH_UNIX, src=0x7f18e43426b0, srclen=129, dst=0x7f19a187b810, converted_size=0x7f19a187b818) at ../lib/util/charset/convert_string.c:421 #4 0x00007f1a24171ffc in convert_string_talloc (ctx=0x7f18e42540e0, from=CH_DOS, to=CH_UNIX, src=0x7f18e43426b0, srclen=129, dest=0x7f19a187b810, converted_size=0x7f19a187b818) at ../lib/util/charset/convert_string.c:541 #5 0x00007f1a245cc339 in ndr_pull_string (ndr=0x7f18e44c85a0, ndr_flags=256, s=0x7f18e44b1bb8) at ../librpc/ndr/ndr_string.c:157 #6 0x00007f1a268704ba in ndr_pull_Logon_req (ndr=0x7f18e44c85a0, r=0x7f18e44b1ba8, ndr_flags=256) at gen_ndr/ndr_exchange.c:37977 #7 0x00007f1a26873bf5 in ndr_pull_EcDoRpc_MAPI_REQ_UNION (ndr=0x7f18e44c85a0, ndr_flags=256, r=0x7f18e44b1ba8) at gen_ndr/ndr_exchange.c:39749 #8 0x00007f1a2687edd3 in ndr_pull_EcDoRpc_MAPI_REQ (ndr=0x7f18e44c85a0, ndr_flags=256, r=0x7f18e44b1ba0) at gen_ndr/ndr_exchange.c:43351 #9 0x00007f1a268045a2 in ndr_pull_mapi_request (r=0x7f18e42eff30, ndr=0x7f18e44c84d0, ndr_flags=<optimized out>) at ndr_mapi.c:667 #10 ndr_pull_mapi_request (ndr=0x7f18e44c84d0, ndr_flags=<optimized out>, r=0x7f18e42eff30) at ndr_mapi.c:644 #11 0x00007f1a268047f3 in ndr_pull_mapi2k7_request (r=0x7f18e4272df0, ndr=0x7f18e438d280, ndr_flags=<optimized out>) ---Type <return> to continue, or q <return> to quit--- at ndr_mapi.c:248 #12 ndr_pull_mapi2k7_request (ndr=0x7f18e438d280, ndr_flags=<optimized out>, r=0x7f18e4272df0) at ndr_mapi.c:211