[Mono-osx] SWF not working anymore in 1.2.5?
Will Johansson
wjohansson at atacomm.com
Thu Aug 9 12:00:10 EDT 2007
Alright. Thanks for the clarification. I ended up having two test
cases. Simple P/Invoke works fine, against a simple C function that
simply prints hello.
However, the bug seems to occur when we P/Invoke Carbon functions.
I'm not aware to any other P/Invoke libraries where this occurs.
I have filed a bug report with the offending test case. 82387. http://
bugzilla.ximian.com/show_bug.cgi?id=82387 Attached is the test case
that invokes a Carbon function which causes the problem.
Thanks,
Will Johansson
On Aug 9, 2007, at 10:37 AM, Geoff Norton wrote:
> P/Invoke isn't broken. Its an alignment issue. Paolo is on
> vacation this week so please file a bug with a testcase and I will
> look at it.
>
> -g
>
> Will Johansson wrote:
>> Scratch that, apparently I tested the wrong mono with the P/
>> Invoke. Should check version which I'm using before testing! ;)
>>
>> My conclusion is that P/Invoke is broken in 1.2.5 and head.
>> Anyone have a look into this?
>>
>> Will
>>
>> On Aug 8, 2007, at 5:18 PM, Will Johansson wrote:
>>
>>
>>> I'm not having any problems with plain P/Invoke, so perhaps it's
>>> somewhere deep in SWF. :-\
>>>
>>> Will
>>>
>>> On Aug 8, 2007, at 5:03 PM, Will Johansson wrote:
>>>
>>>
>>>> I've had this confirmed with another Intel Mac. It seems like
>>>> SWF is
>>>> completely broken in 1.2.5 on Intel Macs. Can others please test?
>>>>
>>>> It fails with:
>>>>
>>>> Unhandled Exception: System.TypeInitializationException: An
>>>> exception
>>>> was thrown by the type initializer for System.Windows.Forms.XplatUI
>>>> ---> System.ExecutionEngineException: SIGILL
>>>>
>>>> Anyone getting this. It seems like an alignment problem, but Geoff
>>>> isn't getting the same results. Curious to hear back from some of
>>>> you. I'm not sure if it's something to do with P/Invoke or not.
>>>> I'll
>>>> have to look further into this.
>>>>
>>>> Thanks,
>>>>
>>>> Will
>>>> _______________________________________________
>>>> Mono-osx mailing list
>>>> Mono-osx at lists.ximian.com
>>>> http://lists.ximian.com/mailman/listinfo/mono-osx
>>>>
>>
>> _______________________________________________
>> Mono-osx mailing list
>> Mono-osx at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/mono-osx
>>
>
More information about the Mono-osx
mailing list