[Mono-bugs] [Bug 556033] New: Ran out of trampolines of type 1 in mscorlib.dll

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Tue Nov 17 02:17:04 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=556033#c0

           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: mono-bugs at lists.ximian.com
        ReportedBy: fak at kruegersystems.com
         QAContact: mono-bugs at lists.ximian.com
          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<File> Files { get; private set; }
string _prefix = "";

            void FindCommonPrefix() {
                _prefix = "";
                var prefix = "";
                var files = Files
                    .Where(f => f.MType != MediaType.Unknown)
                    .Select(f => f.Title)
                    .ToArray();
                if (files.Length < 2) return;

                var len = 1;
                while (len < files[0].Length) {
                    prefix = files[0].Substring(0, len);
                    var all = files.All(f => (f.Length >= len &&
f.StartsWith(prefix)));
                    if (!all) {
                        if (len > 0) {
                            _prefix = files[0].Substring(0, len-1);
                        }
                        else {
                            _prefix = "";
                        }
                        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<object>
(System.Collections.Generic.IEnumerable`1<object>,System.Func`2<object, bool>)
<0xffffffff>
  at System.Linq.Enumerable.All<object>
(System.Collections.Generic.IEnumerable`1<object>,System.Func`2<object, bool>)
<0x0016c>
  at VlcRemote.FileBrowser/TableData.FindCommonPrefix () [0x0008c] in
/Users/fak/Projects/VlcRemote/VlcRemote/FileBrowser.xib.cs:217
  at VlcRemote.FileBrowser/TableData/<Refresh>c__AnonStorey9.<>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) <0x001db>
  at (wrapper managed-to-native)
MonoTouch.UIKit.UIApplication.UIApplicationMain (int,string[],intptr,intptr)
<0xffffffff>
  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) <0x001db>

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: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list