nod / rokumote

osx app for controlling your roku because sometimes your kids lose the remote
31 stars 8 forks source link

Crashed clicking Search #7

Open MikeRich88 opened 5 years ago

MikeRich88 commented 5 years ago

Process: rokumote [7917] Path: /Volumes/VOLUME/*/rokumote.app/Contents/MacOS/rokumote Identifier: com.crunchybueno.rokumote Version: 0.3 (10) Code Type: X86-64 (Native) Parent Process: ??? [1] Responsible: rokumote [7917] User ID: 502

Date/Time: 2019-05-13 01:54:42.186 -0500 OS Version: Mac OS X 10.13.6 (17G6015) Report Version: 12 Anonymous UUID: EBF0A9DB-340B-27D4-5A76-75B7BB6E5249

Sleep/Wake UUID: 3EE3EAB6-40FD-429B-A0F2-C3C201B8FE96

Time Awake Since Boot: 160000 seconds Time Since Wake: 5900 seconds

System Integrity Protection: disabled

Notes: Translocated Process

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_INSTRUCTION (SIGILL) Exception Codes: 0x0000000000000001, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Illegal instruction: 4 Termination Reason: Namespace SIGNAL, Code 0x4 Terminating Process: exc handler [0]

Application Specific Information: Performing @selector(clickSearch:) from sender NSButton 0x604000153610

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 com.crunchybueno.rokumote 0x0000000109732b91 0x10971f000 + 80785 1 com.crunchybueno.rokumote 0x000000010972bc42 0x10971f000 + 52290 2 com.apple.AppKit 0x00007fff2a30aa43 -[NSApplication(NSResponder) sendAction:to:from:] + 312 3 com.apple.AppKit 0x00007fff29db053f -[NSControl sendAction:to:] + 86 4 com.apple.AppKit 0x00007fff29db0467 26-[NSCell _sendActionFrom:]_block_invoke + 136 5 com.apple.AppKit 0x00007fff29db036d -[NSCell _sendActionFrom:] + 183 6 com.apple.AppKit 0x00007fff29df1688 -[NSButtonCell _sendActionFrom:] + 97 7 com.apple.AppKit 0x00007fff29daebd6 -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 2438 8 com.apple.AppKit 0x00007fff29df13cf -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 777 9 com.apple.AppKit 0x00007fff29dad670 -[NSControl mouseDown:] + 965 10 com.apple.AppKit 0x00007fff2a4a9d6d -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 5891 11 com.apple.AppKit 0x00007fff2a4a69c4 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 2359 12 com.apple.AppKit 0x00007fff2a4a5c70 -[NSWindow(NSEventRouting) sendEvent:] + 497 13 com.apple.AppKit 0x00007fff2a307236 -[NSApplication(NSEvent) sendEvent:] + 2462 14 com.apple.AppKit 0x00007fff29da4ec6 -[NSApplication _doModalLoop:peek:] + 551 15 com.apple.AppKit 0x00007fff29f89c9f 35-[NSApplication runModalForWindow:]_block_invoke_2 + 64 16 com.apple.AppKit 0x00007fff29f89c4c 35-[NSApplication runModalForWindow:]_block_invoke + 75 17 com.apple.AppKit 0x00007fff2a438219 NSTryRunModal + 100 18 com.apple.AppKit 0x00007fff29da2911 -[NSApplication runModalForWindow:] + 133 19 com.apple.AppKit 0x00007fff2a70b154 NSMainRunLoopPerformBlock_block_invoke + 25 20 com.apple.CoreFoundation 0x00007fff2c5f6bac CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK + 12 21 com.apple.CoreFoundation 0x00007fff2c5d9583 CFRunLoopDoBlocks + 275 22 com.apple.CoreFoundation 0x00007fff2c5d8c0e CFRunLoopRun + 1278 23 com.apple.CoreFoundation 0x00007fff2c5d8483 CFRunLoopRunSpecific + 483 24 com.apple.HIToolbox 0x00007fff2b8c2d96 RunCurrentEventLoopInMode + 286 25 com.apple.HIToolbox 0x00007fff2b8c2a0f ReceiveNextEventCommon + 366 26 com.apple.HIToolbox 0x00007fff2b8c2884 _BlockUntilNextEventMatchingListInModeWithFilter + 64 27 com.apple.AppKit 0x00007fff29b72a73 _DPSNextEvent + 2085 28 com.apple.AppKit 0x00007fff2a308e34 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 3044 29 com.apple.AppKit 0x00007fff29b67885 -[NSApplication run] + 764 30 com.apple.AppKit 0x00007fff29b36a72 NSApplicationMain + 804 31 com.crunchybueno.rokumote 0x0000000109746c73 0x10971f000 + 162931 32 libdyld.dylib 0x00007fff54501015 start + 1

nod commented 5 years ago

It appears there's a bug in quick links. I may try to dig into this sometime in the future, but honestly that's always been a bit janky and the API (my hunch) has changed a couple of times. I may remove the Quicklinks stuff altogether.

Edit - completely misread your msg, then when I dove into the trace, I realized my mistake. I have seen this activity during roku discover before. Often if you try again, it will work well. Someday, I may dig in and find the issue (I believe it's a race condition in the library itself). However, if you hard code the ip of your roku, it works quite well.