Bug 343376 - KRDC crashes when connecting to Mac server
Summary: KRDC crashes when connecting to Mac server
Status: RESOLVED UPSTREAM
Alias: None
Product: krdc
Classification: Applications
Component: VNC (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR grave
Target Milestone: ---
Assignee: Urs Wolfer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-01-27 17:01 UTC by Louis Zuckerman
Modified: 2015-03-19 10:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Crash report (5.35 KB, text/plain)
2015-01-27 17:03 UTC, Louis Zuckerman
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Louis Zuckerman 2015-01-27 17:01:49 UTC
Every time I try to connect to my Mac (Yosemite 10.10.1) using VNC the application crashes.  I get asked for username and password then KRDC dies.  Same thing happens if I enter the valid credentials, invalid credentials, or cancel without providing any credentials.

Using KRDC 4.14.1.

Reproducible: Always

Steps to Reproduce:
Connect to mac VNC server
Enter any password or cancel without a password


Actual Results:  
KRDC crashes

Expected Results:  
KRDC should have showed the Mac desktop.

I've been using KRDC with Ubuntu Precise (12.04) for years without any problems.  Yesterday I switched to Ubuntu Utopic (14.10) and now KRDC crashes every time I try to connect to my Mac.
Comment 1 Louis Zuckerman 2015-01-27 17:03:05 UTC
Created attachment 90706 [details]
Crash report

Here is the stacktrace & crash report generated by KDE. The automatic bug submission did not work.
Comment 2 Louis Zuckerman 2015-01-27 17:05:03 UTC
I found the same bug reported in Debian, here https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=758635
Comment 3 Louis Zuckerman 2015-01-27 17:26:59 UTC
The bug is in libvncserver, here https://github.com/LibVNC/libvncserver/issues/45
The fix is here https://github.com/maxnet/libvncserver/commit/4674d4632b9ffc6779d9c9f79b8ebb53c12e29b2

I applied this patch to the libvncserver source package in Ubuntu Utopic, rebuild and installed the package, and now KRDC works!