Open
Bug 401100
Opened 17 years ago
Updated 2 years ago
Possible leak in testThreadLockingBehavior.
Categories
(NSS :: Libraries, defect, P3)
Tracking
(Not tracked)
NEW
People
(Reporter: slavomir.katuscak+mozilla, Assigned: rrelyea)
Details
(Keywords: memory-leak)
Function testThreadLockingBehavior is part of sqlite and is used to test if different threads can override each others locks. It creates 2 threads (pthread_create) and waits for their termination (pthread_join). Valgrind detects some possible leak there, seems that problem is in GLIBC. OS version: Red Hat Enterprise Linux AS release 4 (Nahant Update 4) ==3056== 136 bytes in 1 blocks are possibly lost in loss record 44 of 54 ==3056== at 0x40056BF: calloc (vg_replace_malloc.c:279) ==3056== by 0x59571A: _dl_allocate_tls (in /lib/ld-2.3.4.so) ==3056== by 0x80591E: pthread_create@@GLIBC_2.1 (in /lib/tls/libpthread-2.3.4.so) ==3056== by 0x4011E06: testThreadLockingBehavior (sqlite3.c:12406) ==3056== by 0x4011FA0: findLockInfo (sqlite3.c:12541) ==3056== by 0x4013364: allocateUnixFile (sqlite3.c:14462) ==3056== by 0x40123D4: sqlite3UnixOpenReadWrite (sqlite3.c:12734) ==3056== by 0x40154CD: sqlite3PagerOpen (sqlite3.c:18450) ==3056== by 0x4019FC1: sqlite3BtreeOpen (sqlite3.c:22665) ==3056== by 0x40563C1: sqlite3BtreeFactory (sqlite3.c:64249) ==3056== by 0x405690A: openDatabase (sqlite3.c:64455) ==3056== by 0x4056A44: sqlite3_open (sqlite3.c:64530) ==3056== by 0x41EE0D5: sdb_openDB (sdb.c:597) ==3056== by 0x41EFF8B: sdb_init (sdb.c:1693) ==3056== by 0x41F06F5: s_open (sdb.c:1973) ==3056== by 0x41F2E53: sftk_DBInit (sftkdb.c:1480) ==3056== by 0x41D9AD0: SFTK_SlotReInit (pkcs11.c:2034) ==3056== by 0x41D9E01: SFTK_SlotInit (pkcs11.c:2140) ==3056== by 0x41DA841: nsc_CommonInitialize (pkcs11.c:2498) ==3056== by 0x41DA8BE: NSC_Initialize (pkcs11.c:2522) ==3056== by 0x8086FFB: secmod_ModuleInit (pk11load.c:147) ==3056== by 0x80878D7: SECMOD_LoadPKCS11Module (pk11load.c:379) ==3056== by 0x8092173: SECMOD_LoadModule (pk11pars.c:323) ==3056== by 0x80921E7: SECMOD_LoadModule (pk11pars.c:338) ==3056== by 0x805165D: nss_Init (nssinit.c:487) ==3056== by 0x80517F0: NSS_Init (nssinit.c:542) ==3056== by 0x805082D: main (ocspclnt.c:1173) Found in upgrade DB tests in selfserv and in shared DB tests in selfserv + ocspclnt. See also bug 367376.
Assignee | ||
Updated•17 years ago
|
Priority: -- → P3
Target Milestone: --- → 3.12.1
Comment 1•15 years ago
|
||
Unsetting target milestone in unresolved bugs whose targets have passed.
Target Milestone: 3.12.1 → ---
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•