Bug 70761 - Spice-gtk-0.21 segfault[playback audio]
Summary: Spice-gtk-0.21 segfault[playback audio]
Status: RESOLVED WORKSFORME
Alias: None
Product: Spice
Classification: Unclassified
Component: spice-gtk (show other bugs)
Version: unspecified
Hardware: ARM Linux (All)
: medium normal
Assignee: Spice Bug List
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-22 12:50 UTC by jiaxi
Modified: 2015-02-20 15:29 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description jiaxi 2013-10-22 12:50:48 UTC
(spicy:1409): GSpice-WARNING **: (gio-coroutine.c:234):g_signal_emit_main_context: runtime check failed: (data.notified)
Program received signal SIGSEGV, Segmentation fault.
0x00000000 in ?? ()
(gdb) where
#0  0x00000000 in ?? ()
#1  0xb6dfe91c in emit_main_context (opaque=0xbee17a88) at gio-coroutine.c:199
#2  0xb5dca7d4 in ?? () from /usr/lib/libglib-2.0.so.0
Cannot access memory at address 0x0
Comment 1 Marc-Andre Lureau 2013-10-24 13:01:12 UTC
Could you get a more complete backtrace?

What is the guest OS, and configured sound card?
Comment 2 jiaxi 2013-10-25 01:53:59 UTC
Thanks for you replay.
the os is linux ,sound card using ich6.
cannot get all the backtrace using gdb.
And when trach code,can get:
the backtrace:
update_mmtime_timeout_cb->spice_playback_channel_set_delay
->spice_session_set_mm_time->emit_main_context->g_signal_emit_main_context
->emit_main_context

It is ok when comment the spice_session_set_mm_time as fellow.


void spice_playback_channel_set_delay(SpicePlaybackChannel *channel, guint32 delay_ms)
{
    SpicePlaybackChannelPrivate *c;

    g_return_if_fail(SPICE_IS_PLAYBACK_CHANNEL(channel));

    CHANNEL_DEBUG(channel, "playback set_delay %u ms", delay_ms);

    c = channel->priv;
    c->latency = delay_ms;
 //del /*
spice_session_set_mm_time(spice_channel_get_session(SPICE_CHANNEL(channel)),c->last_time - delay_ms);*/
}
(In reply to comment #1)
> Could you get a more complete backtrace?
> 
> What is the guest OS, and configured sound card?

(In reply to comment #1)
> Could you get a more complete backtrace?
> 
> What is the guest OS, and configured sound card?
Comment 3 Marc-Andre Lureau 2014-11-10 10:15:33 UTC
Can you still reproduce?


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.