After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 585514 - Playing a song on Windows causes Banshee to crash
Playing a song on Windows causes Banshee to crash
Status: RESOLVED OBSOLETE
Product: banshee
Classification: Other
Component: GStreamer
git master
Other Windows
: Normal critical
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
Depends on:
Blocks:
 
 
Reported: 2009-06-12 00:33 UTC by George Slavov
Modified: 2011-02-04 01:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description George Slavov 2009-06-12 00:33:05 UTC
Steps to reproduce:
1. 
2. 
3. 


Stack trace:
Attempted to read or write protected memory. This is often an indication that ot
her memory is corrupt.
System.AccessViolationException: Attempted to read or write protected memory. Th
is is often an indication that other memory is corrupt.
   at Gtk.Application.gtk_main()
   at Gtk.Application.Run()
   at Banshee.Gui.GtkBaseClient.Run() in C:\src\banshee-test\src\Core\Banshee.Th
ickClient\Banshee.Gui\GtkBaseClient.cs:line 149
   at Banshee.Gui.GtkBaseClient.Startup() in C:\src\banshee-test\src\Core\Banshe
e.ThickClient\Banshee.Gui\GtkBaseClient.cs:line 74
   at Hyena.Gui.CleanRoomStartup.Startup(StartupInvocationHandler startup) in C:
\src\banshee-test\src\Libraries\Hyena.Gui\Hyena.Gui\CleanRoomStartup.cs:line 54

Other information:
Disabling the track progress callback seems to solve the issue. Comment out this line PlayerEngine.cs in Banshee.GStreamer
bp_set_iterate_callback (handle, iterate_callback);
and you can play songs.
Comment 1 Gabriel Burt 2009-07-06 22:22:48 UTC
Specifically, you need to comment out "bp_set_iterate_callback (handle, iterate_callback);" in src/Backends/Banshee.GStreamer/Banshee.GStreamer/PlayerEngine.cs
Comment 2 Cornel Hattingh 2009-07-17 12:35:45 UTC
I have tried this and it does not work. I still get the same error message as reported.
Comment 3 Cornel Hattingh 2009-07-17 13:03:06 UTC
Okay here is what I found. If gstreamer does not detect the plugin required (in my case for mp3) it throws this error. OGG files are playing perfectly 
Comment 4 David Stone 2009-08-14 23:17:50 UTC
There are actually two separate crashes here. The one that throws this exception is caused by the bp_set_iterate_callback() callback. Banshee properly processes the event, but the exception is thrown in Gtk# when the NowPlayingTrackInfoDisplay gets updated.

The other crash occurs when Banshee can't find an appropriate handler for the file you're trying to play. On a clean Windows install, it seems that the only files it can play are ogg, wma, asf, and flac. All of which are specified in Banshee.GStreamer.PlayerEngine.ExplicitDecoderCapabilities.

It seems as if any time GStreamer gets invoked and fires an event that needs to draw information on the UI, we get this crash in Gtk#.
Comment 5 Matt Sturgeon 2011-02-02 17:50:40 UTC
Is this still an issue in 2011?
Comment 6 Gabriel Burt 2011-02-04 01:00:08 UTC
Closing since we no longer use libbanshee on Windows.