Public bug reported:

It appears that there has been a long standing bug that was causing
Blink to segfault and a patch was made.

It now seems that that patch has been removed on Precise.

I have just installed a fresh Precise x64, updated everything and
installed Blink - bang segfault

So I downloaded the source and debugged it to the same conclusion as the
previous people - downgrading libgcrypt11 worked but then I went a
little further.

I changed

gcry_control(GCRYCTL_SET_THREAD_CBS, c_void_p(gcrypt_thread_callbacks_ptr))
    if system == 'cygwin':

to:

gcry_control(GCRYCTL_SET_THREAD_CBS, c_void_p(gcrypt_thread_callbacks_ptr))
    libgnutls.gcry_check_version('1.2.4') # GNUTLS_MIN_LIBGCRYPT_VERSION
    if system == 'cygwin':

and Blink works again - apparently that line has been removed in 1.2.4

Simply adding the line:

libgnutls.gcry_check_version('1.2.4')

to the file

/usr/share/pyshared/gnutls/library/__init__.py

made it all work again.

Was that removed recently?

** Affects: python-gnutls (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1258744

Title:
  Blink segfault when initializing gcry_control

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-gnutls/+bug/1258744/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to