The Samba-Bugzilla – Attachment 6394 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() => open_acl_common()
btfull.out (text/plain), 12.80 KB, created by
Björn Baumbach
on 2011-04-08 16:04:20 UTC
(
hide
)
Description:
backtrace create_file_acl_common() => open_acl_common()
Filename:
MIME Type:
Creator:
Björn Baumbach
Created:
2011-04-08 16:04:20 UTC
Size:
12.80 KB
patch
obsolete
>#0 open_acl_common (handle=0x7f80778976f0, smb_fname=0x7f8077893870, fsp=0x7f8077893630, flags=194, mode=484) at ./modules/vfs_acl_common.c:554 > access_granted = 0 > pdesc = 0x0 > parent_desc = 0x0 > file_existed = false > fname = 0x0 > status = {v = 2005476412} > __FUNCTION__ = "open_acl_common" >#1 0x00007f8075a5f828 in smb_vfs_call_open (handle=0x7f80778976f0, smb_fname=0x7f8077893870, fsp=0x7f8077893630, flags=194, mode=484) at smbd/vfs.c:1277 >No locals. >#2 0x00007f8075a4ba12 in fd_open (conn=0x7f8077885430, fsp=0x7f8077893630, flags=194, mode=484) at smbd/open.c:142 > smb_fname = 0x7f8077893870 > status = {v = 0} > __FUNCTION__ = "fd_open" >#3 0x00007f8075a4c6ad in open_file (fsp=0x7f8077893630, conn=0x7f8077885430, req=0x7f80778a2bf0, parent_dir=0x7f807787af80 "new", flags=194, unx_mode=484, > access_mask=131487, open_access_mask=131487) at smbd/open.c:451 > wild = 0x7f80778937f0 "new/Neu Textdokument.txt" > smb_fname = 0x7f8077893870 > status = {v = 0} > accmode = 2 > local_flags = 194 > file_existed = false > __FUNCTION__ = "open_file" >#4 0x00007f8075a50cc4 in open_file_ntcreate (conn=0x7f8077885430, req=0x7f80778a2bf0, 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=0x7f8077893630) at smbd/open.c:2087 > smb_fname = 0x7f8077893870 > flags = 2 > flags2 = 192 > file_existed = false > def_acl = true > posix_open = false > new_file_created = false > clear_ads = false > id = {devid = 0, inode = 0, extid = 0} > fsp_open = {v = 3221225506} > new_unx_mode = 0 > unx_mode = 484 > info = -2011231296 > existing_dos_attributes = 0 > request_time = {tv_sec = 1302273742, tv_usec = 290973} > lck = 0x0 > open_access_mask = 131487 > status = {v = 0} > parent_dir = 0x7f807787af80 "new" > __FUNCTION__ = "open_file_ntcreate" >#5 0x00007f8075a53c0b in create_file_unixpath (conn=0x7f8077885430, req=0x7f80778a2bf0, smb_fname=0x7f80778a2dd0, 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 = 1 > base_fsp = 0x0 > fsp = 0x7f8077893630 > status = {v = 0} > __FUNCTION__ = "create_file_unixpath" >#6 0x00007f8075a546b3 in create_file_default (conn=0x7f8077885430, req=0x7f80778a2bf0, root_dir_fid=0, smb_fname=0x7f80778a2dd0, 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" >#7 0x00007f8075ab6c08 in vfswrap_create_file (handle=0x7f8077893de0, req=0x7f80778a2bf0, root_dir_fid=0, smb_fname=0x7f80778a2dd0, 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. >#8 0x00007f8075a5f8fa in smb_vfs_call_create_file (handle=0x7f8077893de0, req=0x7f80778a2bf0, root_dir_fid=0, smb_fname=0x7f80778a2dd0, 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. >#9 0x00007f80700188ba in create_file_acl_common (handle=0x7f80778976f0, req=0x7f80778a2bf0, root_dir_fid=0, smb_fname=0x7f80778a2dd0, 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 = 2005423152} > fsp = 0x0 > info = 32512 > parent_sd = 0x0 > __FUNCTION__ = "create_file_acl_common" >#10 0x00007f8075a5f8fa in smb_vfs_call_create_file (handle=0x7f80778976f0, req=0x7f80778a2bf0, root_dir_fid=0, smb_fname=0x7f80778a2dd0, 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. >#11 0x00007f80759ff833 in reply_ntcreate_and_X (req=0x7f80778a2bf0) at smbd/nttrans.c:569 > conn = 0x7f8077885430 > smb_fname = 0x7f80778a2dd0 > fname = 0x7f80778a2ce0 "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 = 13356, 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 = 0x7f80778a2ab0 > __FUNCTION__ = "reply_ntcreate_and_X" >#12 0x00007f8075a76557 in switch_message (type=162 '\242', req=0x7f80778a2bf0, size=140) at smbd/process.c:1563 > flags = 9 > session_tag = 100 > conn = 0x7f8077885430 > sconn = 0x7f80778785b0 > __FUNCTION__ = "switch_message" >#13 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 = 0x7f80778a2bf0 >#14 0x00007f8075a76a4e in process_smb (sconn=0x7f80778785b0, inbuf=0x7f80778a2b10 "", nread=140, unread_bytes=0, seqnum=0, encrypted=false, deferred_pcd=0x0) > at smbd/process.c:1677 > msg_type = 0 > __FUNCTION__ = "process_smb" >#15 0x00007f8075a78226 in smbd_server_connection_read_handler (conn=0x7f80778785b0, fd=47) at smbd/process.c:2297 > inbuf = 0x7f80778a2b10 "" > inbuf_len = 140 > unread_bytes = 0 > encrypted = false > mem_ctx = 0x7f80778a2ab0 > status = {v = 0} > seqnum = 0 > from_client = true > __FUNCTION__ = "smbd_server_connection_read_handler" >#16 0x00007f8075a7829c in smbd_server_connection_handler (ev=0x7f80778784f0, fde=0x7f8077890000, flags=1, private_data=0x7f80778785b0) at smbd/process.c:2314 > conn = 0x7f80778785b0 >#17 0x00007f8075e62262 in run_events_poll (ev=0x7f80778784f0, pollrtn=1, pfds=0x7f807788aae0, num_pfds=2) at lib/events.c:269 > pfd = 0x7f807788aae8 > flags = 1 > state = 0x7f807787fa90 > pollfd_idx = 0x7f8077897b10 > fde = 0x7f8077890000 > now = {tv_sec = 1302273728, tv_usec = 459750} > __FUNCTION__ = "run_events_poll" >#18 0x00007f8075a75a16 in smbd_server_connection_loop_once (conn=0x7f80778785b0) at smbd/process.c:1006 > timeout = 55018 > num_pfds = 2 > ret = 1 > retry = 117 >#19 0x00007f8075a7aaa3 in smbd_process (sconn=0x7f80778785b0) at smbd/process.c:3140 > status = {v = 3221226029} > frame = 0x7f80778a2ab0 > ss = {ss_family = 10, __ss_align = 0, > __ss_padding = "\000\000\377\377\300\250\004L\000\000\000\000\200\177\000\000\260\254\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 = 0x7f807788c6d0 > remote_address = 0x7f807787b2f0 > remaddr = 0x7f807788c180 "\320}\210w\200\177" > ret = 0 > __FUNCTION__ = "smbd_process" >#20 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\000\b\002\210w\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 = 5595910022614377461 > __FUNCTION__ = "smbd_accept_connection" >#21 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 = 1302273640, tv_usec = 273604} > __FUNCTION__ = "run_events_poll" >#22 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 >#23 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 >#24 0x00007f80762a2fee in smbd_parent_loop (parent=0x7f8077898290) at smbd/server.c:829 > ret = 0 > frame = 0x7f807787abb0 > __FUNCTION__ = "smbd_parent_loop" >#25 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