Skip to content

Instantly share code, notes, and snippets.

View kumpera's full-sized avatar

Rodrigo Kumpera kumpera

View GitHub Profile
class HiddenReference<T>
{
int id;
static Dictionary<int, T> table = new Dictionary<int, T> ();
static int idgen = 0;
public HiddenReference () {
lock (table) { id = idgen ++; }
}
"Process output reader" at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Threading.WaitHandle.WaitOne_internal (System.Threading.WaitHandle,intptr,int,bool) <IL 0x00030, 0xffffffff>
at System.Threading.WaitHandle.WaitOne () [0x00015] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.0/mcs/class/corlib/System.Threading/WaitHandle.cs:357
at MonoDevelop.IPhone.AggregateAsyncResult.CheckError (bool) [0x00012] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.7-branch/e8d35385/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/Execution/AggregateAsyncResult.cs:66
at MonoDevelop.IPhone.IPhoneCommandConnection.EndExecuteCommand (System.IAsyncResult) [0x0000a] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.7-branch/e8d35385/source/md-addins/MonoDevelop.IPhone/MonoDevelop.IPhone/Execution/IPhoneCommandConnection.cs:145
at MonoDevelop.IPhone.IPhoneCommandConnection.Stop () [0x00021] in /Users/builder/data/lanes/monode
"GUI Thread" tid=0x0xac305a28 this=0x0x754010 thread handle 0x403 state : waiting on 0x5ce : Sem owns ()
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Threading.Monitor.try_enter_with_atomic_var (object,int,bool&) <IL 0x00023, 0xffffffff>
at System.Threading.Monitor.TryEnter (object,int,bool&) [0x00041] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.0/mcs/class/corlib/System.Threading/Monitor.cs:224
at System.Threading.Monitor.Enter (object,bool&) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.0/mcs/class/corlib/System.Threading/Monitor.cs:198
at (wrapper unknown) System.Threading.Monitor.FastMonitorEnterV4 (object,bool&) <IL 0x00057, 0xffffffff>
at Mono.Debugging.Client.DebuggerSession.OnBreakpointAdded (object,Mono.Debugging.Client.BreakEventArgs) [0x00047] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.7-branch/e8d35385/source/monodevelop/main/external/debug
"GUI Thread" tid=0x0xac305a28 this=0x0x754010 thread handle 0x403 state : waiting on 0x5ce : Sem owns ()
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Threading.Monitor.try_enter_with_atomic_var (object,int,bool&) <IL 0x00023, 0xffffffff>
at System.Threading.Monitor.TryEnter (object,int,bool&) [0x00041] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.0/mcs/class/corlib/System.Threading/Monitor.cs:224
at System.Threading.Monitor.Enter (object,bool&) [0x00000] in /private/tmp/source/bockbuild-xamarin/profiles/mono-mac-xamarin-no-pcl/build-root/mono-3.2.0/mcs/class/corlib/System.Threading/Monitor.cs:198
at (wrapper unknown) System.Threading.Monitor.FastMonitorEnterV4 (object,bool&) <IL 0x00057, 0xffffffff>
at Mono.Debugging.Client.DebuggerSession.OnBreakpointAdded (object,Mono.Debugging.Client.BreakEventArgs) [0x00047] in /Users/builder/data/lanes/monodevelop-lion-monodevelop-4.1.7-branch/e8d35385/source/monodevelop/main/external/debug
</SystemInformation><Exception>System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---&gt; Mono.Debugger.Soft.InvalidStackFrameException: The requested operation cannot be completed because the specified stack frame is no longer valid.
at Mono.Debugger.Soft.VirtualMachine.ErrorHandler (System.Object sender, Mono.Debugger.Soft.ErrorHandlerEventArgs args) [0x00075] in /Users/kumpera/src/monodevelop/main/external/debugger-libs/Mono.Debugger.Soft/Mono.Debugger.Soft/VirtualMachine.cs:301
at Mono.Debugger.Soft.Connection.SendReceive (CommandSet command_set, Int32 command, Mono.Debugger.Soft.PacketWriter packet) [0x000e9] in /Users/kumpera/src/monodevelop/main/external/debugger-libs/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:1448
at Mono.Debugger.Soft.Connection.StackFrame_GetThis (Int64 thread_id, Int64 id) [0x00011] in /Users/kumpera/src/monodevelop/main/external/debugger-libs/Mono.Debugger.Soft/Mono.Debugger.Soft/Connection.cs:2217
at Mono.De
diff --git a/profiles/mono-mac-release/mono-mac-release.py b/profiles/mono-mac-release/mono-mac-release.py
index 8e0311c..37fd22b 100755
--- a/profiles/mono-mac-release/mono-mac-release.py
+++ b/profiles/mono-mac-release/mono-mac-release.py
@@ -23,6 +23,7 @@ class MonoReleaseProfile(DarwinProfile, MonoReleasePackages):
self.BUILD_NUMBER = "0"
self.MRE_GUID = "432959f9-ce1b-47a7-94d3-eb99cb2e1aa8"
self.MDK_GUID = "964ebddd-1ffe-47e7-8128-5ce17ffffb05"
+ self.sign_package = os.getenv('BOCKBUILD_SIGN_PACKAGE') != None
Thread 7 (process 58145):
#0 0x92e1de31 in szone_free_definite_size ()
#1 0x92e18d30 in free ()
#2 0x0037850f in monoeg_g_free (ptr=0x7a63eef0) at gmem.c:36
#3 0x00374ec0 in monoeg_g_hash_table_destroy (hash=0x7b51a290) at ghashtable.c:561
#4 0x00029d77 in mini_free_jit_domain_info (domain=0x7b51adf0) at mini.c:6845
#5 0x002a0b22 in mono_domain_free (domain=0x7b51adf0, force=0) at domain.c:1965
#6 0x0029aba7 in unload_thread_main (arg=0x7b22d8c0) at appdomain.c:2328
#7 0x00356fda in thread_start_routine (args=0x7ab53e20) at wthreads.c:294
#8 0x00372168 in inner_start_thread (arg=0x7b22dd10) at mono-threads-posix.c:49
Thread 10 (process 25362):
#0 0x95a1c8e2 in __psynch_cvwait ()
#1 0x92e03280 in _pthread_cond_wait ()
#2 0x92e890e0 in pthread_cond_timedwait$UNIX2003 ()
#3 0x003e81ac in _wapi_handle_timedwait_signal_handle (handle=0x100, timeout=0xb0912bf0, alertable=1, poll=0) at handles.c:1586
#4 0x003e7f1c in _wapi_handle_timedwait_signal (timeout=0xb0912bf0, poll=0) at handles.c:1526
#5 0x00402538 in WaitForMultipleObjectsEx (numobjects=3, handles=0xb0912cc8, waitall=1, timeout=100, alertable=1) at wait.c:670
#6 0x00319cfb in wait_for_tids (wait=0xb0912cc8, timeout=100) at threads.c:2684
#7 0x0031cc5e in mono_threads_abort_appdomain_threads (domain=0x7d841cb0, timeout=-202603) at threads.c:3536
#8 0x0034794f in unload_thread_main (arg=0x7a34caa0) at appdomain.c:2273
using System;
using System.Threading;
class Driver {
static void AllocStuff ()
{
var x = new object ();
for (int i = 0; i < 300; ++i)
x = new byte [i];
In file included from sgen-marksweep-fixed.c:9:
./sgen-marksweep.c:2289:8: warning: variable 'card_data' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized]
if (mod_union) {
^~~~~~~~~
./sgen-marksweep.c:2304:20: note: uninitialized use occurs here
card_data_end = card_data + CARDS_PER_BLOCK;
^~~~~~~~~
./sgen-marksweep.c:2289:4: note: remove the 'if' if its condition is always false
if (mod_union) {
^~~~~~~~~~~~~~~~