[Bug 407297] [NEW] PANIC: internal error (usershare related)

iroli roland.lezuo at chello.at
Fri Jul 31 11:25:38 BST 2009


Public bug reported:

Binary package hint: samba

I've set up a samba usershare in ubuntu 9.04 using samba
2:3.3.2-1ubuntu3.1

[snip]
cat /var/lib/samba/usershares/us 
#VERSION 2
path=/home/lezuo/Desktop/us
comment=
usershare_acl=S-1-1-0:F
guest_ok=n
[snap]

which _IS_ working as I can write/read files on it. I have a visual
studio source project hosted there. Every few minutes a "data loss on
write" message appears in windows. It is always affecting the projects
.ncb file. Each time this message appears the following lines appear in
/var/log/samba/log.workstation:

[2009/07/31 11:37:14,  0] param/loadparm.c:process_usershare_file(8322)
  process_usershare_file: stat of /var/lib/samba/usershares/us failed. Permission denied
[2009/07/31 11:37:21,  0] param/loadparm.c:process_usershare_file(8322)
  process_usershare_file: stat of /var/lib/samba/usershares/us failed. Permission denied
[2009/07/31 11:37:21,  0] lib/substitute.c:alloc_sub_basic(561)
  alloc_sub_basic: NULL source string!  This should not happen
[2009/07/31 11:37:21,  0] lib/substitute.c:alloc_sub_basic(561)
  alloc_sub_basic: NULL source string!  This should not happen
[2009/07/31 11:37:21,  0] lib/fault.c:fault_report(40)
  ===============================================================
[2009/07/31 11:37:21,  0] lib/fault.c:fault_report(41)
  INTERNAL ERROR: Signal 11 in pid 7287 (3.3.2)
  Please read the Trouble-Shooting section of the Samba3-HOWTO
[2009/07/31 11:37:21,  0] lib/fault.c:fault_report(43)
  
  From: http://www.samba.org/samba/docs/Samba3-HOWTO.pdf
[2009/07/31 11:37:21,  0] lib/fault.c:fault_report(44)
  ===============================================================
[2009/07/31 11:37:21,  0] lib/util.c:smb_panic(1673)
  PANIC (pid 7287): internal error
[2009/07/31 11:37:21,  0] lib/util.c:log_stack_trace(1777)
  BACKTRACE: 12 stack frames:
   #0 /usr/sbin/smbd(log_stack_trace+0x2d) [0xb7c6917c]
   #1 /usr/sbin/smbd(smb_panic+0x80) [0xb7c692d9]
   #2 /usr/sbin/smbd [0xb7c54c7e]
   #3 [0xb7a9c400]
   #4 /usr/sbin/smbd [0xb7ec009a]
   #5 /usr/sbin/smbd [0xb7ecb91d]
   #6 /usr/sbin/smbd(reply_trans2+0x69f) [0xb7ecdba4]
   #7 /usr/sbin/smbd [0xb7b64bf0]
   #8 /usr/sbin/smbd(smbd_process+0xf44) [0xb7b66c2c]
   #9 /usr/sbin/smbd(main+0x1126) [0xb7b2e2ff]
   #10 /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5) [0xb7633775]
   #11 /usr/sbin/smbd [0xb7b2b071]
[2009/07/31 11:37:21,  0] lib/util.c:smb_panic(1678)
  smb_panic(): calling panic action [/usr/share/samba/panic-action 7287]
[2009/07/31 11:37:21,  0] lib/util.c:smb_panic(1686)
  smb_panic(): action returned status 0
[2009/07/31 11:37:21,  0] lib/fault.c:dump_core(231)
  dumping core in /var/log/samba/cores/smbd
[2009/07/31 11:37:25,  0] param/loadparm.c:process_usershare_file(8322)
  process_usershare_file: stat of /var/lib/samba/usershares/us failed. Permission denied
[2009/07/31 11:37:30,  0] lib/substitute.c:alloc_sub_basic(561)
  alloc_sub_basic: NULL source string!  This should not happen

I've tried to debug it further but was unable to obtain a coredump /
attach a debugger. The "Permission denied" messages appears a few times
when samba recorvers (sometimes just once, sometimes 3 times - I suspect
some race here?).

** Affects: samba (Ubuntu)
     Importance: Undecided
         Status: New

-- 
PANIC: internal error (usershare related)
https://bugs.launchpad.net/bugs/407297
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in ubuntu.



More information about the Ubuntu-server-bugs mailing list