Closed dmikis closed 11 years ago
Try recreating your network rule(s)
I get this crash too. How can I recreate my network rules if I can't get to the preferences?
Can you send me the file at ~/Library/Preferences/com.dustinrue.com.plist so I can test and avoid this crash?
Here you go:
I'm happy to help test/debug.
Andrew Rich andrew.rich@gmail.com http://www.project-insomnia.com/
On May 6, 2013, at 6:04 PM, Dustin Rue wrote:
Can you send me the file at ~/Library/Preferences/com.dustinrue.com.plist so I can test and avoid this crash?
— Reply to this email directly or view it on GitHub.
@dustinrue Sent by email.
Didn't get it...
I don't have this plist:
dhcp173-163-red2:~$ cat ~/Library/Preferences/com.dustinrue.com.plist
cat: /Users/dmikis/Library/Preferences/com.dustinrue.com.plist: No such file or directory
I wrote that up wrong, it's ~/Library/Preferences/com.dustinrue.ControlPlane.plist Sorry about that
Dustin
I found ~/Library/Preferences/com.dustinrue.ControlPlane.plist
: https://dl.dropboxusercontent.com/u/3916376/com.dustinrue.ControlPlane.plist
After I removed it, app successfully started.
I had same problem, but with 1.3.13 just in last few days. After loading it exits straight away leaving lockfile. Removing lockfile and starting didn't help. Moved plist away then started OK. This then prompted me to upgrade to 1.3.14, which I did. Started OK. Moved my old plist back into normal location and it fails to start (leaving lockfile). I can use the app, but for some reason have to ditch all my many rules. Can't they be restored? I can send plist by email if that's needed. Thanks
@humbled If you don't mind sending that directly by email, so that I can dupe the issue on my MPB, then I should be able to look at that problem some time soon. Let me know.
@VladimirTechMan thanks but don't see your email addy on profile
Thanks, @humbled! I've tried it a number of times on my system. But, alas, I cannot get a crash with it. CP just starts with all those settings... Can you send me the crash report, please? Also, I assume you can dupe the crash on each and every run of CP with the .plist file you sent me? -- if so, I might offer you a specially built debug version of CP, to try catching the fail and its cause. Assuming you are ready and willing to go over such an exercise. Let me know.
One thing I noticed is that @dmikis's network source is USB based (probably USB -> ethernet adapter). Dunno if you have one of those, @VladimirTechMan?
That's my immediate thought, there is a network adapter that is gone at CP startup. Could be VPN, USB based, etc.
That was also my guess, @djbe and @dustinrue. I don't have a USB-based network adapter and that may well be the reason why nothing bad happens on my configuration.
Anyways, if @humbled is fine to help us with debugging, it could help a lot -- assuming that the crash does always happen with the .plist file he sent me.
@VladimirTechMan just emailled you a crash report
@VladimirTechMan that version you just emailled me works without crashing. Seems to detect wifi, change contexts, and launch apps as expected too. I'll use it till you roll out the next official. Thanks
Thanks for your quick response, @humbled. Good news.
The build I gave you has the code from 1.3.14 plus my fix submitted under the title of issue #247. I am not sure when @dustinrue will release the next public version of CP. But when he does that, the fix from the "custom build" I gave you will also be a part of that new version. Prior to that time, feel free to keep using the unofficial build that you now have.
@VladimirTechMan Thanks for the quick turnaround and good to see this useful little app has such good support!
@humbled You're very welcome! :)
1.3.14 also isn't starting up here. Looks and feels the same as 1.3.13. Version 1.3.12 restored from Timemachine starts up fine and wants to send a crash report right away.
I'm having this problem too. I moved the pref file and started up again. Part-way through re-creating my contexts, it crashed again. I'm not going to try again without more knowledge about what the issue is.
Can I send the crash report somewhere?
You can access it using Console then copy/paste the data into github
Process: ControlPlane [87093] Path: /Applications/ControlPlane.app/Contents/MacOS/ControlPlane Identifier: com.dustinrue.ControlPlane Version: 1.3.14 (47) Code Type: X86-64 (Native) Parent Process: launchd [180]
Date/Time: 2013-05-16 09:14:28.075 -0400 OS Version: Mac OS X 10.7.5 (11G63b) Report Version: 9
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000070
VM Regions Near 0x70: --> __TEXT 00000001073ef000-0000000107459000 [ 424K] r-x/rwx SM=COW /Applications/ControlPlane.app/Contents/MacOS/ControlPlane
Application Specific Information: objc[87093]: garbage collection is OFF
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libobjc.A.dylib 0x000000010879e398 objc_msgSend_vtable14 + 24 1 com.apple.CoreFoundation 0x0000000109b66ab0 CFRelease + 176 2 com.dustinrue.ControlPlane 0x0000000107411521 -[NetworkLinkEvidenceSource start] + 354 3 com.dustinrue.ControlPlane 0x00000001073fef1f -[EvidenceSourceSetController startOrStopAll] + 564 4 com.dustinrue.ControlPlane 0x00000001073f90df -[CPController awakeFromNib] + 1085 5 com.apple.CoreFoundation 0x0000000109bf8fb1 -[NSObject performSelector:] + 49 6 com.apple.CoreFoundation 0x0000000109bf8f32 -[NSSet makeObjectsPerformSelector:] + 274 7 com.apple.AppKit 0x00000001088e9347 -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:] + 1245 8 com.apple.AppKit 0x00000001088df8bb loadNib + 322 9 com.apple.AppKit 0x00000001088dedb8 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:] + 217 10 com.apple.AppKit 0x00000001088decd3 +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:] + 141 11 com.apple.AppKit 0x00000001088dec16 +[NSBundle(NSNibLoading) loadNibNamed:owner:] + 364 12 com.apple.AppKit 0x0000000108b4fcd7 NSApplicationMain + 398 13 com.dustinrue.ControlPlane 0x00000001073f1384 start + 52
Thread 1:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x000000010a3e27e6 kevent + 10 1 libdispatch.dylib 0x000000010a1d2786 _dispatch_mgr_invoke + 923 2 libdispatch.dylib 0x000000010a1d1316 _dispatch_mgr_thread + 54
Thread 2: 0 libsystem_kernel.dylib 0x000000010a3e2192 __workq_kernreturn + 10 1 libsystem_c.dylib 0x000000010a29e594 _pthread_wqthread + 758 2 libsystem_c.dylib 0x000000010a29fb85 start_wqthread + 13
Thread 3:: Dispatch queue: ControlPlane.NetworkLink 0 com.apple.CoreFoundation 0x0000000109b67276 CFAllocatorDeallocate + 214 1 com.apple.CoreFoundation 0x0000000109b67020 __CFStringDeallocate + 64 2 com.apple.CoreFoundation 0x0000000109b66bf6 CFRelease + 502 3 com.apple.CoreFoundation 0x0000000109b69f39 CFStringCreateWithFormat + 233 4 com.apple.SystemConfiguration 0x0000000107f34d67 SCPreferencesPathKeyCreateNetworkServices + 30 5 com.apple.SystemConfiguration 0x0000000107f3b7b8 SCNetworkServiceCopyAll + 37 6 com.dustinrue.ControlPlane 0x000000010741105c -[NetworkLinkEvidenceSource enumerate] + 56 7 com.dustinrue.ControlPlane 0x0000000107411307 -[NetworkLinkEvidenceSource doFullUpdate:] + 36 8 libdispatch.dylib 0x000000010a1d0a82 _dispatch_call_block_and_release + 18 9 libdispatch.dylib 0x000000010a1d22d2 _dispatch_queue_drain + 264 10 libdispatch.dylib 0x000000010a1d212e _dispatch_queue_invoke + 54 11 libdispatch.dylib 0x000000010a1d1928 _dispatch_worker_thread2 + 198 12 libsystem_c.dylib 0x000000010a29e3da _pthread_wqthread + 316 13 libsystem_c.dylib 0x000000010a29fb85 start_wqthread + 13
Thread 4:: WebCore: LocalStorage 0 libsystem_kernel.dylib 0x000000010a3e1bca __psynch_cvwait + 10 1 libsystem_c.dylib 0x000000010a2a0274 _pthread_cond_wait + 840 2 com.apple.JavaScriptCore 0x000000010fc11a60 WTF::ThreadCondition::timedWait(WTF::Mutex&, double) + 64 3 com.apple.WebCore 0x000000010ffddf9a WTF::MessageQueueWebCore::LocalStorageTask::waitForMessage() + 132 4 com.apple.WebCore 0x000000010ffddef3 WebCore::LocalStorageThread::threadEntryPoint() + 99 5 com.apple.WebCore 0x000000010ffdde3b WebCore::LocalStorageThread::threadEntryPointCallback(void*) + 9 6 libsystem_c.dylib 0x000000010a29c8bf _pthread_start + 335 7 libsystem_c.dylib 0x000000010a29fb75 thread_start + 13
Thread 5:: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x000000010a3e067a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x000000010a3dfd71 mach_msg + 73 2 com.apple.CoreFoundation 0x0000000109b8e50c CFRunLoopServiceMachPort + 188 3 com.apple.CoreFoundation 0x0000000109b96c74 __CFRunLoopRun + 1204 4 com.apple.CoreFoundation 0x0000000109b96486 CFRunLoopRunSpecific + 230 5 com.apple.Foundation 0x00000001082fcfd7 +[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] + 335 6 com.apple.Foundation 0x00000001082f172a -[NSThread main] + 68 7 com.apple.Foundation 0x00000001082f16a2 NSThreadmain + 1575 8 libsystem_c.dylib 0x000000010a29c8bf _pthread_start + 335 9 libsystem_c.dylib 0x000000010a29fb75 thread_start + 13
Thread 6: 0 libsystem_c.dylib 0x000000010a2afe33 szone_size + 219 1 libsystem_c.dylib 0x000000010a2ed72f malloc_size + 68 2 com.apple.CoreFoundation 0x0000000109ba8bbf -[NSArrayM insertObject:atIndex:] + 559 3 com.dustinrue.ControlPlane 0x00000001073fad80 -[CPController triggerDepartureActions:] + 957 4 com.dustinrue.ControlPlane 0x00000001073fb353 -[CPController performTransitionFrom:to:] + 277 5 com.dustinrue.ControlPlane 0x00000001073fbbab -[CPController doUpdateForReal] + 452 6 com.dustinrue.ControlPlane 0x00000001073fcb04 -[CPController updateThread:] + 177 7 com.apple.Foundation 0x00000001082f172a -[NSThread main] + 68 8 com.apple.Foundation 0x00000001082f16a2 NSThreadmain + 1575 9 libsystem_c.dylib 0x000000010a29c8bf _pthread_start + 335 10 libsystem_c.dylib 0x000000010a29fb75 thread_start + 13
Thread 7: 0 libsystem_kernel.dylib 0x000000010a3e067a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x000000010a3dfd71 mach_msg + 73 2 com.apple.CoreFoundation 0x0000000109b8e50c CFRunLoopServiceMachPort + 188 3 com.apple.CoreFoundation 0x0000000109b96c74 CFRunLoopRun + 1204 4 com.apple.CoreFoundation 0x0000000109b96486 CFRunLoopRunSpecific + 230 5 com.apple.CoreFoundation 0x0000000109ba619f CFRunLoopRun + 95 6 com.dustinrue.ControlPlane 0x000000010741d27b -[CPController(SleepThread) monitorSleepThread:] + 273 7 com.apple.Foundation 0x00000001082f172a -[NSThread main] + 68 8 com.apple.Foundation 0x00000001082f16a2 NSThread__main + 1575 9 libsystem_c.dylib 0x000000010a29c8bf _pthread_start + 335 10 libsystem_c.dylib 0x000000010a29fb75 thread_start + 13
Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x00007fade2436c80 rcx: 0x000000010a1de720 rdx: 0x0000000109d78740 rdi: 0x00007fade3eec9b0 rsi: 0x00000001087bb548 rbp: 0x00007fff66fee560 rsp: 0x00007fff66fee518 r8: 0x000000010a335920 r9: 0x0000000000000300 r10: 0x0000000000010001 r11: 0x0000000000000202 r12: 0x0000000000000070 r13: 0x0000000000000008 r14: 0x00007fade3eec9b0 r15: 0x0000000000000060 rip: 0x000000010879e398 rfl: 0x0000000000010246 cr2: 0x0000000000000070 Logical CPU: 2
Binary Images:
0x1073ef000 - 0x107458ff7 +com.dustinrue.ControlPlane (1.3.14 - 47) <2800D921-6568-3E12-9AD2-006863B53C49> /Applications/ControlPlane.app/Contents/MacOS/ControlPlane
0x1074a5000 - 0x1074b0ff7 com.apple.bsd.ServiceManagement (2.0 - 2.0)
External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 2 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 196900 thread_create: 31 thread_set_state: 56
VM Region Summary: ReadOnly portion of Libraries: Total=146.8M resident=123.0M(84%) swapped_out_or_unallocated=23.8M(16%) Writable regions: Total=1.1G written=11.7M(1%) resident=16.9M(2%) swapped_out=0K(0%) unallocated=1.0G(98%)
REGION TYPE VIRTUAL =========== ======= CG backing stores 32K CG image 4K CG shared images 1260K CoreGraphics 16K CoreServices 2608K JS JIT generated code 8K JS JIT generated code (reserved) 1.0G reserved VM address space (unallocated) MALLOC 45.0M MALLOC guard page 48K SQLite page cache 192K STACK GUARD 56.0M Stack 11.6M VM_ALLOCATE 120K __CI_BITMAP 80K DATA 14.4M IMAGE 528K LINKEDIT 29.6M TEXT 117.2M __UNICODE 544K mapped file 35.1M shared memory 312K =========== ======= TOTAL 1.3G TOTAL, minus reserved VM space 314.6M
Can you detail what network devices you have/use and if they are removable?
In the new CP profile I was setting up, I had used only Wifi when it crashed. In my other one, I check for ethernet or wifi. That's it.
On the computer itself, I have a configuration for a Vodafone K3806 USB adapter, which is registered as a dialup device. It's not new.
This is again the same problem that I've fixed with the changes submitted under the umbrella of issue #247.
@Jmuccigr, if you would like to help us testing the fix and are ready to use a custom build for a while, then I can send it to you directly -- if you provide me with your e-mail address. Let me know.
Happy to help. Use this address.
John Muccigrosso
On May 16, 2013, at 13:04, VladimirTechMan notifications@github.com wrote:
This is again the same issue that I've fixed with the changes submitted under the umbrella of issue #247.
@Jmuccigr, if you would help us testing the fix and ready to use a custom build, I can send it to you directly -- if you provide me with your e-mail address. Let me know.
— Reply to this email directly or view it on GitHub.
I have a 1.4.0 build containing all code updates since yesterday - http://www.controlplaneapp.com/download/1.4.0.
Oh, good! Thanks, Dustin.
I've already e-mailed John anyways. But, at least, he has a choice now! ;)
@dustinrue Alas, it won't include a few UI goodies from today. :)
1.4.0 has been rebuilt, it's available at the same URL
Cool! :) Many thx, Dustin. Truly appreciated.
Let's now wait for John's feedback...
Problem solved!
Crash report: https://gist.github.com/dmikis/5527689