[Mono-list] Regression on arm platform in 1.2.5

Spencer, Matthew MSpencer at ndsuk.com
Wed Sep 5 12:04:35 EDT 2007


Hi again
 
Ok, so I have done a little more investigation into this.  
 
After investigating the call stack (using --trace=FlickrNet), it turns
out that the application was never getting past the .cctor function, so
I removed all statics from the class and the application no longer hung.
It turns out that the line that was causing the problem in the
FlickrNet.dll is:
 
  private static XmlSerializer _uploaderSerializer = new
XmlSerializer(typeof(FlickrNet.Uploader));
 
I have checked the diffs in the arm specific sections of mini between
1.2.4 and 1.2.5 and can see no major changes in there (there are no
changes in arch/arm either).  I'm not sure where else to look for
differences as this would appear to be an Arm specific problem.
 
Does anyone have any ideas why the above code would cause the runtime to
go into an infinite loop on the arm platform?
 
I'm using the sources from FlickrNet-25277.zip available from
codeplex.com.
 
Regards
 
Matt


________________________________

From: mono-list-bounces at lists.ximian.com
[mailto:mono-list-bounces at lists.ximian.com] On Behalf Of Spencer,
Matthew
Sent: 04 September 2007 16:24
To: mono-list at lists.ximian.com
Subject: [Mono-list] Regression on arm platform in 1.2.5


Hi All
 
I have recently updated to the 1.2.5 version of Mono for my Arm based
platform.  I have a simple Flickr based application that used to work
and no longer does.  It simply consumed more and more memory until the
app crashes.
 
Here is example code that will cause the problem:
 
public static void Main(string[] args) {
    Flickr flickr=new Flickr("<key>");
}
 
I have tried the debugging techniques given before by Paolo (thanks for
that), but I am still rather confused.  The backtrace only ever goes
back as far as the last c# call, so I only ever get to see the top of
the stack.  Any ideas how I can get to see more of the stack frame?
 
However, the code does seem to be spending all of its time reflecting
information out of the Flickr.dll.
 
Does anyone have any ideas what might have changed to cause this
problem?
 
Cheers
 
Matt
************************************************************************
*********************************
This e-mail is confidential, the property of NDS Ltd and intended for
the addressee only. Any dissemination, copying or distribution of this
message or any attachments by anyone other than the intended recipient
is strictly prohibited. If you have received this message in error,
please immediately notify the postmaster at nds.com and destroy the
original message. Messages sent to and from NDS may be monitored. NDS
cannot guarantee any message delivery method is secure or error-free.
Information could be intercepted, corrupted, lost, destroyed, arrive
late or incomplete, or contain viruses. We do not accept responsibility
for any errors or omissions in this message and/or attachment that arise
as a result of transmission. You should carry out your own virus checks
before opening any attachment. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
NDS.

To protect the environment please do not print this e-mail unless
necessary.

NDS Limited Registered office: One Heathrow Boulevard, 286 Bath Road,
West Drayton, Middlesex, UB7 0DQ, United Kingdom. A company registered
in England and Wales Registered no. 3080780 VAT no. GB 603 8808 40-00
************************************************************************
**********************************

*********************************************************************************************************
This e-mail is confidential, the property of NDS Ltd and intended for the addressee only.  Any dissemination, copying or distribution of this message or any attachments by anyone other than the intended recipient is strictly prohibited.  If you have received this message in error, please immediately notify the postmaster at nds.com and destroy the original message.  Messages sent to and from NDS may be monitored.  NDS cannot guarantee any message delivery method is secure or error-free.  Information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses.  We do not accept responsibility for any errors or omissions in this message and/or attachment that arise as a result of transmission.  You should carry out your own virus checks before opening any attachment.  Any views or opinions presented are solely those of the author and do not necessarily represent those of NDS.

To protect the environment please do not print this e-mail unless necessary.

NDS Limited Registered office: One Heathrow Boulevard, 286 Bath Road, West Drayton, Middlesex, UB7 0DQ, United Kingdom. A company registered in England and Wales  Registered no. 3080780   VAT no. GB 603 8808 40-00
**********************************************************************************************************

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-list/attachments/20070905/d9144b86/attachment.html 


More information about the Mono-list mailing list