peteburtis/ProxSentry

Segmentation fault on startup

stisti opened this issue · 4 comments

ProxSentry-1_0-rev-3.app.zip crashes on startup. In system log:

11.9.2012 16.09.23,324 ReportCrash: Failed to create CSSymbolicatorRef for launchd[74869]
11.9.2012 16.09.23,437 ReportCrash: Failed to create dSYM-less CSSymbolicatorRef for launchd[74869]
11.9.2012 16.09.23,606 com.apple.launchd.peruser.501: ([0x0-0x3b83b8].com.peterburtis.sw.ProxSentry[74869]) Job appears to have crashed: Segmentation fault: 11
11.9.2012 16.09.24,523 ReportCrash: Saved crash report for launchd[74869] version ??? (???) to /Users/tikksa/Library/Logs/DiagnosticReports/launchd_2012-09-11-160924_myprecious.crash

The actual crash report:

Process: launchd [74869]
Path: /Applications/ProxSentry.app/Contents/MacOS/ProxSentry
Identifier: com.peterburtis.sw.ProxSentry
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd [336]

Date/Time: 2012-09-11 16:09:23.143 +0300
OS Version: Mac OS X 10.7.4 (11E53)
Report Version: 9

Crashed Thread: Unknown

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_PROTECTION_FAILURE at 0x00007fff5fc01028

Backtrace not available

Unknown thread crashed with X86 Thread State (64-bit):
rax: 0x0000000000000055 rbx: 0x0000000000000000 rcx: 0x0000000000000000 rdx: 0x0000000000000000
rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x0000000000000000 rsp: 0x0000000000000000
r8: 0x0000000000000000 r9: 0x0000000000000000 r10: 0x0000000000000000 r11: 0x0000000000000000
r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000000000000 r15: 0x0000000000000000
rip: 0x00007fff5fc01028 rfl: 0x0000000000010203 cr2: 0x00007fff5fc01028
Logical CPU: 1

Binary images description not available

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: 22768
thread_create: 1
thread_set_state: 0

This is probably not terribly useful. I'll try to find more information or better trace about it.

Hi, thanks for the issue.

I'm thinking that I just screwed up the build settings, causing a crash on system 10.7 ...

I don't immediately have access to a 10.7. If you (or anyone else) could try this build--

https://dl.dropbox.com/u/62306744/ProxSentry-test-version.zip

--on 10.7 and let me know if it works now... If it does I'll push a patch and upload a new binary.

I finally got some time on a 10.7 computer. I have a good line on fixing this. It's a combination of bad build settings and using -(CGColor *)[NSColor CGColor], which I didn't realize was new in Mountain Lion.

I'll have a new push and a binary soon.

I just uploaded 1.0 revision 4 to the downloads section. It should run on 10.7. OP, please let me know if it this doesn't solve your problem and I'll reopen. Thanks for letting me know.

Confirmed. Works on 10.7.