Bug 12333 - bzr branch lp:libdbusmenu-qt causes a crash
Summary: bzr branch lp:libdbusmenu-qt causes a crash
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 3
Hardware: x86_64 Linux
Priority: Normal critical
Target Milestone: ---
Assignee: QA Team
QA Contact:
URL:
Whiteboard: has_procedure advisory MGA3-32-OK mga...
Keywords: validated_update
Depends on:
Blocks:
 
Reported: 2014-01-17 07:55 CET by Ryan McCoskrie
Modified: 2014-01-24 22:14 CET (History)
5 users (show)

See Also:
Source RPM: bzr-2.5.1-3.2.mga3.src.rpm
CVE:
Status comment:


Attachments

Description Ryan McCoskrie 2014-01-17 07:55:57 CET
When attempting to branch/clone/get lp:libdbusmenu-qt (and I would assume other repositories) python trhows the following exception:

bzr: ERROR: exceptions.NameError: global name '_dnsname_match' is not defined

Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 920, in exception_to_return_code
    return the_callable(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 1131, in run_bzr
    ret = run(*run_argv)
  File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 673, in run_argv_aliases
    return self.run(**all_cmd_args)
  File "/usr/lib64/python2.7/site-packages/bzrlib/commands.py", line 695, in run
    return self._operation.run_simple(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/bzrlib/cleanup.py", line 136, in run_simple
    self.cleanups, self.func, *args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/bzrlib/cleanup.py", line 166, in _do_with_cleanups
    result = func(*args, **kwargs)
  File "/usr/lib64/python2.7/site-packages/bzrlib/builtins.py", line 1438, in run
    from_location)
  File "/usr/lib64/python2.7/site-packages/bzrlib/controldir.py", line 778, in open_tree_or_branch
    controldir = klass.open(location)
  File "/usr/lib64/python2.7/site-packages/bzrlib/controldir.py", line 685, in open
    t = _mod_transport.get_transport(base, possible_transports)
  File "/usr/lib64/python2.7/site-packages/bzrlib/transport/__init__.py", line 1679, in get_transport
    return get_transport_from_url(location_to_url(base), possible_transports)
  File "/usr/lib64/python2.7/site-packages/bzrlib/transport/__init__.py", line 1601, in location_to_url
    location = directories.dereference(location)
  File "/usr/lib64/python2.7/site-packages/bzrlib/directory_service.py", line 65, in dereference
    return service().look_up(name, url)
  File "/usr/lib64/python2.7/site-packages/bzrlib/plugins/launchpad/lp_directory.py", line 68, in look_up
    return self._resolve(url)
  File "/usr/lib64/python2.7/site-packages/bzrlib/plugins/launchpad/lp_directory.py", line 173, in _resolve
    result = self._resolve_via_xmlrpc(path, url, _request_factory)
  File "/usr/lib64/python2.7/site-packages/bzrlib/plugins/launchpad/lp_directory.py", line 100, in _resolve_via_xmlrpc
    result = resolve.submit(service)
  File "/usr/lib64/python2.7/site-packages/bzrlib/plugins/launchpad/lp_registration.py", line 271, in submit
    self._authenticated)
  File "/usr/lib64/python2.7/site-packages/bzrlib/plugins/launchpad/lp_registration.py", line 194, in send_request
    result = method(*method_params)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/lib64/python2.7/xmlrpclib.py", line 1578, in __request
    verbose=self.__verbose
  File "/usr/lib64/python2.7/site-packages/bzrlib/plugins/launchpad/lp_registration.py", line 72, in request
    response = self._opener.open(request)
  File "/usr/lib64/python2.7/urllib2.py", line 404, in open
    response = self._open(req, data)
  File "/usr/lib64/python2.7/urllib2.py", line 422, in _open
    '_open', req)
  File "/usr/lib64/python2.7/urllib2.py", line 382, in _call_chain
    result = func(*args)
  File "/usr/lib64/python2.7/site-packages/bzrlib/transport/http/_urllib2_wrappers.py", line 966, in https_open
    return self.do_open(HTTPSConnection, request)
  File "/usr/lib64/python2.7/site-packages/bzrlib/transport/http/_urllib2_wrappers.py", line 850, in do_open
    headers)
  File "/usr/lib64/python2.7/httplib.py", line 1007, in _send_request
    self.endheaders(body)
  File "/usr/lib64/python2.7/httplib.py", line 969, in endheaders
    self._send_output(message_body)
  File "/usr/lib64/python2.7/httplib.py", line 829, in _send_output
    self.send(msg)
  File "/usr/lib64/python2.7/httplib.py", line 791, in send
    self.connect()
  File "/usr/lib64/python2.7/site-packages/bzrlib/transport/http/_urllib2_wrappers.py", line 512, in connect
    self.connect_to_origin()
  File "/usr/lib64/python2.7/site-packages/bzrlib/transport/http/_urllib2_wrappers.py", line 548, in connect_to_origin
    match_hostname(peer_cert, host)
  File "/usr/lib64/python2.7/site-packages/bzrlib/transport/http/_urllib2_wrappers.py", line 469, in match_hostname
    if _dnsname_match(value, hostname):
