Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 254235 - media-sound/banshee-1.4.3: Banshee Encountered a Fatal Error: Array index is out of range.
Summary: media-sound/banshee-1.4.3: Banshee Encountered a Fatal Error: Array index is ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
: 263495 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-01-08 15:10 UTC by Foad Nosrati Habibi
Modified: 2009-03-25 10:39 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Foad Nosrati Habibi 2009-01-08 15:10:36 UTC
When banshee finish a track and wants to start next track this error appear, an error box pop-up with this contain:

Banshee Encountered a Fatal Error
Array index is out of range.

An unhandled exception was thrown: Array index is out of range.

at NDesk.DBus.MessageReader.MarshalUInt (byte*) <0x0002d>
at NDesk.DBus.MessageReader.ReadUInt32 () <0x00011>
at NDesk.DBus.MessageReader.ReadValue (NDesk.DBus.DType) <0x00113>
at NDesk.DBus.MessageReader.ReadValue (System.Type) <0x00235>
at NDesk.DBus.MessageHelper.GetDynamicValues (NDesk.DBus.Message,System.Reflection.ParameterInfo[]) <0x000d5>
at NDesk.DBus.Connection.HandleSignal (NDesk.DBus.Message) <0x000f4>
at NDesk.DBus.Connection.DispatchSignals () <0x0003c>
at NDesk.DBus.Connection.Iterate () <0x0002c>
at <>c__CompilerGenerated0.<Init>c__1 (intptr,NDesk.GLib.IOCondition,intptr) <0x00027>
at (wrapper native-to-managed) <>c__CompilerGenerated0.<Init>c__1 (intptr,NDesk.GLib.IOCondition,intptr) <0x00049>
at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
at Gtk.Application.Run () <0x00007>
at Banshee.Gui.GtkBaseClient.Run () [0x00013] in /var/tmp/portage/media-sound/banshee-1.4.1-r4/work/banshee-1-1.4.1/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:144
at Banshee.Gui.GtkBaseClient.Startup () [0x00000] in /var/tmp/portage/media-sound/banshee-1.4.1-r4/work/banshee-1-1.4.1/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:77
at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.CleanRoomStartup/StartupInvocationHandler) [0x00048] in /var/tmp/portage/media-sound/banshee-1.4.1-r4/work/banshee-1-1.4.1/src/Libraries/Hyena.Gui/Hyena.Gui/CleanRoomStartup.cs:54


.NET Version: 2.0.50727.42
OS Version: Unix 2.6.27.7

Assembly Version Information:

System.Web (2.0.0.0)
Mtp (1.4.0.0)
Banshee.Dap.MassStorage (1.4.0.0)
System.Configuration (2.0.0.0)
Banshee.Dap.Mtp (1.4.0.0)
taglib-sharp (2.0.3.0)
Banshee.FileSystemQueue (1.4.0.0)
Banshee.PlayQueue (1.4.0.0)
Mono.Media (1.4.0.0)
Banshee.InternetRadio (1.4.0.0)
Banshee.CoverArt (1.4.0.0)
Lastfm (1.4.0.0)
Banshee.Lastfm (1.4.0.0)
Migo (1.4.0.0)
Banshee.Podcasting (1.4.0.0)
notify-sharp (0.4.0.0)
Banshee.NotificationArea (1.4.0.0)
Banshee.Bookmarks (1.4.0.0)
Banshee.MultimediaKeys (1.4.0.0)
Banshee.Dap (1.4.0.0)
Banshee.AudioCd (1.4.0.0)
pango-sharp (2.12.0.0)
Banshee.Widgets (1.4.0.0)
Banshee.Hal (1.4.0.0)
Banshee.Unix (1.4.0.0)
Banshee.GStreamer (1.4.0.0)
gconf-sharp (2.16.0.0)
Banshee.Gnome (1.4.0.0)
Banshee.NowPlaying (1.4.0.0)
System.Transactions (2.0.0.0)
NDesk.DBus.GLib (1.0.0.0)
Mono.Cairo (2.0.0.0)
System.Data (2.0.0.0)
Mono.Data.SqliteClient (2.0.0.0)
System.Xml (2.0.0.0)
gdk-sharp (2.12.0.0)
Mono.Addins (0.4.0.0)
atk-sharp (2.12.0.0)
Hyena.Gui (1.4.0.0)
Mono.Posix (2.0.0.0)
gtk-sharp (2.12.0.0)
Banshee.ThickClient (1.4.0.0)
Nereid (1.4.0.0)
NDesk.DBus.Proxies (0.0.0.0)
Banshee.Core (1.4.0.0)
System (2.0.0.0)
Hyena (1.4.0.0)
NDesk.DBus (1.0.0.0)
glib-sharp (2.12.0.0)
Banshee.Services (1.4.0.0)
Banshee (1.4.0.0)
mscorlib (2.0.0.0)

