When I run mono on a Hello World app there is a 4-8 second delay before "Hello 
World!" is printed on the screen.   I did an strace when calling mono and it 
looks like the lag occurs when these system calls are made:
 
nanosleep({0, 10000000}, NULL)     = 0
nanosleep({0, 10000000}, NULL)     = 0
socket(PF_FILE, SOCK_STREAM, 0)    = 3
connect(3, {sa_family=AF_FILE, [EMAIL PROTECTED], 110) = 0
mmap2(NULL, 4001792, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb791e000
sendmsg(3, {msg_name(0)=NULL, 
msg_iov(1)=[{"\1\0\0\0\3\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"... , 
36}], msg_controllen=0, msg_flags=0}, MSG_NOSIGNAL) = 36
recv(3,  
 
It looks like it is waiting for a response from mono-handle-daemon but does not 
receive it for a few seconds.
 
What is mono-handle-daemon and is there any way to test or modify it?

--
-Konstantin Bokarius
[EMAIL PROTECTED]

 -------------- Original message ----------------------
From: "Rob Dagg" <[EMAIL PROTECTED]>
> Will do. Cheers
> 
>  
> 
> ________________________________
> 
> From: Gert Driesen [mailto:[EMAIL PROTECTED] 
> Sent: 17 October 2007 08:18
> To: Rob Dagg; [email protected]
> Subject: RE: [Mono-list] (no subject)
> 
>  
> 
> Rob,
> 
>  
> 
> Please submit a bug report and attach the resx file in question.
> 
>  
> 
> Gert
> 
>  
> 
> ________________________________
> 
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Rob Dagg
> Sent: woensdag 17 oktober 2007 9:12
> To: 
> Subject: [Mono-list] (no subject)
> 
> Hi,
> 
>  
> 
> I'm pretty new to mono and was hoping someone might be able to point out
> why Resgen  return s the error:
> 
>  
> 
> Error: Invalid ResX input.
> 
>  
> 
> Inner exception: Exception has been thrown by the target of an
> invocation.  Line 124, position 5.
> 
>  
> 
>  
> 
> When it reaches the following lines in the resx file it is compiling
> 
>  
> 
>  
> 
> 122: <data name="arrowDown3" type="System.Resources.ResXFileRef,
> System.Windows.Forms">
> 
>  
> 
> 123:    <value>ResourceObjects/arrowDown3.gif;System.Drawing.Bitmap,
> System.Drawing, Version=2.0.0.0, Culture=neutral,
> PublicKeyToken=b03f5f7f11d50a3a</value>
> 
>  
> 
> 124:  </data>
> 
>  
> 
>  
> 
>  
> 
> Thanks for your help,
> 
>  
> 
> Rob
> 
>  
> 
> ------------------------------------------------------------------------
> -------------------------------------------------------------------
> 
> This e-mail is confidential and intended for its addressee only.  If you
> have received this in error, please delete it from any computer and
> inform the sender by telephone (+353 1 440 0600) or by return e-mail.
> If you are not the addressee any use disclosure, reproduction or
> transmission of this e-mail is strictly prohibited.  Any opinions
> expressed within the message are those of the sender, and are not
> necessarily reflective of the prevailing company policies.
> 
> 


--- Begin Message ---
Will do. Cheers

 

________________________________

From: Gert Driesen [mailto:[EMAIL PROTECTED] 
Sent: 17 October 2007 08:18
To: Rob Dagg; [email protected]
Subject: RE: [Mono-list] (no subject)

 

Rob,

 

Please submit a bug report and attach the resx file in question.

 

Gert

 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob Dagg
Sent: woensdag 17 oktober 2007 9:12
To: [email protected]
Subject: [Mono-list] (no subject)

Hi,

 

I'm pretty new to mono and was hoping someone might be able to point out
why Resgen  return s the error:

 

Error: Invalid ResX input.

 

Inner exception: Exception has been thrown by the target of an
invocation.  Line 124, position 5.

 

 

When it reaches the following lines in the resx file it is compiling

 

 

122: <data name="arrowDown3" type="System.Resources.ResXFileRef,
System.Windows.Forms">

 

123:    <value>ResourceObjects/arrowDown3.gif;System.Drawing.Bitmap,
System.Drawing, Version=2.0.0.0, Culture=neutral,
PublicKeyToken=b03f5f7f11d50a3a</value>

 

124:  </data>

 

 

 

Thanks for your help,

 

Rob

 

------------------------------------------------------------------------
-------------------------------------------------------------------

This e-mail is confidential and intended for its addressee only.  If you
have received this in error, please delete it from any computer and
inform the sender by telephone (+353 1 440 0600) or by return e-mail.
If you are not the addressee any use disclosure, reproduction or
transmission of this e-mail is strictly prohibited.  Any opinions
expressed within the message are those of the sender, and are not
necessarily reflective of the prevailing company policies.

_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

--- End Message ---
_______________________________________________
Mono-list maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-list

Reply via email to