NameError: global name '_dnsname_match' is not defined

bzr 2.5.1 on python 2.7.5 (Linux-3.10.24-desktop-2.mga3-x86_64-with-
    mandrake-3-Official)
arguments: ['/usr/bin/bzr', 'branch', 'lp:libdbusmenu-qt']
plugins: bash_completion[2.5.1], bzrtools[2.5.0], changelog_merge[2.5.1],
    launchpad[2.5.1], netrc_credential_store[2.5.1], news_merge[2.5.1],
    po_merge[2.5.1], weave_fmt[2.5.1]
encoding: 'utf-8', fsenc: 'UTF-8', lang: 'en_NZ.UTF-8'

*** Bazaar has encountered an internal error.  This probably indicates a
    bug in Bazaar.  You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

Reproducible: 

Steps to Reproduce:
David Walser 2014-01-17 17:21:21 CET

CC: (none) => cazzaniga.sandro, makowski.mageia

Comment 1 Philippe Makowski 2014-01-17 22:20:50 CET
Mga4 have to be fixed too

Keywords: (none) => Triaged
Status: NEW => ASSIGNED
Assignee: bugsquad => makowski.mageia

Comment 2 Philippe Makowski 2014-01-18 19:08:44 CET
Suggested advisory:
========================

Updated bzr package fixe branching, cloning from remote repository.

========================

Updated packages in core/updates_testing:
========================
bzr-2.5.1-3.3.mga3


Source RPMs:
bzr-2.5.1-3.3.mga3.src


Freeze push asked for bzr-2.6.0-5.mga4.src.rpm


For information the bug was introduced by a bad patch to fix cve2013-2099.
Now the upstream patch is applied.

Keywords: Triaged => (none)
Status: ASSIGNED => NEW
Assignee: makowski.mageia => qa-bugs

Comment 3 Samuel Verschelde 2014-01-23 12:04:18 CET
Testing complete MG3 32.

Before:

$ bzr branch lp:libdbusmenu-qt

=> fails as in comment #0

After :

$ bzr branch lp:libdbusmenu-qt
You have not informed bzr of your Launchpad ID, and you must do this to
write to Launchpad or access private data.  See "bzr help launchpad-login".
Branched 256 revisions. 

Then tested a few commands:

$ cd libdbusmenu-qt
$ bzr log
$ bzr help init
$ touch toto
$ bzr add toto
$ bzr status

CC: (none) => stormi
Whiteboard: (none) => has_procedure MGA3-32-OK

Comment 4 claire robinson 2014-01-23 12:15:33 CET
Testing complete mga3 64

Validating. Advisory uploaded.

Could sysadmin please push from 3 core/updates_testing to updates

Thanks

Keywords: (none) => validated_update
Whiteboard: has_procedure MGA3-32-OK => has_procedure advisory MGA3-32-OK mga3-64-ok
CC: (none) => sysadmin-bugs

Comment 5 Thomas Backlund 2014-01-24 22:14:04 CET
Update pushed:
http://advisories.mageia.org/MGAA-2014-0009.html

Status: NEW => RESOLVED
CC: (none) => tmb
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.