The Samba-Bugzilla – Attachment 6393 Details for
Bug 8072
PANIC: create_file_acl_common frees handle two times
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
backtrace create_file_acl_common() => create_file_acl_common()
second_create_file_acl_common_bt_full.txt (text/plain), 13.88 KB, created by
Björn Baumbach
on 2011-04-08 16:00:28 UTC
(
hide
)
Description:
backtrace create_file_acl_common() => create_file_acl_common()
Filename:
MIME Type:
Creator:
Björn Baumbach
Created:
2011-04-08 16:00:28 UTC
Size:
13.88 KB
patch
obsolete
>#0 create_file_acl_common (handle=0x7f8077892450, req=0x0, root_dir_fid=0, smb_fname=0x7f8077885430, access_mask=2, share_access=7, create_disposition=1, > create_options=0, file_attributes=0, oplock_request=8, allocation_size=0, private_flags=0, sd=0x0, ea_list=0x0, result=0x7fff881f0858, pinfo=0x0) > at ./modules/vfs_acl_common.c:916 > status = {v = 2283734912} > status1 = {v = 2283735168} > fsp = 0x2 > info = 32640 > parent_sd = 0x7f80756ab2a5 > __FUNCTION__ = "create_file_acl_common" >#1 0x00007f8075a5f8fa in smb_vfs_call_create_file (handle=0x7f8077892450, req=0x0, root_dir_fid=0, smb_fname=0x7f8077885430, access_mask=2, share_access=7, > create_disposition=1, create_options=0, file_attributes=0, oplock_request=8, allocation_size=0, private_flags=0, sd=0x0, ea_list=0x0, > result=0x7fff881f0858, pinfo=0x0) at smbd/vfs.c:1298 >No locals. >#2 0x00007f8075a518ad in open_file_fchmod (conn=0x7f8077891f30, smb_fname=0x7f8077885430, result=0x7fff881f0858) at smbd/open.c:2419 >No locals. >#3 0x00007f8075a46d04 in set_ea_dos_attribute (conn=0x7f8077891f30, smb_fname=0x7f8077885430, dosmode=32) at smbd/dosmode.c:420 > dosattrib = {attrib_hex = 0x0, version = 3, info = {compatinfoFFFF = {attrib = 17}, info1 = {attrib = 17, ea_size = 32, size = 0, alloc_size = 0, > create_time = 0, change_time = 129467490700000000}, oldinfo2 = {flags = 17, attrib = 32, ea_size = 0, size = 0, alloc_size = 0, > create_time = 129467490700000000, change_time = 0, write_time = 0, name = 0x0}, info3 = {valid_flags = 17, attrib = 32, ea_size = 0, size = 0, > alloc_size = 0, create_time = 129467490700000000, change_time = 0}}} > ndr_err = NDR_ERR_SUCCESS > blob = {data = 0x7f807789d310 "0x20", length = 56} > fsp = 0x0 > ret = false > __FUNCTION__ = "set_ea_dos_attribute" >#4 0x00007f8075a4791a in file_set_dosmode (conn=0x7f8077891f30, smb_fname=0x7f8077885430, dosmode=32, parent_dir=0x7f8077889190 "new", newfile=true) > at smbd/dosmode.c:759 > mask = 0 > tmp = 0 > unixmode = 33252 > ret = -1 > lret = -1 > old_mode = 32 > new_create_timespec = {tv_sec = 1302275470, tv_nsec = 0} > __FUNCTION__ = "file_set_dosmode" >#5 0x00007f8075a51533 in open_file_ntcreate (conn=0x7f8077891f30, req=0x7f80778acbf0, access_mask=131487, share_access=7, create_disposition=2, > create_options=64, new_dos_attributes=0, oplock_request=3, private_flags=0, pinfo=0x7fff881f0c7c, fsp=0x7f807788e470) at smbd/open.c:2332 > smb_fname = 0x7f8077885430 > flags = 2 > flags2 = 192 > file_existed = false > def_acl = true > posix_open = false > new_file_created = true > clear_ads = false > id = {devid = 1797, inode = 15, extid = 0} > fsp_open = {v = 0} > new_unx_mode = 0 > unx_mode = 484 > info = 2 > existing_dos_attributes = 0 > request_time = {tv_sec = 1302275077, tv_usec = 419029} > lck = 0x7f807788b190 > open_access_mask = 131487 > status = {v = 0} > parent_dir = 0x7f8077889190 "new" > __FUNCTION__ = "open_file_ntcreate" >#6 0x00007f8075a53c0b in create_file_unixpath (conn=0x7f8077891f30, req=0x7f80778acbf0, smb_fname=0x7f80778acdd0, access_mask=131487, share_access=7, > create_disposition=2, create_options=64, file_attributes=128, oplock_request=3, allocation_size=0, private_flags=0, sd=0x0, ea_list=0x0, > result=0x7fff881f0d48, pinfo=0x7fff881f0d50) at smbd/open.c:3273 > info = 2 > base_fsp = 0x0 > fsp = 0x7f807788e470 > status = {v = 0} > __FUNCTION__ = "create_file_unixpath" >#7 0x00007f8075a546b3 in create_file_default (conn=0x7f8077891f30, req=0x7f80778acbf0, root_dir_fid=0, smb_fname=0x7f80778acdd0, access_mask=131487, > share_access=7, create_disposition=2, create_options=64, file_attributes=128, oplock_request=3, allocation_size=0, private_flags=0, sd=0x0, ea_list=0x0, > result=0x7fff881f1130, pinfo=0x7fff881f0f4c) at smbd/open.c:3669 > info = 1 > fsp = 0x0 > status = {v = 0} > stream_name = false > __FUNCTION__ = "create_file_default" >#8 0x00007f8075ab6c08 in vfswrap_create_file (handle=0x7f8077898480, req=0x7f80778acbf0, root_dir_fid=0, smb_fname=0x7f80778acdd0, access_mask=131487, > share_access=7, create_disposition=2, create_options=64, file_attributes=128, oplock_request=3, allocation_size=0, private_flags=0, sd=0x0, ea_list=0x0, > result=0x7fff881f1130, pinfo=0x7fff881f0f4c) at modules/vfs_default.c:325 >No locals. >#9 0x00007f8075a5f8fa in smb_vfs_call_create_file (handle=0x7f8077898480, req=0x7f80778acbf0, root_dir_fid=0, smb_fname=0x7f80778acdd0, access_mask=131487, > share_access=7, create_disposition=2, create_options=64, file_attributes=128, oplock_request=3, allocation_size=0, private_flags=0, sd=0x0, ea_list=0x0, > result=0x7fff881f1130, pinfo=0x7fff881f0f4c) at smbd/vfs.c:1298 >No locals. >#10 0x00007f80700188ba in create_file_acl_common (handle=0x7f8077892450, req=0x7f80778acbf0, root_dir_fid=0, smb_fname=0x7f80778acdd0, access_mask=131487, > share_access=7, create_disposition=2, create_options=64, file_attributes=128, oplock_request=3, allocation_size=0, private_flags=0, sd=0x0, ea_list=0x0, > result=0x7fff881f1130, pinfo=0x7fff881f113c) at ./modules/vfs_acl_common.c:920 > status = {v = 48} > status1 = {v = 2005475120} > fsp = 0x0 > info = 32512 > parent_sd = 0x0 > __FUNCTION__ = "create_file_acl_common" >#11 0x00007f8075a5f8fa in smb_vfs_call_create_file (handle=0x7f8077892450, req=0x7f80778acbf0, root_dir_fid=0, smb_fname=0x7f80778acdd0, access_mask=131487, > share_access=7, create_disposition=2, create_options=64, file_attributes=128, oplock_request=3, allocation_size=0, private_flags=0, sd=0x0, ea_list=0x0, > result=0x7fff881f1130, pinfo=0x7fff881f113c) at smbd/vfs.c:1298 >No locals. >#12 0x00007f80759ff833 in reply_ntcreate_and_X (req=0x7f80778acbf0) at smbd/nttrans.c:569 > conn = 0x7f8077891f30 > smb_fname = 0x7f80778acdd0 > fname = 0x7f80778acce0 "new/Neu Textdokument.txt" > flags = 22 > access_mask = 131487 > file_attributes = 128 > share_access = 7 > create_disposition = 2 > create_options = 64 > root_dir_fid = 0 > allocation_size = 0 > fattr = 0 > file_len = 0 > info = 0 > fsp = 0x0 > p = 0x0 > create_timespec = {tv_sec = 5, tv_nsec = 140189715219320} > c_timespec = {tv_sec = 15507, tv_nsec = 140189710369771} > a_timespec = {tv_sec = 2, tv_nsec = 140189716617429} > m_timespec = {tv_sec = 0, tv_nsec = 140189655094599} > write_time_ts = {tv_sec = 140735477125648, tv_nsec = 0} > status = {v = 0} > oplock_request = 3 > oplock_granted = 0 '\000' > case_state = 0x0 > ctx = 0x7f80778acab0 > __FUNCTION__ = "reply_ntcreate_and_X" >#13 0x00007f8075a76557 in switch_message (type=162 '\242', req=0x7f80778acbf0, size=140) at smbd/process.c:1563 > flags = 9 > session_tag = 101 > conn = 0x7f8077891f30 > sconn = 0x7f80778785b0 > __FUNCTION__ = "switch_message" >#14 0x00007f8075a76708 in construct_reply (sconn=0x7f80778785b0, inbuf=0x0, size=140, unread_bytes=0, seqnum=0, encrypted=false, deferred_pcd=0x0) > at smbd/process.c:1599 > conn = 0x7f0000000000 > req = 0x7f80778acbf0 >#15 0x00007f8075a76a4e in process_smb (sconn=0x7f80778785b0, inbuf=0x7f80778acb10 "", nread=140, unread_bytes=0, seqnum=0, encrypted=false, deferred_pcd=0x0) > at smbd/process.c:1677 > msg_type = 0 > __FUNCTION__ = "process_smb" >#16 0x00007f8075a78226 in smbd_server_connection_read_handler (conn=0x7f80778785b0, fd=47) at smbd/process.c:2297 > inbuf = 0x7f80778acb10 "" > inbuf_len = 140 > unread_bytes = 0 > encrypted = false > mem_ctx = 0x7f80778acab0 > status = {v = 0} > seqnum = 0 > from_client = true > __FUNCTION__ = "smbd_server_connection_read_handler" >#17 0x00007f8075a7829c in smbd_server_connection_handler (ev=0x7f80778784f0, fde=0x7f807787e0f0, flags=1, private_data=0x7f80778785b0) at smbd/process.c:2314 > conn = 0x7f80778785b0 >#18 0x00007f8075e62262 in run_events_poll (ev=0x7f80778784f0, pollrtn=1, pfds=0x7f807788a440, num_pfds=2) at lib/events.c:269 > pfd = 0x7f807788a448 > flags = 1 > state = 0x7f807787fa90 > pollfd_idx = 0x7f8077897b10 > fde = 0x7f807787e0f0 > now = {tv_sec = 1302275067, tv_usec = 655569} > __FUNCTION__ = "run_events_poll" >#19 0x00007f8075a75a16 in smbd_server_connection_loop_once (conn=0x7f80778785b0) at smbd/process.c:1006 > timeout = 52516 > num_pfds = 2 > ret = 1 > retry = 117 >#20 0x00007f8075a7aaa3 in smbd_process (sconn=0x7f80778785b0) at smbd/process.c:3140 > status = {v = 3221226029} > frame = 0x7f80778acab0 > ss = {ss_family = 10, __ss_align = 0, > __ss_padding = "\000\000\377\377\300\250\004L\000\000\000\000\200\177\000\000p\367\207w\200\177\000\000\340\330$s\200\177\000\000\300\026\037\210\377\177\000\000\000\027\037\210\377\177\000\000\202\273\342u\200\177\000\000\200\035\037\210\377\177\000\000\000\000\000\000\000\000\000\000\006M\342u\200\177\000\000\300\026\037\210\377\177\000\000\020\000\000\000\000\000\000\000\027>-v\200\177\000\000@\256\207w3\000\000"} > sa = 0x7fff881f1600 > sa_socklen = 28 > local_address = 0x7f807789a770 > remote_address = 0x7f8077896ab0 > remaddr = 0x7f807789a7e0 "\300k\211w\200\177" > ret = 0 > __FUNCTION__ = "smbd_process" >#21 0x00007f80762a22a6 in smbd_accept_connection (ev=0x7f80778784f0, fde=0x7f807789b3c0, flags=1, private_data=0x7f8077887d10) at smbd/server.c:496 > status = {v = 0} > s = 0x0 > addr = {ss_family = 10, __ss_align = 0, > __ss_padding = "\000\000\377\377\300\250\004|\000\000\000\000\377\177\000\000\220\372\207w\200\177\000\000\020\020\234u\200\177\000\000\300\027\037\210\377\177\000\000\032\033\224r\200\177\000\000hÜw\200\177\000\000`\030\037\210\377\177\000\000\000\030\037\210\377\177\000\000%\265\340u\200\177\000\000\340\027\037\210\377\177\000\000\024\367\037\210\377\177\000\000`\030\037\210\377\177\000\000\000\000\000\000\000\000\000"} > in_addrlen = 28 > fd = 47 > pid = 0 > unique_id = 10532897636336006046 > __FUNCTION__ = "smbd_accept_connection" >#22 0x00007f8075e62262 in run_events_poll (ev=0x7f80778784f0, pollrtn=1, pfds=0x7f8077879c70, num_pfds=3) at lib/events.c:269 > pfd = 0x7f8077879c78 > flags = 1 > state = 0x7f807787fa90 > pollfd_idx = 0x7f8077897b10 > fde = 0x7f807789b3c0 > now = {tv_sec = 1302274911, tv_usec = 24530} > __FUNCTION__ = "run_events_poll" >#23 0x00007f8075e624fd in s3_event_loop_once (ev=0x7f80778784f0, location=0x7f80764ea8d4 "smbd/server.c:829") at lib/events.c:332 > state = 0x7f807787fa90 > timeout = 20000 > num_pfds = 3 > ret = 1 >#24 0x00007f8075e63637 in _tevent_loop_once (ev=0x7f80778784f0, location=0x7f80764ea8d4 "smbd/server.c:829") at ../lib/tevent/tevent.c:494 > ret = 32640 > nesting_stack_ptr = 0x0 >#25 0x00007f80762a2fee in smbd_parent_loop (parent=0x7f8077898290) at smbd/server.c:829 > ret = 0 > frame = 0x7f807787abb0 > __FUNCTION__ = "smbd_parent_loop" >#26 0x00007f80762a409a in main (argc=1, argv=0x7fff881f1d88) at smbd/server.c:1311 > is_daemon = true > interactive = false > Fork = true > no_process_group = false > log_stdout = false > ports = 0x0 > profile_level = 0x0 > opt = -1 > pc = 0x7f8077878ff0 > print_build_options = false > long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x7f8073660280, val = 0, descrip = 0x7f80764ea911 "Help options:", > argDescrip = 0x0}, {longName = 0x7f80764ea91f "daemon", shortName = 68 'D', argInfo = 0, arg = 0x0, val = 1000, > descrip = 0x7f80764ea926 "Become a daemon (default)", argDescrip = 0x0}, {longName = 0x7f80764ea940 "interactive", shortName = 105 'i', > argInfo = 0, arg = 0x0, val = 1001, descrip = 0x7f80764ea950 "Run interactive (not a daemon)", argDescrip = 0x0}, { > longName = 0x7f80764ea96f "foreground", shortName = 70 'F', argInfo = 0, arg = 0x0, val = 1002, > descrip = 0x7f80764ea980 "Run daemon in foreground (for daemontools, etc.)", argDescrip = 0x0}, {longName = 0x7f80764ea9b1 "no-process-group", > shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 1003, descrip = 0x7f80764ea9c8 "Don't create a new process group", argDescrip = 0x0}, { > longName = 0x7f80764ea9e9 "log-stdout", shortName = 83 'S', argInfo = 0, arg = 0x0, val = 1004, descrip = 0x7f80764ea9f4 "Log to stdout", > argDescrip = 0x0}, {longName = 0x7f80764eaa02 "build-options", shortName = 98 'b', argInfo = 0, arg = 0x0, val = 98, > descrip = 0x7f80764eaa10 "Print build options", argDescrip = 0x0}, {longName = 0x7f80764eaa24 "port", shortName = 112 'p', argInfo = 1, > arg = 0x7fff881f1c28, val = 0, descrip = 0x7f80764eaa29 "Listen on the specified ports", argDescrip = 0x0}, { > longName = 0x7f80764eaa47 "profiling-level", shortName = 80 'P', argInfo = 1, arg = 0x7fff881f1c20, val = 0, > descrip = 0x7f80764eaa57 "Set profiling level", argDescrip = 0x7f80764eaa6b "PROFILE_LEVEL"}, {longName = 0x0, shortName = 0 '\000', argInfo = 4, > arg = 0x7f80767e73e0, val = 0, descrip = 0x7f80764eaa79 "Common samba options:", argDescrip = 0x0}, {longName = 0x0, shortName = 0 '\000', > argInfo = 4, arg = 0x7f80767c9360, val = 0, descrip = 0x7f80764eaa90 "Build-time configuration overrides:", argDescrip = 0x0}, {longName = 0x0, > shortName = 0 '\000', argInfo = 0, arg = 0x0, val = 0, descrip = 0x0, argDescrip = 0x0}} > parent = 0x7f8077898290 > frame = 0x7f8077877170 > status = {v = 0} > unique_id = 4664680828330648546 > __FUNCTION__ = "main" >
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 8072
: 6393 |
6394
|
6396