VFS programming / PANIC when opening new files

Joachim JOFT at gmx.de
Mon Apr 28 09:32:28 GMT 2003


Hi!

Jelmer Vernooij wrote:

> Try samba and the skel module from current 3_0 CVS. Please report if
> you still get segfaults.

It's still the same (log follows, opening a new (!!) file for writing):

[2003/04/28 11:22:27, 4] smbd/open.c:open_file_shared1(996)
  calling open_file with flags=0x1 flags2=0xC0 mode=0746
[2003/04/28 11:22:27, 2] smbd/open.c:open_file(240)
  nobody opened file home/tester2/DF.EXE read=No write=Yes (numopen=1)
[2003/04/28 11:22:27, 8] lib/util.c:is_in_path(1521)
  is_in_path: home/tester2/DF.EXE
[2003/04/28 11:22:27, 8] lib/util.c:is_in_path(1525)
  is_in_path: no name list.
[2003/04/28 11:22:27, 5] smbd/oplock.c:set_file_oplock(218)
  set_file_oplock: granted oplock on file home/tester2/DF.EXE, dev = 1608, 
inode = 210655, file_id = 4, tv_sec = 3eacf2d3, tv_usec = bf8f9
[2003/04/28 11:22:27, 0] lib/fault.c:fault_report(36)
  ===============================================================
[2003/04/28 11:22:27, 0] lib/fault.c:fault_report(37)
  INTERNAL ERROR: Signal 11 in pid 27940 (3.0alpha24)
  Please read the appendix Bugs of the Samba HOWTO collection
[2003/04/28 11:22:27, 0] lib/fault.c:fault_report(39)
  ===============================================================
[2003/04/28 11:22:27, 0] lib/util.c:smb_panic(1433)
  smb_panic: clobber_region() last called from [set_share_mode(653)]
[2003/04/28 11:22:27, 0] lib/util.c:smb_panic(1450)
  PANIC: internal error
[2003/04/28 11:22:27, 0] lib/util.c:smb_panic(1457)
  BACKTRACE: 14 stack frames:
   #0 /usr/local/samba/sbin/smbd(smb_panic+0x229) [0x81beb19]
   #1 /usr/local/samba/sbin/smbd [0x81ab405]
   #2 /usr/local/samba/sbin/smbd [0x81ab45d]
   #3 /lib/libc.so.6 [0x400a7b48]
   #4 /usr/local/samba/sbin/smbd(open_file_shared1+0xc68) [0x80b7dbe]
   #5 /usr/local/samba/sbin/smbd(open_file_shared+0x2b) [0x80b7151]
   #6 /usr/local/samba/sbin/smbd(reply_open_and_X+0x2ae) [0x809ae00]
   #7 /usr/local/samba/sbin/smbd [0x80c7730]
   #8 /usr/local/samba/sbin/smbd [0x80c77e7]
   #9 /usr/local/samba/sbin/smbd(process_smb+0x1fa) [0x80c7b4f]
   #10 /usr/local/samba/sbin/smbd(smbd_process+0x1cc) [0x80c8828]
   #11 /usr/local/samba/sbin/smbd(main+0x769) [0x8214eb2]
   #12 /lib/libc.so.6(__libc_start_main+0xa4) [0x40093bb4]
   #13 /usr/local/samba/sbin/smbd(chroot+0x31) [0x806fcb1]

BTW: I compiled samba with configure-developer && make.

A saw that the VFS API changed a bit (init_module, ...). What's about a 
corresponding function for the old vfs_done in alpha23 ?

 Joachim




More information about the samba-technical mailing list