Bug 669318

Summary: gnome-panel/ crash when clicking on a launcher in g_desktop_app_info_launch_uris
Product: [Fedora] Fedora Reporter: ritz <rkhadgar>
Component: gnome-panelAssignee: Ray Strode [halfline] <rstrode>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 19CC: rstrode, schnizitz
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-17 13:34:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description ritz 2011-01-13 10:45:17 UTC
Description of problem:
crash when trying to open any launcher from panel

Version-Release number of selected component (if applicable):
glib2-2.27.90-1.fc15.x86_64
gnome-panel-2.32.0.2-3.fc14.x86_64

How reproducible:
always 

Steps to Reproduce:
1. add a launcher to panel
2. Click on the launcher

  
Actual results:
crash

Expected results:
no crash

Additional info:
(gdb) bt full
#0  g_logv (log_domain=0x3e3f8a5e46 "GLib", log_level=<value optimized out>, format=0x3e3f8e8818 "g_variant_new: expected GVariant of type `%s' but received value has type `%s'", args1=0x7fffffffc940)
    at gmessages.c:563
        depth = 0
        domain = 0x0
        data = 0x0
        log_func = 0x3e3f84b590 <g_log_default_handler>
        domain_fatal_mask = <value optimized out>
        masquerade_fatal = <value optimized out>
        test_level = <value optimized out>
        was_fatal = 0
        was_recursion = 0
        i = 2
#1  0x0000003e3f84c4e3 in g_log (log_domain=<value optimized out>, log_level=<value optimized out>, format=<value optimized out>) at gmessages.c:577
        args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fffffffca20, reg_save_area = 0x7fffffffc960}}
#2  0x0000003e3f87d572 in g_variant_valist_new_nnp (str=0x7fffffffcbc8, ptr=0x0) at gvariant.c:3696
        __PRETTY_FUNCTION__ = "g_variant_valist_new_nnp"
#3  0x0000003e3f87e544 in g_variant_valist_new_leaf (app=0x7fffffffcbf0, str=0x7fffffffcbc8) at gvariant.c:3841
No locals.
#4  g_variant_valist_new (str=0x7fffffffcbc8, app=0x7fffffffcbf0) at gvariant.c:4023
        __PRETTY_FUNCTION__ = "g_variant_valist_new"
#5  0x0000003e3f87e67f in g_variant_valist_new (str=0x7fffffffcbc8, app=0x7fffffffcbf0) at gvariant.c:4075
        b = {x = {0, 7134160, 0, 0, 0, 18446744073709551615, 7134048, 8, 0, 2, 1033660112, 0, 0, 0, 0, 0}}
        __PRETTY_FUNCTION__ = "g_variant_valist_new"
#6  0x0000003e3f87ea07 in g_variant_new_va (format_string=0x3e408f0ffc "aysxasa{sv})", endptr=0x0, app=0x7fffffffcbf0) at gvariant.c:4230
        value = <value optimized out>
        __PRETTY_FUNCTION__ = "g_variant_new_va"
#7  0x0000003e3f87eb29 in g_variant_new (format_string=0x3e408f0ffa "(@aysxasa{sv})") at gvariant.c:4170
        value = <value optimized out>
        ap = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffccd0, reg_save_area = 0x7fffffffcc10}}
        __PRETTY_FUNCTION__ = "g_variant_new"
#8  0x0000003e408836ed in notify_desktop_launch (uris=0x0, sn_id=0x6cdaf0 "gnome-panel-6357-localhost.localdomain-liferea-0_TIME5698751", display=<value optimized out>, pid=6403, desktop_file=0x0, 
    session_bus=0x6dc800 [GDBusConnection]) at gdesktopappinfo.c:963
        msg = 0x7bb370 [GDBusMessage]
        uri_variant = {x = {0, 7490208, 7490209, 0, 0, 18446744073709551615, 9473936, 8, 0, 3, 1033660112, 0, 0, 0, 0, 0}}
        extras_variant = {x = {0, 7401456, 7401457, 7134400, 0, 18446744073709551615, 9473488, 8, 1, 3, 1033660112, 0, 0, 0, 0, 0}}
        iter = <value optimized out>
