stweil / OSXvnc

VNC Server for macOS
GNU General Public License v3.0
203 stars 67 forks source link

Segmentation fault on macOS Monterey beta 6 #48

Closed anurag-lambdatest closed 2 years ago

anurag-lambdatest commented 3 years ago

When trying to connect to Vine Server on macos Monterey , vine server gives segmentation fault .

2021-09-08 12:09:55.020 OSXvnc-server[23667:221485] Waiting for clients
2021-09-08 12:09:55.020 OSXvnc-server[23667:221501] Started listener thread on IPv6 port 5901
2021-09-08 12:09:55.021 OSXvnc-server[23667:221500] Using Private Event Source
2021-09-08 12:09:55.021 OSXvnc-server[23667:221500] Using Smart Event Tap -- HID for console user
2021-09-08 12:09:55.021 OSXvnc-server[23667:221500] Started listener thread on IPv4 port 5901
2021-09-08 12:10:02.527 OSXvnc-server[23667:221575] Protocol version 3.8
Segmentation fault: 11
stweil commented 3 years ago

Can you get a debug stack trace where exactly it crashes?

alexsosim commented 3 years ago

Thread 4 Crashed: 0 libobjc.A.dylib 0x7ff80fc9dc4f objc_release + 31 1 CoreFoundation 0x7ff80fe9ca07 -[__NSSingleEntryDictionaryI dealloc] + 57 2 libobjc.A.dylib 0x7ff80fca219f AutoreleasePoolPage::releaseUntil(objc_object**) + 167 3 libobjc.A.dylib 0x7ff80fc9f160 objc_autoreleasePoolPop + 161 4 CoreFoundation 0x7ff80fe8a5ec _CFAutoreleasePoolPop + 22 5 Foundation 0x7ff810ce7b0d -[NSAutoreleasePool release] + 133 6 vnc-server 0x1060c90b9 rfbSendClientList + 416 7 vnc-server 0x1060c99c5 rfbProcessClientProtocolVersion + 157 8 vnc-server 0x1060c4526 clientInput + 103 9 libsystem_pthread.dylib 0x7ff80fe015a8 _pthread_start + 125 10 libsystem_pthread.dylib 0x7ff80fdfd0c3 thread_start + 15

alexsosim commented 3 years ago

looks like fix is in https://github.com/stweil/OSXvnc/pull/36

stweil commented 3 years ago

Thanks for testing. I merged that pull request now, so the issue should be fixed.

anurag-lambdatest commented 3 years ago

@alexsosim thanks for your help, @stweil thanks for merging. Will you be creating a new tag too ?

stweil commented 3 years ago

Yes, I want to create a new tagged release, maybe next weekend.

stweil commented 3 years ago

Release 5.3.1 is now available. Please test it and close the issue if it is fixed.

anurag-lambdatest commented 2 years ago

Yes its fixed now. Thanks.