The Samba-Bugzilla – Attachment 16349 Details for
Bug 14584
Infinite loop in assert_no_pending_aio()
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
gdb backtrace
samba_backtrace.txt (text/plain), 10.51 KB, created by
Peter Urbanec
on 2020-11-27 07:24:35 UTC
(
hide
)
Description:
gdb backtrace
Filename:
MIME Type:
Creator:
Peter Urbanec
Created:
2020-11-27 07:24:35 UTC
Size:
10.51 KB
patch
obsolete
> >(gdb) where full >#0 0xb7bdd084 in assert_no_pending_aio (fsp=fsp@entry=0x5ab3d0, close_type=close_type@entry=SHUTDOWN_CLOSE) at ../../source3/smbd/close.c:669 > client = <optimized out> > num_connections_alive = <optimized out> > num_requests = <optimized out> > __func__ = "assert_no_pending_aio" >#1 0xb7bddb65 in close_normal_file (close_type=SHUTDOWN_CLOSE, fsp=0x5ab3d0, req=0x0) at ../../source3/smbd/close.c:695 > status = {v = 0} > tmp = <optimized out> > conn = 0x5a44a0 > is_durable = false > status = <optimized out> > tmp = <optimized out> > conn = <optimized out> > is_durable = <optimized out> > __FUNCTION__ = "close_normal_file" > new_cookie = <optimized out> > tv = <optimized out> > now = <optimized out> >#2 close_file (req=0x0, fsp=0x5ab3d0, close_type=SHUTDOWN_CLOSE) at ../../source3/smbd/close.c:1277 > status = <optimized out> > base_fsp = 0x0 > __FUNCTION__ = "close_file" >#3 0xb7b7beda in file_close_user (sconn=0x586160, vuid=1494169506) at ../../source3/smbd/files.c:257 > fsp = <optimized out> > next = 0x0 >#4 0xb7c2e210 in smbXsrv_session_logoff (session=0x5a4680) at ../../source3/smbd/smbXsrv_session.c:1671 > table = 0x587530 > local_rec = 0x0 > global_rec = 0x0 > sconn = 0x586160 > status = <optimized out> > error = {v = 0} > __FUNCTION__ = "smbXsrv_session_logoff" >#5 0xb7c2e5c3 in smbXsrv_session_clear_and_logoff (session=<optimized out>) at ../../source3/smbd/smbXsrv_session.c:1192 > status = {v = 3070058525} > xconn = <optimized out> >#6 0xb7c2e746 in smbXsrv_session_logoff_all_callback (local_rec=0xbf86d098, private_data=0xbf86d174) at ../../source3/smbd/smbXsrv_session.c:1820 > state = 0xbf86d174 > val = <optimized out> > ptr = <optimized out> > session = <optimized out> > status = <optimized out> >#7 0xb6ac7bd9 in db_rbt_traverse_internal (db=db@entry=0x59c7a0, f=f@entry=0xb7c2e6b0 <smbXsrv_session_logoff_all_callback>, private_data=private_data@entry=0xbf86d174, count=0xbf86d0f8, rw=true) at ../../lib/dbwrap/dbwrap_rbt.c:456 > rec = {db = 0x59c7a0, key = {dptr = 0x591a50 "Y\017\067\242", dsize = 4}, value = {dptr = 0x591a60 "\200FZ", dsize = 4}, value_valid = true, storev = 0xb6ac7570 <db_rbt_storev>, delete_rec = 0xb6ac7410 <db_rbt_delete>, private_data = 0xbf86d094} > rec_priv = {node = 0x591a30} > ctx = 0x5a5480 > cur = <optimized out> > next = 0x0 > ret = <optimized out> >#8 0xb6ac7dee in db_rbt_traverse (db=0x59c7a0, f=0xb7c2e6b0 <smbXsrv_session_logoff_all_callback>, private_data=0xbf86d174) at ../../lib/dbwrap/dbwrap_rbt.c:514 > ctx = <optimized out> > count = 0 > ret = <optimized out> >#9 0xb6ac521d in dbwrap_traverse (db=0x59c7a0, f=0xb7c2e6b0 <smbXsrv_session_logoff_all_callback>, private_data=0xbf86d174, count=0xbf86d170) at ../../lib/dbwrap/dbwrap.c:377 > ret = <optimized out> >#10 0xb7c2e99d in smbXsrv_session_logoff_all (client=0x5a8370) at ../../source3/smbd/smbXsrv_session.c:1774 > table = 0x587530 > state = {first_status = {v = 0}, errors = 0} > status = <optimized out> > count = 0 > __FUNCTION__ = "smbXsrv_session_logoff_all" >#11 0xb7c35605 in exit_server_common (how=how@entry=SERVER_EXIT_NORMAL, reason=reason@entry=0xb76f56ba "NT_STATUS_END_OF_FILE") at ../../source3/smbd/server_exit.c:159 > status = {v = 0} > client = 0x5a8370 > xconn = <optimized out> > sconn = <optimized out> > msg_ctx = 0x590350 > __FUNCTION__ = "exit_server_common" >#12 0xb7c35c40 in smbd_exit_server_cleanly (explanation=0xb76f56ba "NT_STATUS_END_OF_FILE") at ../../source3/smbd/server_exit.c:266 >No locals. >#13 0xb7654392 in exit_server_cleanly (reason=0xb76f56ba "NT_STATUS_END_OF_FILE") at ../../source3/lib/smbd_shim.c:121 >No locals. >#14 0xb7c0c61c in smbd_server_connection_terminate_ex (xconn=0x585740, reason=0xb76f56ba "NT_STATUS_END_OF_FILE", location=0xb7d82b70 "../../source3/smbd/smb2_server.c:4100") at ../../source3/smbd/smb2_server.c:1143 > client = 0x5a8370 > __FUNCTION__ = "smbd_server_connection_terminate_ex" >#15 0xb7c0f9b2 in smbd_smb2_connection_handler (ev=0x585a90, fde=0x59dff0, flags=1, private_data=0x585740) at ../../source3/smbd/smb2_server.c:4100 > xconn = 0x585740 > status = <optimized out> >#16 0xb71cd218 in tevent_common_invoke_fd_handler () from /usr/lib/libtevent.so.0 >No symbol table info available. >#17 0xb71d3b68 in ?? () from /usr/lib/libtevent.so.0 >No symbol table info available. >#18 0xb71d1b62 in ?? () from /usr/lib/libtevent.so.0 >No symbol table info available. >#19 0xb71cc8d4 in _tevent_loop_once () from /usr/lib/libtevent.so.0 >No symbol table info available. >#20 0xb71ccb9a in tevent_common_loop_wait () from /usr/lib/libtevent.so.0 >No symbol table info available. >#21 0xb71d1af2 in ?? () from /usr/lib/libtevent.so.0 >No symbol table info available. >#22 0xb7bfd730 in smbd_process (ev_ctx=0x585a90, msg_ctx=0x590350, sock_fd=38, interactive=false) at ../../source3/smbd/process.c:4170 > trace_state = {ev = 0x585a90, frame = 0x5c4f40} > lp_sub = 0xb7a9cb98 <s3_global_substitution> > client = 0x5a8370 > sconn = <optimized out> > xconn = 0x585740 > locaddr = <optimized out> > remaddr = <optimized out> > ret = <optimized out> > status = <optimized out> > tv = {tv_sec = 1606431357, tv_usec = 665085} > now = <optimized out> > chroot_dir = <optimized out> > rc = <optimized out> > __func__ = "smbd_process" > __FUNCTION__ = "smbd_process" >#23 0x004e8ebb in smbd_accept_connection (ev=0x585a90, fde=0x5a4f70, flags=1, private_data=0x5a2f70) at ../../source3/smbd/server.c:1012 > status = {v = 0} > s = 0x0 > msg_ctx = 0x590350 > addr = {ss_family = 2, __ss_padding = "\270\016\300\250*\275\000\000\000\000\000\000\000\000\221 \035\267LÕ\277\004\373Y\000 \002\000\000\000\300\035\267\070Õ\277LÕ\277\360\372Y\000\000\311\026\226\364Ô\277\000\000\000\000i \035\267\000\300\035\267\230Õ\277LÕ\277\360\372Y\000\241'\035\267TÕ\277LÕ\277\004\373Y\000m'\035\267\070Õ\277\000\000\000\000\060\000\000\000\313\331 \267\060\000\000\000\363\002!\267", __ss_align = 0} > in_addrlen = 16 > fd = 38 > pid = <optimized out> > __FUNCTION__ = "smbd_accept_connection" >#24 0xb71cd218 in tevent_common_invoke_fd_handler () from /usr/lib/libtevent.so.0 >No symbol table info available. >#25 0xb71d3b68 in ?? () from /usr/lib/libtevent.so.0 >No symbol table info available. >#26 0xb71d1b62 in ?? () from /usr/lib/libtevent.so.0 >No symbol table info available. >#27 0xb71cc8d4 in _tevent_loop_once () from /usr/lib/libtevent.so.0 >No symbol table info available. >#28 0xb71ccb9a in tevent_common_loop_wait () from /usr/lib/libtevent.so.0 >No symbol table info available. >#29 0xb71d1af2 in ?? () from /usr/lib/libtevent.so.0 >No symbol table info available. >#30 0x004e2355 in smbd_parent_loop (parent=0x5919e0, ev_ctx=0x585a90) at ../../source3/smbd/server.c:1359 > trace_state = {frame = 0x59e080} > ret = 0 > trace_state = <optimized out> > ret = <optimized out> > __FUNCTION__ = "smbd_parent_loop" >#31 main (argc=2, argv=0xbf86da44) at ../../source3/smbd/server.c:2197 > is_daemon = <optimized out> > interactive = <optimized out> > Fork = <optimized out> > no_process_group = <optimized out> > log_stdout = <optimized out> > ports = 0x0 > profile_level = 0x0 > opt = <optimized out> > pc = <optimized out> > print_build_options = <optimized out> > main_server_id = {pid = 14780, task_id = 0, vnn = 4294967295, unique_id = 12110341846037770968} > long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0xb71c6260 <poptHelpOptions>, val = 0, descrip = 0x4f03e7 "Help options:", argDescrip = 0x0}, {longName = 0x4f03f5 "daemon", shortName = 68 'D', argInfo = 0, arg = 0x0, val = 1000, descrip = 0x4f03fc "Become a daemon (default)", argDescrip = 0x0}, {longName = 0x4f0416 "interactive", shortName = 105 'i', argInfo = 0, arg = 0x0, val = 1001, descrip = 0x4ef324 "Run interactive (not a daemon) and log to stdout", argDescrip = 0x0}, {longName = 0x4f0422 "foreground", shortName = 70 'F', argInfo = 0, arg = 0x0, val = 1002, descrip = 0x4ef358 "Run daemon in foreground (for daemontools, etc.)", argDescrip = 0x0}, {longName = 0x4f042d "no-process-group", shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 1003, descrip = 0x4ef38c "Don't create a new process group", argDescrip = 0x0}, {longName = 0x4f043e "log-stdout", shortName = 83 'S', argInfo = 0, arg = 0x0, val = 1004, descrip = 0x4f0449 "Log to stdout", argDescrip = 0x0}, {longName = 0x4f0457 "build-options", shortName = 98 'b', argInfo = 0, arg = 0x0, val = 98, descrip = 0x4f0465 "Print build options", argDescrip = 0x0}, {longName = 0x4f0479 "port", shortName = 112 'p', argInfo = 1, arg = 0xbf86d71c, val = 0, descrip = 0x4f047e "Listen on the specified ports", argDescrip = 0x0}, {longName = 0x4f049c "profiling-level", shortName = 80 'P', argInfo = 1, arg = 0xbf86d720, val = 0, descrip = 0x4f04ac "Set profiling level", argDescrip = 0x4f04c0 "PROFILE_LEVEL"}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0xb7f091a0 <popt_common_samba>, val = 0, descrip = 0x4f04ce "Common samba options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}} > parent = 0x5919e0 > frame = <optimized out> > status = <optimized out> > ev_ctx = 0x585a90 > msg_ctx = <optimized out> > server_id = {pid = 14781, task_id = 0, vnn = 4294967295, unique_id = 18063149111020032438} > se = <optimized out> > profiling_level = <optimized out> > np_dir = <optimized out> > lp_sub = <optimized out> > smbd_shim_fns = {send_stat_cache_delete_message = 0xb7be9f40 <smbd_send_stat_cache_delete_message>, change_to_root_user = 0xb7bca410 <smbd_change_to_root_user>, become_authenticated_pipe_user = 0xb7bca4b0 <smbd_become_authenticated_pipe_user>, unbecome_authenticated_pipe_user = 0xb7bca570 <smbd_unbecome_authenticated_pipe_user>, contend_level2_oplocks_begin = 0xb7c3fef0 <smbd_contend_level2_oplocks_begin>, contend_level2_oplocks_end = 0xb7c402e0 <smbd_contend_level2_oplocks_end>, become_root = 0xb7bca590 <smbd_become_root>, unbecome_root = 0xb7bca5d0 <smbd_unbecome_root>, exit_server = 0xb7c35c10 <smbd_exit_server>, exit_server_cleanly = 0xb7c35c30 <smbd_exit_server_cleanly>} > __FUNCTION__ = "main" > __func__ = "main" >(gdb)
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 14584
: 16349