tags 348021 + patch
thanks

Hi,

nice coincidence.  I just started building rb when receiving your mail.

Loïc Minier <[EMAIL PROTECTED]> writes:

> Hi,
>
> On Sat, Jan 14, 2006, Juergen Kreileder wrote:
>> Since a few days rhythmbox crashes when trying to play .ogg or
>> .flac files.  .mp3 files still work.
>
> Did it crash in the past?

No (at least not with that error :-)

>> .xsession-errors shows:
>> (rhythmbox:30656): GLib-GObject-WARNING **: gvalue.c:89: cannot initialize 
>> GValue with type `gdouble', the value has already been initialized as 
>> `(null)'
>> (rhythmbox:30680): GLib-GObject-WARNING **: gvalue.c:89: cannot initialize 
>> GValue with type `gdouble', the value has already been initialized as 
>> `(null)'
>
> These warnings are very interesting, could you please launch Rhythmbox
> from a shell, and check that these are the *first* warnings that you
> get.  If they are, then please:
> 1/ rebuild rhythmbox with debugging symbols
> 2/ run rhythmbox from gdb with the "--g-fatal-warnings" parameter
> 3/ report the backtrace (of *all* threads) in this report

No need for more debugging, the problem is quite simple.  Here's a fix:


--- player/rb-player-gst.c.orig 2006-01-29 17:15:07.000000000 +0100
+++ player/rb-player-gst.c      2006-01-29 17:15:13.000000000 +0100
@@ -778,7 +778,7 @@
 
        if (mp->priv->playbin != NULL) {
                GParamSpec *volume_pspec;
-               GValue val;
+               GValue val = { 0 };
                
                volume_pspec = g_object_class_find_property (G_OBJECT_GET_CLASS 
(mp->priv->playbin),
                                                             "volume");
=


        Juergen

-- 
Juergen Kreileder, Blackdown Java-Linux Team
http://blog.blackdown.de/

Reply via email to