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 479722 - Crashes when ipod is inserted
Crashes when ipod is inserted
Status: RESOLVED FIXED
Product: hipo
Classification: Deprecated
Component: general
0.4
Other All
: Normal critical
: ---
Assigned To: Pedro Villavicencio
Pedro Villavicencio
Depends on:
Blocks:
 
 
Reported: 2007-09-24 07:15 UTC by Arthur Loiret
Modified: 2007-09-26 19:54 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Possible fix. (677 bytes, patch)
2007-09-25 15:53 UTC, Benoit Garret
committed Details | Review

Description Arthur Loiret 2007-09-24 07:15:47 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
Comment 1 Benoit Garret 2007-09-25 15:53:00 UTC
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.
Comment 2 Robert Bordelon 2007-09-26 17:19:22 UTC
I was experiencing the same problem, and tried out the "possible fix" patch. I can confirm that the patch fixes this problem.
Comment 3 Pedro Villavicencio 2007-09-26 19:53:12 UTC
Patch committed to trunk, thanks !