(gdb) bt full #0 0xfeec5ea8 in _waitid () from /lib/libc.so.1 No symbol table info available. #1 0xfee6d188 in _waitpid () from /lib/libc.so.1 No symbol table info available. #2 0xfeeb8c68 in waitpid () from /lib/libc.so.1 No symbol table info available. #3 0xfeeac090 in system () from /lib/libc.so.1 No symbol table info available. #4 0x002a0ec4 in smb_panic (why=0x655be0 "/bin/sleep 99999") at lib/util.c:1672 cmd = 0x655be0 "/bin/sleep 99999" result = 6642656 __FUNCTION__ = "smb_panic" #5 0x0028a2ec in fault_report (sig=10) at lib/fault.c:46 counter = 1 __FUNCTION__ = "fault_report" #6 0x0028a2fc in sig_fault (sig=10) at lib/fault.c:69 No locals. #7 No symbol table info available. #8 parse_share_modes (dbuf={dptr = 0x655a9c "", dsize = 160}, lck=0x655a00) at locking/locking.c:506 data = (struct locking_data *) 0x655a9c i = 0 __FUNCTION__ = "parse_share_modes" #9 0x00232b08 in fill_share_mode_lock (lck=0x655a00, id={devid = 22282274, inode = 107655}, servicepath=0x0, fname=0x655a00 "", share_mode_data={dptr = 0x655a9c "", dsize = 160}, old_write_time=0x0) at locking/locking.c:792 __FUNCTION__ = "fill_share_mode_lock" #10 0x00232dc0 in get_share_mode_lock (mem_ctx=0x655a00, id={devid = 22282274, inode = 107655}, servicepath=0x0, fname=0x0, old_write_time=0x0) at locking/locking.c:822 lck = (struct share_mode_lock *) 0x655a00 tmp = {devid = 22282274, inode = 107655} key = {dptr = 0xffbfefd8 "", dsize = 16} __FUNCTION__ = "get_share_mode_lock" #11 0x000d211c in close_remove_share_mode (fsp=0x64e030, close_type=SHUTDOWN_CLOSE) at smbd/close.c:249 conn = (connection_struct *) 0x6579d8 delete_file = false changed_user = false lck = (struct share_mode_lock *) 0x0 sbuf = {st_dev = 24, st_pad1 = {6642528, 170, 0}, st_ino = 8589934592, st_mode = 4290769096, st_nlink = 2674996, st_uid = 0, st_gid = 0, st_rdev = 825242163, st_pad2 = {0, -4198120}, st_size = 4290769720, st_atim = {tv_sec = 24, tv_nsec = 48568}, st_mtim = {tv_sec = 48580, tv_nsec = 48284}, st_ctim = {tv_sec = 6493152, tv_nsec = 1}, st_blksize = 6655104, st_blocks = 107369987505, st_fstype = "\000\000\000ª", '\0' , st_pad4 = {-4198088, 2775736, 5, 14, 14, 3, 6, 88}} status = {v = 0} ret = 6642176 id = {devid = 0, inode = 4294967297} __FUNCTION__ = "close_remove_share_mode" #12 0x000d2b8c in close_normal_file (fsp=0x64e030, close_type=SHUTDOWN_CLOSE) at smbd/close.c:549 status = {v = 0} saved_status1 = {v = 0} saved_status2 = {v = 0} saved_status3 = {v = 0} saved_status4 = {v = 0} conn = (connection_struct *) 0x6579d8 __FUNCTION__ = "close_normal_file" #13 0x000d3178 in close_file (fsp=0x64e030, close_type=SHUTDOWN_CLOSE) at smbd/close.c:735 status = {v = 0} base_fsp = (struct files_struct *) 0x0 __FUNCTION__ = "close_file" #14 0x000756a8 in file_close_conn (conn=0x6579d8) at smbd/files.c:145 fsp = (files_struct *) 0x0 next = (files_struct *) 0x0 #15 0x000ef028 in close_cnum (conn=0x6579d8, vuid=100) at smbd/service.c:1392 __FUNCTION__ = "close_cnum" #16 0x00082788 in conn_close_all () at smbd/conn.c:180 conn = (connection_struct *) 0x6579d8 next = (connection_struct *) 0x0 #17 0x0050daa0 in exit_server_common (how=SERVER_EXIT_NORMAL, reason=0x51b9e0 "send_file_readX sendfile failed") at smbd/server.c:897 firsttime = 0 __FUNCTION__ = "exit_server_common" #18 0x0050dd00 in exit_server_cleanly (explanation=0x51b9e0 "send_file_readX sendfile failed") at smbd/server.c:957 No locals. #19 0x000a3618 in send_file_readX (conn=0x6579d8, req=0x6558b0, fsp=0x64e030, startpos=0, smb_maxcnt=130048) at smbd/reply.c:3202 headerbuf = "\000\001ü;ÿSMB.\000\000\000\000\210\001È", '\0' , "\001\000\220nd\000\017\000\fÿ\000\000\000ÿÿ\000\000\000\000\000ü;\000\001\000\000\000\000\000\000\000\000\000\000ü" header = {data = 0xffbff540 "", length = 63, free = 0} sbuf = {st_dev = 22282274, st_pad1 = {0, 0, 0}, st_ino = 107655, st_mode = 33277, st_nlink = 1, st_uid = 10332, st_gid = 10000, st_rdev = 0, st_pad2 = {0, 0}, st_size = 1164672, st_atim = {tv_sec = 1213598812, tv_nsec = 521453000}, st_mtim = {tv_sec = 1212387507, tv_nsec = 0}, st_ctim = {tv_sec = 1212559558, tv_nsec = 842069000}, st_blksize = 8192, st_blocks = 2304, st_fstype = "ufs", '\0' , st_pad4 = { 0, 0, 0, 0, 0, 0, 0, 0}} nread = -1 __FUNCTION__ = "send_file_readX" #20 0x000a3ca8 in reply_read_and_X (req=0x6558b0) at smbd/reply.c:3367 conn = (connection_struct *) 0x6579d8 fsp = (files_struct *) 0x64e030 startpos = 0 smb_maxcnt = 130048 big_readX = false #21 0x000ea2a8 in switch_message (type=46 '.', req=0x6558b0, size=59) at smbd/process.c:1462 flags = 9 session_tag = 100 conn = (connection_struct *) 0x6579d8 last_session_tag = 100 __FUNCTION__ = "switch_message" #22 0x000ea33c in construct_reply (inbuf=0x655840 "", size=59, unread_bytes=0, encrypted=false) at smbd/process.c:1485 type = 46 '.' conn = (connection_struct *) 0x2e req = (struct smb_request *) 0x6558b0 #23 0x000ea660 in process_smb (inbuf=0x655840 "", nread=59, unread_bytes=0, encrypted=false) at smbd/process.c:1561 trans_num = 14 msg_type = 0 __FUNCTION__ = "process_smb" #24 0x000eb390 in smbd_process () at smbd/process.c:2045 select_timeout = 60000 num_echos = 0 frame = (TALLOC_CTX *) 0x655800 inbuf = 0x655840 "" inbuf_len = 59 encrypted = false last_timeout_processing_time = 1215087220 num_smbs = 14 unread_bytes = 0 __FUNCTION__ = "smbd_process" #25 0x0050f020 in main (argc=-1, argv=0xffbffb4c) at smbd/server.c:1450 is_daemon = true interactive = false Fork = true no_process_group = false log_stdout = false ports = 0x0 profile_level = 0x0 opt = -1 pc = (poptContext) 0x640d08 print_build_options = false long_options = {{longName = 0x0, shortName = 0 '\0', argInfo = 4, arg = 0xff058268, val = 0, descrip = 0x601268 "Help options:", argDescrip = 0x0}, {longName = 0x601278 "daemon", shortName = 68 'D', argInfo = 0, arg = 0x0, val = 1000, descrip = 0x601280 "Become a daemon (default)", argDescrip = 0x0}, { longName = 0x6012a0 "interactive", shortName = 105 'i', argInfo = 0, arg = 0x0, val = 1001, descrip = 0x6012b0 "Run interactive (not a daemon)", argDescrip = 0x0}, {longName = 0x6012d0 "foreground", shortName = 70 'F', argInfo = 0, arg = 0x0, val = 1002, descrip = 0x6012e0 "Run daemon in foreground (for daemontools, etc.)", argDescrip = 0x0}, { longName = 0x601318 "no-process-group", shortName = 0 '\0', argInfo = 0, arg = 0x0, val = 1003, descrip = 0x601330 "Don't create a new process group", argDescrip = 0x0}, {longName = 0x601358 "log-stdout", shortName = 83 'S', argInfo = 0, arg = 0x0, val = 1004, descrip = 0x601368 "Log to stdout", argDescrip = 0x0}, { longName = 0x601378 "build-options", shortName = 98 'b', argInfo = 0, arg = 0x0, val = 98, descrip = 0x601388 "Print build options", argDescrip = 0x0}, {longName = 0x6013a0 "port", shortName = 112 'p', argInfo = 1, arg = 0x63df74, val = 0, descrip = 0x6013a8 "Listen on the specified ports", argDescrip = 0x0}, { longName = 0x6013c8 "profiling-level", shortName = 80 'P', argInfo = 1, arg = 0x63df78, val = 0, descrip = 0x6013d8 "Set profiling level", argDescrip = 0x6013f0 "PROFILE_LEVEL"}, {longName = 0x0, shortName = 0 '\0', argInfo = 4, arg = 0x63197c, val = 0, descrip = 0x601400 "Common samba options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\0', argInfo = 4, arg = 0x634cf8, val = 0, descrip = 0x601418 "Build-time configuration overrides:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\0', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}} frame = (TALLOC_CTX *) 0x63e438 __FUNCTION__ = "main"