mail-archives/mono-bugs/2009-November/095030.html

280 строки
7.8 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [Mono-bugs] [Bug 556033] New: Ran out of trampolines of type 1 in mscorlib.dll
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20556033%5D%20New%3A%20Ran%20out%20of%20trampolines%20of%20type%201%20in%0A%09mscorlib.dll&In-Reply-To=">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="095029.html">
<LINK REL="Next" HREF="095031.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mono-bugs] [Bug 556033] New: Ran out of trampolines of type 1 in mscorlib.dll</H1>
<B>bugzilla_noreply at novell.com</B>
<A HREF="mailto:mono-bugs%40lists.ximian.com?Subject=%5BMono-bugs%5D%20%5BBug%20556033%5D%20New%3A%20Ran%20out%20of%20trampolines%20of%20type%201%20in%0A%09mscorlib.dll&In-Reply-To="
TITLE="[Mono-bugs] [Bug 556033] New: Ran out of trampolines of type 1 in mscorlib.dll">bugzilla_noreply at novell.com
</A><BR>
<I>Tue Nov 17 02:17:04 EST 2009</I>
<P><UL>
<LI>Previous message: <A HREF="095029.html">[Mono-bugs] [Bug 549756] Mono 2.6 Json serialization fails to parse netflix's json
</A></li>
<LI>Next message: <A HREF="095031.html">[Mono-bugs] [Bug 556033] Ran out of trampolines of type 1 in mscorlib.dll
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#95030">[ date ]</a>
<a href="thread.html#95030">[ thread ]</a>
<a href="subject.html#95030">[ subject ]</a>
<a href="author.html#95030">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE><A HREF="http://bugzilla.novell.com/show_bug.cgi?id=556033#c0">http://bugzilla.novell.com/show_bug.cgi?id=556033#c0</A>
Summary: Ran out of trampolines of type 1 in mscorlib.dll
Classification: Mono
Product: MonoTouch
Version: unspecified
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Runtime
AssignedTo: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
ReportedBy: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">fak at kruegersystems.com</A>
QAContact: <A HREF="http://lists.ximian.com/mailman/listinfo/mono-bugs">mono-bugs at lists.ximian.com</A>
Found By: ---
Blocker: ---
Description of Problem:
Steps to reproduce the problem:
1. You have to run my app a little on the device (3GS), but this comes up when
there are a bunch of files that this function must process:
public List&lt;File&gt; Files { get; private set; }
string _prefix = &quot;&quot;;
void FindCommonPrefix() {
_prefix = &quot;&quot;;
var prefix = &quot;&quot;;
var files = Files
.Where(f =&gt; f.MType != MediaType.Unknown)
.Select(f =&gt; f.Title)
.ToArray();
if (files.Length &lt; 2) return;
var len = 1;
while (len &lt; files[0].Length) {
prefix = files[0].Substring(0, len);
var all = files.All(f =&gt; (f.Length &gt;= len &amp;&amp;
f.StartsWith(prefix)));
if (!all) {
if (len &gt; 0) {
_prefix = files[0].Substring(0, len-1);
}
else {
_prefix = &quot;&quot;;
}
break;
}
len++;
}
}
Actual Results:
Symbol file
/var/mobile/Applications/28C345FD-E6F1-4F55-9B16-044FA2F35149/VlcRemote.app/mscorlib.dll.mdb
doesn't match image
/var/mobile/Applications/28C345FD-E6F1-4F55-9B16-044FA2F35149/VlcRemote.app/mscorlib.dllRan
out of trampolines of type 1 in
'/var/mobile/Applications/28C345FD-E6F1-4F55-9B16-044FA2F35149/VlcRemote.app/mscorlib.dll'
(1024)
Stacktrace:
at System.Linq.Enumerable.All&lt;object&gt;
(System.Collections.Generic.IEnumerable`1&lt;object&gt;,System.Func`2&lt;object, bool&gt;)
&lt;0xffffffff&gt;
at System.Linq.Enumerable.All&lt;object&gt;
(System.Collections.Generic.IEnumerable`1&lt;object&gt;,System.Func`2&lt;object, bool&gt;)
&lt;0x0016c&gt;
at VlcRemote.FileBrowser/TableData.FindCommonPrefix () [0x0008c] in
/Users/fak/Projects/VlcRemote/VlcRemote/FileBrowser.xib.cs:217
at VlcRemote.FileBrowser/TableData/&lt;Refresh&gt;c__AnonStorey9.&lt;&gt;m__14 ()
[0x00016] in /Users/fak/Projects/VlcRemote/VlcRemote/FileBrowser.xib.cs:191
at MonoTouch.Foundation.NSActionDispatcher.Apply () [0x00000] in
/Users/plasma/src/iphone/monotouch/Foundation/NSAction.cs:22
at (wrapper runtime-invoke) object.runtime_invoke_dynamic
(intptr,intptr,intptr,intptr) &lt;0x001db&gt;
at (wrapper managed-to-native)
MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr)
&lt;0xffffffff&gt;
at MonoTouch.UIKit.UIApplication.Main (string[],string,string) [0x00043] in
/Users/plasma/src/iphone/monotouch/UIKit/UIApplication.cs:27
at MonoTouch.UIKit.UIApplication.Main (string[]) [0x00000] in
/Users/plasma/src/iphone/monotouch/UIKit/UIApplication.cs:31
at VlcRemote.Application.Main (string[]) [0x00000] in
/Users/fak/Projects/VlcRemote/VlcRemote/Application.cs:13
at (wrapper runtime-invoke) object.runtime_invoke_dynamic
(intptr,intptr,intptr,intptr) &lt;0x001db&gt;
Native stacktrace:
0 VlcRemote 0x0003c748
mono_handle_native_sigsegv + 396
1 VlcRemote 0x0006aac4 sigabrt_signal_handler +
124
2 libSystem.B.dylib 0x31a2584b _sigtramp + 42
3 libSystem.B.dylib 0x31a279a3 kill + 10
4 libSystem.B.dylib 0x31a27995 raise + 16
5 libSystem.B.dylib 0x31a3c641 abort + 40
6 VlcRemote 0x001ae7c4 g_logv + 248
7 VlcRemote 0x001ae81c g_log + 52
8 VlcRemote 0x0002cd28 get_numerous_trampoline
+ 440
9 VlcRemote 0x0002d224
mono_aot_get_static_rgctx_trampoline + 52
10 VlcRemote 0x0003ce10
mono_create_static_rgctx_trampoline + 188
11 VlcRemote 0x0003e024 mono_magic_trampoline +
2920
12 VlcRemote 0x00a760c8 generic_trampoline_0 +
120
* Assertion: should not be reached at ../../../../mono/mini/mini-darwin.c:246
Expected Results:
How often does this happen?
Additional Information:
--
Configure bugmail: <A HREF="http://bugzilla.novell.com/userprefs.cgi?tab=email">http://bugzilla.novell.com/userprefs.cgi?tab=email</A>
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="095029.html">[Mono-bugs] [Bug 549756] Mono 2.6 Json serialization fails to parse netflix's json
</A></li>
<LI>Next message: <A HREF="095031.html">[Mono-bugs] [Bug 556033] Ran out of trampolines of type 1 in mscorlib.dll
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#95030">[ date ]</a>
<a href="thread.html#95030">[ thread ]</a>
<a href="subject.html#95030">[ subject ]</a>
<a href="author.html#95030">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.ximian.com/mailman/listinfo/mono-bugs">More information about the mono-bugs
mailing list</a><br>
</body></html>