| Summary: | segfault in RDN object | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Rob Crittenden <rcritten> |
| Component: | python-nss | Assignee: | John Dennis <jdennis> |
| Status: | CLOSED NOTABUG | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 14 | CC: | dcantrell, jdennis |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-05-24 22:23:44 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Rob Crittenden
2011-05-24 22:07:10 UTC
Did you call one of the nss init functions? This looks a lot like what happens if you haven't initialized nss. The nss internal hash tables are initialized by the nss init routines, it looks like they haven't been set up. Gah, no I didn't. That fixed it, closing as invalid. O.K. good, that was easy. Guess how I instantly recognized it? I've done the same thing more than once myself :-) FWIW, it's very easy to make NSS segfault, it's not a very friendly library. Failing to initialize is just one way, so is failing to call some required SSL functions when doing SSL. :-( I've pondered how python-nss might automatically initialize nss for you when python loads the python-nss module but my attempts were fraught with problems and I gave up. My suggestion would be to do the reverse: if it isn't initialized throw a NotInitialized() exception. It would just require a slew of extra checking everywhere. |