search for: tdb_write

Displaying 2 results from an estimated 2 matches for "tdb_write".

2007 Jan 17
1
smbstatus -B segmentation fault
...ls with a segmentation fault. smbstatus works, and tdbdump is able to dump brlock.tdb and locking.tdb without any errors (which is not what I expected). Here's the backtrace (non-ASCII characters replaced with 'X'): #0 0x0017fa2c in memcpy () from /lib/tls/libc.so.6 #1 0x0029b19f in tdb_write (tdb=0x89b8608, off=3083693360, buf=0x89b8608, len=144) at tdb/tdb.c:404 #2 0x0029d578 in tdb_store (tdb=0x89b7078, key= {dptr = 0x89b8128 "\005X", dsize = 16}, dbuf= {dptr = 0x89b8608 "XX\002", dsize = 144}, flag=1) at tdb/tdb.c:1101 #3 0x002611a2 in traverse_...
2003 Dec 01
0
No subject
...sue > with the mmap implementation on HP-UX, and the fact that HP-UX > uses different caches for memory mapped file access as opposed > to filesystem (read/write) access to files. Samba 'fails thru' > to read/write when it detects that the tdb->map_ptr value is > zero for tdb_write and tdb_read, but some other tdb calls (I > THINK) are still accessing via the mmapped address. According to > the man page for mmap, mmap should never map to 0, but additional > debug statements I have added to the code indicate that in some > circumstances, IT IS doing this. Until w...