|
From: McKenzie, G. \(IT\) <Gra...@mo...> - 2006-03-27 19:18:52
|
Running an application under Valgrind 3.0.1 on RedHat Linux 3.0 we are getting a SEGV in __pthread_mutex_unlock_usercnt that does not occur when we run the app outside Valgrind. I am somewhat new to Valgrind but did not see any previous references to problems with this call in the user manual, FAQ or support archives. Does anyone have any advice on how to detemine if Valgrind is exposing an error in the app, or we are hitting an error with Valgrind?=20 =20 Cheers, Grant. =20 =20 --27318-- REDIR: 0x1C7DEC10 (rawmemchr) redirected to 0x1B901050 (rawmemchr) --27318-- Reading syms from /ms/dist/ebi/PROJ/bigdog-client/1.1/.exec/ia32.linux.2.4.glibc.2.3/lib/l ibBigdog_gcc32.so.1 (0x1C 710000) --27318-- Reading syms from /ms/dist/sec/PROJ/mitkrb5/1.3.1-ms10/.exec/ia32.linux.2.4.glibc.2.3/lib/ libgss_all.so.3.1 (0x26DD B000) --27318-- Reading syms from /lib/libresolv-2.3.2.so (0x1C9AA000) --27318-- REDIR: 0x1C7DDBC0 (bcmp) redirected to 0x1B900D20 (bcmp) --27318-- REDIR: 0x1C7DC4C0 (strnlen) redirected to 0x1B900820 (strnlen) --27318-- REDIR: 0x1C7D5050 (realloc) redirected to 0x1B8FFF31 (realloc) --27318-- REDIR: 0x1C7DAF70 (strcat) redirected to 0x1B900670 (strcat) =3D=3D27318=3D=3D Thread 31: =3D=3D27318=3D=3D Invalid read of size 4 =3D=3D27318=3D=3D at 0x1C75A971: __pthread_mutex_unlock_usercnt (in /lib/tls/libpthread-0.60.so) =3D=3D27318=3D=3D by 0x1C75B22D: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/tls/libpthread-0.60.so) =3D=3D27318=3D=3D by 0x1C488341: RWCondition::wait() (in /ms/dist/3rd/PROJ/RWSourcePro/6-5/.exec/ia32.linux.2.4.glibc.2.3/lib/lib s ync_gcc32.so.1) =3D=3D27318=3D=3D by 0x1C48B4AF: RWReadersWriterLock::acquireWrite() = (in /ms/dist/3rd/PROJ/RWSourcePro/6-5/.exec/ia32.linux.2.4.gl ibc.2.3/lib/libsync_gcc32.so.1) =3D=3D27318=3D=3D by 0x1BACEB47: MSNetAdminManagerImplBase::registerConnection(MSNetID const&, MSManagedPointer<MSNetAdminBridgeIn terface, MSDefaultRefCountingTraits, MSDefaultDeletionPolicy>) (RWTWriteLockGuard.h:71) =3D=3D27318=3D=3D by 0x1BB39784: MSNetLegacyAdminManager::registerConnection(MSNetID const&, MSManagedPointer<MSNetAdminBridgeInte rface, MSDefaultRefCountingTraits, MSDefaultDeletionPolicy>) (MSManagedPointer.H:278) =3D=3D27318=3D=3D by 0x1BB39580: MSNetLegacyAdminManager::registerConnection(MSNetID const&, MSNetTCPConnectionBase const&) (MSMan agedPointer.H:278) =3D=3D27318=3D=3D by 0x810527C: MSNetPolicyServerImplBase<YapcPolicyTraits>::registerConnection(MSNetPro tocolTCPConnection<YapcPro tocol>&) (MSManagedPointer.H:652) =3D=3D27318=3D=3D by 0x810517A: MSNetPolicyServerImplBase<YapcPolicyTraits>::newConnectionNotify(MSManag edPointer<MSNetPolicyServe rConnectionContext<YapcPolicyTraits>, MSDefaultRefCountingTraits, MSDefaultDeletionPolicy>&) (MSManagedPointer.H:652) =3D=3D27318=3D=3D by 0x8104C5D: MSNetPolicyServerImplBase<YapcPolicyTraits>::promoteConnection(MSNetPoli cyServerConnectionContext< YapcPolicyTraits> const&) (MSNetPolicyServerImplBase.C:529) =3D=3D27318=3D=3D Address 0x10 is not stack'd, malloc'd or (recently) = free'd =3D=3D27318=3D=3D =3D=3D27318=3D=3D Process terminating with default action of signal 11 (SIGSEGV): dumping core =3D=3D27318=3D=3D Access not within mapped region at address 0x10 =3D=3D27318=3D=3D at 0x1C75A971: __pthread_mutex_unlock_usercnt (in /lib/tls/libpthread-0.60.so) =3D=3D27318=3D=3D by 0x1C75B22D: pthread_cond_wait@@GLIBC_2.3.2 (in /lib/tls/libpthread-0.60.so) =3D=3D27318=3D=3D by 0x1C488341: RWCondition::wait() (in /ms/dist/3rd/PROJ/RWSourcePro/6-5/.exec/ia32.linux.2.4.glibc.2.3/lib/lib s ync_gcc32.so.1) =3D=3D27318=3D=3D by 0x1C48B4AF: RWReadersWriterLock::acquireWrite() = (in /ms/dist/3rd/PROJ/RWSourcePro/6-5/.exec/ia32.linux.2.4.gl ibc.2.3/lib/libsync_gcc32.so.1) =3D=3D27318=3D=3D by 0x1BACEB47: MSNetAdminManagerImplBase::registerConnection(MSNetID const&, MSManagedPointer<MSNetAdminBridgeIn : -------------------------------------------------------- NOTICE: If received in error, please destroy and notify sender. Sender = does not waive confidentiality or privilege, and use is prohibited. |
|
From: Julian S. <js...@ac...> - 2006-04-04 13:13:32
|
On Monday 27 March 2006 20:18, McKenzie, Grant (IT) wrote: > Running an application under Valgrind 3.0.1 on RedHat Linux 3.0 we are > getting a SEGV in __pthread_mutex_unlock_usercnt that does not occur > when we run the app outside Valgrind. I am somewhat new to Valgrind but > did not see any previous references to problems with this call in the > user manual, FAQ or support archives. Does anyone have any advice on how > to detemine if Valgrind is exposing an error in the app, or we are > hitting an error with Valgrind? Dunno. Did you fix all previous errors reported by V prior to this point? J > > Cheers, > Grant. > > > --27318-- REDIR: 0x1C7DEC10 (rawmemchr) redirected to 0x1B901050 > (rawmemchr) > --27318-- Reading syms from > /ms/dist/ebi/PROJ/bigdog-client/1.1/.exec/ia32.linux.2.4.glibc.2.3/lib/l > ibBigdog_gcc32.so.1 (0x1C > 710000) > --27318-- Reading syms from > /ms/dist/sec/PROJ/mitkrb5/1.3.1-ms10/.exec/ia32.linux.2.4.glibc.2.3/lib/ > libgss_all.so.3.1 (0x26DD > B000) > --27318-- Reading syms from /lib/libresolv-2.3.2.so (0x1C9AA000) > --27318-- REDIR: 0x1C7DDBC0 (bcmp) redirected to 0x1B900D20 (bcmp) > --27318-- REDIR: 0x1C7DC4C0 (strnlen) redirected to 0x1B900820 (strnlen) > --27318-- REDIR: 0x1C7D5050 (realloc) redirected to 0x1B8FFF31 (realloc) > --27318-- REDIR: 0x1C7DAF70 (strcat) redirected to 0x1B900670 (strcat) > ==27318== Thread 31: > ==27318== Invalid read of size 4 > ==27318== at 0x1C75A971: __pthread_mutex_unlock_usercnt (in > /lib/tls/libpthread-0.60.so) > ==27318== by 0x1C75B22D: pthread_cond_wait@@GLIBC_2.3.2 (in > /lib/tls/libpthread-0.60.so) > ==27318== by 0x1C488341: RWCondition::wait() (in > /ms/dist/3rd/PROJ/RWSourcePro/6-5/.exec/ia32.linux.2.4.glibc.2.3/lib/lib > s > ync_gcc32.so.1) > ==27318== by 0x1C48B4AF: RWReadersWriterLock::acquireWrite() (in > /ms/dist/3rd/PROJ/RWSourcePro/6-5/.exec/ia32.linux.2.4.gl > ibc.2.3/lib/libsync_gcc32.so.1) > ==27318== by 0x1BACEB47: > MSNetAdminManagerImplBase::registerConnection(MSNetID const&, > MSManagedPointer<MSNetAdminBridgeIn > terface, MSDefaultRefCountingTraits, MSDefaultDeletionPolicy>) > (RWTWriteLockGuard.h:71) > ==27318== by 0x1BB39784: > MSNetLegacyAdminManager::registerConnection(MSNetID const&, > MSManagedPointer<MSNetAdminBridgeInte > rface, MSDefaultRefCountingTraits, MSDefaultDeletionPolicy>) > (MSManagedPointer.H:278) > ==27318== by 0x1BB39580: > MSNetLegacyAdminManager::registerConnection(MSNetID const&, > MSNetTCPConnectionBase const&) (MSMan > agedPointer.H:278) > ==27318== by 0x810527C: > MSNetPolicyServerImplBase<YapcPolicyTraits>::registerConnection(MSNetPro > tocolTCPConnection<YapcPro > tocol>&) (MSManagedPointer.H:652) > ==27318== by 0x810517A: > MSNetPolicyServerImplBase<YapcPolicyTraits>::newConnectionNotify(MSManag > edPointer<MSNetPolicyServe > rConnectionContext<YapcPolicyTraits>, MSDefaultRefCountingTraits, > MSDefaultDeletionPolicy>&) (MSManagedPointer.H:652) > ==27318== by 0x8104C5D: > MSNetPolicyServerImplBase<YapcPolicyTraits>::promoteConnection(MSNetPoli > cyServerConnectionContext< > YapcPolicyTraits> const&) (MSNetPolicyServerImplBase.C:529) > ==27318== Address 0x10 is not stack'd, malloc'd or (recently) free'd > ==27318== > ==27318== Process terminating with default action of signal 11 > (SIGSEGV): dumping core > ==27318== Access not within mapped region at address 0x10 > ==27318== at 0x1C75A971: __pthread_mutex_unlock_usercnt (in > /lib/tls/libpthread-0.60.so) > ==27318== by 0x1C75B22D: pthread_cond_wait@@GLIBC_2.3.2 (in > /lib/tls/libpthread-0.60.so) > ==27318== by 0x1C488341: RWCondition::wait() (in > /ms/dist/3rd/PROJ/RWSourcePro/6-5/.exec/ia32.linux.2.4.glibc.2.3/lib/lib > s > ync_gcc32.so.1) > ==27318== by 0x1C48B4AF: RWReadersWriterLock::acquireWrite() (in > /ms/dist/3rd/PROJ/RWSourcePro/6-5/.exec/ia32.linux.2.4.gl > ibc.2.3/lib/libsync_gcc32.so.1) > ==27318== by 0x1BACEB47: > MSNetAdminManagerImplBase::registerConnection(MSNetID const&, > MSManagedPointer<MSNetAdminBridgeIn > > -------------------------------------------------------- > > NOTICE: If received in error, please destroy and notify sender. Sender > does not waive confidentiality or privilege, and use is prohibited. |