[Mono-bugs] [Bug 514099] Tiny console program that exposes JIT oder runtime error, -10, int to char

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jun 17 17:41:15 EDT 2009


http://bugzilla.novell.com/show_bug.cgi?id=514099

User novellbugzilla at c-hett.de added comment
http://bugzilla.novell.com/show_bug.cgi?id=514099#c9





--- Comment #9 from C. Hett <novellbugzilla at c-hett.de>  2009-06-17 15:41:14 MDT ---
Thank you very much for the additional information, the SVN reference and
fixing this. My problem originally occured with a version of the code that was
built using mono 2.2 and not Visual Studio, then obfuscated using dotfuscator
community version and run on Linux. I only mention this because the other bug
(#513931) is about debug-builds. I cannot confirm that my bug has anything to
do specifically with debug builds (of the C#-code into EXE), I'm pretty sure I
used release builds.

I did download the Windows version of mono 2.4.2 preview from the url you
provided and it seems to be fixed! (Although your last comment indicates that
it would NOT be fixed in 2.4.2. Then again I don't understand why fixes flow in
the mono development process from 2.4-branch to 2.4.2 branch and what role
trunk plays here, but don't bother, I should probably be able to learn this
myself elsewhere)

This is the result with the originally attached program:

C:\>"c:\Program Files\Mono-2.2\bin\mono.exe" -V
Mono JIT compiler version 2.2 (tarball)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
        TLS:           normal
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       normal
        Notification:  Thread + polling
        Architecture:  x86
        Disabled:      none

C:\>"c:\Program Files\Mono-2.2\bin\mono.exe" ConsoleApplication1.exe
after sub1:28
long:28
I   <--- wrong!

C:\>"c:\Program Files\Mono-2.4.2\bin\mono.exe" -V
Mono JIT compiler version 2.4.2 (tarball)
Copyright (C) 2002-2008 Novell, Inc and Contributors. www.mono-project.com
        TLS:           normal
        GC:            Included Boehm (with typed GC)
        SIGSEGV:       normal
        Notification:  Thread + polling
        Architecture:  x86
        Disabled:      none

C:\>"c:\Program Files\Mono-2.4.2\bin\mono.exe" ConsoleApplication1.exe
after sub1:28
long:28
S   <--- correct

C:\>ConsoleApplication1.exe   <--- Microsoft 
after sub1:28
long:28
S    <--- correct


I'm very happy that 2.4.2 does fix it so far and that it is about to be
released.

I will now download the preview 2.4.2 SUSE RPMs and repackage them for my
embedded environment and report back whether my test program and my complete
application are fixed with 2.4.2

-- 
Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list