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

Maarten Bezemer maarten.bezemer at gmail.com
Wed Feb 22 09:40:59 UTC 2012


Thank you for taking the time to report this bug and helping to make
Ubuntu better. There have been many changes in Ubuntu since that time
you reported the bug and your problem may have been fixed with some of
the updates. It would help us a lot if you could test it on a currently
supported Ubuntu version. When you test it and it is still an issue,
kindly upload the updated logs by running apport-collect 407297 and any
other logs that are relevant for this particular issue.

** Changed in: samba (Ubuntu)
       Status: Triaged => Incomplete

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/407297

Title:
  PANIC: internal error (usershare related)

Status in Samba:
  Invalid
Status in “samba” package in Ubuntu:
  Incomplete

Bug description:
  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?).

To manage notifications about this bug go to:
https://bugs.launchpad.net/samba/+bug/407297/+subscriptions




More information about the foundations-bugs mailing list