| Summary: | SIGBUS resolving srv records | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Dennis Gilmore <dennis> | ||||||
| Component: | c-ares | Assignee: | Tom "spot" Callaway <tcallawa> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
| Severity: | unspecified | Docs Contact: | |||||||
| Priority: | unspecified | ||||||||
| Version: | 15 | CC: | jhrozek, tcallawa | ||||||
| Target Milestone: | --- | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||||
| Doc Text: | Story Points: | --- | |||||||
| Clone Of: | |||||||||
| : | 695426 (view as bug list) | Environment: | |||||||
| Last Closed: | 2011-11-14 20:51:55 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Bug Depends On: | |||||||||
| Bug Blocks: | 695426 | ||||||||
| Attachments: |
|
||||||||
Created attachment 491292 [details]
Patch from upstream to address alignment issues
Upstream has a fix available for this already. Attaching to the bug.
I can confirm that the scratch build sgallagh did for me resolves the issue. sssd works as expected with srv records Rawhide build - http://koji.fedoraproject.org/koji/taskinfo?taskID=2994254 F15 and F14 builds should hit updates-testing soon. |
Created attachment 491286 [details] full backtrace of the crash Description of problem: using sssd with srv record lookup enabled im getting a sigbus in c-ares on sparc Version-Release number of selected component (if applicable): How reproducible: always Steps to Reproduce: 1. start sssd 2. try to log in 3. Actual results: Program received signal SIGBUS, Bus error. ares_parse_srv_reply (abuf=0xff855720 ")r\205\200", alen=238, srv_out=0xff85551c) at ares_parse_srv_reply.c:142 142 srv_curr->priority = ntohs (*((unsigned short *)vptr)); Expected results: things to work Additional info: SIGBUS on sparc means that there is a memory alignment issue. this will likely effect arm and s390 also