← Back to team overview

lightspark-users team mailing list archive

Re: anyone else seeing hangs on exit?

 

Hi,

I see those occasional hangs, too.
Seems to hang in
#0  0x00007ffff504d773 in __GI___poll (fds=<optimized out>,
nfds=<optimized out>, timeout=<optimized out>) at
../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007ffff101e4f2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007ffff101faaf in xcb_wait_for_reply () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007ffff6d19b7d in _XReply () from /usr/lib/x86_64-linux-gnu/libX11.so.6
#4  0x00007ffff174e3a2 in ?? () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#5  0x00007ffff174c2ac in ?? () from /usr/lib/x86_64-linux-gnu/mesa/libGL.so.1
#6  0x00007fffd8f1e4d2 in intel_update_renderbuffers () from
/usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#7  0x00007fffd8f1f2a5 in intel_prepare_render () from
/usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#8  0x00007fffd8f1d7d5 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#9  0x00007ffff71fe0de in lightspark::RenderThread::coreRendering
(this=0x7fffe0049d10)
    at /home/mgehre/Projects/lightspark/git/src/backends/rendering.cpp:917
#10 0x00007ffff71fb1af in lightspark::RenderThread::worker (this=0x7fffe0049d10)
    at /home/mgehre/Projects/lightspark/git/src/backends/rendering.cpp:423
#11 0x00007ffff720371d in sigc::bound_mem_functor0<void,
lightspark::RenderThread>::operator() (this=0x6e1738)
    at /usr/include/sigc++-2.0/sigc++/functors/mem_fun.h:1787
#12 0x00007ffff72033a8 in
sigc::adaptor_functor<sigc::bound_mem_functor0<void,
lightspark::RenderThread> >::operator() (this=0x6e1730)
    at /usr/include/sigc++-2.0/sigc++/adaptors/adaptor_trait.h:251
#13 0x00007ffff7202b89 in
sigc::internal::slot_call0<sigc::bound_mem_functor0<void,
lightspark::RenderThread>, void>::call_it (rep=0x6e1700)
    at /usr/include/sigc++-2.0/sigc++/functors/slot.h:103
#14 0x00007ffff5a76b3d in ?? () from /usr/lib/libglibmm-2.4.so.1
#15 0x00007ffff5d092b6 in g_thread_create_proxy (data=0x653930) at
/build/buildd/glib2.0-2.30.0/./glib/gthread.c:1962
#16 0x00007ffff4d62efc in start_thread (arg=0x7fffd99b1700) at
pthread_create.c:304
#17 0x00007ffff505989d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#18 0x0000000000000000 in ?? ()

coreRendering is calling glClear(GL_COLOR_BUFFER_BIT), but that
function call never returns. The backtrace
may look different if you own a different graphics card.
Because glClear does not return, the render thread does not exit and LS hangs.

This bug
https://bugs.freedesktop.org/show_bug.cgi?id=40372
seems related. It describes a hang in xcb_wait_for_reply. There is a fix,
but I don't know if it has been released yet.

But that's just guessing. Could also be some weird bug in the intel
driver or our own code.

Best wishes
Matthias

2012/1/24 Jani Monoses <jani.monoses@xxxxxxxxx>:
> Hi all,
>
> There's a hang on exit when running any swf. It only started occuring
> recently on Ubuntu 12.04 for me,
> I wonder if others see something similar. May be glibmm related.
>
> https://github.com/lightspark/lightspark/issues/168
>
> If no other distros are affected I'll release 0.5.4 as is and carry te
> workaround patch from the issue in the Ubuntu package untila proper
> fix is found.
>
> cheers
> Jani
>
> --
> Mailing list: https://launchpad.net/~lightspark-users
> Post to     : lightspark-users@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~lightspark-users
> More help   : https://help.launchpad.net/ListHelp


References