-
-
Notifications
You must be signed in to change notification settings - Fork 490
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
libgcrypt crashing when connecting to Mac hosts [Trace: basic_initialization, _gcry_rngfips_initialize] #45
Comments
Tbh, no idea what's going on there. I will provide a minimum Program that triggers the issue and that will hopefully help us to track down the problem. |
Ok, can you please try with the provided sample clients in client_examples? I suppose it's got to do with multithreading... |
Also, I guess that this might be a bug within krdc as it's not calling gcry_control() to setup gcrypt threading. A note in the libvncclient README would be nice though... |
I figured that I could use So, in fact, |
You can try https://github.com/bk138/multivnc which has the GetCredential callback implemented. |
Also, http://remmina.sourceforge.net/ 1.0 should also work by looking at its code... |
FYI: I got the same crash when trying to connect using multivnc:
|
What about remmina? |
Can't libvncclient just assume pthreads are used on unix platforms, and set it up for that? |
Might be an option as per https://www.gnupg.org/documentation/manuals/gcrypt/Multi_002dThreading.html, yep. |
Functions mentioned there are dummies in 1.6.x gcrypt.h
So problem must be something different. |
Should be fixed by #51 |
Confirmed. Works for me. |
Hi krf! I have the same issue connecting to Mac mini from Ubuntu 15.04. Remmina just closes without any error message. gvncviewer dies with vncviewer (xtightvncviewer) works. Could you please help how to work around? |
…sion 0.9.11 0.9.11 - Overall changes: * LibVNCServer/LibVNCClient development now uses continous intregration, provided by TravisCI. - LibVNCClient: * Now initializes libgcrypt before use if the application did not do it. Fixes a crash when connection to Mac hosts (LibVNC/libvncserver#45). * Various fixes that result in more stable handling of malicious or broken servers. * Removed broken and unmaintained H264 decoding. * Some documentation fixes. * Added hooks to WriteToTLS() for optional protection by mutex.
Heya,
this has been already discussed at the beginning of 2014:
http://sourceforge.net/p/libvncserver/mailman/message/32165820/
This is exactly the same issue, but I'm resending this in hope to get this
fixed. KRDC is unusable for me now.
I'm also getting a crash when using KRDC to connect to a Mac host (running OSX
10.7, if that helps). Backtrace is attached, see [1]
Error message is:
libgcrypt version is: 1.6.1-2ubuntu1
I also tried compiling libvncserver with SSL support and without gcrypt
support but compilation fails in this mode:
Note: I have no real clue about VNC/libvncserver/libgcrypt altogether, but
this seems like a real issue people are having which has been around for more
than a year now. Let's get this fixed, happy to help.
Greets
[1] Backtrace:
The text was updated successfully, but these errors were encountered: