GNOME Bugzilla – Bug 638641
System.NullReferenceException: Object reference not set to an instance of an object at System.NumberFormatter.ResetCharBuf (int)
Last modified: 2011-09-23 10:34:50 UTC
Using Banshee from Ubuntu daily ppa, BCE from git I just had Banshee crash. Unfortunately, I have no idea what caused it or whether it's repeatable. Relevant part from the debug log: [1 Debug 12:15:54.087] Player state change: Idle -> Loading [1 Debug 12:15:54.090] (libbanshee:player) [subtitle]: lookup for subtitle for video file. Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object at System.NumberFormatter.ResetCharBuf (int) <IL 0x00008, 0x00013> at System.NumberFormatter.FormatDecimal (int,System.Globalization.NumberFormatInfo) <IL 0x00024, 0x0002f> at System.NumberFormatter.IntegerToString (string,System.IFormatProvider) <IL 0x000a4, 0x000c3> at System.NumberFormatter.NumberToString (string,int,System.IFormatProvider) <IL 0x00013, 0x00037> at int.ToString (string,System.IFormatProvider) <IL 0x00004, 0x00019> at string.FormatHelper (System.Text.StringBuilder,System.IFormatProvider,string,object[]) <IL 0x0015c, 0x00438> at string.Format (System.IFormatProvider,string,object[]) <IL 0x00004, 0x00015> at string.Format (string,object) <IL 0x00000, 0x00043> at Hyena.ConsoleCrayon.GetAnsiColorControlCode (System.ConsoleColor,bool) <IL 0x00028, 0x00075> at Hyena.ConsoleCrayon.SetColor (System.ConsoleColor,bool) <IL 0x0002b, 0x00029> at Hyena.ConsoleCrayon.set_ForegroundColor (System.ConsoleColor) <IL 0x0000c, 0x00020> at Hyena.Log.Commit (Hyena.LogEntryType,string,string,bool) <IL 0x00067, 0x00101> at Banshee.GStreamer.Service.NativeLogHandler (Hyena.LogEntryType,intptr,intptr) <IL 0x00058, 0x0009b> at (wrapper native-to-managed) Banshee.GStreamer.Service.NativeLogHandler (Hyena.LogEntryType,intptr,intptr) <IL 0x00024, 0x00057>
This looks fairly similar but the traces are not exactly the same (though this one is against 1.6.1). http://bugzilla-attachments.gnome.org/attachment.cgi?id=164167
If it's an NRE inside System.NumberFormatter it must be a Mono bug. Could you provide Mono version please?
Sure: mono --version (01-09 18:32) Mono JIT compiler version 2.6.7 (Debian 2.6.7-3ubuntu1) Copyright (C) 2002-2010 Novell, Inc and Contributors. www.mono-project.com TLS: __thread GC: Included Boehm (with typed GC and Parallel Mark) SIGSEGV: altstack Notifications: epoll Architecture: x86 Disabled: none
Thanks
(In reply to comment #1) > This looks fairly similar but the traces are not exactly the same (though this > one is against 1.6.1). > > http://bugzilla-attachments.gnome.org/attachment.cgi?id=164167 Hey David, it looks the same to me, could you provide bug number?
*** Bug 622229 has been marked as a duplicate of this bug. ***
I filed this against Mono seven months ago: https://bugzilla.novell.com/show_bug.cgi?id=607585
*** Bug 651881 has been marked as a duplicate of this bug. ***
*** Bug 653297 has been marked as a duplicate of this bug. ***
*** Bug 659918 has been marked as a duplicate of this bug. ***