Bug in VFS?

damien at carroll.com damien at carroll.com
Wed Mar 20 08:51:57 GMT 2002


Hello,

Last night I downloaded the latest from CVS in SAMBA_2_2 hoping to get
a working example of the VFS code. The build went fine (on FreeBSD 4.4)
with no errors, and I was able to build and install one of the example
VFS programs (audit.c) without any problems. While testing audit.c I
found that smbd would crash whenever I tried to create a new file or
directory. This problem only seems to occur when using VFS. Below is a
snip of my log file (log level 3), I did not want to send the whole
thing, but I can sent more if required.

Any ideas as to what might be causing this? If more debugging
information is required, please let me know and I would be happy to do
whatever I can.

Thanks for your help.

---
Damien Tougas
Systems Administrator
Carroll-Net, Inc.
http://www.carroll.com

log.smbd
***********************************************************************
[2002/03/20 11:37:05, 3] smbd/vfs.c:vfs_ChDir(578)
  vfs_ChDir to /var/tmp
[2002/03/20 11:37:05, 3] smbd/trans2.c:call_trans2qfsinfo(1307)
  call_trans2qfsinfo: level = 259
[2002/03/20 11:37:05, 3] smbd/process.c:process_smb(866)
  Transaction 51 of length 74
[2002/03/20 11:37:05, 3] smbd/process.c:switch_message(673)
  switch message SMBtrans2 (pid 65406)
[2002/03/20 11:37:05, 3] smbd/trans2.c:call_trans2qfsinfo(1307)
  call_trans2qfsinfo: level = 259
[2002/03/20 11:37:10, 3] smbd/process.c:process_smb(866)
  Transaction 52 of length 74
[2002/03/20 11:37:10, 3] smbd/process.c:switch_message(673)
  switch message SMBtrans2 (pid 65406)
[2002/03/20 11:37:10, 3] smbd/trans2.c:call_trans2qfsinfo(1307)
  call_trans2qfsinfo: level = 261
[2002/03/20 11:37:10, 3] smbd/process.c:process_smb(866)
  Transaction 53 of length 74
[2002/03/20 11:37:10, 3] smbd/process.c:switch_message(673)
  switch message SMBtrans2 (pid 65406)
[2002/03/20 11:37:10, 3] smbd/trans2.c:call_trans2qfsinfo(1307)
  call_trans2qfsinfo: level = 261
[2002/03/20 11:37:10, 3] smbd/process.c:process_smb(866)
  Transaction 54 of length 74
[2002/03/20 11:37:10, 3] smbd/process.c:switch_message(673)
  switch message SMBtrans2 (pid 65406)
[2002/03/20 11:37:10, 3] smbd/trans2.c:call_trans2qfsinfo(1307)
  call_trans2qfsinfo: level = 261
[2002/03/20 11:37:10, 3] smbd/process.c:process_smb(866)
  Transaction 55 of length 101
[2002/03/20 11:37:10, 3] smbd/process.c:switch_message(673)
  switch message SMBtrans2 (pid 65406)
[2002/03/20 11:37:10, 3] smbd/trans2.c:call_trans2qfilepathinfo(1616)
  call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 257
[2002/03/20 11:37:10, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [/New Text Document.txt]
[2002/03/20 11:37:10, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [New Text Document.txt]
[2002/03/20 11:37:10, 3] smbd/trans2.c:call_trans2qfilepathinfo(1637)
  call_trans2qfilepathinfo: vfs_stat of New Text Document.txt failed
(No such file or directory)
[2002/03/20 11:37:10, 3] smbd/error.c:error_packet(91)
  error string = No such file or directory
[2002/03/20 11:37:10, 3] smbd/error.c:error_packet(110)
  error packet at smbd/trans2.c(1639) cmd=50 (SMBtrans2)
NT_STATUS_NO_SUCH_FILE
[2002/03/20 11:37:10, 3] smbd/process.c:process_smb(866)
  Transaction 56 of length 110
[2002/03/20 11:37:10, 3] smbd/process.c:switch_message(673)
  switch message SMBntcreateX (pid 65406)
[2002/03/20 11:37:10, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [/New Text Document.txt]
[2002/03/20 11:37:10, 3] smbd/dosmode.c:unix_mode(111)
  unix_mode(New Text Document.txt) returning 0744
[2002/03/20 11:37:10, 3] lib/util.c:unix_clean_name(387)
  unix_clean_name [New Text Document.txt]
[2002/03/20 11:37:10, 2] smbd/open.c:open_file(228)
  damien opened file New Text Document.txt read=Yes write=Yes
(numopen=2)
[2002/03/20 11:37:10, 0] lib/fault.c:fault_report(38)
  ===============================================================
[2002/03/20 11:37:10, 0] lib/fault.c:fault_report(39)
  INTERNAL ERROR: Signal 11 in pid 65406 (2.2.4-pre)
  Please read the file BUGS.txt in the distribution
[2002/03/20 11:37:10, 0] lib/fault.c:fault_report(41)
  ===============================================================
[2002/03/20 11:37:10, 0] lib/util.c:smb_panic(1081)
  PANIC: internal error
[2002/03/20 11:37:12, 3] smbd/oplock.c:init_oplocks(1184)
  open_oplock_ipc: opening loopback UDP socket.
[2002/03/20 11:37:12, 3] lib/util_sock.c:open_socket_in(815)
  bind succeeded on port 0
[2002/03/20 11:37:12, 3] smbd/oplock.c:init_oplocks(1215)
  open_oplock ipc: pid = 65407, global_oplock_port = 3095
[2002/03/20 11:37:12, 3] smbd/process.c:process_smb(866)
  Transaction 0 of length 72
***********************************************************************






More information about the samba-technical mailing list