[Mono-list] Help in Launching c# application through mono in embedded(arm) environment

Rodrigo Kumpera kumpera at gmail.com
Tue Jul 19 09:01:51 EDT 2011


Hi,

Mono requires a bunch of unix signals to be available to it in order to
function correctly, check if your C host app isn't trapping them
incorrectly.

On Tue, Jul 19, 2011 at 2:19 AM, Muthukumar S <muthu.smk at gmail.com> wrote:

> Hi Kumpera,
>                 Sorry, iam not clear about the signals what you have
> replied me. I have few more queries regarding the same ,
>
> *1. Did u mean to say i need to handle all these exceptions in my
> application (c# hello world application) or it will get handled by mono
> frame work itself.*
> *
> *
> *2. Iam not sure why my "C# hello world application" is getting crashed
> by throwing the exception (**USER, SIG : 30, and **USER, SIG : 24) ?*
> *
> *
> *3. According to my platform (arm) i have just cross compiled mono and
> made it to shared object (.so) and i made "C# hello world" application as
> DLL and i launched this application though a launcher (since my launcher is
> written in 'C').
> *
> *
> *
> *
> *
> *Please help me some solution to  fix this issue . If i need to change or
> add some thing in the mono framework please*
> *let me know.*
> *
> *
> *Once again thank you very much for your valuable input.*
> *
> *
> *Thanks*
> *-Muthukumar*
> *
> *
> On Mon, Jul 18, 2011 at 8:11 PM, Rodrigo Kumpera <kumpera at gmail.com>wrote:
>
>>
>>
>> On Mon, Jul 18, 2011 at 8:56 AM, Muthukumar S <muthu.smk at gmail.com>wrote:
>>
>>> Hi All,
>>>             We have created a "hello world c# application" through mono
>>> and we try to launch it in
>>> arm (embedded ) environment using launcher application(which is written
>>> in c).
>>> When we launch the application through launcher at first time,we are
>>> getting the following output.
>>>
>>> * Hello Mono World*
>>> *send signal from USER, SIG : 30, Launcher(1224)->Launcher(1225)
>>> sys_tgkill*
>>> *
>>> *
>>> *send signal from USER, SIG : 24, Launcher(1224)->Launcher(1225)
>>> sys_tgkill*
>>> *
>>> *
>>> Here launcher is running in one thread ,and the output is generated as
>>> above.
>>> when we try to launch it at second time my system get crashed by showing
>>> the above output.
>>>
>>> My launcher is working fine in launching native application. I believe
>>> there is some issue in
>>> mono signal handing mechanism.
>>>
>>>
>> Mono needs a bunch of signals to function properly. This includes trap
>> signals (BUS, SEGV, FPE, etc) and
>> for internal workings (USR1, XCPU, PWR, 33 and 35).
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20110719/302e12ca/attachment.html 


More information about the Mono-list mailing list