Bugzilla – Bug 322784
[ARM] Crash when dealing with boxed enum/byte(?)
Last modified: 2008-06-14 19:40:28 UTC
---- Reported by alp@atoker.com 2006-11-29 14:41:32 MST ---- Using managed D-Bus 0.2 (http://www.ndesk.org/DBusSharp) on the Nokia 770 running Maemo 2.1 (the same setup as in https://bugzilla.novell.com/show_bug.cgi?id=MONO80024): This problem is triggered by dbus-sharp/examples/test-server-native.exe The bug can be reproduced without any dependencies other than 2.0 support and Mono.Posix. The server seems to work, but the client crashes. In one terminal: $ rm /tmp/dbus-ABCDEFGHIJ $ mono test-server-native.exe server In another: $ mono test-server-native.exe client Stacktrace: at NDesk.DBus.MessageWriter.Write (System.Type,object) <0xffffffff> at NDesk.DBus.MessageWriter.Write (System.Type,object) <0x00410> at (wrapper managed-to-native) System.Object.__icall_wrapper_mono_remoting_wrapper (intptr,intptr) <0xffffffff> at (wrapper remoting-invoke) DemoObject.GiveNoReply () <0xffffffff> at (wrapper remoting-invoke-with-check) DemoObject.GiveNoReply () <0xffffffff> at TestServerNative.Main (string[]) <0x0021b> at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0xffffffff> Native stacktrace: ./mono [0x1049bc] ./mono [0xecaa8] ---- Additional Comments From lupus@ximian.com 2006-11-29 15:47:05 MST ---- The simple repro is: using System; class T { static void test (float f) { Console.WriteLine (f); } static void Main () { float f = 3.7f; object o = f; float g = (float)o; test (g); test ((float)o); } } This has been fixed in svn. This triggers another error in a store.r4 in the server though, will look at that tomorrow. Unknown operating system unknown. Setting to default OS "Other".
I tried repro-ing this, but that dbus-sharp version no longer works on mono HEAD, and the newer versions do not contain that test any more. So lets hope it got fixed by countless other soft float fixes in the meantime.