Bug 6141 - Ran out of trampolines of type 0
Summary: Ran out of trampolines of type 0
Status: RESOLVED FEATURE
Alias: None
Product: iOS
Classification: Xamarin
Component: XI runtime ()
Version: 5.2
Hardware: Macintosh Other
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2012-07-16 10:30 UTC by Giampaolo
Modified: 2012-07-16 10:36 UTC (History)
2 users (show)

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

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 Developer Community or GitHub 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 FEATURE

Description Giampaolo 2012-07-16 10:30:09 UTC
Randomly we have this error message:

Ran out of trampolines of type 0 in '/private/var/mobile/Applications/1D3BDC07-B0B3-420D-85AB-D4AB35DAA5CF/MobileCrmMT28.app/mscorlib.dll' (1024)

Stacktrace:

  at System.Linq.Enumerable.ToDictionary<TSource, TKey, TElement> (System.Collections.Generic.IEnumerable`1<TSource>,System.Func`2<TSource, TKey>,System.Func`2<TSource, TElement>,System.Collections.Generic.IEqualityComparer`1<TKey>) <0x002af>
  at System.Linq.Enumerable.ToDictionary<TSource, TKey> (System.Collections.Generic.IEnumerable`1<TSource>,System.Func`2<TSource, TKey>,System.Collections.Generic.IEqualityComparer`1<TKey>) <0x000db>
  at MobileCrm.Data.Synchronization.SyncFilter..ctor (MobileCrm.Configuration) [0x0002d] in /Users/nicolar/Desktop/Indesit CRM 5.4.1.2/Source/MobileCrm.Data/Synchronization/SyncRules.cs:31
  at MobileCrm.Data.Synchronization.SyncEngine.DoExecute (Resco.Data.IDatabase,MobileCrm.Configuration) [0x00073] in /Users/nicolar/Desktop/Indesit CRM 5.4.1.2/Source/MobileCrm.Data/Synchronization/SyncEngine.cs:857
  at MobileCrm.Data.Synchronization.SyncEngine.Execute (Resco.Data.IDatabase,MobileCrm.Configuration,MobileCrm.Data.Synchronization.SyncResult&) [0x00119] in /Users/nicolar/Desktop/Indesit CRM 5.4.1.2/Source/MobileCrm.Data/Synchronization/SyncEngine.cs:959
  at MobileCrm.Data.Synchronization.SyncEngine.Execute (Resco.Data.IDatabase,MobileCrm.Configuration,MobileCrm.Data.Synchronization.SyncResult&,System.Func`3<string[], int, bool>,MobileCrm.Data.Synchronization.SyncConflict) [0x00026] in /Users/nicolar/Desktop/Indesit CRM 5.4.1.2/Source/MobileCrm.Data/Synchronization/SyncEngine.cs:1134
  at MobileCrm.Controllers.HomeForm.SyncExecute () [0x00029] in /Users/nicolar/Desktop/Indesit CRM 5.4.1.6/Source/MobileCrm/Controllers/HomeForm.cs:426
  at System.Threading.Thread.StartInternal () [0x0001d] in /Developer/MonoTouch/Source/mono/mcs/class/corlib/System.Threading/Thread.cs:696
  at (wrapper runtime-invoke) object.runtime_invoke_dynamic (intptr,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

0   MobileCrm                           0x021eb9bc mono_handle_native_sigsegv + 280
1   MobileCrm                           0x02210e00 sigabrt_signal_handler + 180
2   libsystem_c.dylib                   0x34e2e7ed _sigtramp + 48
3   libsystem_c.dylib                   0x34e2420f pthread_kill + 54
4   libsystem_c.dylib                   0x34e1d29f abort + 94
5   MobileCrm                           0x0230440c monoeg_g_logv + 152
6   MobileCrm                           0x0230447c monoeg_g_log + 32
7   MobileCrm                           0x021dcaec get_numerous_trampoline + 152
8   MobileCrm                           0x021e1b98 mono_aot_create_specific_trampoline + 304
9   MobileCrm                           0x021edd1c mono_create_jit_trampoline_in_domain + 184
10  MobileCrm                           0x021edee8 mono_create_jit_trampoline + 24
11  MobileCrm                           0x021cf498 mono_resolve_patch_target + 352
12  MobileCrm                           0x021e2130 mono_aot_plt_resolve + 416
13  MobileCrm                           0x021ec998 mono_aot_plt_trampoline + 56
14  MobileCrm                           0x00a35010 generic_trampoline_aot_plt + 136
15  MobileCrm                           0x01d31e58 System_Linq_Enumerable_ToDictionary_TSource_TKey_System_Collections_Generic_IEnumerable_1_TSource_System_Func_2_TSource_TKey_System_Collections_Generic_IEqualityComparer_1_TKey + 220
16  MobileCrm                           0x01110c84 MobileCrm_Data_Synchronization_SyncFilter__ctor_MobileCrm_Configuration + 744
17  MobileCrm                           0x010ade70 MobileCrm_Data_Synchronization_SyncEngine_DoExecute_Resco_Data_IDatabase_MobileCrm_Configuration + 924
18  MobileCrm                           0x010af10c MobileCrm_Data_Synchronization_SyncEngine_Execute_Resco_Data_IDatabase_MobileCrm_Configuration_MobileCrm_Data_Synchronization_SyncResult_ + 2252
19  MobileCrm                           0x010b1028 MobileCrm_Data_Synchronization_SyncEngine_Execute_Resco_Data_IDatabase_MobileCrm_Configuration_MobileCrm_Data_Synchronization_SyncResult__System_Func_3_string___int_bool_MobileCrm_Data_Synchronization_SyncConflict + 740
20  MobileCrm                           0x0191c40c MobileCrm_Controllers_HomeForm_SyncExecute + 744
21  MobileCrm                           0x00941584 System_Threading_Thread_StartInternal + 448
22  MobileCrm                           0x009c6e44 wrapper_runtime_invoke_object_runtime_invoke_dynamic_intptr_intptr_intptr_intptr + 480
23  MobileCrm                           0x021d0cc4 mono_jit_runtime_invoke + 1644
24  MobileCrm                           0x022885d8 mono_runtime_invoke + 128
25  MobileCrm                           0x02288734 mono_runtime_delegate_invoke + 96
26  MobileCrm                           0x022d893c start_wrapper + 500
27  MobileCrm                           0x022f4e14 thread_start_routine + 152
28  MobileCrm                           0x022b1bb4 gc_start_thread + 80
29  libsystem_c.dylib                   0x34de5735 _pthread_start + 320
30  libsystem_c.dylib                   0x34de55f0 thread_start + 8

=================================================================
Got a SIGABRT while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================
Comment 1 Sebastien Pouliot 2012-07-16 10:36:19 UTC
You can bump up the number of trampolines, see this page for details:

http://docs.xamarin.com/ios/troubleshooting#Ran_out_of_trampolines_of_type_0