[Spice-devel] [PATCH spice-gtk] coroutine: abort on OOM or impossible conditions

Jeremy White jwhite at codeweavers.com
Tue Nov 26 14:24:54 PST 2013


On 11/19/2013 03:23 PM, Marc-André Lureau wrote:
> Make the coroutine code more glib-like, by aborting on OOM or unhandled
> conditions.

According to my git bisect tests, this patch is causing a lovely crash 
for me:

*** longjmp causes uninitialized stack frame ***: 
/home/jwhite/xfer/spice/bin/spicy terminated
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7ffff48dc2a7]
/lib/x86_64-linux-gnu/libc.so.6(+0xef239)[0x7ffff48dc239]
/lib/x86_64-linux-gnu/libc.so.6(__longjmp_chk+0x33)[0x7ffff48dc1a3]
/home/jwhite/xfer/spice/lib/libspice-client-glib-2.0.so.8(+0x49761)[0x7ffff78f1761]
/home/jwhite/xfer/spice/lib/libspice-client-glib-2.0.so.8(+0x499a4)[0x7ffff78f19a4]
/home/jwhite/xfer/spice/lib/libspice-client-glib-2.0.so.8(+0x1bae7)[0x7ffff78c3ae7]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x135)[0x7ffff505f355]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x4a688)[0x7ffff505f688]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x72)[0x7ffff505fa82]
/home/jwhite/xfer/spice/bin/spicy[0x4054aa]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xfd)[0x7ffff480bead]
/home/jwhite/xfer/spice/bin/spicy[0x405679]


I'll try to dig more tomorrow, but if that's obvious to someone else, 
I'd appreciate a pointer.

Cheers,

Jeremy


More information about the Spice-devel mailing list