#9  _g_desktop_app_info_launch_uris_internal (appinfo=0x900900, uris=0x0, launch_context=0x900640 [GdkAppLaunchContext], spawn_flags=G_SPAWN_SEARCH_PATH, user_setup=0, user_setup_data=0x0, pid_callback=0, 
    pid_callback_data=0x0, error=0x7fffffffcf18) at gdesktopappinfo.c:1071
        pid = 6403
        launched_uris = 0x0
        iter = <value optimized out>
        info = 0x900900 [GDesktopAppInfo]
        session_bus = 0x6dc800 [GDBusConnection]
        completed = 0
        old_uris = <value optimized out>
        argv = 0x724a80
        argc = 1
        data = {user_setup = 0, user_setup_data = 0x0, display = 0x724a40 ":0.0", sn_id = 0x6cdaf0 "gnome-panel-6357-localhost.localdomain-liferea-0_TIME5698751", desktop_file = 0x0}
        __PRETTY_FUNCTION__ = "_g_desktop_app_info_launch_uris_internal"
#10 0x0000003e40883b9a in g_desktop_app_info_launch_uris (appinfo=<value optimized out>, uris=<value optimized out>, launch_context=<value optimized out>, error=<value optimized out>)
    at gdesktopappinfo.c:1107
No locals.
#11 0x00000000004767fa in panel_app_info_launch_uris (appinfo=0x900900, uris=0x0, screen=0x6cd0b0 [GdkScreenX11], timestamp=5698751, error=0x7fffffffcf98) at panel-launch.c:103
        context = 0x900640 [GdkAppLaunchContext]
        local_error = 0x0
        __PRETTY_FUNCTION__ = "panel_app_info_launch_uris"
#12 0x0000000000476aa3 in panel_launch_key_file (keyfile=<value optimized out>, uri_list=0x0, screen=0x6cd0b0 [GdkScreenX11], error=0x7fffffffcf98) at panel-launch.c:157
---Type <return> to continue, or q <return> to quit---
        appinfo = 0x900900 [GDesktopAppInfo]
        retval = <value optimized out>
        __PRETTY_FUNCTION__ = "panel_launch_key_file"
#13 0x0000000000443c5c in launcher_launch (launcher=0x89dea0, widget=<value optimized out>) at launcher.c:153
        error = 0x0
        type = 0x905b60 "Application"
        __PRETTY_FUNCTION__ = "launcher_launch"
#14 0x0000003e4000eace in g_closure_invoke (closure=0x72c680, return_value=0x0, n_param_values=1, param_values=0x8fe3a0, invocation_hint=0x7fffffffd120) at gclosure.c:767
        marshal = <value optimized out>
        marshal_data = <value optimized out>
        in_marshal = <value optimized out>
        __PRETTY_FUNCTION__ = "g_closure_invoke"
#15 0x0000003e4002101b in signal_emit_unlocked_R (node=<value optimized out>, detail=0, instance=0x726510, emission_return=0x0, instance_and_params=0x8fe3a0) at gsignal.c:3252
        tmp = <value optimized out>
        handler = 0x7c9e40
        accumulator = 0x0
        emission = {next = 0x7fffffffd540, instance = 0x726510, ihint = {signal_id = 114, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN, chain_type = 4}
        class_closure = 0x71df40
        handler_list = 0x7c9e40
        return_accu = 0x0
        accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, 
              v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
        signal_id = 114
        max_sequential_handler_number = 540
        return_value_altered = 1
#16 0x0000003e4002ab4a in g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, var_args=0x7fffffffd310) at gsignal.c:2983
        instance_and_params = 0x8fe3a0
        signal_return_type = 4
        param_values = 0x8fe3b8
        node = 0x71f710
        i = <value optimized out>
        n_params = 0
        __PRETTY_FUNCTION__ = "g_signal_emit_valist"
#17 0x0000003e4002acf3 in g_signal_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>) at gsignal.c:3040
        var_args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fffffffd3f0, reg_save_area = 0x7fffffffd330}}
#18 0x000000354b091405 in gtk_real_button_released (button=0x726510 [ButtonWidget]) at gtkbutton.c:1725
No locals.
#19 0x0000003e4000eace in g_closure_invoke (closure=0x71ddf0, return_value=0x0, n_param_values=1, param_values=0x7fffec001280, invocation_hint=0x7fffffffd550) at gclosure.c:767
        marshal = <value optimized out>
        marshal_data = <value optimized out>
        in_marshal = <value optimized out>
        __PRETTY_FUNCTION__ = "g_closure_invoke"
