GNOME Bugzilla – Bug 637641
Crash on audio alarms with invalid file URI set
Last modified: 2011-03-09 07:57:42 UTC
Moving this from a downstream bug report: https://bugzilla.redhat.com/show_bug.cgi?id=664183 abrt version: 1.1.14 architecture: x86_64 Attached file: backtrace cmdline: /usr/libexec/evolution/2.32/evolution-alarm-notify component: evolution crash_function: has_case_prefix executable: /usr/libexec/evolution/2.32/evolution-alarm-notify kernel: 2.6.35.9-64.fc14.x86_64 package: evolution-2.32.1-1.fc14 rating: 4 reason: Process /usr/libexec/evolution/2.32/evolution-alarm-notify was killed by signal 11 (SIGSEGV) release: Fedora release 14 (Laughlin) time: 1292713200 uid: 500 How to reproduce ----- 1.Evolution was not started. Did not use Evolution. Core was generated by `/usr/libexec/evolution/2.32/evolution-alarm-notify'. Program terminated with signal 11, Segmentation fault.
+ Trace 225204
Thread 1 (Thread 1867)
Created attachment 182746 [details] evolution-alarm-notify crash
Thanks for the update. Looking more closely to the backtrace I see that the alarm-notification daemon is trying to play an audio notification set on an event, but there is no file URI for it to play (with a sound file). I do not know whether it's correct or incorrect state, so I would rather check, because the source code lines seems to indicate that the alarm has set a sound file url. Could you save the event, strip all private information from there (by replacing each letter with 'x' or something) and attach it here, please? I know what to do in the code, but I would like to know whether I can call it a fix or rather a workaround. Thanks in advance.
Created attachment 182855 [details] Event
Thanks for the update. So it seems it's possible to get such event alarm.
Created attachment 182934 [details] [review] evo patch for evolution; Check if stored URL is valid and not empty before using it. I also changed one thing, if one comples evolution without canberra and has valid audio alarms, then he/she never got any music played.
Created commit cc4dd64 in evo master (2.91.92+)