Bug 1038512 - virt-manager aborts with Gtk:ERROR:gtkfilechooserdefault.c:8151:get_display_name_from_file_list: assertion failed: (had_selection)
Summary: virt-manager aborts with Gtk:ERROR:gtkfilechooserdefault.c:8151:get_display_n...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: gtk2
Version: 6.5
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Benjamin Otte
QA Contact: Desktop QE
URL:
Whiteboard:
: 1043431 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-05 09:08 UTC by Frantisek Reznicek
Modified: 2017-12-06 12:51 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-06 12:51:54 UTC
Target Upstream Version:


Attachments (Terms of Use)
Additional logs and backtraces (22.50 KB, text/plain)
2014-07-15 19:40 UTC, Frantisek Reznicek
no flags Details

Description Frantisek Reznicek 2013-12-05 09:08:14 UTC
Description of problem:

virt-manager aborts with Gtk:ERROR:gtkfilechooserdefault.c:8151:get_display_name_from_file_list: assertion failed: (had_selection).

During creation of new kvm machine with virt-manager I frequently triggered following virt-manager abort:

[root@mrg-qe-16 ~]# virt-manager --no-fork
**
Gtk:ERROR:gtkfilechooserdefault.c:8151:get_display_name_from_file_list: assertion failed: (had_selection)
Aborted (core dumped)

[root@mrg-qe-16 ~]# gdb `which python` core.20795
GNU gdb (GDB) Red Hat Enterprise Linux (7.2-60.el6_4.1)

(gdb) inf thr
  2 Thread 0x7f63bebfd700 (LWP 22044)  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:239
* 1 Thread 0x7f63da611700 (LWP 20795)  0x0000003f34e32925 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
(gdb) t a a bt

Thread 2 (Thread 0x7f63bebfd700 (LWP 22044)):
#0  pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:239
#1  0x00007f63d2030352 in g_cond_timed_wait_posix_impl (cond=<value optimized out>, entered_mutex=<value optimized out>, abs_time=<value optimized out>)
    at gthread-posix.c:242
#2  0x00007f63d1d41051 in g_async_queue_pop_intern_unlocked (queue=0x29c00b0, try=0, end_time=0x7f63bebfce40) at gasyncqueue.c:423
#3  0x00007f63d1d94131 in g_thread_pool_wait_for_new_task (data=<value optimized out>) at gthreadpool.c:274
#4  g_thread_pool_thread_proxy (data=<value optimized out>) at gthreadpool.c:308
#5  0x00007f63d1d921b4 in g_thread_create_proxy (data=0x29f7a40) at gthread.c:1897
#6  0x0000003f352079d1 in start_thread (arg=0x7f63bebfd700) at pthread_create.c:301
#7  0x0000003f34ee8b6d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f63da611700 (LWP 20795)):
#0  0x0000003f34e32925 in raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x0000003f34e34105 in abort () at abort.c:92
#2  0x00007f63d1d8f1c4 in g_assertion_message (domain=<value optimized out>, file=<value optimized out>, line=<value optimized out>, func=
    0x7f63d1326d00 "get_display_name_from_file_list", message=0x2a10d90 "assertion failed: (had_selection)") at gtestutils.c:1358
#3  0x00007f63d1d8f790 in g_assertion_message_expr (domain=0x7f63d1312657 "Gtk", file=0x7f63d13274cf "gtkfilechooserdefault.c", line=8151, func=
    0x7f63d1326d00 "get_display_name_from_file_list", expr=<value optimized out>) at gtestutils.c:1369
#4  0x00007f63d10f6524 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#5  0x00007f63d10f9ef9 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#6  0x00007f63d22402fe in g_closure_invoke (closure=0x2990fb0, return_value=0x0, n_param_values=2, param_values=0x2a0bb50, invocation_hint=0x7fffd6aa16e0) at gclosure.c:766
#7  0x00007f63d2256695 in signal_emit_unlocked_R (node=<value optimized out>, detail=0, instance=0x274ee50, emission_return=0x0, instance_and_params=0x2a0bb50)
    at gsignal.c:3252
#8  0x00007f63d2257b36 in g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, var_args=0x7fffd6aa18d0)
    at gsignal.c:2983
