Comment 1 for bug 1337244

Margarita Manterola (marga-9) wrote :

This keeps happening over and over. Looking at the resolution of the other bug, I expect the code that needs to be fixed is not here, but in the handling of some element in this queue. I suspect some element is getting deleted and the memory reused without it being removed from the queue.

Here's the latest stacktrace:
#0 0x0000000000000000 in ?? ()
#1 0x00007fdd0a32c75d in nux::WindowThread::ComputeQueuedLayout (this=this@entry=0x2319f40) at ./WindowThread.cpp:318
#2 0x00007fdd0a32db28 in nux::WindowThread::RenderInterfaceFromForeignCmd (this=0x2319f40, clip=...) at ./WindowThread.cpp:1627
#3 0x00007fdd0ba61389 in unity::UnityScreen::paintDisplay() () from /usr/lib/compiz/
#4 0x00007fdd0ba61748 in unity::UnityScreen::glPaintOutput(GLScreenPaintAttrib const&, GLMatrix const&, CompRegion const&, CompOutput*, unsigned int) () from /usr/lib/compiz/
#5 0x00007fdd1b3da272 in GLScreen::glPaintOutput(GLScreenPaintAttrib const&, GLMatrix const&, CompRegion const&, CompOutput*, unsigned int) ()
  from /usr/lib/compiz/
#6 0x00007fdd1b3daed4 in PrivateGLScreen::paintOutputs(std::list<CompOutput*, std::allocator<CompOutput*> >&, unsigned int, CompRegion const&) ()
  from /usr/lib/compiz/
#7 0x00007fdd203e144f in CompositeScreen::paint(std::list<CompOutput*, std::allocator<CompOutput*> >&, unsigned int) ()
  from /usr/lib/compiz/
#8 0x00007fdd203e4af2 in CompositeScreen::handlePaintTimeout() () from /usr/lib/compiz/
#9 0x00007fdd2cc6b53d in CompTimer::triggerCallback() () from /usr/lib/
#10 0x00007fdd2cc6b5ef in CompTimeoutSource::callback() () from /usr/lib/
#11 0x00007fdd2cc6ab4d in CompTimeoutSource::dispatch(sigc::slot_base*) () from /usr/lib/
#12 0x00007fdd2b15735f in Glib::Source::dispatch_vfunc(_GSource*, int (*)(void*), void*) () from /usr/lib/x86_64-linux-gnu/
#13 0x00007fdd2ac49ce5 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/
#14 0x00007fdd2ac4a048 in ?? () from /lib/x86_64-linux-gnu/
#15 0x00007fdd2ac4a30a in g_main_loop_run () from /lib/x86_64-linux-gnu/
#16 0x00007fdd2cc260eb in compiz::private_screen::EventManager::startEventLoop(_XDisplay*) () from /usr/lib/
#17 0x0000000000401971 in main ()