Platform Information: Linux 2.6.27-gentoo-r7 i686 GenuineIntel GNU/Linux

Disribution Information:

[/etc/gentoo-release]
Gentoo Base System release 2.0.0


-------------------------------------------------------

banshee still continue working and playing, but I can't change anything in banshee window, from notification area I can control banshee, pause, next, ...
When i close error pop-up, banshee closes.

foad@tux ~ $ banshee-1 --debug
...
[Debug 18:12:27.233] TrackInfoDisplay RenderAnimation: 28.00 FPS
[Debug 18:12:27.233] TrackInfoDisplay RenderAnimation: 28.00 FPS
[Debug 18:13:06.892] (libbanshee:player) bp_stop: setting state to GST_STATE_NULL
[Debug 18:13:06.916] Player state change: Playing -> Idle
[Debug 18:13:06.943] Querying model for track to play in Linear:Next mode
[Debug 18:13:06.947] Player state change: Idle -> Loading
[Debug 18:13:07.368] (libbanshee:player) scaled volume: 1.000000 (ReplayGain) * 0.550000 (User) = 0.550000
[Debug 18:13:07.368] Player state change: Loading -> Loaded
[Debug 18:13:07.369] (libbanshee:player) scaled volume: 1.000000 (ReplayGain) * 0.550000 (User) = 0.550000
[Debug 18:13:07.477] Player state change: Loaded -> Playing
[Debug 18:13:08.472] TrackInfoDisplay RenderAnimation: 27.00 FPS
[Debug 18:13:08.504] TrackInfoDisplay RenderAnimation: 27.00 FPS
Array index is out of range.
System.IndexOutOfRangeException: Array index is out of range.
at NDesk.DBus.MessageReader.MarshalUInt (byte*) <0x0002d>
at NDesk.DBus.MessageReader.ReadUInt32 () <0x00011>
at NDesk.DBus.MessageReader.ReadValue (NDesk.DBus.DType) <0x00113>
at NDesk.DBus.MessageReader.ReadValue (System.Type) <0x00235>
at NDesk.DBus.MessageHelper.GetDynamicValues (NDesk.DBus.Message,System.Reflection.ParameterInfo[]) <0x000d5>
at NDesk.DBus.Connection.HandleSignal (NDesk.DBus.Message) <0x000f4>
at NDesk.DBus.Connection.DispatchSignals () <0x0003c>
at NDesk.DBus.Connection.Iterate () <0x0002c>
at <>c__CompilerGenerated0.<Init>c__1 (intptr,NDesk.GLib.IOCondition,intptr) <0x00027>
at (wrapper native-to-managed) <>c__CompilerGenerated0.<Init>c__1 (intptr,NDesk.GLib.IOCondition,intptr) <0x00049>
at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
at Gtk.Application.Run () <0x00007>
at Banshee.Gui.GtkBaseClient.Run () [0x00013] in /var/tmp/portage/media-sound/banshee-1.4.1-r4/work/banshee-1-1.4.1/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:144
at Banshee.Gui.GtkBaseClient.Startup () [0x00000] in /var/tmp/portage/media-sound/banshee-1.4.1-r4/work/banshee-1-1.4.1/src/Core/Banshee.ThickClient/Banshee.Gui/GtkBaseClient.cs:77
at Hyena.Gui.CleanRoomStartup.Startup (Hyena.Gui.CleanRoomStartup/StartupInvocationHandler) [0x00048] in /var/tmp/portage/media-sound/banshee-1.4.1-r4/work/banshee-1-1.4.1/src/Libraries/Hyena.Gui/Hyena.Gui/CleanRoomStartup.cs:54

