The Samba-Bugzilla – Attachment 9269 Details for
Bug 10198
segfault at logon: "assert failed: ret" at ../source3/lib/util.c:798
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
gdb bt full at panic
gdb-segfault.txt (text/plain), 11.43 KB, created by
Nick Semenkovich
on 2013-10-10 15:15:31 UTC
(
hide
)
Description:
gdb bt full at panic
Filename:
MIME Type:
Creator:
Nick Semenkovich
Created:
2013-10-10 15:15:31 UTC
Size:
11.43 KB
patch
obsolete
>The Samba 'panic action' script, /home/semenko/panic-action, >was called for PID 18120 (/usr/local/samba/sbin/smbd). > >This means there was a problem with the program, such as a segfault. >User is: (root) >Below is a backtrace for this process generated with gdb, which shows >the state of the program at the time the error occurred. Â The Samba log >files may contain additional information about the problem. > >[Thread debugging using libthread_db enabled] >Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". >0x00007f9908d8694a in __libc_waitpid (pid=18727, stat_loc=stat_loc@entry=0x7fff9c7761d0, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31 >#0 Â 0x00007f9908d8694a in __libc_waitpid (pid=18727, stat_loc=stat_loc@entry=0x7fff9c7761d0, options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:31 >Â Â Â Â resultvar = 18446744073709551104 >Â Â Â Â oldtype = <optimized out> >Â Â Â Â result = <optimized out> >#1 Â 0x00007f9908d0c05e in do_system (line=0x7f990e4cef30 "/home/semenko/panic-action 18120") at ../sysdeps/posix/system.c:148 >Â Â Â Â __result = <optimized out> >Â Â Â Â _buffer = {__routine = 0x7f9908d0c310 <cancel_handler>, __arg = 0x7fff9c7761e0, __canceltype = 0, __prev = 0x0} >Â Â Â Â _avail = 1 >Â Â Â Â status = <optimized out> >Â Â Â Â save = <optimized out> >Â Â Â Â pid = 18727 >Â Â Â Â sa = {__sigaction_handler = {sa_handler = 0x1, sa_sigaction = 0x1}, sa_mask = {__val = {65536, 0 <repeats 15 times>}}, sa_flags = 0, sa_restorer = 0x7f990e4cef30} >Â Â Â Â omask = {__val = {6272, 140295313639888, 140735818457952, 140295327473376, 140735818461056, 0, 0, 140295307064984, 4294967040, 140295279520792, 140295306962416, 296375212712, 0, 206158430224, 140735818457968, 140295311487096}} >#2 Â 0x00007f990a487a99 in smb_panic_s3 (why=0x7f990bc23da4 "assert failed: ret") at ../source3/lib/util.c:798 >Â Â Â Â cmd = 0x7f990e4cef30 "/home/semenko/panic-action 18120" >Â Â Â Â result = 32665 >Â Â Â Â __FUNCTION__ = "smb_panic_s3" >#3 Â 0x00007f990bf0fc7d in smb_panic (why=0x7f990bc23da4 "assert failed: ret") at ../lib/util/fault.c:159 >No locals. >#4 Â 0x00007f990ba73f49 in defer_open_done (req=0x0) at ../source3/smbd/open.c:1533 >Â Â Â Â state = 0x7f990d3dcea0 >Â Â Â Â status = {v = 0} >Â Â Â Â ret = false >Â Â Â Â __FUNCTION__ = "defer_open_done" >#5 Â 0x00007f990b736b00 in _tevent_req_notify_callback (req=0x7f990e65f1d0, location=0x7f990a4cd820 "../source3/lib/dbwrap/dbwrap_watch.c:378") at ../lib/tevent/tevent_req.c:104 >No locals. >#6 Â 0x00007f990b736b32 in tevent_req_finish (req=0x7f990e65f1d0, state=TEVENT_REQ_DONE, location=0x7f990a4cd820 "../source3/lib/dbwrap/dbwrap_watch.c:378") at ../lib/tevent/tevent_req.c:113 >No locals. >#7 Â 0x00007f990b736b59 in _tevent_req_done (req=0x7f990e65f1d0, location=0x7f990a4cd820 "../source3/lib/dbwrap/dbwrap_watch.c:378") at ../lib/tevent/tevent_req.c:119 >No locals. >#8 Â 0x00007f990a490c57 in dbwrap_record_watch_done (subreq=0x0) at ../source3/lib/dbwrap/dbwrap_watch.c:378 >Â Â Â Â req = 0x7f990e65f1d0 >Â Â Â Â state = 0x7f990e65f350 >Â Â Â Â rec = 0x7f990e445800 >Â Â Â Â ret = 0 >#9 Â 0x00007f990b736b00 in _tevent_req_notify_callback (req=0x7f990db39b70, location=0x7f990a4cffb0 "../source3/lib/msg_channel.c:307") at ../lib/tevent/tevent_req.c:104 >No locals. >#10 0x00007f990b736b32 in tevent_req_finish (req=0x7f990db39b70, state=TEVENT_REQ_DONE, location=0x7f990a4cffb0 "../source3/lib/msg_channel.c:307") at ../lib/tevent/tevent_req.c:113 >No locals. >#11 0x00007f990b736b59 in _tevent_req_done (req=0x7f990db39b70, location=0x7f990a4cffb0 "../source3/lib/msg_channel.c:307") at ../lib/tevent/tevent_req.c:119 >No locals. >#12 0x00007f990a49856e in msg_channel_trigger (ev=0x7f990d064b30, im=0x7f990e65f4f0, priv=0x7f990e03de50) at ../source3/lib/msg_channel.c:307 >Â Â Â Â channel = 0x7f990e03de50 >Â Â Â Â req = 0x7f990db39b70 >Â Â Â Â state = 0x7f990db39cf0 >Â Â Â Â num_msgs = 1 >Â Â Â Â __PRETTY_FUNCTION__ = "msg_channel_trigger" >#13 0x00007f990b736038 in tevent_common_loop_immediate (ev=0x7f990d064b30) at ../lib/tevent/tevent_immediate.c:135 >Â Â Â Â im = 0x7f990e65f4f0 >Â Â Â Â handler = 0x7f990a498417 <msg_channel_trigger> >Â Â Â Â private_data = 0x7f990e03de50 >#14 0x00007f990a4a8783 in run_events_poll (ev=0x7f990d064b30, pollrtn=0, pfds=0x0, num_pfds=0) at ../source3/lib/events.c:192 >Â Â Â Â state = 0x7f990bc31c28 >Â Â Â Â pollfd_idx = 0x7f990bc31c47 >Â Â Â Â fde = 0x7fff9c776630 >Â Â Â Â __FUNCTION__ = "run_events_poll" >#15 0x00007f990a4a8e47 in s3_event_loop_once (ev=0x7f990d064b30, location=0x7f990bc324f8 "../source3/smbd/process.c:3628") at ../source3/lib/events.c:303 >Â Â Â Â state = 0x7f990d0655f0 >Â Â Â Â timeout = 2147483647 >Â Â Â Â num_pfds = 32665 >Â Â Â Â ret = -1669896576 >Â Â Â Â poll_errno = 32767 >#16 0x00007f990b735172 in _tevent_loop_once (ev=0x7f990d064b30, location=0x7f990bc324f8 "../source3/smbd/process.c:3628") at ../lib/tevent/tevent.c:530 >Â Â Â Â ret = 32665 >Â Â Â Â nesting_stack_ptr = 0x0 >#17 0x00007f990baa2b4c in smbd_process (ev_ctx=0x7f990d064b30, msg_ctx=0x7f990d064c20, sock_fd=40, interactive=false) at ../source3/smbd/process.c:3628 >Â Â Â Â frame = 0x7f990e4ced80 >Â Â Â Â conn = 0x7f990df00f40 >Â Â Â Â sconn = 0x7f990d4d02f0 >Â Â Â Â ss = {ss_family = 2, __ss_align = 0, __ss_padding = "06S\301\356\253\r=\211\250L\n\231\177\000\000\v\000\000\000\000\000\000\000 L\006\r\231\177\000\000\000\000\000\000\231\177\000\000\001\000H\n\v\000\000\000\060K\006\r\231\177\000\000\020#\006\r\231\177\000\000\200hw\234\377\177\000\000\365pH\n\231\177\000\000\250\250L\n\231\177\000\000\211\250L\n\231\177", '\000' <repeats 13 times>, "\024\001\177\000"} >Â Â Â Â sa = 0x7fff9c7767e0 >Â Â Â Â sa_socklen = 16 >Â Â Â Â local_address = 0x7f990db0d970 >Â Â Â Â remote_address = 0x7f990d069120 >Â Â Â Â locaddr = 0x7f990d066cf0 "smb2 recv queue" >Â Â Â Â remaddr = 0x7f990db77270 "x\261\303\v\231\177" >Â Â Â Â rhost = 0x0 >Â Â Â Â ret = 0 >Â Â Â Â __FUNCTION__ = "smbd_process" >#18 0x00007f990c57b10a in smbd_accept_connection (ev=0x7f990d064b30, fde=0x7f990d8a28e0, flags=1, private_data=0x7f990dc6f390) at ../source3/smbd/server.c:621 >Â Â Â Â status = {v = 0} >Â Â Â Â s = 0x0 >Â Â Â Â msg_ctx = 0x7f990d064c20 >Â Â Â Â addr = {ss_family = 2, __ss_align = 0, __ss_padding = "`iw\234\377\177\000\000J<\360\v\231\177\000\000`iw\234\377\177\000\000X6\360\v\231\177\000\000\b\350\314\016\231\177\000\000\360iw\234\377\177\000\000\070\000\000\000\000\000\000\000\246}\000\000\000\000\000\000\070\000\000\000\000\000\000\000\246}\000\000\000\000\000\000\020jw\234\377\177\000\000\t\207J\n\231\177\000\000\070\000\000\000\000\000\000\000\246}\000\000\000\000\000"} >Â Â Â Â in_addrlen = 16 >Â Â Â Â fd = 40 >Â Â Â Â pid = 0 >Â Â Â Â unique_id = 4399361452944864816 >Â Â Â Â __FUNCTION__ = "smbd_accept_connection" >#19 0x00007f990a4a8c8c in run_events_poll (ev=0x7f990d064b30, pollrtn=1, pfds=0x7f990dadf700, num_pfds=6) at ../source3/lib/events.c:257 >Â Â Â Â pfd = 0x7f990dadf720 >Â Â Â Â flags = 1 >Â Â Â Â state = 0x7f990d0655f0 >Â Â Â Â pollfd_idx = 0x7f990e2735b0 >Â Â Â Â fde = 0x7f990d8a28e0 >Â Â Â Â __FUNCTION__ = "run_events_poll" >#20 0x00007f990a4a8f58 in s3_event_loop_once (ev=0x7f990d064b30, location=0x7f990c57fa5e "../source3/smbd/server.c:943") at ../source3/lib/events.c:326 >Â Â Â Â state = 0x7f990d0655f0 >Â Â Â Â timeout = 56033 >Â Â Â Â num_pfds = 6 >Â Â Â Â ret = 1 >Â Â Â Â poll_errno = 4 >#21 0x00007f990b735172 in _tevent_loop_once (ev=0x7f990d064b30, location=0x7f990c57fa5e "../source3/smbd/server.c:943") at ../lib/tevent/tevent.c:530 >Â Â Â Â ret = 32665 >Â Â Â Â nesting_stack_ptr = 0x0 >#22 0x00007f990c57bd74 in smbd_parent_loop (ev_ctx=0x7f990d064b30, parent=0x7f990d069d40) at ../source3/smbd/server.c:943 >Â Â Â Â ret = 0 >Â Â Â Â frame = 0x7f990d068e90 >Â Â Â Â __FUNCTION__ = "smbd_parent_loop" >#23 0x00007f990c57d618 in main (argc=4, argv=0x7fff9c776f88) at ../source3/smbd/server.c:1577 >Â Â Â Â is_daemon = true >Â Â Â Â interactive = false >Â Â Â Â Fork = false >Â Â Â Â no_process_group = false >Â Â Â Â log_stdout = false >Â Â Â Â ports = 0x0 >Â Â Â Â profile_level = 0x0 >Â Â Â Â opt = -1 >Â Â Â Â pc = 0x7f990d062ea0 >Â Â Â Â print_build_options = false >Â Â Â Â long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x7f9909299220 <poptHelpOptions>, val = 0, descrip = 0x7f990c57fb29 "Help options:", argDescrip = 0x0}, {longName = 0x7f990c57fb37 "daemon", shortName = 68 'D', argInfo = 0, arg = 0x0, val = 1000, descrip = 0x7f990c57fb3e "Become a daemon (default)", argDescrip = 0x0}, {longName = 0x7f990c57fb58 "interactive", shortName = 105 'i', argInfo = 0, arg = 0x0, val = 1001, descrip = 0x7f990c57fb68 "Run interactive (not a daemon)", argDescrip = 0x0}, {longName = 0x7f990c57fb87 "foreground", shortName = 70 'F', argInfo = 0, arg = 0x0, val = 1002, descrip = 0x7f990c57fb98 "Run daemon in foreground (for daemontools, etc.)", argDescrip = 0x0}, {longName = 0x7f990c57fbc9 "no-process-group", shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 1003, descrip = 0x7f990c57fbe0 "Don't create a new process group", argDescrip = 0x0}, {longName = 0x7f990c57fc01 "log-stdout", shortName = 83 'S', argInfo = 0, arg = 0x0, val = 1004, descrip = 0x7f990c57fc0c "Log to stdout", argDescrip = 0x0}, {longName = 0x7f990c57fc1a "build-options", shortName = 98 'b', argInfo = 0, arg = 0x0, val = 98, descrip = 0x7f990c57fc28 "Print build options", argDescrip = 0x0}, {longName = 0x7f990c57fc3c "port", shortName = 112 'p', argInfo = 1, arg = 0x7fff9c776b40, val = 0, descrip = 0x7f990c57fc41 "Listen on the specified ports", argDescrip = 0x0}, {longName = 0x7f990c57fc5f "profiling-level", shortName = 80 'P', argInfo = 1, arg = 0x7fff9c776b48, val = 0, descrip = 0x7f990c57fc6f "Set profiling level", argDescrip = 0x7f990c57fc83 "PROFILE_LEVEL"}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x7f990ab2c360 <popt_common_samba>, val = 0, descrip = 0x7f990c57fc91 "Common samba options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x7f990ab2baa0 <popt_common_dynconfig>, val = 0, descrip = 0x7f990c57fca8 "Build-time configuration overrides:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}} >Â Â Â Â parent = 0x7f990d069d40 >Â Â Â Â frame = 0x7f990d0601a0 >Â Â Â Â status = {v = 0} >Â Â Â Â ev_ctx = 0x7f990d064b30 >Â Â Â Â msg_ctx = 0x7f990d064c20 >Â Â Â Â server_id = {pid = 16248, task_id = 0, vnn = 4294967295, unique_id = 2600908560660623475} >Â Â Â Â se = 0x7f990d06a0a0 >Â Â Â Â np_dir = 0x7f990dadf700 "\v" >Â Â Â Â smbd_shim_fns = {cancel_pending_lock_requests_by_fid = 0x7f990ba7f834 <smbd_cancel_pending_lock_requests_by_fid>, send_stat_cache_delete_message = 0x7f990ba89f59 <smbd_send_stat_cache_delete_message>, change_to_root_user = 0x7f990ba69779 <smbd_change_to_root_user>, contend_level2_oplocks_begin = 0x7f990bafa793 <smbd_contend_level2_oplocks_begin>, contend_level2_oplocks_end = 0x7f990bafa806 <smbd_contend_level2_oplocks_end>, become_root = 0x7f990ba69aa8 <smbd_become_root>, unbecome_root = 0x7f990ba69ad0 <smbd_unbecome_root>, exit_server = 0x7f990baef6d7 <smbd_exit_server>, exit_server_cleanly = 0x7f990baef6f4 <smbd_exit_server_cleanly>} >Â Â Â Â __FUNCTION__ = "main" >A debugging session is active. > >Â Â Â Â Inferior 1 [process 18120] will be detached. > >Quit anyway? (y or n) [answered Y; input not from terminal]
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 10198
: 9269 |
9270