Closed Bug 171810 Opened 23 years ago Closed 23 years ago

certutil and modutil coredump on Sun Linux

Categories

(NSS :: Tools, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 116327

People

(Reporter: sonja.mirtitsch, Assigned: bugz)

Details

problem is seen on tinderbox only, only on optimized, different testruns coredump at different places cert.sh: Creating CA Cert serverCA -------------------------- certutil -s "CN=NSS Server Test CA, O=BOGUS NSS, L=Santa Clara, ST=California, C=US" -S -n serverCA -t Cu,Cu,Cu -v 60 -x -d . -1 -2 -5 -f ../tests.pw.16092 -z ../tests_noise.16092 /export/nss_tbx_sun_linux/builds/tinderbox/Linux-2.4/mozilla/security/nss/tests/all.sh: line 7: 16163 Segmentation fault (core dumped) certutil -s "${CU_SUBJECT}" $* cert.sh ERROR: Creating CA Cert serverCA failed 139 return value is 139 cert.sh: Exit: 6 Fatal - failed to create CA cert on other tests cert.sh: Exporting Root Cert -------------------------- certutil -L -n serverCA -r -d . -o root.cert /export/nss_tbx_sun_linux/builds/tinderbox/Linux-2.4/mozilla/security/nss/tests/all.sh: line 12: 16547 Segmentation fault (core dumped) certutil $* cert.sh ERROR: Exporting Root Cert failed 139 cert.sh: Exit: 7 Fatal - failed to export root cert I did a grep for core in all the output logs, and preserved 2 days worth of tinderbox QA on kentuckyderby /export/nss/dewey /export/nss_tbx_sun_linux/builds/tinderbox/Linux-2.4/mozilla/security/nss/tests/all.sh: line -10: Segmentation fault (core dumped) bltest -T -m $PARAM -d ${P_CIPHER} /export/nss_tbx_sun_linux/builds/tinderbox/Linux-2.4/mozilla/security/nss/tests/all.sh: line -4: Segmentation fault (core dumped) sdrtest -d ${PROFILE} -o ${VALUE2} -t "${T2}" /export/nss_tbx_sun_linux/builds/tinderbox/Linux-2.4/mozilla/security/nss/tests/all.sh: line 12: Segmentation fault (core dumped) certutil $* /export/nss_tbx_sun_linux/builds/tinderbox/Linux-2.4/mozilla/security/nss/tests/all.sh: line 1: Segmentation fault (core dumped) certutil -d ${P_R_FIPSDIR} -K -f ${R_FIPSPWFILE} 2>&1 /export/nss_tbx_sun_linux/builds/tinderbox/Linux-2.4/mozilla/security/nss/tests/all.sh: line 3: Segmentation fault (core dumped) sdrtest -d ${PROFILE} -o ${VALUE1} -t Test1 /export/nss_tbx_sun_linux/builds/tinderbox/Linux-2.4/mozilla/security/nss/tests/all.sh: line 505: Segmentation fault (core dumped) modutil -dbdir ${PROFILEDIR} -fips true 2>&1 <<MODSCRIPT /export/nss_tbx_sun_linux/builds/tinderbox/Linux-2.4/mozilla/security/nss/tests/all.sh: line 61: Segmentation fault (core dumped) certutil -d ${P_R_FIPSDIR} -K -f ${R_FIPSPWFILE} 2>&1 /export/nss_tbx_sun_linux/builds/tinderbox/Linux-2.4/mozilla/security/nss/tests/all.sh: line 6: Segmentation fault (core dumped) sdrtest -d ${PROFILE} -i ${VALUE2} -t "${T2}" /export/nss_tbx_sun_linux/builds/tinderbox/Linux-2.4/mozilla/security/nss/tests/all.sh: line 7: Segmentation fault (core dumped) certutil -s "${CU_SUBJECT}" $* /export/nss_tbx_sun_linux/builds/tinderbox/Linux-2.4/mozilla/security/nss/tests/all.sh: line 9: Segmentation fault (core dumped) bltest -T -m $PARAM -d ${P_CIPHER}
Assigned the bug to Ian.
Assignee: wtc → ian.mcgreer
Could you get some stack traces from the core files? What is the output of "gcc -v" on this machine? I am wondering if this is a duplicate of bug 116327.
> What is the output of "gcc -v" on this machine? I > am wondering if this is a duplicate of bug 116327. thanks Wan-Teh, it is. 2.96-98 *** This bug has been marked as a duplicate of 116327 ***
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
I suggest that you install this Red Hat GCC 2.96-RH for Red Hat Linux 7.2: http://rhn.redhat.com/errata/RHBA-2002-055.html The bug that affected us is 57760 - gcc-generated code accesses stack below sp. You may also want to install the latest glibc update because the original glibc was compiled with the buggy gcc. See my comments in http://bugzilla.mozilla.org/show_bug.cgi?id=116327#c7
I found that the GCC 2.96-RH update also contains the fix for the glibc bug 55568 - gcc-2.96-98 compiles bad code into glibc-2.2.4-13.
You need to log in before you can comment on or make changes to this bug.