Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash on a hackintosh #16

Closed
bangnoise opened this issue Oct 24, 2014 · 7 comments
Closed

crash on a hackintosh #16

bangnoise opened this issue Oct 24, 2014 · 7 comments
Labels

Comments

@bangnoise
Copy link
Member

Syphon Recorder (13) using framework head is crashing on a hackintosh (forum post). Hopefully we can at least avoid the crash, even if not get it working...

Process:         Syphon Recorder [704]
Path:            /Applications/Syphon Recorder.app/Contents/MacOS/Syphon Recorder
Identifier:      info.v002.syphon.Syphon-Recorder
Version:         13 (13)
Code Type:       X86 (Native)
Parent Process:  launchd [172]
Responsible:     Syphon Recorder [704]
User ID:         501

Date/Time:       2014-09-26 10:09:05.838 +0200
OS Version:      Mac OS X 10.9.4 (13E28)
Report Version:  11
Anonymous UUID:  64AB6CC7-FFFE-705C-77BB-D2281A3A634D


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

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000038

VM Regions Near 0x38:
--> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- SM=NUL  /Applications/Syphon Recorder.app/Contents/MacOS/Syphon Recorder
    __TEXT                 0000000000001000-0000000000024000 [  140K] r-x/rwx SM=COW  /Applications/Syphon Recorder.app/Contents/MacOS/Syphon Recorder

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   com.apple.Foundation            0x92d3af8f probeGC + 221
1   com.apple.Foundation            0x92d4186a -[NSConcreteMapTable removeObjectForKey:] + 57
2   com.apple.Foundation            0x92d9d2bc NSMapRemove + 71
3   info.v002.Syphon                0x000368be -[SyphonClientConnectionManager newFrameForContext:] + 50
4   info.v002.Syphon                0x00035589 -[SyphonClient newFrameImageForContext:] + 81
5   info.v002.syphon.Syphon-Recorder    0x0000682a 0x1000 + 22570
@bangnoise bangnoise added the bug label Oct 24, 2014
@vade
Copy link
Member

vade commented Oct 30, 2014

Do we know what GPU is in the hackintosh, and what driver they are using? I know that can be a point of contention to get those devices working.

Sorry I missed this till now - was traveling :)

@bangnoise
Copy link
Member Author

Model: MacPro3,1, BootROM MultiBeast.tonymacx86.com, 4 processors, Intel Core i7, 3.69 GHz, 16 GB, SMC 1.30f3
Graphics: NVIDIA GeForce GTX 660, NVIDIA GeForce GTX 660, PCIe, 2048 MB

Loaded driver is /System/Library/Extensions/GeForceGLDriver.bundle/

@vade
Copy link
Member

vade commented Nov 5, 2014

I am noticing that _lastFrameID is uint32_t in SyphonClient compared to NSUInteger in SyphonClientConnectionManager - which could be an issue if the app is 64 bit as NSUinteger will be unsigned long / 64 bits, but uint32 will be clamped at 32 bit values.

So if theres an overflow, there might be an issue with running for long times?

4,294,967,295 frames / 60hz / 60 seconds / 60 minutes / 24 hours / 365 = 2.2 years of frame run time.

Probably not, unless for some reason frames are not running at 60z and someone is running with vertical sync off, which means framerate could be in the 500's on those cards...

4,294,967,295 / 500 /60/60/24 = 99 days.

So. Yea. Thats not likely it. Ha.

@bangnoise
Copy link
Member Author

Both are NSUInteger

@vade
Copy link
Member

vade commented Nov 6, 2014

Shit. I had an out of date repo. Sorry about that.

@bangnoise
Copy link
Member Author

Further detail: this is ocurring after a high number of SyphonClients have been created and disposed of.

@bangnoise
Copy link
Member Author

Closing as changes to SyphonClient removed the crashing NSMapTable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants