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 548912 - Deleting Last EQ Preset While Playing Causes Crash
Deleting Last EQ Preset While Playing Causes Crash
Status: RESOLVED FIXED
Product: banshee
Classification: Other
Component: general
1.2.1
Other Linux
: Normal critical
: 1.x
Assigned To: Banshee Maintainers
Banshee Maintainers
: 570497 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2008-08-21 19:50 UTC by Thomas McKay
Modified: 2009-06-05 22:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
logfile with crash exception. (3.82 KB, text/plain)
2008-08-21 19:52 UTC, Thomas McKay
Details

Description Thomas McKay 2008-08-21 19:50:15 UTC
I have been able to reproduce this bug several times.

To reproduce, create an EQ, begin playback, delete EQ. Banshee will crash.
Comment 1 Thomas McKay 2008-08-21 19:52:20 UTC
Created attachment 117156 [details]
logfile with crash exception.

Attached is the logfile, exception at the bottom.
Comment 2 Bertrand Lorentz 2008-08-21 20:09:23 UTC
The crash happens when you try to delete the last equalizer preset from the list. (Repeating here, in case someone like me doesn't read the summary)

Here's my stack trace with banshee 1.2.1 :

Object reference not set to an instance of an object
System.NullReferenceException: Object reference not set to an instance of an object
  at Banshee.Equalizer.Gui.EqualizerPresetComboBox.RemoveEqualizerSetting (Banshee.Equalizer.EqualizerSetting eq) [0x0002e] in /var/tmp/portage/media-sound/banshee-1.2.1/work/banshee-1-1.2.1/src/Core/Banshee.ThickClient/Banshee.Equalizer.Gui/EqualizerPresetComboBox.cs:140 
  at Banshee.Equalizer.Gui.EqualizerPresetComboBox+<>c__CompilerGenerated3.<BuildWidget>c__46 (System.Object o, Banshee.Equalizer.EqualizerSettingEventArgs args) [0x00000] in /var/tmp/portage/media-sound/banshee-1.2.1/work/banshee-1-1.2.1/src/Core/Banshee.ThickClient/Banshee.Equalizer.Gui/EqualizerPresetComboBox.cs:69 
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_object_EqualizerSettingEventArgs (object,Banshee.Equalizer.EqualizerSettingEventArgs)
  at Banshee.Equalizer.EqualizerManager.OnEqualizerRemoved (Banshee.Equalizer.EqualizerSetting eq) [0x0000d] in /var/tmp/portage/media-sound/banshee-1.2.1/work/banshee-1-1.2.1/src/Core/Banshee.Services/Banshee.Equalizer/EqualizerManager.cs:246 
  at Banshee.Equalizer.EqualizerManager.Remove (Banshee.Equalizer.EqualizerSetting eq, Boolean shouldQueueSave) [0x00026] in /var/tmp/portage/media-sound/banshee-1.2.1/work/banshee-1-1.2.1/src/Core/Banshee.Services/Banshee.Equalizer/EqualizerManager.cs:98 
  at Banshee.Equalizer.EqualizerManager.Remove (Banshee.Equalizer.EqualizerSetting eq) [0x00000] in /var/tmp/portage/media-sound/banshee-1.2.1/work/banshee-1-1.2.1/src/Core/Banshee.Services/Banshee.Equalizer/EqualizerManager.cs:87 
  at Banshee.Equalizer.Gui.EqualizerWindow.OnDeletePreset (System.Object o, System.EventArgs args) [0x00000] in /var/tmp/portage/media-sound/banshee-1.2.1/work/banshee-1-1.2.1/src/Core/Banshee.ThickClient/Banshee.Equalizer.Gui/EqualizerWindow.cs:157 
  at GLib.Signal.voidObjectCallback (IntPtr handle, IntPtr gch) [0x00000] 
  at (wrapper native-to-managed) GLib.Signal:voidObjectCallback (intptr,intptr)
  at (wrapper managed-to-native) Gtk.Application:gtk_main ()
  at Gtk.Application.Run () [0x00000] 
  at Banshee.Gui.GtkBaseClient.Run () [0x00027] in /var/tmp/portage/media-sound/banshee-1.2.1/work/banshee-1-1.2.1/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:114 
  at Banshee.Gui.GtkBaseClient.Startup () [0x00000] in /var/tmp/portage/media-sound/banshee-1.2.1/work/banshee-1-1.2.1/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:55 
  at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.StartupInvocationHandler startup) [0x00048] in /var/tmp/portage/media-sound/banshee-1.2.1/work/banshee-1-1.2.1/src/Libraries/Hyena.Gui/Hyena.Gui/CleanRoomStartup.cs:54 
Comment 3 Thomas McKay 2008-08-22 00:19:34 UTC
Sorry, i would just like to stipulate that you must delete the LAST EQ preset, so there would be no more.
Comment 4 Gabriel Burt 2008-08-22 04:28:29 UTC
Weird, so Entry is null?  Why would the Gtk.ComboBoxEntry's Entry property be null?  I was unable to reproduce this.
Comment 5 Bertrand Lorentz 2008-08-22 13:28:26 UTC
I haven't figured out the exact steps to reproduce it, but I usually get the crash after playing around with the combobox, adding and removing entries.

Once I got a MissingIntPtrCtorException, but adding an IntPtr constructor didn't help. 
Comment 6 Gabriel Burt 2009-02-13 03:01:37 UTC
*** Bug 570497 has been marked as a duplicate of this bug. ***
Comment 7 Gabriel Burt 2009-06-05 22:56:33 UTC
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.