I'm running Banshee 2.6.2 on Ubuntu 17.04.
I have previously added 50k+ songs without any issues, but just tried to add more media and Banshee just crashes when I do this. Everything else works ok. |
Have tried to add new media on another one of my Linux boxes (same versions).
Same result (crash). |
Odd, well, not that the same thing happens on the same software version combination, nevertheless, could you post a stack trace after running with the --debug command line switch please? On 26 Aug 2017 16:09, "lister171254" <[hidden email]> wrote: Have tried to add new media on another one of my Linux boxes (same versions). _______________________________________________ banshee-list mailing list [hidden email] https://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here) |
Hi, I took a look at your stack trace but I'm not sure anything can be done from Banshee as it's only trying to read the URIs that come back from the regular GTK file chooser dialog and looks like GLib or GTK# may be double freeing the list. Are you able to compile the source and try master branch? 2.6 is rather old now. On 28 Aug 2017 12:56, "lister171254" <[hidden email]> wrote: Trace follows _______________________________________________ banshee-list mailing list [hidden email] https://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here) |
I think the latest PPA release of banshee is for Ubuntu 14.04. I assume the person(s) doing the release have moved on.
I can try and build my own release, but if the problem is in GLib or GTK# I'm not sure how a new build helps. Am away fro 2 days and will then give it a try. |
You're probably right, building a later version of Banshee is unlikely
to solve it if a system library is the cause. You could try upgrading those libraries to later versions in place (making backups, of course) to see if that solves the problem. On 28 August 2017 at 23:04, lister171254 <[hidden email]> wrote: > I think the latest PPA release of banshee is for Ubuntu 14.04. I assume the > person(s) doing the release have moved on. > I can try and build my own release, but if the problem is in GLib or GTK# > I'm not sure how a new build helps. > Am away fro 2 days and will then give it a try. > > > > > -- > View this message in context: http://banshee-media-player.2283330.n4.nabble.com/Media-import-crashes-Banshee-tp4652627p4652633.html > Sent from the Banshee Media Player mailing list archive at Nabble.com. > _______________________________________________ > banshee-list mailing list > [hidden email] > https://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here) -- Registered Linux User #392373 _______________________________________________ banshee-list mailing list [hidden email] https://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here) |
Trying to build Banshee on Ubuntu 17.04.
Fixed issues found during running autogen.sh which now finishes with the following result ---------------- banshee-2.9.2 Build Environment Install Prefix: /usr/local Datadir: /usr/local/share Libdir: /usr/local/lib C Compiler: /bin/bash /home/llist/gitrepos/mybanshee/build/m4/shave/shave cc gcc Mono C# Compiler: /bin/bash /home/llist/gitrepos/mybanshee/build/m4/shave/shave mcs /usr/bin/mcs Mono Runtime: /usr/bin/mono Gtk#: 2.99.4 Media/Graphics: GStreamer# backend: yes GStreamer C backend: no Clutter: Operating System/Desktop Environment: GNOME Support: yes OSX Support: no Digital Audio Player (DAP) Support: Apple Device: no (libgpod-sharp) Karma: no Mass Storage: yes MTP: no Extra Features: Web Browser: no (webkitgtk-3.0 >= 1.2.2, libsoup-2.4 >= 2.42) DAAP: yes GIO Backend: yes (gio-sharp >= 2.99) GIO Hardware: no (gudev-sharp >= 3.0) YouTube: no (gdata-sharp >= 1.4) Sound Menu: no Ubuntu One Store: no (ubuntuone-sharp >= 0.9.2) UPnP: no (mono-upnp >= 0.1) Boo Scripting: no (boo >= 0.8.1) Build/Development: Unit Tests: yes (nunit >= 2.5) API Docs: yes (monodocer and mdassembler) User Help: no (gnome-doc-utils >= 0.17.3) Release Build: no Vendor Build ID: git-checkout --------------- When I run make I get the following errors. Not sure what to do next ---------------- Making all in Hyena.Gui MCS ../../../bin/Hyena.Gui.dll ./Hyena.Gui/BaseWidgetAccessible.cs(59,38): warning CS0109: The member `Hyena.Gui.BaseWidgetAccessible.Layer' does not hide an inherited member. The new keyword is not required ./Hyena.Data.Gui/Accessibility/ColumnCellAccessible.cs(33,18): error CS0535: `Hyena.Data.Gui.Accessibility.ColumnCellAccessible' does not implement interface member `Atk.IComponentImplementor.Layer.get' /usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/atk-sharp.dll (Location of the symbol related to previous error) ./Hyena.Data.Gui/Accessibility/ColumnCellAccessible.cs(33,18): error CS0535: `Hyena.Data.Gui.Accessibility.ColumnCellAccessible' does not implement interface member `Atk.IComponentImplementor.MdiZorder.get' /usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/atk-sharp.dll (Location of the symbol related to previous error) ./Hyena.Gui/BaseWidgetAccessible.cs(37,18): error CS0535: `Hyena.Gui.BaseWidgetAccessible' does not implement interface member `Atk.IComponentImplementor.MdiZorder.get' /usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/atk-sharp.dll (Location of the symbol related to previous error) ./Hyena.Widgets/RatingEntry.cs(409,18): error CS0535: `Hyena.Widgets.RatingAccessible' does not implement interface member `Atk.IValue.ValueChanged.add' /usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/atk-sharp.dll (Location of the symbol related to previous error) ./Hyena.Widgets/RatingEntry.cs(409,18): error CS0535: `Hyena.Widgets.RatingAccessible' does not implement interface member `Atk.IValue.ValueChanged.remove' /usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/atk-sharp.dll (Location of the symbol related to previous error) ./Hyena.Widgets/RatingEntry.cs(409,18): error CS0535: `Hyena.Widgets.RatingAccessible' does not implement interface member `Atk.IValue.Increment.get' /usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/atk-sharp.dll (Location of the symbol related to previous error) ./Hyena.Widgets/RatingEntry.cs(409,18): error CS0535: `Hyena.Widgets.RatingAccessible' does not implement interface member `Atk.IValue.Range.get' /usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/atk-sharp.dll (Location of the symbol related to previous error) ./Hyena.Widgets/RatingEntry.cs(409,18): error CS0535: `Hyena.Widgets.RatingAccessible' does not implement interface member `Atk.IValue.SubRanges.get' /usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/atk-sharp.dll (Location of the symbol related to previous error) ./Hyena.Widgets/RatingEntry.cs(409,18): error CS0535: `Hyena.Widgets.RatingAccessible' does not implement interface member `Atk.IValue.GetValueAndText(string)' /usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/atk-sharp.dll (Location of the symbol related to previous error) ./Hyena.Widgets/RatingEntry.cs(409,18): error CS0535: `Hyena.Widgets.RatingAccessible' does not implement interface member `Atk.IValue.Value.set' /usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/atk-sharp.dll (Location of the symbol related to previous error) ./Hyena.Widgets/RatingEntry.cs(409,18): error CS0535: `Hyena.Widgets.RatingAccessible' does not implement interface member `Atk.IValueImplementor.GetValueAndText(out double, string)' /usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/atk-sharp.dll (Location of the symbol related to previous error) ./Hyena.Widgets/RatingEntry.cs(409,18): error CS0535: `Hyena.Widgets.RatingAccessible' does not implement interface member `Atk.IValueImplementor.Range.get' /usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/atk-sharp.dll (Location of the symbol related to previous error) ./Hyena.Widgets/RatingEntry.cs(409,18): error CS0535: `Hyena.Widgets.RatingAccessible' does not implement interface member `Atk.IValueImplementor.Increment.get' /usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/atk-sharp.dll (Location of the symbol related to previous error) ./Hyena.Widgets/RatingEntry.cs(409,18): error CS0535: `Hyena.Widgets.RatingAccessible' does not implement interface member `Atk.IValueImplementor.SubRanges.get' /usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/atk-sharp.dll (Location of the symbol related to previous error) ./Hyena.Widgets/RatingEntry.cs(409,18): error CS0535: `Hyena.Widgets.RatingAccessible' does not implement interface member `Atk.IValueImplementor.Value.set' /usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/atk-sharp.dll (Location of the symbol related to previous error) Compilation failed: 15 error(s), 1 warnings Makefile:1140: recipe for target '../../../bin/Hyena.Gui.dll' failed make[4]: *** [../../../bin/Hyena.Gui.dll] Error 1 Makefile:569: recipe for target 'all-recursive' failed make[3]: *** [all-recursive] Error 1 Makefile:550: recipe for target 'all-recursive' failed make[2]: *** [all-recursive] Error 1 Makefile:643: recipe for target 'all-recursive' failed make[1]: *** [all-recursive] Error 1 Makefile:571: recipe for target 'all' failed make: *** [all] Error 2 --------------- -- Sent from: http://banshee-media-player.2283330.n4.nabble.com/ _______________________________________________ banshee-list mailing list [hidden email] https://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here) |
Okay, cool, you're almost there. The problems now are some breaking changes in the ATK library as you have a very recent GTK# installed. (ATK is part of GTK#) You can either patch it yourself in Hyena or alternatively try out my fork where I commented out the accessibility functionality for this same reason, I haven't gotten around to re-introducing it yet. http://github.com/arfbtwn/hyena.git <= the patch itself is in the history here On 30 Aug 2017 15:42, "lister171254" <[hidden email]> wrote: Trying to build Banshee on Ubuntu 17.04. _______________________________________________ banshee-list mailing list [hidden email] https://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here) |
Have cloned your banshee git and am now getting this error.
----------- Making all in Banshee.Services MCS ../../../bin/Banshee.Services.dll ./Banshee.Collection.Database/DatabaseTrackListModel.cs(275,34): warning CS0219: The variable `trigger' is assigned but its value is never used ./Banshee.MediaEngine/Tests.cs(196,13): error CS0121: The call is ambiguous between the following methods or properties: `Banshee.MediaEngine.Tests.WaitFor(System.Action, Banshee.MediaEngine.PlayerState)' and `Banshee.MediaEngine.Tests.WaitFor(System.Func<Banshee.MediaEngine.PlayerState?,Banshee.MediaEngine.PlayerEvent?,bool>, params object[])' ./Banshee.MediaEngine/Tests.cs(199,22): (Location of the symbol related to previous error) ./Banshee.MediaEngine/Tests.cs(223,22): (Location of the symbol related to previous error) ./Banshee.MediaEngine/Tests.cs(493,29): warning CS0618: `GLib.Thread.Init()' is obsolete: `This is no longer needed, GLib automatically initializes threads' Compilation failed: 1 error(s), 2 warnings Ma ------------- Thanks Leo -- Sent from: http://banshee-media-player.2283330.n4.nabble.com/ _______________________________________________ banshee-list mailing list [hidden email] https://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here) |
Never mind. Given that this seems to be a test I made the following change
-------------- //WaitFor (null, state); WaitFor (default_ignore, state); -------------- make now completes without any errors. Not sure what to do next When I start monodevelop and try to open Banshee.sln I get the following ------------------ sLT:~$ monodevelop *** Error in `monodevelop': free(): invalid pointer: 0x00007f7810001720 *** ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7f784eef808b] /lib/x86_64-linux-gnu/libc.so.6(+0x82c3a)[0x7f784ef01c3a] /lib/x86_64-linux-gnu/libc.so.6(cfree+0x4c)[0x7f784ef05d2c] [0x421ebd60] ======= Memory map: ======== 41756000-41766000 rwxp 00000000 00:00 0 41ec5000-421f9000 rwxp 00000000 00:00 0 562101084000-562101420000 r-xp 00000000 08:01 4072438 /usr/bin/mono-sgen 562101620000-562101625000 r--p 0039c000 08:01 4072438 /usr/bin/mono-sgen 562101625000-56210162e000 rw-p 003a1000 08:01 4072438 /usr/bin/mono-sgen 56210162e000-562101662000 rw-p 00000000 00:00 0 5621031a4000-562105538000 rw-p 00000000 00:00 0 [heap] ----------------- Nor sure how else I can debug/find the issue. Thanks, Leo -- Sent from: http://banshee-media-player.2283330.n4.nabble.com/ _______________________________________________ banshee-list mailing list [hidden email] https://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here) |
After manually adding some assemblies to the GAC I managed to get your branch
to build and run. The first thing to notice is that the media import works. Not sure what to do next Thanks -- Sent from: http://banshee-media-player.2283330.n4.nabble.com/ _______________________________________________ banshee-list mailing list [hidden email] https://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here) |
In reply to this post by lister171254
Have now been able to get your branch to run and new media loads without any
problems. That means I'm no closer to figuring out why the current release doesn't do this. I guess I could try and get the master to build. -- Sent from: http://banshee-media-player.2283330.n4.nabble.com/ _______________________________________________ banshee-list mailing list [hidden email] https://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here) |
Cool, I'm glad you at least got up and running with *something* after
all this :) If you're running master branch of the fork then try out feature/fixes - there are a few build system changes that should make things easier and we've collected some other patches while working on various things, seems fairly stable. On 4 September 2017 at 16:41, lister171254 <[hidden email]> wrote: > Have now been able to get your branch to run and new media loads without any > problems. > > That means I'm no closer to figuring out why the current release doesn't do > this. > > I guess I could try and get the master to build. > > > > > > -- > Sent from: http://banshee-media-player.2283330.n4.nabble.com/ > _______________________________________________ > banshee-list mailing list > [hidden email] > https://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here) -- Registered Linux User #392373 _______________________________________________ banshee-list mailing list [hidden email] https://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here) |
I think I worked out whu some of these assemblies were missing.
When I started to play around I built and installed some of the libraries + mono in /usr/local. I guess this caused some unpredictable results were the installed (packaged) version used mono from the /usr/local tree; not really what I wanted. Have removed everything from /usr/local/lib (that shouldn't be there) and am starting to build banshee from scratch. One thing I'm now stuck with are the libraries (i.e. in /usr/lib......) Have started along these lines ./autogen.sh GLIB_LIBS=/usr/lib/cli/gtk-sharp-3.0 but am getting errors during make ----------------------- Making all in build Making all in pkg-config Making all in m4 MCS gobject-intptr-ctor-verifier.exe error CS0006: Metadata file `/usr/local/lib/pkgconfig/../../lib/mono/gtk-sharp-3.0/glib-sharp.dll' could not be found Compilation failed: 1 error(s), 0 warnings Makefile:965: recipe for target 'gobject-intptr-ctor-verifier.exe' failed ------------------------- Do you have an example of how you build this or are you using /usr/local/.... Thanks -- Sent from: http://banshee-media-player.2283330.n4.nabble.com/ _______________________________________________ banshee-list mailing list [hidden email] https://mail.gnome.org/mailman/listinfo/banshee-list (unsubscribe here) |
Free forum by Nabble | Edit this page |