Bug 3607 - StackFrame.GetMethod returns null on arm
Summary: StackFrame.GetMethod returns null on arm
Status: RESOLVED FIXED
Alias: None
Product: Runtime
Classification: Mono
Component: General ()
Version: unspecified
Hardware: Other Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-02-23 08:17 UTC by krzysztof.witkowski
Modified: 2012-02-23 14:02 UTC (History)
3 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
testcase (274 bytes, text/plain)
2012-02-23 08:17 UTC, krzysztof.witkowski
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FIXED

Description krzysztof.witkowski 2012-02-23 08:17:07 UTC
I'm using mono on IGEP2 OMAP3 board, a clone of beagleboard, with Ubuntu installed.

Calling:
new System.Diagnostics.StackFrame(false).GetMethod() 

returns null, which seems to be inconsistent with its description at:
http://msdn.microsoft.com/en-us/library/33k1wxtt.aspx

"A StackFrame is created and pushed on the call stack for every function call made during the execution of a thread. The stack frame always includes MethodBase information"

$ mono --version
Mono JIT compiler version 2.10.8.1 (Debian 2.10.8.1-1)
Copyright (C) 2002-2011 Novell, Inc, Xamarin, Inc and Contributors. www.mono-project.com
	TLS:           __thread
	SIGSEGV:       normal
	Notifications: epoll
	Architecture:  armel,soft-float
	Disabled:      none
	Misc:          softdebug 
	LLVM:          supported, not enabled.
	GC:            Included Boehm (with typed GC and Parallel Mark)


$ cat /proc/cpuinfo 
Processor	: ARMv7 Processor rev 2 (v7l)
BogoMIPS	: 299.11
Features	: swp half thumb fastmult vfp edsp thumbee neon vfpv3 
CPU implementer	: 0x41
CPU architecture: 7
CPU variant	: 0x3
CPU part	: 0xc08
CPU revision	: 2

Hardware	: IGEP0020 board
Revision	: 0020
Serial		: 0000000000000000
Comment 1 krzysztof.witkowski 2012-02-23 08:17:45 UTC
Created attachment 1409 [details]
testcase
Comment 2 Zoltan Varga 2012-02-23 14:02:53 UTC
This has already been fixed in master.