Vine Server quits upon connection from client

I just installed Vine Server 3.1 on my MacbookPro running 10.5.7.

Whenever I connect from a client (Mocha VNC lite on iPhone, or UltraVNC on WinXP), the VNC password seems to be accepted, the viewer window clears, and then the server disconnects.

When I check the MacbookPro, the VNC server has crashed. I checked the logs and the crash report and nothing jumps out at me that I could diagnose. The connection seems to being made, but it crashes trying to send the first screen (refresh).

I did some experimenting, and the server only crashes for some RFB encodings that UltraVNC viewer supports – like ZRLE, ZYWRLE, … Other encodings work fine – like Zlib+hex, Zlib+XOR, Hextile, RRE, CoRRE, …

Below are some log snippets and the crash report when using the “auto” setting of UltraVNC viewer, and I believe it’s trying ZRLE.

=== (logs)

6/26/09 10:29:57 PM OSXvnc-server[11519] Arguments: -rfbport 0 -desktop () -donotloadproxy -rfbauth /Users//.vinevncauth -restartonuserswitch N -UnicodeKeyboard 0 -keyboardLoading N -pressModsForKeys N -EventTap 3 -EventSource 2 -swapButtons -rendezvous Y
6/26/09 10:29:57 PM OSXvnc-server[11519] Main Bundle: /Applications/Vine Server.app/Contents/Resources
6/26/09 10:29:57 PM OSXvnc-server[11519] Loading Bundle /Applications/Vine Server.app/Contents/Resources/TigerBundle.bundle
6/26/09 10:29:57 PM OSXvnc-server[11519] Loading Bundle /Applications/Vine Server.app/Contents/Resources/JaguarBundle.bundle
6/26/09 10:29:57 PM OSXvnc-server[11519] Running in Little Endian
6/26/09 10:29:57 PM OSXvnc-server[11519] Using Private Event Source,
6/26/09 10:29:57 PM OSXvnc-server[11519] Waiting for clients
6/26/09 10:29:57 PM OSXvnc-server[11519] Using Smart Event Tap – HID for console user
6/26/09 10:29:57 PM OSXvnc-server[11519] Registering Bonjour Service(_rfb.tcp.) - ()
6/26/09 10:29:57 PM OSXvnc-server[11519] IPv6: Started Listener Thread on port 5900
6/26/09 10:29:57 PM OSXvnc-server[11519] Started Listener Thread on port 5900
6/26/09 10:30:01 PM OSXvnc-server[11519] Waiting for clients
6/26/09 10:30:31 PM OSXvnc-server[11519] Protocol version 3.4
6/26/09 10:30:31 PM OSXvnc-server[11519] Ignoring minor version mismatch
6/26/09 10:30:36 PM OSXvnc-server[11519] Pixel format for client :
6/26/09 10:30:36 PM OSXvnc-server[11519] 8 bpp, depth 8
6/26/09 10:30:36 PM OSXvnc-server[11519] true colour: max r 7 g 7 b 3, shift r 0 g 3 b 6
6/26/09 10:30:36 PM OSXvnc-server[11519] ENCODING: ZRLE for client
6/26/09 10:30:36 PM OSXvnc-server[11519] Unknown Encoding Type(ignored): 17 (11)
6/26/09 10:30:36 PM OSXvnc-server[11519] ULTRA Encoding not supported(ignored): 9 (9)
6/26/09 10:30:36 PM OSXvnc-server[11519] Using compression level 6 for client
6/26/09 10:30:36 PM OSXvnc-server[11519] Enabling Cursor Shape protocol extension for client
6/26/09 10:30:36 PM OSXvnc-server[11519] Enabling Cursor Position protocol extension for client
6/26/09 10:30:36 PM OSXvnc-server[11519] Using jpeg image quality level 6 for client
6/26/09 10:30:36 PM OSXvnc-server[11519] Unknown Encoding Type(ignored): 4294901766 (FFFF0006)
6/26/09 10:30:36 PM OSXvnc-server[11519] Enabling LastRect protocol extension for client
6/26/09 10:30:36 PM OSXvnc-server[11519] Enabling Dynamic Desktop Sizing for client
6/26/09 10:30:36 PM OSXvnc-server[11519] Unknown Encoding Type(ignored): 4294901761 (FFFF0001)
6/26/09 10:30:36 PM OSXvnc-server[11519] Unknown Encoding Type(ignored): 4294934528 (FFFF8000)
6/26/09 10:30:36 PM OSXvnc-server[11519] Unknown Encoding Type(ignored): 4294934529 (FFFF8001)
6/26/09 10:30:36 PM OSXvnc-server[11519] Unknown Encoding Type(ignored): 4294934530 (FFFF8002)
6/26/09 10:30:36 PM OSXvnc-server[11519] Client Connected - Registering Screen Update Notification
6/26/09 10:30:36 PM OSXvnc-server[11519] Client Connected - Registering Screen Update Notification
6/26/09 10:30:38 PM ReportCrash[11524] Formulating crash report for process OSXvnc-server[11519]
6/26/09 10:30:38 PM ReportCrash[11524] Saved crashreport to /Users//Library/Logs/CrashReporter/OSXvnc-server_2009-06-26-223036
.crash using uid: 501 gid: 20, euid: 501 egid: 20

We believe we have found this issue…please follow this thread:
http://www.testplant.com/phpBB2/viewtopic.php?p=5980#5980

[quote=“JonathanOSX”]We believe we have found this issue…please follow this thread:
http://www.testplant.com/phpBB2/viewtopic.php?p=5980#5980[/quote]
The 3.11 beta release seems to fix this issue for me as well. (details found in http://www.testplant.com/phpBB2/viewtopic.php?p=5980)

Thanks!