Bug 2809 - tdb_oob beyond eof on initial startup
tdb_oob beyond eof on initial startup
Status: RESOLVED FIXED
Product: Samba 3.0
Classification: Unclassified
Component: smbclient
3.0.9
Sparc Solaris
: P3 normal
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-06-17 15:51 UTC by David S. Collier-Brown
Modified: 2007-08-19 09:09 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 David S. Collier-Brown 2005-06-17 15:51:00 UTC
On SPARC Solaris 9, Samba 3.1.2pre1-SVN-build-7639
started by swat produces the following error
indications on first use of smbclient:

froggy> /usr/local/samba/bin/smbclient -U% -L localhost
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_oob len 959524941 beyond eof
at 8192
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_oob len 959524941 beyond eof
at 8192
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_oob len 959524941 beyond eof
at 8192
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_oob len 959524941 beyond eof
at 8192
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_oob len 173172107 beyond eof
at 8192
Domain=[FROGGY] OS=[Unix] Server=[Samba 3.1.2pre1-SVN-build-7639]

	Sharename       Type      Comment
	---------       ----      -------
	tmp             Disk      
	IPC$            IPC       IPC Service (Samba 3.1.2pre1-SVN-build-7639)
	ADMIN$          IPC       IPC Service (Samba 3.1.2pre1-SVN-build-7639)
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_oob len 959524941 beyond eof
at 8192
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_oob len 959524941 beyond eof
at 8192
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_oob len 959524941 beyond eof
at 8192
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_oob len 959524941 beyond eof
at 8192
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_oob len 173172107 beyond eof
at 8192
Domain=[FROGGY] OS=[Unix] Server=[Samba 3.1.2pre1-SVN-build-7639]

	Server               Comment
	---------            -------
	FROGGY               Samba 3.1.2pre1-SVN-build-7639

	Workgroup            Master
	---------            -------
	FROGGY               

More detailed logs to follow.
Comment 1 David S. Collier-Brown 2005-06-17 15:53:53 UTC
Running /usr/local/samba/bin/smbclient //froggy/davecb -d 100,
I see

added interface ip=192.168.1.5 bcast=192.168.1.255 nmask=255.255.255.0
Netbios name list:-
my_netbios_names[0]="FROGGY"
Client started (version 3.1.2pre1-SVN-build-7639).
internal_resolve_name: looking up froggy#20
Opening cache file at /usr/local/samba/var/locks/gencache.tdb
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_oob len 775369016 beyond eof
at 8192
Cache entry with key = NBT/FROGGY#20 couldn't be found
no entry for froggy#20 found.
Deleting cache entry (key = NBT/FROGGY#20)
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_oob len 775369016 beyond eof
at 8192
resolve_lmhosts: Attempting lmhosts lookup for name froggy<0x20>
startlmhosts: Can't open lmhosts file /usr/local/samba/lib/lmhosts. Error was No
such file or directory
resolve_wins: Attempting wins lookup for name froggy<0x20>
resolve_wins: WINS server resolution selected and no WINS servers listed.
resolve_hosts: Attempting host lookup for name froggy<0x20>
remove_duplicate_addrs2: looking for duplicate address/port pairs
Storing name froggy of type 32 (192.168.1.5:0)
namecache_store: storing 1 address for froggy#20: 192.168.1.5:0
Adding cache entry with key = NBT/FROGGY#20; value = 192.168.1.5:0 and timeout =
Fri Jun 17 18:54:00 2005
 (660 seconds ahead)
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_oob len 775369016 beyond eof
at 8192
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_oob len 775369016 beyond eof
at 8192
tdb(/usr/local/samba/var/locks/gencache.tdb): tdb_oob len 173172107 beyond eof
at 8192
internal_resolve_name: returning 1 addresses: 192.168.1.5:0
Connecting to 192.168.1.5 at port 445

etc...

Comment 2 David S. Collier-Brown 2007-08-19 09:09:12 UTC
This was found to be fixed in [Samba 3.2.1pre1-SVN-build-24360,
and has probably been fixed for a long time.