Matt,

  We cannot replicate this problem, so you'll need to help narrow down the 
field.  Can you get the gdb output of

x/6i code-16

when gdb is at tramp-arm.c line 48?

Thanks

-g

On 2011-01-14, at 11:28 AM, Matt Johnson wrote:

> PLEA FOR URGENT HELP
>  
> Almost 7 weeks and not a single response on this except to confirm that 
> another is also having the problem.
>  
> Is there no one that can shed light on what is going on here?  I cannot run 
> any winforms apps on an arm processor without hitting the assertion in 
> tramp-arm.c.
>  
> I am willing to help in any way I can, but I’m not an assembly language 
> programmer, nor am I familiar with reasons behind the patching that is going 
> on in the arm trampoline, so I really need some assistance.
>  
> Thank You.
> Matt
>  
> From: mono-devel-list-boun...@lists.ximian.com 
> [mailto:mono-devel-list-boun...@lists.ximian.com] On Behalf Of Matt Johnson
> Sent: Monday, January 03, 2011 10:24 AM
> To: mono-devel-list@lists.ximian.com
> Subject: Re: [Mono-dev] Problem when running winforms app on arm processor
>  
> No, I have no resolution yet.  I have simplified my winforms test application 
> such that it is a single form with a single text “hello world” label and no 
> code logic whatsoever.  It crashes in the exact same manner.
>  
> One point I am unclear on is that I read in some old posts that the thumb 
> instruction set is not supported.  I am not compiling with thumb enabled, but 
> I am using a toolchain that targets armv4t instead of straight armv4.  I 
> actually found it very difficult to even find an “non-t” toolchain out there 
> – I’d have to compile one from scratch if this is the problem.  I don’t see 
> how it could be though.  Especially since it is only winforms apps that are 
> failing.
>  
> Can someone with some expertise with the arm trampoline please chime in here? 
>  It is fairly urgent.
>  
> Thanks,
> Matt
>  
> From: Jae Kim [mailto:jkim0...@gmail.com] 
> Sent: Friday, December 17, 2010 10:52 AM
> To: mj1856
> Subject: Re: [Mono-dev] Problem when running winforms app on arm processor
>  
> Hi Matt,
>  
> Did you ever resolve this?  I'm experiencing the same problem.
>  
> Thanks,
> Jae
> 
> On Mon, Nov 29, 2010 at 7:44 PM, mj1856 <mj1...@hotmail.com> wrote:
> 
> I have cross compiled mono 2.8 with libgdiplus for the s3c2410 processor I am
> running. It is an arm920t (armv4t architecture).  I use scratchbox with a
> recent codesourcery toolchain.
> 
> I have two test applications that I wrote in visual studio targeting .net
> 2.0.  The first is a console app with a basic "Hello world".  It works
> perfectly.  The second is a winforms app with a single form that has a
> simple label that gets updated with a timer control to show the current date
> and time. (basically a digital clock).  Running it, I get the following
> error:
> 
> * Assertion: should not be reached at tramp-arm.c:48
> 
> Checking /mono/mini/tramp-arm.c, the function in question is
> mono_arch_patch_callsite, which has two blocks of code, where one of them is
> supposed to run.  I'm not sure exactly what it's checking here, but neither
> block gets executed, so it hits the assertion.  Can anyone shed some light
> on what might be the problem?
> 
> One note that may or may not be of interest, but because the codesourcery
> toolchain is multilib, I have to specify -march=armv4t on the CFLAGS passed
> to configure mono.  This appears to be working, as my console app works
> fine.
> 
> I do have a running X server, which I've tested with other native apps, so I
> know at least that part is functional.
> 
> Thanks,
> Matt
> --
> View this message in context: 
> http://mono.1490590.n4.nabble.com/Problem-when-running-winforms-app-on-arm-processor-tp3064820p3064820.html
> Sent from the Mono - Dev mailing list archive at Nabble.com.
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>  
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list@lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list

_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list

Reply via email to