Bug 3354 - lib/util.c:smb_panic2(1554)
Summary: lib/util.c:smb_panic2(1554)
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.21
Hardware: x86 Windows 98
: P3 critical
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-23 15:07 UTC by Luis
Modified: 2005-12-25 00:57 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Luis 2005-12-23 15:07:04 UTC
Log Samba:

[2005/12/23 03:58:36, 0] tdb/tdbutil.c:tdb_log(772)
  tdb(/usr/local/samba/var/locks/locking.tdb): tdb_lock failed on list 60 ltype=1 (Resource deadlock avoided)
[2005/12/23 03:58:36, 0] smbd/oplock.c:remove_oplock(187)
  remove_oplock: failed to lock share entry for file vfp8/gdiplus.dll
[2005/12/23 03:58:36, 0] smbd/reply.c:reply_lockingX(5193)
  reply_lockingX: error in removing oplock on file vfp8/gdiplus.dll
[2005/12/23 03:58:36, 0] lib/util.c:smb_panic2(1554)
  PANIC: internal tdb error
[2005/12/23 03:58:36, 0] lib/util.c:smb_panic2(1561)
  BACKTRACE: 10 stack frames:
   #0 /usr/local/samba/sbin/smbd(smb_panic2+0x18e) [0x81ca1ba]
   #1 /usr/local/samba/sbin/smbd(smb_panic+0x10) [0x81ca028]
   #2 /usr/local/samba/sbin/smbd(reply_lockingX+0x295) [0x80ad0f5]
   #3 /usr/local/samba/sbin/smbd [0x80d2a32]
   #4 /usr/local/samba/sbin/smbd [0x80d2ac1]
   #5 /usr/local/samba/sbin/smbd(process_smb+0x1c5) [0x80d2dd1]
   #6 /usr/local/samba/sbin/smbd(smbd_process+0x141) [0x80d3a75]
   #7 /usr/local/samba/sbin/smbd(main+0x7c9) [0x8244d0d]
   #8 /lib/i686/libc.so.6(__libc_start_main+0x93) [0x40218657]
   #9 /usr/local/samba/sbin/smbd(chroot+0x31) [0x807e791]



MY CLIENTS IS WINDOWS 98  SE .... FILES USED:  MICROSOFT VISUAL FOXPRO 8.0 AND DBF's own's visual foxpro



Ther first pc enter normal, the second pc not, I only copy files from server samba 3.0.21 in linux red hat 7.2 kernel 2.4 to my hard disk and not copy. Windows say: Resource not enabled.

and the files not copy

In samba 3.0.20 is normal, only sometime not copy files with equal message,

I and only use visual foxpro 8.0 size exe 5Mb and not load only the first pc, and the second pc freezing.


I have messages in others log of pc's:

[2005/12/23 09:56:38, 0] smbd/open.c:open_mode_check(721)
  open_mode_check: exlusive oplock left by process 8591 after break ! For file trabajo/USUARIOS.DBF, dev = 302, inode = 980098. Deleting it to continue...
[2005/12/23 09:56:38, 0] smbd/open.c:open_mode_check(729)
  open_mode_check: Existent process 8591 left active oplock.
[2005/12/23 09:58:33, 0] smbd/oplock.c:request_oplock_break(1081)
  request_oplock_break: no response received to oplock break request to pid 8619 on port 32822 for dev = 302, inode = 310537, file_id = 10
[2005/12/23 09:58:33, 0] smbd/open.c:open_mode_check(721)
  open_mode_check: exlusive oplock left by process 8619 after break ! For file vfp8/config.fpw, dev = 302, inode = 310537. Deleting it to continue...
[2005/12/23 09:58:57, 0] smbd/oplock.c:process_local_message(424)
  process_local_message: Received unsolicited break reply - dumping info.
[2005/12/23 10:04:49, 0] lib/util_sock.c:write_data(553)
  write_data: write failure in writing to client 192.168.1.20. Error Broken pipe
[2005/12/23 10:04:49, 0] lib/util_sock.c:send_smb(761)
  Error writing 39 bytes to client. -1. (Broken pipe)
[2005/12/23 10:04:49, 0] tdb/tdbutil.c:tdb_log(767)
  tdb(/usr/local/samba/var/locks/locking.tdb): tdb_lock failed on list 117 ltype=1 (Resource deadlock avoided)
[2005/12/23 10:04:49, 0] tdb/tdbutil.c:tdb_log(767)
  tdb(/usr/local/samba/var/locks/locking.tdb): tdb_lock failed on list 117 ltype=0 (Resource deadlock avoided)
[2005/12/23 10:04:49, 0] tdb/tdbutil.c:tdb_log(767)
  tdb(/usr/local/samba/var/locks/locking.tdb): tdb_unlock: count is 0
[2005/12/23 10:10:49, 0] smbd/dir.c:dptr_close(289)
  Invalid key 256 given to dptr_close
Comment 1 Volker Lendecke 2005-12-23 15:41:12 UTC
I attached a patch to Bug #3349. It might be very similar. Could you try the patch you reach under

https://bugzilla.samba.org/attachment.cgi?id=1634

Thanks,

Volker
Comment 2 Volker Lendecke 2005-12-23 15:51:38 UTC
Created a new patch at https://bugzilla.samba.org/attachment.cgi?id=1635. Please try that one.

Thanks,

Volker
Comment 3 Luis 2005-12-24 19:23:06 UTC
Patch is ok, thanx for patch. I try for 3 days in server of production, now is ok patch :)

Path is present in next versions? or i have include manual in others versions?

Thanx and Merry Christmas and Happy New Year for all :)
Comment 4 Volker Lendecke 2005-12-25 00:57:44 UTC
*Certainly* this will be in the next versions. Expect a patch release right after christmas.

Thanks for testing the patch!

Volker