Crash: Could not create player

Bug #823585 reported by snoxu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Alarm Clock Applet
Fix Released
Medium
Johannes H. Jensen
alarm-clock-applet (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Won't Fix
Undecided
Unassigned
Quantal
Fix Released
Undecided
Unassigned

Bug Description

** (alarm-clock-applet:13079): DEBUG: Alarm(0x6e71b0) #1: - 1...
** (alarm-clock-applet:13079): DEBUG: Alarm(0x6e71b0) #1: alarm() DING!
** (alarm-clock-applet:13079): DEBUG: Alarm(0x6e71b0) #1: alarm() Repeating...
** (alarm-clock-applet:13079): DEBUG: Alarm(0x6e71b0) #1: update_timestamp_full: 23:0:0
** (alarm-clock-applet:13079): DEBUG: Alarm(0x6e71b0) #1: set_timestamp (23, 0, 0, 0)
** (alarm-clock-applet:13079): DEBUG: Closest WDAY = 3
** (alarm-clock-applet:13079): DEBUG: Alarm is in 1 days.
** (alarm-clock-applet:13079): DEBUG: Alarm will trigger at Ter 10 Ago 2011 23:00:00 WEST
** (alarm-clock-applet:13079): DEBUG: Setting to 1313013600
** (alarm-clock-applet:13079): DEBUG: Alarm(0x6e71b0) #1: set timestamp=1313013600
** (alarm-clock-applet:13079): DEBUG: AlarmApplet: Alarm 'Alarm!' timestamp changed
** (alarm-clock-applet:13079): DEBUG: AlarmListWindow alarm_update: 0x6e71b0 (Alarm!)
** (alarm-clock-applet:13079): DEBUG: Alarm(0x6e71b0) #1: alarm() Start player

** (alarm-clock-applet:13079): CRITICAL **: Could not create player.

Program received signal SIGSEGV, Segmentation fault.
0x0000000000409fde in media_player_start ()
(gdb) bt
#0 0x0000000000409fde in media_player_start ()
#1 0x000000000040c38c in ?? ()
#2 0x00007ffff6f5f1fe in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#3 0x00007ffff6f6f815 in ?? () from /usr/lib/libgobject-2.0.so.0
#4 0x00007ffff6f797aa in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#5 0x00007ffff6f79952 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#6 0x000000000040b7ba in ?? ()
#7 0x00007ffff7b36b9b in ?? () from /usr/lib/libglib-2.0.so.0
#8 0x00007ffff7b3529d in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#9 0x00007ffff7b35a78 in ?? () from /usr/lib/libglib-2.0.so.0
#10 0x00007ffff7b360ba in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#11 0x00007ffff75f81a7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x0000000000409072 in main ()
(gdb)

Related branches

Revision history for this message
snoxu (snoxu3000) wrote :

Forgot to mention I'm running Gnome 3 on Archlinux

Revision history for this message
snoxu (snoxu3000) wrote :

It seems it crashes when trying to play the alarm sound:

(alarm-clock-applet:2323): CRITICAL **: Could not create player.
** (alarm-clock-applet:2323): DEBUG: AlarmSettingsDialog: preview_start...

Program received signal SIGSEGV, Segmentation fault.
0x0000000000409fde in media_player_start ()

Revision history for this message
Johannes H. Jensen (joh) wrote :

Thank you for the bug report. What version of Alarm Clock are you running?

Revision history for this message
snoxu (snoxu3000) wrote :

Running 0.3.2

Revision history for this message
snoxu (snoxu3000) wrote :

I've been able to circumvent the crash by disabling the alarm sound, which pretty much defeats the purpose,

Hopefully someone will help me sort this

Revision history for this message
snoxu (snoxu3000) wrote :

It seems I was missing a GStreamer plugin package, don't know which one exactly because I have now installed them all in Archlinux

So sorry for this bug report. This is not a but, I was just missing some GStreamer plugin.

Would be helpfull to know which one(s) alarm-clock-applet depends on though

Revision history for this message
Johannes H. Jensen (joh) wrote : Re: [Bug 823585] Re: Crash: Could not create player

On Sun, Aug 14, 2011 at 02:36, snoxu <email address hidden> wrote:
> It seems I was missing a GStreamer plugin package, don't know which one
> exactly because I have now installed them all in Archlinux
>
> So sorry for this bug report. This is not a but, I was just missing some
> GStreamer plugin.

Out of curiosity, did you try to play the audio file in question with
Totem? It should prompt you to install any missing codecs.

Revision history for this message
snoxu (snoxu3000) wrote :

No because I do not have Totem installed

Revision history for this message
Anseok Joo (anseok) wrote :

That missing plugin package might be gstreamer0.10-gconf. I solved an identical problem in Debian Testing by installing it.

Revision history for this message
t405 (tent405) wrote :

I run Testing and confirm installing gstreamer0.10-gconf resolves the audio playback segfault.

I cannot speak to the Stable version of alarm-clock-applet (0.3.1-1) as I do not know if that version requires gstreamer0.10-gconf. Furthermore, that package isn't even available in Stable.

Thank you anseok.

The fix for this is simple.

In Versions of alarm-clock-applet (>= 0.3.2-1)
 append the following to the Depends line in the DEBIAN/control file:
, gstreamer0.10-gconf (>= 0.10.30-1)

P.S.
This also might affect the stable distribution in a different way. Not sure. Can someone with Stable reproduce this bug?

Changed in alarm-clock:
status: New → Fix Committed
Revision history for this message
Johannes H. Jensen (joh) wrote :

I'm glad you were able to resolve the problem by installing gstreamer0.10-gconf. However alarm-clock shouldn't segfault even though gstreamer is missing some plugins.

Changed in alarm-clock:
assignee: nobody → Johannes H. Jensen (joh)
importance: Undecided → Medium
milestone: none → 0.3.3
status: Fix Committed → In Progress
Revision history for this message
Johannes H. Jensen (joh) wrote :

Fixed in rev 213. Alarm Clock should no longer crash if unable to create the media player.

Changed in alarm-clock:
status: In Progress → Fix Committed
Johannes H. Jensen (joh)
Changed in alarm-clock:
status: Fix Committed → Fix Released
Changed in alarm-clock-applet (Ubuntu):
status: New → Fix Released
Revision history for this message
Chow Loong Jin (hyperair) wrote : Subscribe ubuntu-sru and set precise task status

  affects ubuntu/precise/alarm-clock-applet
  status confirmed
  subscribe ubuntu-sru

--
Kind regards,
Loong Jin

Changed in alarm-clock-applet (Ubuntu Precise):
status: New → Confirmed
Revision history for this message
Clint Byrum (clint-fewbar) wrote :

This bug is missing information detailed in https://wiki.ubuntu.com/StableReleaseUpdates#Procedure for it to comply with Stable Release Updates process. Please add a test case for recreating and the regression potential. Once this information is added to all the bugs addressed by the package in -proposed we will approve the upload. Thanks!

Revision history for this message
Chris Halse Rogers (raof) wrote :

I've rejected this from the precise-proposed queue; changing the debhelper compat level is not a minimal change, and is not appropriate for an SRU.

The rest of the changes look good, however. Feel free to re-upload a package without that change (and update the bug with a test-case and regression potential/where-to-look-for-regressions section).

Revision history for this message
Steve Langasek (vorlon) wrote :

The Precise Pangolin has reached end of life, so this bug will not be fixed for that release

Changed in alarm-clock-applet (Ubuntu Precise):
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.