Bug 971513
Summary: | segfault when installing FreeIPA | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Rob Crittenden <rcritten> |
Component: | libbsd | Assignee: | Eric Smith <spacewar> |
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 19 | CC: | nalin, spacewar |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | libbsd-0.5.2-1.fc19 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-06-13 06:44:53 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 971509 |
Description
Rob Crittenden
2013-06-06 16:58:16 UTC
The top couple of frames in my backtrace (with a little more debuginfo) look like this: #0 __strchr_sse2 () at ../sysdeps/x86_64/strchr.S:32 #1 0x00007fffec389cdb in spt_copyenv (oldenv=0x55555577ec10) at setproctitle.c:94 #2 spt_init (argc=8, argv=0x7fffffffe448, envp=0x55555577ec10) at setproctitle.c:172 I think that spt_init's use of the passed-in value of "environ" is causing some trouble because when it calls spt_clearenv(), and spt_clearenv() ends up calling clearenv(), the value is freed before it's read. Patching spt_clearenv() to behave as if HAVE_CLEARENV isn't defined keeps it from crashing on my system, as the fallback path doesn't actually free the old environment. I'm going to patch setproctitle to not call clearenv(), as Nalin described, until upstream releases a fixed version. libbsd-0.5.1-2.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/libbsd-0.5.1-2.fc19 Package libbsd-0.5.1-2.fc19: * should fix your issue, * was pushed to the Fedora 19 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing libbsd-0.5.1-2.fc19' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2013-10259/libbsd-0.5.1-2.fc19 then log in and leave karma (feedback). libbsd-0.5.2-1.fc19 has been submitted as an update for Fedora 19. https://admin.fedoraproject.org/updates/libbsd-0.5.2-1.fc19 libbsd-0.5.2-1.fc19 has been pushed to the Fedora 19 stable repository. If problems still persist, please make note of it in this bug report. |