Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 157914 - media-sound/banshee-0.11.3 fails to starts with System.DivideByZeroException
Summary: media-sound/banshee-0.11.3 fails to starts with System.DivideByZeroException
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Luis Medinas (RETIRED)
URL: http://banshee-project.org/
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-12 06:28 UTC by Anant Narayanan (RETIRED)
Modified: 2007-06-19 02:51 UTC (History)
1 user (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 Anant Narayanan (RETIRED) gentoo-dev 2006-12-12 06:28:53 UTC
This problem occurred even with 0.11.2; irrespective of the Mono version. I'm currently using dev-lang/mono-1.2.2.1 but this occurred in previous version too:
 
anant@theghost ~ $ banshee
Warning: [12/12/2006 19:52:37] (Cannot connect to NetworkManager) - An available, working network connection will be assumed
Debug: [12/12/2006 19:52:37] (Loading audio profiles) - /usr/share/banshee/audio-profiles
Debug: [12/12/2006 19:52:37] (Default player engine) - GStreamer 0.10
Debug: [12/12/2006 19:52:37] (Audio CD Core Initialized) -
Debug: [12/12/2006 19:52:37] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_4529_19E5
Debug: [12/12/2006 19:52:37] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_4529_19E5
Debug: [12/12/2006 19:52:37] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_DA1443811443601D
Debug: [12/12/2006 19:52:38] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_DA1443811443601D
Debug: [12/12/2006 19:52:38] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_CF7B_508B
Debug: [12/12/2006 19:52:38] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_CF7B_508B
Warning: [12/12/2006 19:52:38] (Could not initialize plugin `Daap') - Daemon not running
Setting MusicBrainz proxy to www.musicbrainz.org:80
Division by zero
System.DivideByZeroException: Division by zero
in (unmanaged) 0xb5f7a97e
at (wrapper managed-to-native) Gtk.Dialog.gtk_dialog_run (intptr) <0x00004>
at Gtk.Dialog.Run () <0x00024>
at Banshee.Gui.GladeDialog.Run () <0x00019>
at Banshee.PlayerUI.PromptForImport (bool) <0x000b1>
at Banshee.PlayerUI.PromptForImport () <0x0000c>
at <>c__CompilerGenerated3.<>c__AnonymousMethod19 (object,System.EventArgs) <0x00010>
at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_object_EventArgs (object,System.EventArgs) <0x0003e>
at InvokeCB.Invoke () <0x0001a>
at (wrapper delegate-invoke) System.MulticastDelegate.invoke_bool () <0x0002c>
at TimeoutProxy.Handler () <0x0002a>
at (wrapper native-to-managed) TimeoutProxy.Handler () <0x00036>
in (unmanaged) 0xb7ec655a
at (wrapper managed-to-native) Gtk.Application.gtk_main () <0x00004>
at Gtk.Application.Run () <0x00007>
at Banshee.BansheeEntry.Startup (string[]) <0x006f3>
at (wrapper delegate-invoke) System.MulticastDelegate.invoke_void_string[] (string[]) <0x00037>
at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.CleanRoomStartup/StartupInvocationHandler,string[]) <0x000ae>

Unhandled Exception: System.DivideByZeroException: Division by zero
  at <0x00000> <unknown method>
  at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000]
  at Banshee.BansheeEntry.Main (System.String[] args) [0x00000]

My emerge ---info:

anant@theghost ~ $ emerge --info
Portage 2.1.2_rc3-r3 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.5-r0, 2.6.18-gentoo-r2 i686)
=================================================================
System uname: 2.6.18-gentoo-r2 i686 Genuine Intel(R) CPU           T2600  @ 2.16GHz
Gentoo Base System version 1.12.6
Last Sync: Tue, 12 Dec 2006 08:00:01 +0000
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=prescott -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-O2 -march=prescott -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer nostrip sandbox sfperms splitdebug strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa alsa_cards_hda-intel apache2 arts avahi bash-completion beagle berkdb bitmap-fonts bzip2 cairo cdr cli cracklib crypt cups dbus debug dlloader dri dvd dvdr eds elibc_glibc emboss encode esd exif expat fam firefox flac fortran gdbm gif gnome gnutls gpm gstreamer gtk gtk2 hal iconv input_devices_evdev input_devices_keyboard input_devices_mouse input_devices_synaptics ipv6 isdnlog java jpeg kdeenablefinal kernel_linux ldap libcaca libg++ libnotify mad mikmod mmx mono mp3 mpeg mysql ncurses nls nptl nptlonly offensive ogg opengl oss pam pcre perl png postgres ppds pppd python qt3 qt4 quicktime readline reflection samba sdl session spell spl sqlite sse sse2 ssl svg tcpd tetex theora tiff truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l v4l2 video_cards_fglrx video_cards_vesa vorbis win32codecs xinerama xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Luis Medinas (RETIRED) gentoo-dev 2007-01-15 02:37:19 UTC
any news on this ?
Comment 2 Anant Narayanan (RETIRED) gentoo-dev 2007-01-15 12:45:36 UTC
> any news on this ?

Nothing from upstream yet; and I still keep getting the error. 

Comment 3 Luis Medinas (RETIRED) gentoo-dev 2007-01-25 01:44:38 UTC
do you have hald running ? try with banshee 0.11.5.
Comment 4 Rahul Murmuria 2007-02-05 14:02:29 UTC
banshee-0.11.3 was working perfectly on my setup, until I decided to reemerge with the daap and encode flags on. Now, I have tried recompiling both 0.11.3 and 0.11.5; with and without the use flags that I newly added but I get this same error on both versions :(


rahul@inferno ~ $ banshee          
Warning: [02/05/2007 19:14:32] (Cannot connect to NetworkManager) - An available, working network connection will be assumed
Debug: [02/05/2007 19:14:33] (Loading audio profiles) - /usr/share/banshee/audio-profiles
Debug: [02/05/2007 19:14:33] (Default player engine) - GStreamer 0.10
Debug: [02/05/2007 19:14:33] (Audio CD Core Initialized) - 
Warning: [02/05/2007 19:14:34] (Could not initialize plugin `SmartPlaylists') - no such column: PlaylistID
Debug: [02/05/2007 19:14:34] (Audioscrobbler starting protocol engine) - 
Warning: [02/05/2007 19:14:34] (Could not initialize plugin `Daap') - Daemon not running
Setting MusicBrainz proxy to www.musicbrainz.org:80
Division by zero
System.DivideByZeroException: Division by zero
  at <0x00000> <unknown method>
  at (wrapper managed-to-native) Gtk.Application:gtk_main ()
  at Gtk.Application.Run () [0x00000] 
  at Banshee.BansheeEntry.Startup (System.String[] args) [0x00000] 
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_string[] (string[])
  at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000] 

Unhandled Exception: System.DivideByZeroException: Division by zero
  at <0x00000> <unknown method>
  at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000] 
  at Banshee.BansheeEntry.Main (System.String[] args) [0x00000] 
rahul@inferno ~ $ banshee
Warning: [02/05/2007 19:17:44] (Cannot connect to NetworkManager) - An available, working network connection will be assumed
Debug: [02/05/2007 19:17:45] (Loading audio profiles) - /usr/share/banshee/audio-profiles
Debug: [02/05/2007 19:17:46] (Default player engine) - GStreamer 0.10
Debug: [02/05/2007 19:17:46] (Audio CD Core Initialized) - 
Warning: [02/05/2007 19:17:46] (Could not initialize plugin `SmartPlaylists') - no such column: PlaylistID
Debug: [02/05/2007 19:17:46] (Audioscrobbler starting protocol engine) - 
Setting MusicBrainz proxy to www.musicbrainz.org:80
Division by zero
System.DivideByZeroException: Division by zero
  at <0x00000> <unknown method>
  at (wrapper managed-to-native) Gtk.Application:gtk_main ()
  at Gtk.Application.Run () [0x00000] 
  at Banshee.BansheeEntry.Startup (System.String[] args) [0x00000] 
  at (wrapper delegate-invoke) System.MulticastDelegate:invoke_void_string[] (string[])
  at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000] 

Unhandled Exception: System.DivideByZeroException: Division by zero
  at <0x00000> <unknown method>
  at Banshee.Gui.CleanRoomStartup.Startup (Banshee.Gui.StartupInvocationHandler startup, System.String[] args) [0x00000] 
  at Banshee.BansheeEntry.Main (System.String[] args) [0x00000] 
rahul@inferno ~ $ emerge --info
Portage 2.1.2-r5 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.5-r0, 2.6.19-gentoo-r5 i686)
=================================================================
System uname: 2.6.19-gentoo-r5 i686 Intel(R) Pentium(R) 4 CPU 3.06GHz
Gentoo Base System release 1.12.9
Timestamp of tree: Wed, 31 Jan 2007 11:20:01 +0000
dev-java/java-config: 1.3.7, 2.0.31-r3
dev-lang/python:     2.4.4
dev-python/pycrypto: 2.0.1-r5
sys-apps/sandbox:    1.2.18.1
sys-devel/autoconf:  2.13, 2.61
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.17
sys-devel/gcc-config: 1.3.14
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.19.2-r2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=nocona -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -march=nocona -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://172.16.1.206/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://172.16.1.206/gentoo-portage"
USE="X alsa apache2 bash-completion berkdb bitmap-fonts bzip2 cdr cli cracklib crypt cups curl dbus debug dlloader dri dvd dvdr fortran gdbm gif gnome gpm gtk gtk2 hal howl iconv ipv6 isdnlog java jpeg libg++ midi mmx mmxext mono ncurses nls nptl nptlonly pam pcre perl php ppds pppd python readline reflection session spl sse sse2 ssl svg tcpd tiff truetype-fonts type1-fonts udev unicode x86 xorg zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810 vesa vga"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

rahul@inferno ~ $ 
Comment 5 Luis Medinas (RETIRED) gentoo-dev 2007-02-22 17:57:10 UTC
for any reason you are missing dbus-launch or something ? on 0.11.7 it automatic starts dbus-launch when run to avoid this issues.
Comment 6 Anant Narayanan (RETIRED) gentoo-dev 2007-06-19 02:51:49 UTC
Fixed in later versions on Banshee.