Reproducible: Sometimes

Steps to Reproduce:
1. play a track
2. when track finished and next track started

Actual Results:  
Banshee Encountered a Fatal Error: Array index is out of range.   pop-up box appear.


media-sound/banshee-1.4.1-r4 (aac debug encode flac mad mtp podcast vorbis -boo -daap -doc -ipod -test)

# emerge --info
Portage 2.1.6.4 (default/linux/x86/2008.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.27-gentoo-r7 i686)
=================================================================
System uname: Linux-2.6.27-gentoo-r7-i686-Intel-R-_Core-TM-2_Duo_CPU_T9300_@_2.50GHz-with-glibc2.0
Timestamp of tree: Wed, 07 Jan 2009 20:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 1.3.7-r1, 2.1.6-r1
dev-lang/python:     2.5.2-r7
dev-python/pycrypto: 2.0.1-r6
dev-util/cmake:      2.4.6-r1
sys-apps/baselayout: 2.0.0
sys-apps/openrc:     0.4.1-r1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.63
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.27-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo ftp://mirror.fslutd.org/linux/distributions/gentoo http://mirror.fslutd.org/linux/distributions/gentoo "
LANG="C"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X acl acpi alsa berkdb bluetooth branding bzip2 cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread eds emboss encode esd evo fam firefox fortran gdbm gif gnome gpm gstreamer gtk hal iconv ipv6 isdnlog jpeg ldap libnotify mad midi mikmod mp3 mpeg mudflap ncurses nls nptl nptlonly ogg opengl openmp oss pam pcre pdf perl png ppds pppd python qt3support quicktime readline reflection sdl session spell spl ssl startup-notification svg sysfs tcpd tiff truetype unicode usb vorbis win32codecs x86 xml xorg xulrunner xv zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="fbdev glint i810 intel mach64 mga neomagic nv r128 radeon savage sis tdfx trident vesa vga via vmware voodoo"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Peter Alfredsen (RETIRED) gentoo-dev 2009-01-08 15:55:08 UTC
Does this happen every time (reproducible)? If no, is there something you are always doing at the time this happens?
What kind of track is this? Mp3, flac?
Does the track contain local characters (æỹøåõĩ)?
What is the version of dbus you have installed?
gconf-sharp (2.16.0.0) <-- where did that come from?
What's the output of:
gacutil -l gconf-sharp
?
Comment 2 Foad Nosrati Habibi 2009-01-08 16:26:26 UTC
(In reply to comment #1)
> Does this happen every time (reproducible)? If no, is there something you are
> always doing at the time this happens?
> What kind of track is this? Mp3, flac?
> Does the track contain local characters (æỹøåõĩ)?
> What is the version of dbus you have installed?
> gconf-sharp (2.16.0.0) <-- where did that come from?
> What's the output of:
> gacutil -l gconf-sharp
> ?
> 

No matter what kind of music I'm listening.
tracks didn't contain any local character.
dbus:  1.2.3-r1 (X -debug -doc -selinux)
I don't know what do you mean where did gconf-sharp-2.16.0 came from! It's in portage and last unmasked version for x86.

# gacutil -l gconf-sharp
The following assemblies are installed into the GAC:
gconf-sharp, Version=2.16.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
Number of items = 1


Ok, now I test more and fined that this is "Notification Area Icon" plugin problem.
Just enable that plugin, minimize banshee, and let the next track start then in notification area a pop-up appear.  when that pop-up closed(by clicking on it or automatically), banshee crash.
Comment 3 Peter Alfredsen (RETIRED) gentoo-dev 2009-01-08 21:12:15 UTC
(In reply to comment #2)

> No matter what kind of music I'm listening.
> tracks didn't contain any local character.
> dbus:  1.2.3-r1 (X -debug -doc -selinux)
> I don't know what do you mean where did gconf-sharp-2.16.0 came from! It's in
> portage and last unmasked version for x86.

Yeah, but your gtk-sharp is 2.12.7 and that conflicts with gconf-sharp-2.16.x. Or rather, 2.16.x is bound to gtk-sharp-2.10.x. Your configuration is in conflict with itself, in other words.
 
> # gacutil -l gconf-sharp
> The following assemblies are installed into the GAC:
> gconf-sharp, Version=2.16.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f
> Number of items = 1
> 
> 
> Ok, now I test more and fined that this is "Notification Area Icon" plugin
> problem.
> Just enable that plugin, minimize banshee, and let the next track start then in
> notification area a pop-up appear.  when that pop-up closed(by clicking on it
> or automatically), banshee crash.

I can reproduce. Do you want to open the upstream bug or shall I do it for you?

Comment 4 Foad Nosrati Habibi 2009-01-08 21:23:42 UTC
(In reply to comment #3)
> Yeah, but your gtk-sharp is 2.12.7 and that conflicts with gconf-sharp-2.16.x.
> Or rather, 2.16.x is bound to gtk-sharp-2.10.x. Your configuration is in
> conflict with itself, in other words.
> 
> 
> I can reproduce. Do you want to open the upstream bug or shall I do it for you?
> 

My English is weak, if you do it, I will be thankful.

thank you for responding,
Comment 5 Bertrand Lorentz 2009-01-09 11:08:12 UTC
I think you're hitting on this problem :
http://bugzilla.gnome.org/show_bug.cgi?id=545664

The notify-sharp in portage (0.4.0_pre20080912, in ~x86) does not for with notification-daemon 0.3.x. See comment 7 in the bug linked above.

I was able to reproduce the crash with notification-daemon 0.3.7 and not with notification-daemon 0.4.0 (in ~x86).
Comment 6 Peter Alfredsen (RETIRED) gentoo-dev 2009-01-09 13:46:38 UTC
+*banshee-1.4.1-r5 (09 Jan 2009)
+
+  09 Jan 2009; Peter Alfredsen <loki_val@gentoo.org>
+  -banshee-1.4.1-r4.ebuild, +banshee-1.4.1-r5.ebuild:
+  Depend on new gstreamer, fix bug 250704. Depend on new notify-sharp, fix
+  bug 254235. Bump the plugins deps for good measure.
+

Assuming this fixes it. If not, reopen.
Comment 7 Serge Gavrilov 2009-03-25 07:23:48 UTC
Since I cannot reopen this I have opened new bug 263495
Comment 8 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-25 08:38:13 UTC
*** Bug 263495 has been marked as a duplicate of this bug. ***
Comment 9 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-25 08:38:57 UTC
Re-open for Serge in bug 263495
Comment 10 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-25 09:36:12 UTC
Cut'n'paste from bug 263495:
Serge: "This is reproducible with banshee-1.4.3,  notify-sharp-0.4.0_pre20080912-r1, notification-daemon-0.4.0"

I can not reproduce.

Serge: You're sure you restarted notification-daemon after upgrading, right? The old notification-daemon might still be running. Also what's your version of x11-libs/libnotify?

Linkage for other projects:
https://bugzilla.redhat.com/show_bug.cgi?id=486683
https://bugs.launchpad.net/do/+bug/327078
Comment 11 Serge Gavrilov 2009-03-25 10:05:39 UTC
I cannot reproduce now, also. It seems that I did not restart notification daemon after installing of latest libnotify (0.4.5). Before I had libnotify 0.4.4. and notification daemon 0.4.0. So it seems that banshee should depend on libnotify-0.4.5. 
Comment 12 Peter Alfredsen (RETIRED) gentoo-dev 2009-03-25 10:39:13 UTC
Probably notification-daemon-0.4.0 needs to depend on libnotify-0.4.5. I'll change the deps in tree. Thanks for reporting.