[Bug 851834] Re: bzr crashed with error in _curl_perform(): (35, 'gnutls_handshake() failed: A TLS packet with unexpected length was received.')

Arnel A. Borja 851834 at bugs.launchpad.net
Tue Feb 7 15:10:12 UTC 2012


If you could provide some steps on how to do that, it would be helpful
for me, I don't know how to debug Python programs. This is the output in
my machine:


kyoushuu at kyoushuu-netbook-precise:~$ bzr launchpad-login kyoushuu
bzr: ERROR: pycurl.error: (35, 'gnutls_handshake() failed: A TLS packet with unexpected length was received.')

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 919, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1124, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 672, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 694, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/__init__.py", line 284, in run
    account.check_lp_login(name)
  File "/usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad/account.py", line 108, in check_lp_login
    data = _transport.get_bytes('~%s/+sshkeys' % username)
  File "/usr/lib/python2.7/dist-packages/bzrlib/transport/__init__.py", line 623, in get_bytes
    f = self.get(relpath)
  File "/usr/lib/python2.7/dist-packages/bzrlib/transport/http/__init__.py", line 121, in get
    code, response_file = self._get(relpath, None)
  File "/usr/lib/python2.7/dist-packages/bzrlib/transport/http/_pycurl.py", line 173, in _get
    return self._get_full(relpath)
  File "/usr/lib/python2.7/dist-packages/bzrlib/transport/http/_pycurl.py", line 208, in _get_full
    self._curl_perform(curl, header)
  File "/usr/lib/python2.7/dist-packages/bzrlib/transport/http/_pycurl.py", line 392, in _curl_perform
    curl.perform()
error: (35, 'gnutls_handshake() failed: A TLS packet with unexpected length was received.')

You can report this problem to Bazaar's developers by running
    apport-bug /var/crash/bzr.1000.2012-02-07T15:02.crash
if a bug-reporting window does not automatically appear.


>From what I found searching about this, it's a bug in GnuTLS.

I included the said file as an attachment.

** Attachment added: "bzr.1000.2012-02-07T15:02.crash"
   https://bugs.launchpad.net/ubuntu/+source/bzr/+bug/851834/+attachment/2721829/+files/bzr.1000.2012-02-07T15%3A02.crash

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

Title:
  bzr crashed with error in _curl_perform(): (35, 'gnutls_handshake()
  failed: A TLS packet with unexpected length was received.')

Status in Bazaar Version Control System:
  New
Status in “bzr” package in Ubuntu:
  Confirmed

Bug description:
  bzr crashed when trying to add a login.

  bzr launchpad-login <id_here>

  ProblemType: Crash
  DistroRelease: Ubuntu 11.04
  Package: bzr 2.3.4-0ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-11.48-generic 2.6.38.8
  Uname: Linux 2.6.38-11-generic i686
  Architecture: i386
  BzrDebugFlags: set()
  BzrPlugins:
   bash_completion      /usr/lib/python2.7/dist-packages/bzrlib/plugins/bash_completion [2.3.4]
     bzrtools             /usr/lib/python2.7/dist-packages/bzrlib/plugins/bzrtools [2.3.1]
     launchpad            /usr/lib/python2.7/dist-packages/bzrlib/plugins/launchpad [2.3.4]
     netrc_credential_store /usr/lib/python2.7/dist-packages/bzrlib/plugins/netrc_credential_store [2.3.4]
     news_merge           /usr/lib/python2.7/dist-packages/bzrlib/plugins/news_merge [2.3.4]
  BzrVersion: 2.3.4
  CommandLine: ['/usr/bin/bzr', 'launchpad-login', 'eternaltyro']
  CrashDb: bzr
  Date: Fri Sep 16 17:33:50 2011
  ExecutablePath: /usr/bin/bzr
  FileSystemEncoding: UTF-8
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
  InterpreterPath: /usr/bin/python2.7
  Locale: en_IN.UTF-8
  PackageArchitecture: all
  Platform: Linux-2.6.38-11-generic-i686-with-Ubuntu-11.04-natty
  ProcCmdline: /usr/bin/python /usr/bin/bzr launchpad-login eternaltyro
  ProcEnviron:
   SHELL=/bin/bash
   PATH=(custom, user)
   LANG=en_IN.UTF-8
   LANGUAGE=en_IN:en
  PythonVersion: 2.7.1
  SourcePackage: bzr
  Title: bzr crashed with error in _curl_perform(): (35, 'gnutls_handshake() failed: A TLS packet with unexpected length was received.')
  UpgradeStatus: Upgraded to natty on 2011-07-14 (64 days ago)
  UserEncoding: UTF-8
  UserGroups: adm admin cdrom dialout libvirtd lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/851834/+subscriptions




More information about the foundations-bugs mailing list