Closed Bug 497094 Opened 17 years ago Closed 6 years ago

Tools crashing on Mac/64bit.

Categories

(NSS :: Libraries, defect)

x86
macOS
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED INVALID
3.12.3

People

(Reporter: slavomir.katuscak+mozilla, Unassigned)

Details

Build: nssmac3 Darwin 64bit DBG on 2009/06/08 22:54:07 (Tinderbox) Log: cert.sh: Sign Curve-nistp256's EC Request -------------------------- certutil -C -c TestCA-ec -m 2029 -v 60 -d ../CA -i req -o Curve-nistp256-ec.cert -f ../tests.pw ./cert.sh: line 116: 88067 Segmentation fault ${PROFTOOL} ${BINDIR}/certutil $* cert.sh: #6958: Sign Curve-nistp256's EC Request (139) - FAILED cert.sh ERROR: Sign Curve-nistp256's EC Request failed 139 Crash analysis: Thread 0 Crashed: 0 libSystem.B.dylib 0x00007fff8368b775 __error + 1 1 libSystem.B.dylib 0x00007fff83762fd9 cerror + 33 2 libsoftokn3.dylib 0x000000010052ac49 sdb_measureAccess + 116 (sdb.c:398) 3 libsoftokn3.dylib 0x000000010052d4e3 sdb_init + 1390 (sdb.c:1868) 4 libsoftokn3.dylib 0x000000010052d8dd s_open + 212 (sdb.c:2003) 5 libsoftokn3.dylib 0x0000000100532383 sftk_DBInit + 665 (sftkdb.c:2588) 6 libsoftokn3.dylib 0x0000000100511efc SFTK_SlotReInit + 758 (pkcs11.c:2148) 7 libsoftokn3.dylib 0x0000000100512302 SFTK_SlotInit + 804 (pkcs11.c:2260) 8 libsoftokn3.dylib 0x0000000100512fe3 nsc_CommonInitialize + 743 (pkcs11.c:2648) 9 libsoftokn3.dylib 0x000000010051307c NSC_Initialize + 59 (pkcs11.c:2710) 10 libnss3.dylib 0x000000010011994e secmod_ModuleInit + 223 (pk11load.c:146) 11 libnss3.dylib 0x000000010011a2ff SECMOD_LoadPKCS11Module + 839 (pk11load.c:378) 12 libnss3.dylib 0x00000001001284ea SECMOD_LoadModule + 252 (pk11pars.c:323) 13 libnss3.dylib 0x0000000100128554 SECMOD_LoadModule + 358 (pk11pars.c:338) 14 libnss3.dylib 0x00000001000ea5f3 nss_Init + 978 (nssinit.c:537) 15 libnss3.dylib 0x00000001000ea9c1 NSS_Initialize + 261 (nssinit.c:669) 16 certutil 0x0000000100009f01 certutil_main + 5255 (certutil.c:2369) 17 certutil 0x000000010000b8a8 main + 32 (certutil.c:2981) 18 certutil 0x000000010000150c start + 52 Crashed process was from shared DB cycle (NSS_DEFAULT_DB_TYPE="sql"). Crash of this type occured only once, and following runs were OK again. Cert file on output has size 0 bytes, input file req doesn't exists any more (for every cert is generated new req file replacing previous one).
Build: nssmac3 Darwin 64bit DBG on 2009/06/09 21:24:48 Log: tstclnt -p 8333 -h nssmac3.red.iplanet.com -f -d ../client -v \ -T -n TestUser46-ec -w nss < /export/tinderlight/data/nssmac3_64_DBG/mozilla/security/nss/tests/ssl/sslreq.dat ./ssl.sh: line 669: 4077 Segmentation fault ${PROFTOOL} ${BINDIR}/tstclnt -p ${PORT} -h ${HOSTADDR} -f ${cparam} -d ${R_CLIENTDIR} -v < ${REQUEST_FILE} > ${TMP}/$HOST.tmp.$$ 2>&1 kill -0 3769 >/dev/null 2>/dev/null selfserv with PID 3769 found at Tue Jun 9 22:57:55 PDT 2009 ssl.sh: #7803: SSL3 Require client auth (EC) (client auth)(cert TestUser46 - not revoked) produced a returncode of 139, expected is 0 - FAILED Crash analysis: Thread 0 Crashed: 0 libSystem.B.dylib 0x00007fff8368b775 __error + 1 1 libSystem.B.dylib 0x00007fff83762fd9 cerror + 33 2 libsoftokn3.dylib 0x000000010052ac70 sdb_measureAccess + 116 (sdb.c:398) 3 libsoftokn3.dylib 0x000000010052d4da sdb_init + 1372 (sdb.c:1868) 4 libsoftokn3.dylib 0x000000010052d91c s_open + 286 (sdb.c:2020) 5 libsoftokn3.dylib 0x0000000100532378 sftk_DBInit + 665 (sftkdb.c:2588) 6 libsoftokn3.dylib 0x0000000100511f0c SFTK_SlotReInit + 758 (pkcs11.c:2148) 7 libsoftokn3.dylib 0x0000000100512312 SFTK_SlotInit + 804 (pkcs11.c:2260) 8 libsoftokn3.dylib 0x0000000100512ff3 nsc_CommonInitialize + 743 (pkcs11.c:2648) 9 libsoftokn3.dylib 0x000000010051308c NSC_Initialize + 59 (pkcs11.c:2710) 10 libnss3.dylib 0x000000010010694e secmod_ModuleInit + 223 (pk11load.c:146) 11 libnss3.dylib 0x00000001001072ff SECMOD_LoadPKCS11Module + 839 (pk11load.c:378) 12 libnss3.dylib 0x00000001001154ea SECMOD_LoadModule + 252 (pk11pars.c:323) 13 libnss3.dylib 0x0000000100115554 SECMOD_LoadModule + 358 (pk11pars.c:338) 14 libnss3.dylib 0x00000001000d75f3 nss_Init + 978 (nssinit.c:537) 15 libnss3.dylib 0x00000001000d7815 NSS_Init + 163 (nssinit.c:596) 16 tstclnt 0x0000000100002518 main + 1460 (tstclnt.c:618) 17 tstclnt 0x00000001000014b0 start + 52 As this is crash of different tool with very similar stack (nss init -> softoken init -> sdb init) on the same architecture (64bit Mac) and we started to test/support this architecture only recently, problem is most probably specific for this architecture. I'm reassigning this bug to Glen now, as he worked on Mac support.
Assignee: alexei.volkov.bugs → nobody
Severity: normal → critical
Component: Tools → Libraries
QA Contact: tools → libraries
Summary: Certutil crashed when signing certificate. → Tools crashing on Mac/64bit.
Assignee: nobody → glen.beasley
See also bug 505424.
Assignee: gbmozilla → nobody

Hi,

It is a very old bug without update.
No related problem in the current versions.
Changing to INVALID.

Thanks,

QA Contact: jjones
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.