#20 0x0000003e400207a3 in signal_emit_unlocked_R (node=<value optimized out>, detail=0, instance=0x726510, emission_return=0x0, instance_and_params=0x7fffec001280) at gsignal.c:3182
        accumulator = 0x0
        emission = {next = 0x7fffffffd9c0, instance = 0x726510, ihint = {signal_id = 113, detail = 0, run_type = G_SIGNAL_RUN_FIRST}, state = EMISSION_RUN, chain_type = 8973440}
        class_closure = 0x71ddf0
        handler_list = <value optimized out>
        return_accu = 0x0
        accu = {g_type = 0, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, 
              v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
        signal_id = 113
        max_sequential_handler_number = 540
        return_value_altered = <value optimized out>
#21 0x0000003e4002ab4a in g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, var_args=0x7fffffffd740) at gsignal.c:2983
        instance_and_params = 0x7fffec001280
        signal_return_type = 4
        param_values = 0x7fffec001298
---Type <return> to continue, or q <return> to quit---
        node = 0x71df70
        i = <value optimized out>
        n_params = 0
        __PRETTY_FUNCTION__ = "g_signal_emit_valist"
#22 0x0000003e4002acf3 in g_signal_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>) at gsignal.c:3040
        var_args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fffffffd820, reg_save_area = 0x7fffffffd760}}
#23 0x000000354b08fea7 in gtk_button_button_release (widget=<value optimized out>, event=<value optimized out>) at gtkbutton.c:1617
        button = <value optimized out>
#24 0x000000354b150223 in _gtk_marshal_BOOLEAN__BOXED (closure=0x6fe770, return_value=0x7fffffffda10, n_param_values=<value optimized out>, param_values=0x7d9b90, invocation_hint=<value optimized out>, 
    marshal_data=<value optimized out>) at gtkmarshalers.c:86
        callback = 0x354b08fe70 <gtk_button_button_release>
        cc = 0x6fe770
        data1 = 0x726510
        data2 = 0x6e0aa0
        v_return = <value optimized out>
        __PRETTY_FUNCTION__ = "_gtk_marshal_BOOLEAN__BOXED"
#25 0x0000003e4000eace in g_closure_invoke (closure=0x6fe770, return_value=0x7fffffffda10, n_param_values=2, param_values=0x7d9b90, invocation_hint=0x7fffffffd9d0) at gclosure.c:767
        marshal = <value optimized out>
        marshal_data = <value optimized out>
        in_marshal = <value optimized out>
        __PRETTY_FUNCTION__ = "g_closure_invoke"
#26 0x0000003e40020e10 in signal_emit_unlocked_R (node=<value optimized out>, detail=0, instance=0x726510, emission_return=0x7fffffffdb60, instance_and_params=0x7d9b90) at gsignal.c:3290
        accumulator = 0x6fe840
        emission = {next = 0x0, instance = 0x726510, ihint = {signal_id = 46, detail = 0, run_type = G_SIGNAL_RUN_LAST}, state = EMISSION_RUN, chain_type = 8973440}
        class_closure = 0x6fe770
        handler_list = 0x7d1950
        return_accu = 0x7fffffffda10
        accu = {g_type = 20, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, v_ulong = 
    0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
        signal_id = 46
        max_sequential_handler_number = 540
        return_value_altered = 1
#27 0x0000003e4002a99c in g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, var_args=0x7fffffffdbc0) at gsignal.c:2993
        return_value = {g_type = 20, data = {{v_int = 0, v_uint = 0, v_long = 0, v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}, {v_int = 0, v_uint = 0, v_long = 0, 
              v_ulong = 0, v_int64 = 0, v_uint64 = 0, v_float = 0, v_double = 0, v_pointer = 0x0}}}
        error = 0x0
        rtype = 20
        static_scope = 0
        instance_and_params = 0x7d9b90
        signal_return_type = 20
        param_values = 0x7d9ba8
        node = 0x6fe7e0
        i = <value optimized out>
        n_params = 1
        __PRETTY_FUNCTION__ = "g_signal_emit_valist"
#28 0x0000003e4002acf3 in g_signal_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>) at gsignal.c:3040
        var_args = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7fffffffdca0, reg_save_area = 0x7fffffffdbe0}}
