Displaying 3 results from an estimated 3 matches for "shm_share_forall".
2000 Jun 12
0
smbstatus getting a SIGBUS error
...uestions
Best regards
Arnold
Here's the offending routine:
/*******************************************************************
call the specified function on each entry under management by the
share mode system
********************************************************************/
static int shm_share_forall(void (*fn)(share_mode_entry *, char *))
{
int i, count=0;
int *mode_array;
share_mode_record *file_scanner_p;
shm_share_mode_entry *entry_scanner_p;
mode_array = (int
*)shmops->offset2addr(shmops->get_userdef_off());
for( i = 0; i < shmops-...
2000 Jun 08
0
[Fwd: smbstatus getting a SIGBUS error]
...number of users have
connected to the Samba server, smbstatus starts crashing with a bus
error. In this state, it will report on the connections but fails when
looking at the locks. I had a go at running gdb on the program and have
located the point of failure in "locking_shm.c" in the shm_share_forall
routine: line 636
(gdb) s
shm_offset2addr (offset=1096040751) at ../locking/shmem_sysv.c:154
154 if (offset == 0 )
(gdb) s
157 if (!shm_header_p)
(gdb) s
160 return (void *)((char *)shm_header_p + offset);
(gdb) s
161 }
(gdb) s
shm_share_forall (fn=0x136b4 <print_share_...
2000 Jan 11
0
SAMBA BUG: smbstatus 2.0.6 core dumps on Solaris 2.6 (SIGSEGV)
...DenyMode R/W Oplock Name
--------------------------------------------------
19059 DENY_ALL RDWR EXCLUSIVE+BATCH
/home/hpdrc-people-6/petrovm/Netscape/Users/default/mail/Inbox.snm Tue
Jan 11 10:40:04 2000
Program received signal SIGSEGV, Segmentation fault.
0x1dfdc in shm_share_forall (fn=0x1b3cc <print_share_mode>)
at locking/locking_shm.c:636
636 if
(process_exists(entry_scanner_p->e.pid)) {
(gdb) where
#0 0x1dfdc in shm_share_forall (fn=0x1b3cc <print_share_mode>)
at locking/locking_shm.c:636
#1 0x1c668 in share_mod...