Skip to content

Instantly share code, notes, and snippets.

View wrbooth's full-sized avatar

Bill Booth wrbooth

View GitHub Profile
@wrbooth
wrbooth / cluster.yaml
Created February 18, 2020 03:59
Rook for arm64 and arm32 (and amd64)
#################################################################################################################
# Define the settings for the rook-ceph cluster with common settings for a production cluster.
# All nodes with available raw devices will be used for the Ceph cluster. At least three nodes are required
# in this example. See the documentation for more details on storage settings available.
# For example, to create the cluster:
# kubectl create -f common.yaml
# kubectl create -f operator.yaml
# kubectl create -f cluster.yaml
#################################################################################################################
@wrbooth
wrbooth / Main.hx
Created January 7, 2016 03:22
Reflect.callMethod Error
package;
import lime.app.Application;
import lime.graphics.Renderer;
class Main extends Application {
@wrbooth
wrbooth / gist:7b6ed568c5247c2bc211
Created January 7, 2016 03:21
Reflect.callMethod Error
package;
import lime.app.Application;
import lime.graphics.Renderer;
class Main extends Application {
E/SELinux ( 8789): Function: selinux_android_load_priority [0], There is no sepolicy file
E/SELinux ( 8789):
E/SELinux ( 8789): Function: selinux_android_load_priority [1], There is no sepolicy version file
E/SELinux ( 8789):
E/SELinux ( 8789): selinux_android_seapp_context_reload: seapp_contexts file is loaded from /seapp_contexts
D/dalvikvm( 8789): Late-enabling CheckJNI
W/ActivityManager( 361): Permission Denial: getCurrentUser() from pid=8789, uid=10145 requires android.permission.INTERACT_ACROSS_USERS
W/ActivityManager( 361): Permission Denial: getCurrentUser() from pid=8789, uid=10145 requires android.permission.INTERACT_ACROSS_USERS
V/SDL ( 8789): Device: d2tmo
V/SDL ( 8789): Model: GT-I9300
* thread #1: tid = 0x49326e, 0x00007fff8a126bc0 libsystem_malloc.dylib`malloc_error_break, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
* frame #0: 0x00007fff8a126bc0 libsystem_malloc.dylib`malloc_error_break
frame #1: 0x00007fff8a1205c7 libsystem_malloc.dylib`szone_error + 386
frame #2: 0x00007fff8a124dfb libsystem_malloc.dylib`tiny_malloc_from_free_list + 359
frame #3: 0x00007fff8a1253c3 libsystem_malloc.dylib`szone_malloc_should_clear + 320
frame #4: 0x00007fff8a127868 libsystem_malloc.dylib`malloc_zone_malloc + 71
frame #5: 0x00007fff8a12827c libsystem_malloc.dylib`malloc + 42
frame #6: 0x00007fff8e00c36e libc++abi.dylib`operator new(unsigned long) + 30
frame #7: 0x0000000101036cb3 CineMagic`alloc_root + 115 at CFFI.cpp:844
* thread #1: tid = 0x492c7f, 0x00007fff8a126bc0 libsystem_malloc.dylib`malloc_error_break, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
* frame #0: 0x00007fff8a126bc0 libsystem_malloc.dylib`malloc_error_break
frame #1: 0x00007fff8a1205c7 libsystem_malloc.dylib`szone_error + 386
frame #2: 0x00007fff8a122117 libsystem_malloc.dylib`tiny_free_list_remove_ptr + 161
frame #3: 0x00007fff8a11a8b2 libsystem_malloc.dylib`szone_free + 1380
frame #4: 0x00007fff8b41f639 CoreFoundation`CFRelease + 1097
frame #5: 0x00007fff8a5a6cb4 IOAccelerator`IOAccelContextSubmitDataBuffers + 179
frame #6: 0x00007fff92dca508 libGPUSupportMercury.dylib`gpusSubmitDataBuffers + 141
frame #7: 0x0000123400362460 AppleIntelHD4000GraphicsGLDriver`IntelCommandBuffer::getNew(GLDContextRec*) + 54
frame #8: 0x000012340035ee3d AppleIntelHD4000GraphicsGLDriver`GenContext::prepareCommandBuffer() + 23
thread #1: tid = 0x493562, 0x00007fff8df17a1a libsystem_kernel.dylib`mach_msg_trap + 10, queue = 'com.apple.main-thread'
frame #0: 0x00007fff8df17a1a libsystem_kernel.dylib`mach_msg_trap + 10
frame #1: 0x00007fff8df16d18 libsystem_kernel.dylib`mach_msg + 64
frame #2: 0x00007fff8ffdf6fc IOKit`io_connect_method + 377
frame #3: 0x00007fff8ff862c0 IOKit`IOConnectCallMethod + 349
frame #4: 0x00007fff8ff864c2 IOKit`IOConnectCallStructMethod + 56
frame #5: 0x00007fff8a5a6cf3 IOAccelerator`IOAccelContextSubmitDataBuffers + 242
frame #6: 0x00007fff92dca508 libGPUSupportMercury.dylib`gpusSubmitDataBuffers + 141
frame #7: 0x0000123400362460 AppleIntelHD4000GraphicsGLDriver`IntelCommandBuffer::getNew(GLDContextRec*) + 54
frame #8: 0x000012340035ee3d AppleIntelHD4000GraphicsGLDriver`GenContext::prepareCommandBuffer() + 23
E/SELinux ( 4885): Function: selinux_android_load_priority [0], There is no sepolicy file
E/SELinux ( 4885):
E/SELinux ( 4885): Function: selinux_android_load_priority [1], There is no sepolicy version file
E/SELinux ( 4885):
E/SELinux ( 4885): selinux_android_seapp_context_reload: seapp_contexts file is loaded from /seapp_contexts
W/ActivityManager( 361): Permission Denial: getCurrentUser() from pid=4885, uid=10147 requires android.permission.INTERACT_ACROSS_USERS
V/SDL ( 4885): Device: d2tmo
V/SDL ( 4885): Model: GT-I9300
V/SDL ( 4885): onCreate(): null
D/dalvikvm( 4885): Trying to load lib /data/app-lib/org.openfl.samples.bunnymark-1/libstd.so 0x42360d78
(lldb) bt all
thread #1: tid = 0x452837, 0x00007fff8fff1149 libGL.dylib`glStencilFunc + 30, queue = 'com.apple.main-thread'
frame #0: 0x00007fff8fff1149 libGL.dylib`glStencilFunc + 30
frame #1: 0x000000010482626b lime.ndll`___lldb_unnamed_function1104$$lime.ndll + 59
frame #2: 0x0000000101077a94 CineMagic`ExternalPrimitive::__run(this=0x00000001036e75dc, a=0x00007fff5fbfca30, b=0x00007fff5fbfca28, c=0x00007fff5fbfca20) + 548 at Lib.cpp:148
frame #3: 0x00000001000e3c98 CineMagic`Dynamic::operator(this=0x0000000101616b28, inArg0=0x00007fff5fbfca30, inArg1=0x00007fff5fbfca28, inArg2=0x00007fff5fbfca20)(Dynamic const&, Dynamic const&, Dynamic const&) + 120 at Dynamic.h:187
frame #4: 0x00000001001c246c CineMagic`openfl::_internal::renderer::opengl::utils::StencilManager_obj::pushBucket(this=0x00000001036fb614, bucket=<unavailable>, renderSession=<unavailable>, translationMatrix=<unavailable>, __o_isMask=<unavailable>) + 748 at StencilManager.cpp:199
frame #5: 0x0000000100215092 CineMagic`
@wrbooth
wrbooth / gist:c2b05aa42d8e23bbab6f
Created September 23, 2015 02:29
OpenFL 2.2.7 to 3.3.4 Migration - MySemaphore::Wait Hang
(lldb) bt all
* thread #1: tid = 0x225109, 0x00007fff8df1b716 libsystem_kernel.dylib`__psynch_cvwait + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x00007fff8df1b716 libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff875d7c3b libsystem_pthread.dylib`_pthread_cond_wait + 727
frame #2: 0x00000001010145b7 CineMagic`MySemaphore::Wait(this=0x000000010270bf68) + 87 at Thread.h:335
frame #3: 0x000000010100a487 CineMagic`LocalAllocator::PauseForCollect(this=0x000000010270be00) + 151 at GCInternal.cpp:2781
frame #4: 0x000000010100aa03 CineMagic`LocalAllocator::Alloc(this=0x000000010270be00, inSize=16, inIsObject=false) + 83 at GCInternal.cpp:2851
frame #5: 0x000000010100855d CineMagic`hx::Object::operator new(inSize=16, inType=NewObjAlloc, inName=0x000000010122cfd3) + 253 at GCInternal.cpp:3331
frame #6: 0x000000010107b5b3 CineMagic`hx::DoubleData::operator new(inSize=16, inAlloc=NewObjAlloc, inName=0x000000010122cfd3) + 35 at Dynamic.cpp:101