Version-Release number of selected component: ezstream-0.6.0-1.fc22 Additional info: reporter: libreport-2.6.0 backtrace_rating: 4 cmdline: ezstream -c /home/frafra/.ezstream-viglug.conf crash_function: stream_setup executable: /usr/bin/ezstream global_pid: 2254 kernel: 4.2.0-0.rc2.git0.1.fc23.x86_64 runlevel: N 5 type: CCpp uid: 1000 Truncated backtrace: Thread no. 1 (1 frames) #0 stream_setup at util.c:138
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.