Closed
Bug 1524902
Opened 5 years ago
Closed 5 years ago
odr-violation in util_gtest
Categories
(NSS :: Libraries, defect, P4)
NSS
Libraries
Tracking
(Not tracked)
RESOLVED
FIXED
3.43
People
(Reporter: mt, Assigned: mt)
Details
Attachments
(1 file)
This came from an unrelated change:
/home/worker/dist/Debug/bin/certutil -N -d /home/worker/tests_results/security/localhost.1/util_gtest --empty-password
executing util_gtest
=================================================================
==414==ERROR: AddressSanitizer: odr-violation (0x08b54a80):
[1] size=16 'SEC_SequenceOfAnyTemplate' ../../lib/util/secasn1d.c:3149:24
[2] size=16 'SEC_SequenceOfAnyTemplate' ../../lib/util/secasn1d.c:3149:24
These globals were registered at these points:
[1]:
#0 0x8142bb4 (/home/worker/dist/Debug/bin/util_gtest+0x8142bb4)
#1 0xf5aa661a (/home/worker/dist/Debug/lib/libnssutil3.so+0x3d61a)
[2]:
#0 0x8142bb4 (/home/worker/dist/Debug/bin/util_gtest+0x8142bb4)
#1 0x895133a (/home/worker/dist/Debug/bin/util_gtest+0x895133a)
==414==HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_odr_violation=0
SUMMARY: AddressSanitizer: odr-violation: global 'SEC_SequenceOfAnyTemplate' at ../../lib/util/secasn1d.c:3149:24
==414==ABORTING
I am surprised that this is only surfacing now. It seems like it is down to static linking problems.
Assignee | ||
Comment 1•5 years ago
|
||
util_gtests shouldn't need to link so much of NSS.
Assignee | ||
Comment 2•5 years ago
|
||
Assignee: nobody → martin.thomson
Assignee | ||
Comment 3•5 years ago
|
||
Status: NEW → RESOLVED
Closed: 5 years ago
OS: Unspecified → All
Priority: -- → P4
Hardware: Unspecified → All
Resolution: --- → FIXED
Target Milestone: --- → 3.43
Assignee | ||
Comment 4•5 years ago
|
||
https://hg.mozilla.org/projects/nss/rev/b5dd5901aef3f33de57206cfa8126e52cd0a9538 -- because try doesn't run modular builds and I forgot to scrub for unused #includes.
You need to log in
before you can comment on or make changes to this bug.
Description
•