Bug 2231259
| Summary: | [abrt] strawberry: getenv(): strawberry killed by SIGSEGV | ||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Andrew <cherdantsefff> | ||||||||||||||||||||||||||||
| Component: | strawberry | Assignee: | Ondrej Mosnáček <omosnacek> | ||||||||||||||||||||||||||||
| Status: | CLOSED EOL | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||||||||
| Version: | 38 | CC: | arjun, cherdantsefff, codonell, dj, eclipseo, fberat, fweimer, jlaw, jonas, mcermak, mcoufal, mfabian, omosnacek, pfrankli, sipoyare, skolosov | ||||||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/5c04bf59e2f17a9522fb7d67430b12c211d8c0c | ||||||||||||||||||||||||||||||
| Whiteboard: | abrt_hash:e09f84f74dfcf5b3bcfaf3b19b443d3182f8901c;VARIANT_ID=workstation; | ||||||||||||||||||||||||||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||||||||
| Last Closed: | 2024-05-28 13:48:29 UTC | Type: | --- | ||||||||||||||||||||||||||||
| Regression: | --- | Mount Type: | --- | ||||||||||||||||||||||||||||
| Documentation: | --- | CRM: | |||||||||||||||||||||||||||||
| Verified Versions: | Category: | --- | |||||||||||||||||||||||||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||||||||||||||||||||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||||||||||||||||||||||||
| Embargoed: | |||||||||||||||||||||||||||||||
| Attachments: |
|
||||||||||||||||||||||||||||||
|
Description
Andrew
2023-08-11 06:42:04 UTC
Created attachment 1982913 [details]
File: proc_pid_status
Created attachment 1982914 [details]
File: maps
Created attachment 1982915 [details]
File: limits
Created attachment 1982916 [details]
File: environ
Created attachment 1982917 [details]
File: open_fds
Created attachment 1982918 [details]
File: mountinfo
Created attachment 1982919 [details]
File: os_info
Created attachment 1982920 [details]
File: cpuinfo
Created attachment 1982921 [details]
File: core_backtrace
Created attachment 1982922 [details]
File: exploitable
Created attachment 1982923 [details]
File: dso_list
Created attachment 1982924 [details]
File: var_log_messages
Created attachment 1982925 [details]
File: backtrace
This looks like a glibc related crash (getenv), maybe a rebuild has fixed it. Unless this is still an issue still in the latest Fedora / strawberry version, this can probably be closed. It seems to be still happening: https://retrace.fedoraproject.org/faf/problems/bthash/?bth=5c04bf59e2f17a9522fb7d67430b12c211d8c0c1&bth=85e69ce88e0a6a3ed069459bb47e34583db75863&bth=fe089c4f0059f7e86b70bf17d915055a7fa2babf&bth=63b415729a721d2a06fbfa13082ce0ae2f3887c9 But indeed it's probably not a bug in strawberry. Reassigning to glibc, maybe the maintainers will know more... Looks like something corrupted the environ vector, perhaps by calling setenv in a multi-threaded program. Without more data, it is impossible to tell whether this is a glibc bug. Is there a way to reproduce the crash reliably? I can't reproduce it on openSUSE, and I've never seen this crash occur before now, not heard of it from any other distro either. gst_init is what's calling setenv(). Strawberry call's gst_init() in a another thread to avoid blocking the GUI on startup, this is something that is inherited from Clementine dating back to 2010 (https://github.com/clementine-player/Clementine/commit/75b70b4acb1749a9b91d5219b0de8855e3ff7347) (even though much of the gst code in strawberry is rewritten). As far as I know this should be safe, I found this: http://www.eel.is/c++draft/support.runtime.general#2 However, if it's not safe, we should call gst_init() directly from the main thread, it's not a big deal anyway, gst_init() takes like 10ms when testing here. > gst_init is what's calling setenv(). Strawberry call's gst_init() in a
I mean getenv().
Passing this back to strawberry. We don't see any indication that this is a glibc bug with getenv() or setenv(). We expect this is an application bug related to environ corruption. This needs to be debugged at the application layer. Fedora Linux 38 entered end-of-life (EOL) status on 2024-05-21. Fedora Linux 38 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug. If you can reproduce this bug against a currently maintained version of Fedora Linux please feel free to reopen this bug against that version. Note that the version field may be hidden. Click the "Show advanced fields" button if you do not see the version field. If you are unable to reopen this bug, please file a new report against an active release. Thank you for reporting this bug and we are sorry it could not be fixed. |