#9  0x00007f63d22580f3 in g_signal_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>) at gsignal.c:3040
#10 0x00007f63d22402fe in g_closure_invoke (closure=0x29f10f0, return_value=0x0, n_param_values=1, param_values=0x7f63c01ec460, invocation_hint=0x7fffd6aa1ae0)
    at gclosure.c:766
#11 0x00007f63d2256695 in signal_emit_unlocked_R (node=<value optimized out>, detail=0, instance=0x29e2340, emission_return=0x0, instance_and_params=0x7f63c01ec460)
    at gsignal.c:3252
#12 0x00007f63d2257b36 in g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, var_args=0x7fffd6aa1cd0)
    at gsignal.c:2983
#13 0x00007f63d22580f3 in g_signal_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>) at gsignal.c:3040
#14 0x00007f63d109364e in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#15 0x00007f63d0d66606 in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#16 0x00007f63d1d6967b in g_timeout_dispatch (source=<value optimized out>, callback=<value optimized out>, user_data=<value optimized out>) at gmain.c:3585
#17 0x00007f63d1d68eb2 in g_main_dispatch (context=0x1571330) at gmain.c:2149
#18 g_main_context_dispatch (context=0x1571330) at gmain.c:2702
#19 0x00007f63d1d6cd68 in g_main_context_iterate (context=0x1571330, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#20 0x00007f63d1d6d275 in g_main_loop_run (loop=0x29df740) at gmain.c:2988
#21 0x00007f63d10c5064 in gtk_dialog_run () from /usr/lib64/libgtk-x11-2.0.so.0
#22 0x00007f63d17f0cb8 in ?? () from /usr/lib64/python2.6/site-packages/gtk-2.0/gtk/_gtk.so
#23 0x0000003f366d5916 in call_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:3778
#24 PyEval_EvalFrameEx (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:2453
#25 0x0000003f366d7657 in PyEval_EvalCodeEx (co=0x1cc16c0, globals=<value optimized out>, locals=<value optimized out>, args=<value optimized out>, argcount=0, kws=
    0x292d710, kwcount=6, defs=0x1cc9068, defcount=6, closure=0x0) at Python/ceval.c:3044
