Bug 92019 - segfault when virt-manager fails to migrate
Summary: segfault when virt-manager fails to migrate
Status: RESOLVED FIXED
Alias: None
Product: Spice
Classification: Unclassified
Component: spice-gtk (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Victor Toso
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-16 08:05 UTC by Victor Toso
Modified: 2016-05-03 06:14 UTC (History)
2 users (show)

See Also:
i915 platform:
i915 features:


Attachments

Description Victor Toso 2015-09-16 08:05:47 UTC
Host: Fedora 23
Client: Upstream remote-viewer/spice-gtk

Trying to migrate from Host with a wrong address (Unable to resolve) makes the client segfault.

Expected: The client should keep the current connection with Host as it failed the migration

Note: This is different from bug 89163 as the host is unable to migrate.

(remote-viewer:3557): GSpice-CRITICAL **: spice_channel_get_session: assertion 'SPICE_IS_CHANNEL(channel)' failed
(remote-viewer:3557): GSpice-DEBUG: channel-main.c:2221 error or unhandled channel event during migration: 20
[New Thread 0x7fffa7fff700 (LWP 3771)]
[New Thread 0x7fffbcffc700 (LWP 3770)]
[New Thread 0x7fffcbfff700 (LWP 3769)]
[New Thread 0x7fffbfffe700 (LWP 3768)]
[New Thread 0x7fffda2a2700 (LWP 3564)]
[New Thread 0x7fffdaaa3700 (LWP 3563)]
[New Thread 0x7fffdb4b2700 (LWP 3562)]
[New Thread 0x7fffdbcb3700 (LWP 3561)]

Program received signal SIGSEGV, Segmentation fault.
coroutine_yieldto (to=0x0, arg=0x0) at coroutine_ucontext.c:122
122             g_return_val_if_fail(!to->caller, NULL);
(gdb) bt
#0  coroutine_yieldto (to=0x0, arg=0x0) at coroutine_ucontext.c:122
#1  0x00007fffefc3331b in g_cclosure_marshal_VOID__ENUMv (closure=<optimized out>, return_value=<optimized out>, instance=<optimized out>, args=<optimized out>, marshal_data=<optimized out>, 
    n_params=<optimized out>, param_types=0x7430d0) at gmarshal.c:1496
#2  0x00007fffefc310d4 in _g_closure_invoke_va (closure=closure@entry=0x2da6b20, return_value=return_value@entry=0x0, instance=instance@entry=0x84ae30, args=args@entry=0x7fffffffd248, n_params=<optimized out>, 
    param_types=0x7430d0) at gclosure.c:864
#3  0x00007fffefc4b42c in g_signal_emit_valist (instance=instance@entry=0x84ae30, signal_id=signal_id@entry=237, detail=detail@entry=0, var_args=var_args@entry=0x7fffffffd248) at gsignal.c:3246
#4  0x00007ffff52e0a73 in g_coroutine_signal_emit (instance=instance@entry=0x84ae30, signal_id=237, detail=detail@entry=0) at gio-coroutine.c:223
#5  0x00007ffff52db0aa in spice_channel_delayed_unref (data=0x84ae30) at spice-channel.c:2207
#6  0x00007fffef729c0a in g_main_dispatch (context=0x691b60) at gmain.c:3122
#7  g_main_context_dispatch (context=context@entry=0x691b60) at gmain.c:3737
#8  0x00007fffef729f68 in g_main_context_iterate (context=0x691b60, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3808
#9  0x00007fffef72a282 in g_main_loop_run (loop=0x8d7ce0) at gmain.c:4002
#10 0x00007ffff68b09a5 in gtk_main () at gtkmain.c:1230
#11 0x00000000004116f7 in main (argc=1, argv=0x7fffffffd6d8) at remote-viewer-main.c:192


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.