GNOME Bugzilla – Bug 479722
Crashes when ipod is inserted
Last modified: 2007-09-26 19:54:39 UTC
Steps to reproduce: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=443206 Package: hipo Version: 0.4-1 Severity: grave Justification: renders package unusable hipo crashes when an ipod is inserted. Thanks. Stack trace: leandro@sgorbio:~$ hipo Exception in Gtk# callback delegate Note: Applications can use GLib.ExceptionManager.UnhandledException to handle the exception. System.FormatException: Unknown char at System.Double.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00000] at System.Double.Parse (System.String s) [0x00000] at System.Convert.ToDouble (System.String value) [0x00000] at Hipo.HipoMainWindow.ScanCapacity () [0x00000] at Hipo.HipoMainWindow.RefreshPlaylistView () [0x00000] at Gtk.ThreadNotify.CallbackWrapper () [0x00000] at GLib.Idle+IdleProxy.Handler () [0x00000] at GLib.ExceptionManager.RaiseUnhandledException(System.Exception e, Boolean is_terminal) at GLib.Idle+IdleProxy.Handler() at GLib.Idle+IdleProxy.Handler() at Gtk.Application.gtk_main() at Gtk.Application.gtk_main() at Gtk.Application.Run() at Gnome.Program.Run() at Hipo.HipoMainWindow.CreateWindow(System.String[] args) at Hipo.HipoMain.Main(System.String[] args) Other information: -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (990, 'unstable'), (750, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.20.6-leandro (SMP w/2 CPU cores; PREEMPT) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages hipo depends on: ii libglade2.0-cil 2.10.2-1 CLI binding for the Glade librarie ii libglib2.0-0 2.14.1-2 The GLib library of C routines ii libglib2.0-cil 2.10.2-1 CLI binding for the GLib utility l ii libgnome2.0-cil 2.16.0-7 CLI binding for Gnome 2.16 ii libgtk2.0-cil 2.10.2-1 CLI binding for the GTK+ toolkit 2 ii libipoddevice0 0.5.3-3 library for retrieving information ii libmono-corlib2.0-cil 1.2.5-3 Mono core library (2.0) ii libmono-system2.0-cil 1.2.5-3 Mono System libraries (2.0) ii libmono2.0-cil 1.2.5-3 Mono libraries (2.0) ii mono-runtime 1.2.5-3 Mono runtime hipo recommends no packages. -- no debconf information
Created attachment 96174 [details] [review] Possible fix. I couldn't reproduce the bug, but this may be the consequence of the following bugfix: https://bugzilla.novell.com/show_bug.cgi?id=MONO81777 . Mono 1.2.5 no longer allows trailing garbage to be parsed and raises the exception instead. Anyway, the attached patch should take care of the issue. It'd be great if someone could test it as I'm using 1.2.4 on Ubuntu Gutsy.
I was experiencing the same problem, and tried out the "possible fix" patch. I can confirm that the patch fixes this problem.
Patch committed to trunk, thanks !