The error actually happens when RendorControl tries to start a new thread 
(host), so it can handle the new GLES surface:
shared/OpenglOsUtils/osThreadUnix.cpp
bool
Thread::start()
{
    pthread_mutex_lock(&m_lock);
    m_isRunning = true;
    int ret = pthread_create(&m_thread, NULL, Thread::thread_main, this);
    if(ret) {
        m_isRunning = false;
    }   
    pthread_mutex_unlock(&m_lock);
    return m_isRunning;
}

Adding a perror, the reason is that the emulator can't allocate any more
memory.

So I'd imagine that there's a GL texture leak on the host side when the
emulator tries to create/destroy surfaces.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1319582

Title:
  'Failed to start RenderThread' after opening/closing applications

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/android/+bug/1319582/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to