#26 0x0000003f3666adad in function_call (func=<function at remote 0x1cc8320>, arg=(), kw=
    {'choose_button': 'gtk-open', 'parent': <gtk.Window at remote 0x28907d0>, 'dialog_name': 'Locate existing storage', 'browse_reason': 'image', 'dialog_type': <FileChooserAction at remote 0x140d2d0>, 'conn': <vmmConnection(vmm=<virConnect(_o=<PyCObject at remote 0x7f63da60c9e0>) at remote 0x1fdb878>, _support_dict={1003: True}, netdev_error='', _nodedev_capable=True, mediadev_initialized=True, netdev_initialized=True, nodedevs={'usb_5_2_1_0': <vmmNodeDevice(_next_signal_id=1, _gobject_handles=[], _signal_id_map={}, name='usb_5_2_1_0', _active_xml_flags=0, _is_xml_valid=False, _gconf_handles=[], _inactive_xml_flags=0, _xml=None, _virtinst_obj=<USBBus(protocol='0', name='usb_5_2_1_0', parent='usb_5_2', number='0', subclass='6', classval='2', device_type='usb') at remote 0x2188210>, _gobject_timeouts=[], object_key='<vmmNodeDevice object at 0x21829b0 (virtManager+nodedev+vmmNodeDevice at 0x20816e0)>', _conn=<...>, config=<vmmConfig(rhel6_defaults=False, support_threading=True, glade_dir='/usr/share/virt-manager', ...(truncated)) at Objects/funcobject.c:524
#27 0x0000003f36643c63 in PyObject_Call (func=<function at remote 0x1cc8320>, arg=<value optimized out>, kw=<value optimized out>) at Objects/abstract.c:2492
#28 0x0000003f366d4470 in ext_do_call (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:4107
#29 PyEval_EvalFrameEx (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:2493
#30 0x0000003f366d7657 in PyEval_EvalCodeEx (co=0x1cf5c60, globals=<value optimized out>, locals=<value optimized out>, args=<value optimized out>, argcount=2, kws=0x0,
    kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3044
#31 0x0000003f3666acb0 in function_call (func=<function at remote 0x1e43b18>, arg=
    (<vmmStorageBrowser(vm_name='r6x3', finish_cb_id=1604L, _next_signal_id=1, _gobject_handles=[1604L], _signal_id_map={}, conn_signal_ids=[1605L, 1606L, 1607L, 1608L], err=<vmmErrorDialog(_next_signal_id=1, _gobject_handles=[], _signal_id_map={}, _gconf_handles=[], _parent=<gtk.Window at remote 0x28907d0>, _gobject_timeouts=[], object_key='<vmmErrorDialog object at 0x2890280 (virtManager+error+vmmErrorDialog at 0x2981ae0)>', config=<vmmConfig(rhel6_defaults=False, support_threading=True, glade_dir='/usr/share/virt-manager', _spice_error=None, conf_dir='/apps/virt-manager', appname='virt-manager', libvirt_packages=['libvirt'], support_inspection=False, keyring=None, appversion='0.9.0', preferred_distros=['rhel', 'fedora'], hv_packages=['qemu-kvm'], conf=<gconf.Client at remote 0x1c85dc0>, _objects=['<vmmErrorDialog object at 0x1d2c7d0 (virtManager+error+vmmErrorDialog at 0x1224820)>', '<vmmEngine object at 0x1faf230 (virtManager+engine+vmmEngine at 0x14a5aa0)>', '<vmmErrorDialog object at 0x1faf410 (virtManager+...(truncated), kw=0x0) at Objects/funcobject.c:524
#32 0x0000003f36643c63 in PyObject_Call (func=<function at remote 0x1e43b18>, arg=<value optimized out>, kw=<value optimized out>) at Objects/abstract.c:2492
#33 0x0000003f366566af in instancemethod_call (func=<function at remote 0x1e43b18>, arg=
    (<vmmStorageBrowser(vm_name='r6x3', finish_cb_id=1604L, _next_signal_id=1, _gobject_handles=[1604L], _signal_id_map={}, conn_signal_ids=[1605L, 1606L, 1607L, 1608L], err---Type <return> to continue, or q <return> to quit---
=<vmmErrorDialog(_next_signal_id=1, _gobject_handles=[], _signal_id_map={}, _gconf_handles=[], _parent=<gtk.Window at remote 0x28907d0>, _gobject_timeouts=[], object_key='<vmmErrorDialog object at 0x2890280 (virtManager+error+vmmErrorDialog at 0x2981ae0)>', config=<vmmConfig(rhel6_defaults=False, support_threading=True, glade_dir='/usr/share/virt-manager', _spice_error=None, conf_dir='/apps/virt-manager', appname='virt-manager', libvirt_packages=['libvirt'], support_inspection=False, keyring=None, appversion='0.9.0', preferred_distros=['rhel', 'fedora'], hv_packages=['qemu-kvm'], conf=<gconf.Client at remote 0x1c85dc0>, _objects=['<vmmErrorDialog object at 0x1d2c7d0 (virtManager+error+vmmErrorDialog at 0x1224820)>', '<vmmEngine object at 0x1faf230 (virtManager+engine+vmmEngine at 0x14a5aa0)>', '<vmmErrorDialog object at 0x1faf410 (virtManager+...(truncated), kw=0x0) at Objects/classobject.c:2579
#34 0x0000003f36643c63 in PyObject_Call (func=<instancemethod at remote 0x21b7f00>, arg=<value optimized out>, kw=<value optimized out>) at Objects/abstract.c:2492
#35 0x0000003f366cfc93 in PyEval_CallObjectWithKeywords (func=<instancemethod at remote 0x21b7f00>, arg=(<gtk.Button at remote 0x2890cd0>,), kw=<value optimized out>)
    at Python/ceval.c:3663
#36 0x00007f63d1b1ebcd in ?? () from /usr/lib64/python2.6/site-packages/gtk-2.0/gobject/_gobject.so
#37 0x00007f63d22402fe in g_closure_invoke (closure=0x299de70, return_value=0x0, n_param_values=1, param_values=0x297f460, invocation_hint=0x7fffd6aa2a50) at gclosure.c:766
#38 0x00007f63d2256695 in signal_emit_unlocked_R (node=<value optimized out>, detail=0, instance=0x273fed0, emission_return=0x0, instance_and_params=0x297f460)
    at gsignal.c:3252
#39 0x00007f63d2257b36 in g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, var_args=0x7fffd6aa2c40)
    at gsignal.c:2983
#40 0x00007f63d22580f3 in g_signal_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>) at gsignal.c:3040
#41 0x00007f63d1093765 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#42 0x00007f63d22402fe in g_closure_invoke (closure=0x2029f50, return_value=0x0, n_param_values=1, param_values=0x7f63c01e76a0, invocation_hint=0x7fffd6aa2e60)
    at gclosure.c:766
#43 0x00007f63d2255f68 in signal_emit_unlocked_R (node=<value optimized out>, detail=0, instance=0x273fed0, emission_return=0x0, instance_and_params=0x7f63c01e76a0)
    at gsignal.c:3182
#44 0x00007f63d2257b36 in g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, var_args=0x7fffd6aa3050)
    at gsignal.c:2983
#45 0x00007f63d22580f3 in g_signal_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>) at gsignal.c:3040
#46 0x00007f63d1092107 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#47 0x00007f63d11559e3 in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#48 0x00007f63d22402fe in g_closure_invoke (closure=0x1e60790, return_value=0x7fffd6aa3300, n_param_values=2, param_values=0x7f63c0005870, invocation_hint=0x7fffd6aa32c0)
    at gclosure.c:766
#49 0x00007f63d22562df in signal_emit_unlocked_R (node=<value optimized out>, detail=0, instance=0x273fed0, emission_return=0x7fffd6aa3450, instance_and_params=
    0x7f63c0005870) at gsignal.c:3290
#50 0x00007f63d225797b in g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, var_args=0x7fffd6aa34b0)
    at gsignal.c:2993
#51 0x00007f63d22580f3 in g_signal_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>) at gsignal.c:3040
#52 0x00007f63d128628f in ?? () from /usr/lib64/libgtk-x11-2.0.so.0
#53 0x00007f63d114c743 in gtk_propagate_event () from /usr/lib64/libgtk-x11-2.0.so.0
#54 0x00007f63d114d90b in gtk_main_do_event () from /usr/lib64/libgtk-x11-2.0.so.0
#55 0x00007f63d0da906c in ?? () from /usr/lib64/libgdk-x11-2.0.so.0
#56 0x00007f63d1d68eb2 in g_main_dispatch (context=0x1571330) at gmain.c:2149
#57 g_main_context_dispatch (context=0x1571330) at gmain.c:2702
#58 0x00007f63d1d6cd68 in g_main_context_iterate (context=0x1571330, block=1, dispatch=1, self=<value optimized out>) at gmain.c:2780
#59 0x00007f63d1d6d275 in g_main_loop_run (loop=0xf76d00) at gmain.c:2988
#60 0x00007f63d114dda7 in gtk_main () from /usr/lib64/libgtk-x11-2.0.so.0
#61 0x00007f63d1809666 in ?? () from /usr/lib64/python2.6/site-packages/gtk-2.0/gtk/_gtk.so
#62 0x0000003f366d5916 in call_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:3778
#63 PyEval_EvalFrameEx (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:2453
#64 0x0000003f366d6b8f in fast_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:3880
#65 call_function (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:3815
#66 PyEval_EvalFrameEx (f=<value optimized out>, throwflag=<value optimized out>) at Python/ceval.c:2453
#67 0x0000003f366d7657 in PyEval_EvalCodeEx (co=0x7f63da543be8, globals=<value optimized out>, locals=<value optimized out>, args=<value optimized out>, argcount=0, kws=
    0x0, kwcount=0, defs=0x0, defcount=0, closure=0x0) at Python/ceval.c:3044
#68 0x0000003f366d7732 in PyEval_EvalCode (co=<value optimized out>, globals=<value optimized out>, locals=<value optimized out>) at Python/ceval.c:545
#69 0x0000003f366f1bac in run_mod (mod=<value optimized out>, filename=<value optimized out>, globals=
    {'glade_dir': '/usr/share/virt-manager', 'launch_specific_window': <function at remote 0x101f0c8>, 'libvirt_packages': ['libvirt'], 'setup_pypath': <function at remote 0x7f63da555848>, 'preferred_distros': ['rhel', 'fedora'], '__name__': '__main__', 'GInitiallyUnowned': <GObjectMeta(__gtype__=<gobject.GType at remote 0x12ee450>, __doc__=<gobject.GObject.__doc__ at remote 0x7f63da5920f0>, __module__='gtk') at remote 0x1363a00>, 'rhel_enable_unsupported_opts': False, '_show_startup_error': <function at remote 0x7f63da555488>, 'appname': 'virt-manager', 'gettext_dir': '/usr/share/locale', 'gtk': <module at remote 0x1230248>, 'setup_glade_i18n': <function at remote 0x7f63da555a28>, 'asset_dir': '/usr/share/virt-manager', '__package__': None, 'optparse': <module at remote 0x1024e18>, 'icon_dir': '/usr/share/virt-manager/icons', 'main': <function at remote 0x10292a8>, '__doc__': None, 'gettext_app': 'virt-manager', 'show_engine': <function at remote 0x101fed8>, '_conn_state_changed': <function at remote 0x101f2a8>,...(truncated), locals=
    {'glade_dir': '/usr/share/virt-manager', 'launch_specific_window': <function at remote 0x101f0c8>, 'libvirt_packages': ['libvirt'], 'setup_pypath': <function at remote 0x7f63da555848>, 'preferred_distros': ['rhel', 'fedora'], '__name__': '__main__', 'GInitiallyUnowned': <GObjectMeta(__gtype__=<gobject.GType at remote 0x12ee450>, __doc__=<gobject.GObject.__doc__ at remote 0x7f63da5920f0>, __module__='gtk') at remote 0x1363a00>, 'rhel_enable_unsupported_opts': False, '_show_startup_error': <function at remote 0x7f63da555488>, 'appname': 'virt-manager', 'gettext_dir': '/usr/share/locale', 'gtk': <module at remote 0x1230248>, 'setup_glade_i18n': <function at remote 0x7f63da555a28>, 'asset_dir': '/usr/share/virt-manager', '__package__': None, 'optparse': <module at remote 0x1024e18>, 'icon_dir': '/usr/share/virt-manager/icons', 'main': <function at remote 0x10292a8>, '__doc__': None, 'gettext_app': 'virt-manager', 'show_engine': <function at remote 0x101fed8>, '_conn_state_changed': <function at remote 0x101f2a8>,...(truncated), flags=<value optimized out>, arena=<value optimized out>) at Python/pythonrun.c:1358
#70 0x0000003f366f1c80 in PyRun_FileExFlags (fp=0xfa3020, filename=0x7fffd6aa4623 "/usr/share/virt-manager/virt-manager.py", start=<value optimized out>, globals=
    {'glade_dir': '/usr/share/virt-manager', 'launch_specific_window': <function at remote 0x101f0c8>, 'libvirt_packages': ['libvirt'], 'setup_pypath': <function at remote 0x7f63da555848>, 'preferred_distros': ['rhel', 'fedora'], '__name__': '__main__', 'GInitiallyUnowned': <GObjectMeta(__gtype__=<gobject.GType at remote 0x12ee450>, __doc__=<gobject.GObject.__doc__ at remote 0x7f63da5920f0>, __module__='gtk') at remote 0x1363a00>, 'rhel_enable_unsupported_opts': False, '_show_startup_error': <function at remote 0x7f63da555488>, 'appname': 'virt-manager', 'gettext_dir': '/usr/share/locale', 'gtk': <module at remote 0x1230248>, 'setup_glade_i18n': <function at remote 0x7f63da555a28>, '---Type <return> to continue, or q <return> to quit---
asset_dir': '/usr/share/virt-manager', '__package__': None, 'optparse': <module at remote 0x1024e18>, 'icon_dir': '/usr/share/virt-manager/icons', 'main': <function at remote 0x10292a8>, '__doc__': None, 'gettext_app': 'virt-manager', 'show_engine': <function at remote 0x101fed8>, '_conn_state_changed': <function at remote 0x101f2a8>,...(truncated), locals=
    {'glade_dir': '/usr/share/virt-manager', 'launch_specific_window': <function at remote 0x101f0c8>, 'libvirt_packages': ['libvirt'], 'setup_pypath': <function at remote 0x7f63da555848>, 'preferred_distros': ['rhel', 'fedora'], '__name__': '__main__', 'GInitiallyUnowned': <GObjectMeta(__gtype__=<gobject.GType at remote 0x12ee450>, __doc__=<gobject.GObject.__doc__ at remote 0x7f63da5920f0>, __module__='gtk') at remote 0x1363a00>, 'rhel_enable_unsupported_opts': False, '_show_startup_error': <function at remote 0x7f63da555488>, 'appname': 'virt-manager', 'gettext_dir': '/usr/share/locale', 'gtk': <module at remote 0x1230248>, 'setup_glade_i18n': <function at remote 0x7f63da555a28>, 'asset_dir': '/usr/share/virt-manager', '__package__': None, 'optparse': <module at remote 0x1024e18>, 'icon_dir': '/usr/share/virt-manager/icons', 'main': <function at remote 0x10292a8>, '__doc__': None, 'gettext_app': 'virt-manager', 'show_engine': <function at remote 0x101fed8>, '_conn_state_changed': <function at remote 0x101f2a8>,...(truncated), closeit=1, flags=0x7fffd6aa3e10) at Python/pythonrun.c:1344
#71 0x0000003f366f316c in PyRun_SimpleFileExFlags (fp=0xfa3020, filename=0x7fffd6aa4623 "/usr/share/virt-manager/virt-manager.py", closeit=1, flags=0x7fffd6aa3e10)
    at Python/pythonrun.c:948
#72 0x0000003f366ff8a2 in Py_Main (argc=<value optimized out>, argv=<value optimized out>) at Modules/main.c:618
#73 0x0000003f34e1ed1d in __libc_start_main (main=0x400710 <main>, argc=3, ubp_av=0x7fffd6aa3f38, init=<value optimized out>, fini=<value optimized out>,
    rtld_fini=<value optimized out>, stack_end=0x7fffd6aa3f28) at libc-start.c:226
#74 0x0000000000400649 in _start ()


This issue was repeteadly seen on RHEL 6.5 x86_64.


Version-Release number of selected component (if applicable):
# rpm -qa | grep -E 'gtk|glib|virt' | sort
dbus-glib-0.86-6.el6_4.x86_64
fence-virt-0.2.3-15.el6.x86_64
glib2-2.26.1-3.el6.x86_64
glib2-debuginfo-2.26.1-3.el6.x86_64
glibc-2.12-1.132.el6.x86_64
glibc-common-2.12-1.132.el6.x86_64
glibc-debuginfo-2.12-1.132.el6.x86_64
glibc-debuginfo-common-2.12-1.132.el6.x86_64
glibc-devel-2.12-1.132.el6.x86_64
glibc-headers-2.12-1.132.el6.x86_64
gtk2-2.20.1-4.el6.x86_64
gtk-vnc-0.3.10-3.el6.x86_64
gtk-vnc-python-0.3.10-3.el6.x86_64
libvirt-0.10.2-29.el6.x86_64
libvirt-client-0.10.2-29.el6.x86_64
libvirt-python-0.10.2-29.el6.x86_64
pulseaudio-libs-glib2-0.9.21-14.el6_3.x86_64
pygtk2-2.16.0-3.el6.x86_64
pygtk2-libglade-2.16.0-3.el6.x86_64
python-virtinst-0.600.0-18.el6.noarch
spice-glib-0.20-11.el6.x86_64
spice-gtk-0.20-11.el6.x86_64
spice-gtk-python-0.20-11.el6.x86_64
virtio-win-1.6.7-2.el6.noarch
virt-manager-0.9.0-19.el6.x86_64
virt-what-1.11-1.2.el6.x86_64
virt-who-0.8-9.el6.noarch


How reproducible:
20-80% (more rapidly when another VM guest window is opened)

Steps to Reproduce:
1. ssh -X to VM host (VM provider)
2. virt-manager (eventually virt-manager --no-fork)
Create new virtual machine
 -> Name
 -> Network install

 -> URL

 -> Memory
 -> CPUs

 -> Select managed or other existing storage
    -> Browse
       -> Browse local (r6x3.img previously created via qemu-img create -f raw ~virt/images/r6x3.img 17G
          -> Open / doubleclick

3. virt-manager aborts

Actual results:
virt-manager aborts

Expected results:
virt-manager should not abort

Additional info:

Comment 1 Frantisek Reznicek 2013-12-05 09:09:45 UTC
While retrying to install VM machine I saw one more (maybe not-related GError):

Error starting Virtual Machine Manager: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details -  1: Could not send message to GConf daemon: Message did not receive a reply (timeout by message bus))

Traceback (most recent call last):
  File "/usr/share/virt-manager/virt-manager.py", line 383, in <module>
    main()
  File "/usr/share/virt-manager/virt-manager.py", line 315, in main
    config = virtManager.config.vmmConfig(appname, appversion, glade_dir)
  File "/usr/share/virt-manager/virtManager/config.py", line 98, in __init__
    self.conf.add_dir(self.conf_dir, gconf.CLIENT_PRELOAD_NONE)
GError: Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details -  1: Could not send message to GConf daemon: Message did not receive a reply (timeout by message bus))

This happened just once.

Comment 2 Frantisek Reznicek 2013-12-05 09:11:17 UTC
Above described behavior was never seen on RHEL6.4 or machines upgraded from RHEL 6.4 -> 6.5. In this particular case machine was re-provisioned directly to 6.5 Server x86_64.

Comment 3 Martin Kletzander 2013-12-09 15:52:52 UTC
It looks like the problem may lay in gtk internals.  Looking on the web for similar errors it looks like the filesystem changes sometime around gtk emiting the signal and at the time get_selected_file_info_from_file_list() is looking for the selection, it can find none, hence had_selection is false and get_display_name_from_file_list() aborts with an assertion.

I'm transferring this to gtk as it may be a regression from older version and even if it isn't and the problem really is in virt-manager (which I doubt) gtk guys are the ones to tell us what's wrong in there.

Comment 4 Martin Kletzander 2013-12-16 11:58:04 UTC
*** Bug 1043431 has been marked as a duplicate of this bug. ***

Comment 5 Dave Allan 2013-12-19 18:42:28 UTC
*** Bug 1043431 has been marked as a duplicate of this bug. ***

Comment 7 Frantisek Reznicek 2014-07-15 19:40:25 UTC
Created attachment 918239 [details]
Additional logs and backtraces

The issue is still seen on RHEL 6.5 Server x86_64.

Reproducibility around 25% when having multiple VMs running while creating new one and assigning to already existing image (created by qemu-img)

gtk2-2.20.1-4.el6.x86_64
gtk2-debuginfo-2.20.1-4.el6.x86_64
gtk-vnc-0.3.10-3.el6.x86_64
gtk-vnc-debuginfo-0.3.10-3.el6.x86_64
gtk-vnc-python-0.3.10-3.el6.x86_64
libvirt-0.10.2-29.el6_5.9.x86_64
libvirt-client-0.10.2-29.el6_5.9.x86_64
libvirt-python-0.10.2-29.el6_5.9.x86_64
pygtk2-2.16.0-3.el6.x86_64
pygtk2-libglade-2.16.0-3.el6.x86_64
python-virtinst-0.600.0-18.el6.noarch
spice-gtk-0.20-11.el6_5.1.x86_64
spice-gtk-python-0.20-11.el6_5.1.x86_64
virtio-win-1.6.7-2.el6.noarch
virt-manager-0.9.0-19.el6.x86_64
virt-what-1.11-1.2.el6.x86_64
virt-who-0.8-9.el6.noarch

Comment 10 Jan Kurik 2017-12-06 12:51:54 UTC
Red Hat Enterprise Linux 6 is in the Production 3 Phase. During the Production 3 Phase, Critical impact Security Advisories (RHSAs) and selected Urgent Priority Bug Fix Advisories (RHBAs) may be released as they become available.

The official life cycle policy can be reviewed here:

http://redhat.com/rhel/lifecycle

This issue does not meet the inclusion criteria for the Production 3 Phase and will be marked as CLOSED/WONTFIX. If this remains a critical requirement, please contact Red Hat Customer Support to request a re-evaluation of the issue, citing a clear business justification. Note that a strong business justification will be required for re-evaluation. Red Hat Customer Support can be contacted via the Red Hat Customer Portal at the following URL:

https://access.redhat.com/


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