Bug 1244481
| Summary: | [abrt] ezstream: stream_setup(): ezstream killed by SIGSEGV | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Francesco Frassinelli (frafra) <fraph24> | ||||||||||||||||||||||||||
| Component: | ezstream | Assignee: | Petr Pisar <ppisar> | ||||||||||||||||||||||||||
| Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||||||||||||||||||||||
| Severity: | unspecified | Docs Contact: | |||||||||||||||||||||||||||
| Priority: | unspecified | ||||||||||||||||||||||||||||
| Version: | 22 | CC: | ppisar | ||||||||||||||||||||||||||
| Target Milestone: | --- | ||||||||||||||||||||||||||||
| Target Release: | --- | ||||||||||||||||||||||||||||
| Hardware: | x86_64 | ||||||||||||||||||||||||||||
| OS: | Unspecified | ||||||||||||||||||||||||||||
| URL: | https://retrace.fedoraproject.org/faf/reports/bthash/ce880da58b2ff885243b2b5544a9202138bc0bb3 | ||||||||||||||||||||||||||||
| Whiteboard: | abrt_hash:b0539eab550e4070addc801f26fea8e0c2a314cd | ||||||||||||||||||||||||||||
| Fixed In Version: | ezstream-0.6.0-2.fc21 | Doc Type: | Bug Fix | ||||||||||||||||||||||||||
| Doc Text: | Story Points: | --- | |||||||||||||||||||||||||||
| Clone Of: | Environment: | ||||||||||||||||||||||||||||
| Last Closed: | 2015-08-07 13:08:28 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
Francesco Frassinelli (frafra)
2015-07-19 06:15:14 UTC
Created attachment 1053561 [details]
File: backtrace
Created attachment 1053562 [details]
File: cgroup
Created attachment 1053563 [details]
File: core_backtrace
Created attachment 1053564 [details]
File: dso_list
Created attachment 1053565 [details]
File: environ
Created attachment 1053566 [details]
File: limits
Created attachment 1053567 [details]
File: maps
Created attachment 1053568 [details]
File: mountinfo
Created attachment 1053569 [details]
File: namespaces
Created attachment 1053570 [details]
File: open_fds
Created attachment 1053571 [details]
File: proc_pid_status
Created attachment 1053572 [details]
File: var_log_messages
It looks like the pezConfig->format was NULL in this code:
if (!strcmp(pezConfig->format, MP3_FORMAT) &&
shout_set_format(shout, SHOUT_FORMAT_MP3) != SHOUTERR_SUCCESS) {
printf("%s: shout_set_format(MP3): %s\n",
__progname, shout_get_error(shout));
shout_free(shout);
return (NULL);
}
Could you provide more details how to reproduce the bug? Does it crash for you all the time or randomly?
From reading the current code, I believe you forgot to specify "format" element in the configuration file. That lead to NULL pezConfig->format and a crash when the code compared the variable to "MP3" string. (In reply to Petr Pisar from comment #13) > Could you provide more details how to reproduce the bug? Does it crash for > you all the time or randomly? All the time. #!/bin/bash cat << EOF > bug-1244481.conf <ezstream> <url>http://localhost:8000/test</url> <sourcepassword>dummy</sourcepassword> <filename>stdin</filename> </ezstream> EOF chmod 600 bug-1244481.conf ezstream -c bug-1244481.conf rm bug-1244481.conf (In reply to Petr Pisar from comment #14) > From reading the current code, I believe you forgot to specify "format" > element in the configuration file. That lead to NULL pezConfig->format and a > crash when the code compared the variable to "MP3" string. Exactly. I forgot "format". Reported to upstream <https://trac.xiph.org/ticket/2208>. Upstream has rewritten relevant code, so next upstream ezstream version should not suffer from this problem. I will apply simple fix onto Fedora packages that fixes the problem too. ezstream-0.6.0-2.fc22 has been submitted as an update for Fedora 22. https://admin.fedoraproject.org/updates/ezstream-0.6.0-2.fc22 ezstream-0.6.0-2.fc21 has been submitted as an update for Fedora 21. https://admin.fedoraproject.org/updates/ezstream-0.6.0-2.fc21 Package ezstream-0.6.0-2.fc21: * should fix your issue, * was pushed to the Fedora 21 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing ezstream-0.6.0-2.fc21' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2015-12035/ezstream-0.6.0-2.fc21 then log in and leave karma (feedback). ezstream-0.6.0-2.fc22 has been pushed to the Fedora 22 stable repository. If problems still persist, please make note of it in this bug report. ezstream-0.6.0-2.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. |