#29 0x000000354b28805f in gtk_widget_event_internal (widget=0x726510 [ButtonWidget], event=0x901c80) at gtkwidget.c:4995
        signal_num = <value optimized out>
        return_val = 0
#30 0x000000354b14dd43 in IA__gtk_propagate_event (widget=0x726510 [ButtonWidget], event=0x901c80) at gtkmain.c:2466
        tmp = <value optimized out>
        handled_event = <value optimized out>
        __PRETTY_FUNCTION__ = "IA__gtk_propagate_event"
#31 0x000000354b14e10b in IA__gtk_main_do_event (event=0x901c80) at gtkmain.c:1671
        event_widget = <value optimized out>
        grab_widget = 0x726510 [ButtonWidget]
---Type <return> to continue, or q <return> to quit---
        window_group = <value optimized out>
        rewritten_event = <value optimized out>
        tmp_list = <value optimized out>
        __PRETTY_FUNCTION__ = "IA__gtk_main_do_event"
#32 0x000000354ac62a0c in gdk_event_dispatch (source=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at gdkevents-x11.c:2377
        display = <value optimized out>
        event = 0x901c80
#33 0x0000003e3f843483 in g_main_dispatch (context=0x6d5850) at gmain.c:2440
        dispatch = 0x354ac629c0 <gdk_event_dispatch>
        was_in_call = 0
        user_data = 0x0
        callback = 0
        cb_funcs = 0x0
        cb_data = 0x0
        current_source_link = {data = 0x6d5760, next = 0x0}
        need_destroy = <value optimized out>
        source = 0x6d5760
        current = 0x6df850
        i = <value optimized out>
#34 g_main_context_dispatch (context=0x6d5850) at gmain.c:3013
No locals.
#35 0x0000003e3f843c60 in g_main_context_iterate (context=0x6d5850, block=1, dispatch=1, self=<value optimized out>) at gmain.c:3091
        max_priority = 2147483647
        timeout = -1
        some_ready = 1
        nfds = 11
        allocated_nfds = <value optimized out>
        fds = <value optimized out>
#36 0x0000003e3f8442d2 in g_main_loop_run (loop=0x8704b0) at gmain.c:3299
        __PRETTY_FUNCTION__ = "g_main_loop_run"
#37 0x000000354b14d0c7 in IA__gtk_main () at gtkmain.c:1243
        tmp_list = <value optimized out>
        functions = 0x0
        init = <value optimized out>
        loop = 0x8704b0
#38 0x00000000004273f5 in main (argc=1, argv=0x7fffffffe048) at main.c:132
        desktopfile = <value optimized out>
        context = 0x6a4420
        error = 0x0

Comment 1 Schnizitz 2011-07-01 09:01:43 UTC
Could we get some attention on this bug? Launchers still crash the desktop with gnome-panel-3.0.0.1-3 in Fedora 15.

uname -r 
2.6.38.8-32.fc15.i686

glib2-2.28.8-1.fc15.i686
gnome-panel-3.0.0.1-3.fc15.i686

Comment 2 Fedora End Of Life 2013-04-03 18:21:59 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 19 development cycle.
Changing version to '19'.

(As we did not run this process for some time, it could affect also pre-Fedora 19 development
cycle bugs. We are very sorry. It will help us with cleanup during Fedora 19 End Of Life. Thank you.)

More information and reason for this action is here:
https://fedoraproject.org/wiki/BugZappers/HouseKeeping/Fedora19

Comment 3 Fedora End Of Life 2015-01-09 16:30:43 UTC
This message is a notice that Fedora 19 is now at end of life. Fedora 
has stopped maintaining and issuing updates for Fedora 19. It is 
Fedora's policy to close all bug reports from releases that are no 
longer maintained. Approximately 4 (four) weeks from now this bug will
be closed as EOL if it remains open with a Fedora 'version' of '19'.

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 19 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.

Comment 4 Fedora End Of Life 2015-02-17 13:34:23 UTC
Fedora 19 changed to end-of-life (EOL) status on 2015-01-06. Fedora 19 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.