dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]Arm linux Portable.net attempt


From: minddog
Subject: Re: [DotGNU]Arm linux Portable.net attempt
Date: Mon, 23 Dec 2002 15:47:26 -0700
User-agent: KMail/1.4.3

On Monday 23 December 2002 03:25, Gopal V wrote:
> If memory serves me right, minddog wrote:
> > familiar:/usr/src/dotgnu/pnet/samples# ilrun hello.exe
> > An exception occurred which could not be converted into a string
>
> Hm... curious .... the engine ran !! ... and threw a gibberish exception.
> Which is kinda good news ....
>
> And btw, the "./configure --profile=tiny" is not really ideal for debugging
> purposes unless you are someone who peers over memory with hex (like Rhys).
>
> But if it was a normal profile , Could you do a

yes it was normal, wanted to make sure if im spending the time to compile, im
compiling it all!

> (gdb) break ILExecThreadSetException
> (gdb) run
> ....
> (gdb)bt
>
> Dump it and send it along ? ... (if you get something) ...

here:

sh-2.05b# gdb ilrun
gdb: Symbol `emacs_ctlx_keymap' has different size in shared object, consider
re-linking
GNU gdb 2002-04-01-cvs
Copyright 2002 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "arm-linux"...
(gdb)
(gdb) break ILExecThreadSetException
Breakpoint 1 at 0x2ed3c: file throw.c, line 44.
(gdb) run hello.exe
Starting program: /usr/local/bin/ilrun hello.exe
[New Thread 1024 (LWP 1047)]
Couldn't read /proc/stat
GC_get_nprocs() returned -1
[Switching to Thread 1024 (LWP 1047)]

Breakpoint 1, 0x0002ed3c in ILExecThreadSetException (thread=0xbcfc0,
    obj=0xcaf24) at throw.c:44
44              thread->thrownException = obj;
(gdb) bt
#0  0x0002ed3c in ILExecThreadSetException (thread=0xbcfc0, obj=0xcaf24)
    at throw.c:44
#1  0x0000c9c4 in _ILConvertMethod (thread=0xbcfc0, method=0xcaf24)
    at convert.c:445
#2  0x0003b53c in _ILCVMInterpreter (thread=0xbcfc0) at cvm_call.c:763
#3  0x0000bb6c in _ILCallMethod (thread=0xbcfc0, method=0xdd238,
    unpack=0xb6e8 <_ILCallUnpackDirectResult>, result=0xbffffd28, isCtor=0,
    _this=0x0, pack=0xb23c <_ILCallPackVaParams>, userData=0xbffffcf8)
    at call.c:705
#4  0x0000bedc in ILExecThreadCall (thread=0xbcfc0, method=0xcaf24,
    result=0xbffffd28) at call.c:909
#5  0x0000af34 in main (argc=2, argv=0xbffffd84) at ilrun.c:346
#6  0x400fa484 in __libc_start_main () from /lib/libc.so.6
(gdb) quit

> The problem might be anything from a corrupted resource file to a *real*
> bug ...
>
> > thats the attempt at running a compiled program with ilasm and i get the
> > same with cscc...maybe something in the codegen?
>
> Did you compile the pnetlib on ARM ? ... (if you did, please move it to
> your favourite x86 box and run the "make check" on it with the x86 ilrun).

TestBooleanIConvertible ... failed: CSUnit.TestAssertFailed: Test failed:
true.ToDouble(null) expected: <1.000000000000000>, but was:
<1.000000000000000>
        at CSUnit.TestCase.Fail(String) in ./TestCase.cs:148
        at CSUnit.TestCase.EqFail(String, Object, Object) in
 ./TestCase.cs:192 at CSUnit.TestCase.AssertEquals(String, Double, Double,
 Double) in ./TestCase.cs:264
        at TestBoolean.TestBooleanIConvertible() in
./System/TestBoolean.cs:247
        at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder,
Object[], CultureInfo)
        at System.Reflection.MethodBase.Invoke(Object, Object[]) in
./System/Reflection/MethodBase.cs:45
        at CSUnit.TestCase.RunTest() in ./TestCase.cs:104
        at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47
        at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103
        at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103
        at CSUnit.TestMain.Main(String[]) in ./TestMain.cs:245


TestSByteParseStringMinus42 ... failed: CSUnit.TestAssertFailed: Test failed:
expected: <-42>, but was: <214>
        at CSUnit.TestCase.Fail(String) in ./TestCase.cs:148
        at CSUnit.TestCase.EqFail(String, Object, Object) in
 ./TestCase.cs:192 at CSUnit.TestCase.AssertEquals(Int64, Int64) in
 ./TestCase.cs:201 at TestSByte.TestSByteParseStringMinus42() in
 ./System/TestSByte.cs:65 at System.Reflection.ClrMethod.Invoke(Object,
 BindingFlags, Binder, Object[], CultureInfo)
        at System.Reflection.MethodBase.Invoke(Object, Object[]) in
./System/Reflection/MethodBase.cs:45
        at CSUnit.TestCase.RunTest() in ./TestCase.cs:104
        at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47
        at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103
        at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103
        at CSUnit.TestMain.Main(String[]) in ./TestMain.cs:245



TestStringFormat ... failed: CSUnit.TestAssertFailed: Test failed:
String.Format ("{0:F2}", 1234567.89) expected: <1234567.89>, but was: <-0.00>
        at CSUnit.TestCase.Fail(String) in ./TestCase.cs:148
        at CSUnit.TestCase.EqFail(String, Object, Object) in
 ./TestCase.cs:192 at CSUnit.TestCase.AssertEquals(String, String, String) in
./TestCase.cs:279
        at TestString.TestStringFormat() in ./System/TestString.cs:362
        at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder,
Object[], CultureInfo)
        at System.Reflection.MethodBase.Invoke(Object, Object[]) in
./System/Reflection/MethodBase.cs:45
        at CSUnit.TestCase.RunTest() in ./TestCase.cs:104
        at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47
        at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103
        at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103
        at CSUnit.TestMain.Main(String[]) in ./TestMain.cs:245

TestRNGPoker ... failed: CSUnit.TestAssertFailed: Test failed: incorrect
 poker value
        at CSUnit.TestCase.Fail(String) in ./TestCase.cs:148
        at TestRNG.TestRNGPoker() in
./System/Security/Cryptography/TestRNG.cs:159
        at System.Reflection.ClrMethod.Invoke(Object, BindingFlags, Binder,
Object[], CultureInfo)
        at System.Reflection.MethodBase.Invoke(Object, Object[]) in
./System/Reflection/MethodBase.cs:45
        at CSUnit.TestCase.RunTest() in ./TestCase.cs:104
        at CSUnit.TestCase.Run(TestResult) in ./TestCase.cs:47
        at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103
        at CSUnit.TestSuite.Run(TestResult) in ./TestSuite.cs:103
        at CSUnit.TestMain.Main(String[]) in ./TestMain.cs:245


151 tests run, 4 tests failed
FAIL: Testruntime.dll
===================



regards,
--
--minddog( Adam Ballai )



reply via email to

[Prev in Thread] Current Thread [Next in Thread]