Bug 322784 (MONO80086) - [ARM] Crash when dealing with boxed enum/byte(?)
Summary: [ARM] Crash when dealing with boxed enum/byte(?)
Status: RESOLVED FIXED
Alias: MONO80086
Product: Mono: Runtime
Classification: Mono
Component: JIT (show other bugs)
Version: 1.2
Hardware: Other Other
: P3 - Medium : Normal
Target Milestone: ---
Assignee: Paolo Molaro
QA Contact: Mono Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-11-29 21:41 UTC by Alp Toker
Modified: 2008-06-14 19:40 UTC (History)
1 user (show)

See Also:
Found By: ---
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Wiest 2007-09-15 20:17:45 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".

Comment 1 Forgotten User vxPDddArjq 2008-06-14 19:40:28 UTC
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.