search for: dptr

Displaying 20 results from an estimated 65 matches for "dptr".

Did you mean: dpt
2007 Jan 17
1
smbstatus -B segmentation fault
...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_fn (ttdb=0x89b7078, kbuf= {dptr = 0x89b8128 "\005X", dsize = 16}, dbuf= {dptr = 0x89b8608 "XX\002", dsize...
2007 Jan 18
0
[Bug 532] New: ip_nat_sip rewrote Call-ID instead of Contact - patch attached
...header. Attached is a (trivial) fix. The fix should be safe, even in the presence of clients that use continuation lines. --- ip_conntrack_sip.orig 2007-01-18 01:25:24.000000000 +0100 +++ ip_conntrack_sip.c 2007-01-18 01:24:31.000000000 +0100 @@ -247,8 +247,10 @@ { int s = *shift; - for (; dptr <= limit && *dptr != '@'; dptr++) + // Search for @, but stop at the end of the line + for (; dptr <= limit && *dptr != '@' && + *dptr != '\r' && *dptr != '\n'; dptr++) (*shift)++; if (*dptr == '@') { -- Conf...
2016 Oct 27
1
PIC and mcmodel=large on x86 doesn't use any relocations
...d code. The code from gcc matches almost exactly what is listed in the ABI document. However, LLVM seems very different. I don't see -fPIC has having any impact with mcmodel=large. Thanks John For example, static int src; // Lsrc: .long static int dst; // Ldst: .long extern int *dptr; // .extern dptr void DataLoadAndStore() { // Large Memory Model code sequences from AMD64 abi // Figure 3.22: Position-Independent Global Data Load and Store // // Assume that %r15 has been loaded with GOT address by // function prologue. // movabs $Lsrc at GOTOFF,%rax ; R_...
2007 Jan 26
4
[Bug 532] ip_nat_sip rewrote Call-ID instead of Contact - patch attached
https://bugzilla.netfilter.org/bugzilla/show_bug.cgi?id=532 kaber@trash.net changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|laforge@netfilter.org |kaber@trash.net ------- Additional Comments From kaber@trash.net 2007-01-26 19:45 MET ------- (In reply to comment #0) >
2005 Mar 21
3
File copying under WIN98
with the Samba3.0.12 release i encountered the following problem : when i try to copy a file from a samba share to the local disk then the process hangs with the windows-message "Preparing to copy" (my translation from the german message). In a WIN98-DOS-Windows the copy command hangs too, but the file is created. The copying from my WIN-XP HOME works. My previous installed version
2014 Nov 22
3
Use z size specifier for printf-ing size_t variable
...le\n", where, len); goto bail; /* Memory region unavailable */ } diff --git a/com32/sysdump/dmi.c b/com32/sysdump/dmi.c index ce25efa..7c39b7b 100644 --- a/com32/sysdump/dmi.c +++ b/com32/sysdump/dmi.c @@ -65,7 +65,7 @@ static void dump_smbios(struct upload_backend *be, size_t dptr) struct smbios_header smx = *smb; char filename[32]; - snprintf(filename, sizeof filename, "dmi/%05x.%08x", + snprintf(filename, sizeof filename, "dmi/%05zx.%08x", dptr, smb->dmi.tbladdr); cpio_hdr(be, MODE_FILE, smb->dmi.tbllen + 32, filename...
2007 Oct 05
1
Sklyar's inline package: how to return a list?
...,2] [,3] [1,] -1.5 -4.5 -7.5 [2,] -2.5 -5.5 -8.5 [3,] -3.5 -6.5 -9.5 > # -------------------------------------------------------------------------------------------------------------------------- library( inline ) c.code <- " SEXP res; int nprotect = 0, nx, ny, x, y; double *dptr, *resptr, sum; PROTECT(res = Rf_duplicate(a)); nprotect++; nx = INTEGER(GET_DIM(a))[0]; ny = INTEGER(GET_DIM(a))[1]; dptr = REAL(a); resptr = REAL( res ); sum = 0.0; for (x = 0; x < nx; x++) for (y = 0; y < ny; y++) { resptr[ x + y*nx ] = -dptr[ x + y*nx ];...
2005 Apr 06
1
Re: Problems with Excel & MS Word files (EVEN - still ANY ideas?)
Now (after applying patch from Jeremy), most of the problems with Excel and user's files being locked have quit. However, we're still getting some files locked out when a given smbd process hangs, it appears as though the process itself is tied up in some sort of loop or something and becomes un-responsive; the client tries to auto-reconnect and does so spawning a new 'duplicate'
2020 Sep 22
2
Creating a global variable for a struct array
Hello, I would like to create a global variable for the following struct array, h1 dhash* h1 = new dhash[10]; typedef struct dhash{ char* filenm; dlist* llist; }dhash; typedef struct dlist{ int soffst; int eoffst; uint8_t* dptr; }dlist; I also need to allocate space for: 1) the field llist in struct dhash which is a pointer to another struct dlist and 2) the field dptr in struct dlist Is there an example that I can refer to for doing this ? I tried to create a GlobalVariable using ConstantStruct::get(StructType*, Array...
2005 Apr 06
2
user's smbd process generates high cpu utilization
I'm probably looking for suggestions on tracing problems rather than a specific fix, since I don't see any links relevant to my problem. We have a Samba PDC with an ldap backend, serving about 100 active users and another 400 relatively inactive lab machines that connect once at the beginning of the day and possibly load a file or two from a network share. We have a problem where
2015 Jan 25
0
Use z size specifier for printf-ing size_t variable
...ail; /* Memory region unavailable */ > } > diff --git a/com32/sysdump/dmi.c b/com32/sysdump/dmi.c > index ce25efa..7c39b7b 100644 > --- a/com32/sysdump/dmi.c > +++ b/com32/sysdump/dmi.c > @@ -65,7 +65,7 @@ static void dump_smbios(struct upload_backend *be, size_t dptr) > struct smbios_header smx = *smb; > char filename[32]; > > - snprintf(filename, sizeof filename, "dmi/%05x.%08x", > + snprintf(filename, sizeof filename, "dmi/%05zx.%08x", > dptr, smb->dmi.tbladdr); > cpio_hdr(be, MODE_...
2003 Jun 16
2
CPU consumption by samba
Hi, I'm having strange performance problems with samba and an application written with VisualFox Pro. This application is entirely installed in a Windows share and it has a hystory of strange phenomenons. Initially it ran fast on an old NT server (but that server has been replaced). It has strange performance problems with Windows 2000 Server: it runs fast with some servers and slow with
2006 May 29
0
smbd hanging at BDC
...372c62 in __write_lock (rwlock=0xb7cd7070) at tdb/spinlock.c:338 #4 0x00372dcd in tdb_spinlock (tdb=0x91ebc70, list=1003, rw_type=1) at tdb/spinlock.c:388 #5 0x0036e7b0 in tdb_lock (tdb=0x91ebc70, list=1003, ltype=1) at tdb/tdb.c:302 #6 0x003725c3 in tdb_chainlock (tdb=0x91ebc70, key= {dptr = 0x49e6a0 "\022\b", dsize = 16}) at tdb/tdb.c:2030 #7 0x002fb867 in get_share_mode_lock (mem_ctx=0x0, dev=2066, ino=7884964, servicepath=0x91e8aa0 "/data/Server", fname=0x9204bb0 "FINALQC/HEMANTH QC/Sub Assy Codes") at locking/locking.c:619 #8 0x001d98a8...
1999 Aug 19
1
dptr_create: returned 9: Error - all new dirptrs in use ?
...access any data in the shares (security=share), only the toplevel directory structure of a share is still accessible. This seems to be a new problem in 2.0.5/6pre (not sure if it already happened for 2.0.4). Any hints? Franz. Platform: RH4.2/Intel Log entry: [1999/08/19 12:48:44, 0] smbd/dir.c:dptr_create(453) dptr_create: returned 9: Error - all new dirptrs in use ? Server setup: # Global parameters [global] workgroup = EVERYONE netbios name = SHARES server string = Linux Samba Server interfaces = 10.10.10.1/24 bind interfaces only = Yes...
2004 Feb 04
1
Signal 11 in smbd 3.0.2rc2 on printer operation!
...\0\0\0\0?\021}\034_duB\227P??.\232:?\0\0\0\0\0\0\0\0D???,???Q0\026\b\004\0\0\0D???\024\0\0\0\0\0\0\0\001\0\0\0\0\0\0\0\004\0\0\0\0\0\0\0\002\0\0\08U=\bL???\0361\026\b\220\026=\bD???x???\004\0\0\0\0\0\0\0\001\0\0\0|????\214!\b\001\0\0\0D???x???,L\023\b\0\0\0\0\224???\214???K?\017\b"... data = {dptr = 0x0, dsize = 264} key = {dptr = 0xbffff3ac "STATUS/hpljet8100n", dsize = 18} printername = 0x82f6c40 "hpljet8100n" pdb = (struct tdb_print_db *) 0x83d4ac8 count = 0 #8 0x0813d5b1 in _spoolss_enumjobs (p=0x83d1690, q_u=0xbffff644, r_u=0xbffff634) at rpc_server/srv_spo...
2015 Jul 01
2
Bug#785187: [PATCH] xen: earlycpio: Pull in latest linux earlycpio.[ch]
...uct cpio_data __init find_cpio_data(const char *path, void *data, - size_t len, long *offset) + size_t len, long *nextoff) { const size_t cpio_header_len = 8*C_NFIELDS - 2; - struct cpio_data cd = { NULL, 0 }; + struct cpio_data cd = { NULL, 0, "" }; const char *p, *dptr, *nptr; unsigned int ch[C_NFIELDS], *chp, v; unsigned char c, x; @@ -129,17 +130,17 @@ struct cpio_data __init find_cpio_data(const char *path, void *data, if ((ch[C_MODE] & 0170000) == 0100000 && ch[C_NAMESIZE] >= mypathsize && !memcmp(p, path, mypathsiz...
2003 Sep 27
0
Samba 3(PDC) + winbind, anyone has it working ?
...tatic WINBINDD_PW *pw; if ( !account_tdb && !winbindd_accountdb_init() ) { DEBUG(0,("wb_getpwnam: Failed to open winbindd account db\n")); return NULL; } keystr = acct_userkey_byname( name ); data = tdb_fetch_bystring( account_tdb, keystr ); pw = NULL; if ( data.dptr ) { pw = string2passwd( data.dptr ); SAFE_FREE( data.dptr ); } DEBUG(5,("wb_getpwnam: %s user (%s)\n", (pw ? "Found" : "Did not find"), name )); return pw; } ========================================== I see two problems here. First, it doesn't care if I...
2013 Nov 28
1
Samba4 git pull (11/28/2013) won't compile on FreeBSD 9.2
...oc_pooled_object( state->mem_ctx, struct byte_range_lock, 1, data.dsize); if (br_lock == NULL) { *state->br_lock = NULL; return; } br_lock->lock_data = (struct lock_struct *)talloc_memdup( br_lock, data.dptr, data.dsize); br_lock->num_locks = data.dsize / sizeof(struct lock_struct); if ((data.dsize % sizeof(struct lock_struct)) == 1) { br_lock->have_read_oplocks = (data.dptr[data.dsize-1] == 1); }
2019 Nov 14
6
get_share_mode_lock: get_static_share_mode_data failed: NT_STATUS_NO_MEMORY
...19/11/14 14:24:23.358965, 1] ../../source3/locking/share_mode_lock.c:598(get_share_mode_lock) get_share_mode_lock: get_static_share_mode_data failed: NT_STATUS_NO_MEMORY fresh_share_mode_lock() only get?s called from get_static_share_mode_data() when dbwrap_record_getvalue(rec) returns a value.dptr == NULL. I?m a bit unsure at the moment if this is a real problem is just an annoying log entry that can be ignored? - Peter
2007 Dec 02
1
[LLVMdev] reading & writing bitcode from non file, e.g. GDBM store (or MySQL database)
...side MySQL databases). Apparently, I can read a module from a GDBM store with something like (all error handling is skipped) datum keyd, vald; // GDBM key & value // fill keyd appropriately vald = gdbm_fetch (bark_gdbm, keyd); MemoryBuffer* membuf = MemoryBuffer::getMemBuffer(vald.dptr, vald.dptr+vald.dsize, bufnam); Module* lmodu = ParseBitcodeFile(membuf, &errmsg); // do something appropriate with the llvm module lmodu Unfortunately, there is no way of dumping into memory, except by going thru a stdc++ memory output buffer. Or am I wrong on this? Regards, and...