Bug 1045518 - gdbus segfaults with invalid --dest
Summary: gdbus segfaults with invalid --dest
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: glib2
Version: 20
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-20 16:00 UTC by Zbigniew Jędrzejewski-Szmek
Modified: 2015-05-29 15:48 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-05-29 15:48:39 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Zbigniew Jędrzejewski-Szmek 2013-12-20 16:00:08 UTC
Description of problem:
$ gdbus introspect --system --dest /org/freedesktop/UPower --object-path /org/freedesktop/UPower/devices/mouse_0003o046DoC52Bx0009
(gdbus introspect:26604): GLib-GIO-CRITICAL **: g_dbus_connection_call_sync_internal: assertion 'bus_name == NULL || g_dbus_is_name (bus_name)' failed
[1]    26604 segmentation fault (core dumped)  gdbus introspect --system --dest /org/freedesktop/UPower --object-path 


Version-Release number of selected component (if applicable):
glib2-2.38.2-2.fc20.x86_64

How reproducible:
100%

(gdb) bt full
#0  introspect_do (c=c@entry=0x61e030, 
    object_path=0x618090 "/org/freedesktop/UPower/devices/mouse_0003o046DoC52Bx0009", indent=indent@entry=0)
    at gdbus-tool.c:1456
        error = 0x0
        result = 0x0
        node = 0x0
        ret = 0
        xml_data = 0x0
#1  0x0000000000403158 in handle_introspect (completion_cur=0x0, completion_prev=0x0, request_completion=0, 
    argv=0x7fffffffdc30, argc=0x7fffffffdc3c) at gdbus-tool.c:1638
        ret = 0
        o = 0x616030
        s = <optimized out>
        c = 0x61e030
        complete_names = <optimized out>
        complete_paths = <optimized out>
        error = 0x0
#2  main (argc=1, argv=0x7fffffffde08) at gdbus-tool.c:2007
        ret = 1
        command = <optimized out>
        request_completion = 0
        completion_cur = 0x0
        completion_prev = 0x0

Comment 1 Matthias Clasen 2015-04-09 02:09:47 UTC
Upstream bug with fix: https://bugzilla.gnome.org/show_bug.cgi?id=747541

Comment 2 Fedora End Of Life 2015-05-29 10:04:35 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.


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