Re: [Banshee-List] compile error with new release



In Muine, when dealing with the PixbufLoader, I avoid the gdk_pixbuf_loader_close() warning with the following:

Gdk.Pixbuf PixbufFromData (byte [] data, string mime_type)
{
bool bail = false;

Gdk.PixbufLoader loader = new Gdk.PixbufLoader (mime_type);

try {
if (!loader.Write (data))
bail = true;
} catch {bail = true;}

try {
if (!loader.Close ())
bail = true;
} catch {bail = true;}

return (!bail) ? loader.Pixbuf : null;
}
That should at least get rid of that warning. I don't know about the other stuff though.

- Brian

On Thu, 2006-10-19 at 17:53 -0400, Aaron Bockover wrote:
http://banshee-project.org/Debugging

Would be nice to know where the segfault is happening.

--Aaron


On Tue, 2006-10-17 at 09:03 -0400, Josiah Ritchie wrote:
> Abock's trick got me through the 'make && make install', but then it
> segfaults when I try to start it. I'm using cvs, but since it 0.11.1
> was just released last night, I expect they are similar. Here is what
> I did
> 
> $ cvs -z3 -d:pserver:anonymous anoncvs gnome org:/cvs/gnome co -P
> banshee
> $ cd banshee/
> $ mv dbus-sharp/dbus-sharp/UnixMonoTransport.cs .
> $ make maintainer-clean
> # ./autogen.sh --prefix=/usr --disable-docs --disable-helix
> --disable-njb --disable-ipod && make && make install 
> 
> $ banshee
> 
> (/usr/lib/banshee/banshee.exe:5442): GdkPixbuf-WARNING **:
> GdkPixbufLoader finalized without calling gdk_pixbuf_loader_close() -
> this is not allowed. You must explicitly end the data stream to the
> loader before dropping the last reference. 
> Warning: [10/17/2006 8:56:36 AM] (Cannot connect to NetworkManager) -
> An available, working network connection will be assumed
> 
> (/usr/lib/banshee/banshee.exe:5442): GLib-GObject-WARNING **: value
> "128" of type `gint' is invalid or out of range for property `bitrate'
> of type `gint' 
> Debug: [10/17/2006 8:56:37 AM] (Default player engine) - GStreamer
> 0.10
> Debug: [10/17/2006 8:56:37 AM] (Audio CD Core Initialized) -
> Segmentation fault
> 
> At this point, the splash screen disappears and banshee doesn't show
> up, of course. 
> 
> JSR/
> 
> On 10/17/06, John Goulah <jgoulah gmail com> wrote:
>         Nice!  Thanks so much-
>         
>         Unfortunately another error... Am I missing a dependency ?  
>         
>         make[4]: Entering directory
>         `/home/jgoulah/banshee-0.11.1/src/Banshee.Plugins/Audioscrobbler'
>         make[4]: *** No rule to make target `audioscrobbler.schemas',
>         needed by `all-am'.  Stop. 
>         make[4]: Leaving directory
>         `/home/jgoulah/banshee-0.11.1/src/Banshee.Plugins/Audioscrobbler'
>         make[3]: *** [all-recursive] Error 1
>         
>         
>         Thanks!
>         
>         
>         On 10/17/06, Scott Peterson <lunchtimemama gmail com> wrote:
>                 >
>                 rm
>                 dbus-sharp/dbus-sharp/UnixMonoTransport.cs
>                 
>                 Thanks abock.
>                 
>                 On 10/16/06, John Goulah <jgoulah gmail com> wrote:
>                         Trying to compile the new release, I get:
>                         
>                         make[2]: Entering directory
>                         `/home/jgoulah/banshee- 0.11.1/dbus-sharp'
>                         /usr/lib/pkgconfig/../../bin/gmcs -debug
>                         -target:library -out:NDesk.DBus.dll
>                         -r:Mono.Posix ./dbus-sharp/*.cs 
>                         ./dbus-sharp/UnixMonoTransport.cs(41,4): error
>                         CS0246: The type or namespace name
>                         `AbstractUnixEndPoint' could not be found. Are
>                         you missing a using directive or an assembly
>                         reference?
>                         Compilation failed: 1 error(s), 0 warnings 
>                         make[2]: *** [NDesk.DBus.dll] Error 1
>                         
>                         
>                         Last release compiled fine.  I'm using Ubuntu
>                         with ipod-sharp, libipoddevice, gstreamer all
>                         compiled, and the rest are apt packages.
>                         
>                         Any help appreciated.
>                         
>                         Thanks!
>                         John
>                         
>                         
>                         _______________________________________________
>                         Banshee-list mailing list
>                         Banshee-list gnome org
>                         http://mail.gnome.org/mailman/listinfo/banshee-list
>                         
>                         
>                 
>                 
>                 
>                 -- 
>                 Scottie P. 
>                 _______________________________________________
>                 Banshee-list mailing list
>                 Banshee-list gnome org 
>                 http://mail.gnome.org/mailman/listinfo/banshee-list
>                 
>                 
>         
>         
>         
>         _______________________________________________
>         Banshee-list mailing list
>         Banshee-list gnome org
>         http://mail.gnome.org/mailman/listinfo/banshee-list
>         
>         
> 
> 
> 
> -- 
> Our Mission
> Technology and Hospitality for God's Workmen
> http://missions.ritchietribe.net 
> _______________________________________________
> Banshee-list mailing list
> Banshee-list gnome org
> http://mail.gnome.org/mailman/listinfo/banshee-list

_______________________________________________
Banshee-list mailing list
Banshee-list gnome org
http://mail.gnome.org/mailman/listinfo/banshee-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]