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

Bug #881981 reported by Abhishek kumar singh
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
bzr (Ubuntu)
New
Undecided
Unassigned

Bug Description

while running command bzr branch https://code.launchpad.net/~ubuntu-branches/ubuntu/oneiric/autofs5/oneiric for getting source code of bug #830377 bzr shows error as
abhishek@abhishek-VirtualBox:~/autofs5$ bzr branch https://code.launchpad.net/~ubuntu-branches/ubuntu/oneiric/autofs5/oneiric
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 946, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 1150, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 699, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib/python2.7/dist-packages/bzrlib/commands.py", line 721, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 135, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/cleanup.py", line 165, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/builtins.py", line 1263, in run
    from_location)
  File "/usr/lib/python2.7/dist-packages/bzrlib/bzrdir.py", line 918, in open_tree_or_branch
    bzrdir = klass.open(location)
  File "/usr/lib/python2.7/dist-packages/bzrlib/bzrdir.py", line 828, in open
    return BzrDir.open_from_transport(t, _unsupported=_unsupported)
  File "/usr/lib/python2.7/dist-packages/bzrlib/bzrdir.py", line 858, in open_from_transport
    redirected)
  File "/usr/lib/python2.7/dist-packages/bzrlib/lazy_import.py", line 129, in __call__
    return obj(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/bzrlib/transport/__init__.py", line 1690, in do_catching_redirections
    return action(transport)
  File "/usr/lib/python2.7/dist-packages/bzrlib/bzrdir.py", line 845, in find_format
    transport, _server_formats=_server_formats)
  File "/usr/lib/python2.7/dist-packages/bzrlib/controldir.py", line 749, in find_format
    return prober.probe_transport(transport)
  File "/usr/lib/python2.7/dist-packages/bzrlib/bzrdir.py", line 1383, in probe_transport
    server_version = medium.protocol_version()
  File "/usr/lib/python2.7/dist-packages/bzrlib/smart/medium.py", line 631, in protocol_version
    client_protocol.query_version()
  File "/usr/lib/python2.7/dist-packages/bzrlib/smart/protocol.py", line 791, in query_version
    self.call('hello')
  File "/usr/lib/python2.7/dist-packages/bzrlib/smart/protocol.py", line 631, in call
    self._request.finished_writing()
  File "/usr/lib/python2.7/dist-packages/bzrlib/smart/medium.py", line 438, in finished_writing
    self._finished_writing()
  File "/usr/lib/python2.7/dist-packages/bzrlib/transport/http/__init__.py", line 651, in _finished_writing
    data = self._medium.send_http_smart_request(self._buffer)
  File "/usr/lib/python2.7/dist-packages/bzrlib/transport/http/__init__.py", line 615, in send_http_smart_request
    code, body_filelike = t._post(bytes)
  File "/usr/lib/python2.7/dist-packages/bzrlib/transport/http/_pycurl.py", line 273, in _post
    'Content-Type: application/octet-stream'])
  File "/usr/lib/python2.7/dist-packages/bzrlib/transport/http/_pycurl.py", line 390, 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.2011-10-26T17:32.crash
if a bug-reporting window does not automatically appear.

ProblemType: Crash
DistroRelease: Ubuntu 11.10
Package: bzr 2.4.1-1ubuntu1
ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
Uname: Linux 3.0.0-12-generic i686
ApportVersion: 1.23-0ubuntu3
Architecture: i386
BzrDebugFlags: set()
BzrVersion: 2.4.1
CommandLine:
 ['/usr/bin/bzr',
  'branch',
  'https://code.launchpad.net/~ubuntu-branches/ubuntu/oneiric/autofs5/oneiric']
CrashDb: bzr
Date: Wed Oct 26 23:02:31 2011
ExecutablePath: /usr/bin/bzr
FileSystemEncoding: UTF-8
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Alpha i386 (20110828)
InterpreterPath: /usr/bin/python2.7
Locale: en_IN
PackageArchitecture: all
Platform: Linux-3.0.0-12-generic-i686-with-Ubuntu-11.10-oneiric
ProcCmdline: /usr/bin/python /usr/bin/bzr branch https://code.launchpad.net/~ubuntu-branches/ubuntu/oneiric/autofs5/oneiric
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_IN
 LANGUAGE=en_IN:en
PythonVersion: 2.7.2
SourcePackage: bzr
Title: bzr crashed with error in _curl_perform(): (35, 'gnutls_handshake() failed: A TLS packet with unexpected length was received.')
UpgradeStatus: No upgrade log present (probably fresh install)
UserEncoding: UTF-8
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

Revision history for this message
Abhishek kumar singh (abhishekkumarsingh-cse) wrote :
Revision history for this message
Apport retracing service (apport) wrote : This bug is a duplicate

Thank you for taking the time to report this crash and helping to make Ubuntu better. This particular crash has already been reported and is a duplicate of bug #736216, so is being marked as such. Please look at the other bug report to see if there is any missing information that you can provide, or to see if there is a workaround for the bug. Additionally, any further discussion regarding the bug should occur in the other report. Please continue to report any other bugs you may find.

tags: removed: need-duplicate-check
visibility: private → public
visibility: private → public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.