Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
sh-3.2# DEBUG_CALC_FPS=1 HYBRIS_LOGGING_LEVEL=debug EGL_PLATFORM=hwcomposer gdb --args test_hwcomposer_21.03
GNU gdb (GDB) Mer (7.5.1+git3)
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "armv7hl-meego-linux-gnueabi".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/nemo/test_hwcomposer_21.03...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/nemo/test_hwcomposer_21.03
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
HOOKS hooks.c:1534 (get_hooked_symbol) DEBUG: __pthread_gettid -2
width: 1080 height: 1920
EGL nativewindowbase.cpp:86 (BaseNativeWindow::BaseNativeWindow()) DEBUG: this=0x22ad8 or A 0x22adc
EGL eglplatform_hwcomposer.cpp:35 (void hwcomposerws_init_module(ws_egl_interface*)) DEBUG: ** gralloc_open 0xb6230004 status=Success
EGL hwcomposer_window.cpp:433 (virtual int HWComposerNativeWindow::setBufferCount(int)) DEBUG: cnt=2
EGL hwcomposer_window.cpp:97 (void HWComposerNativeWindow::destroyBuffers()) DEBUG:
EGL nativewindowbase.cpp:25 (BaseNativeWindowBuffer::BaseNativeWindowBuffer()) DEBUG: 0x235d8
EGL hwcomposer_window.cpp:57 (HWComposerNativeWindowBuffer::HWComposerNativeWindowBuffer(alloc_device_t*, unsigned int, unsigned int, unsigned int, unsigned int)) DEBUG: width=1080 height=1920 stride=1152 format=x1 usage=x1800 status=Success this=0x235d8
EGL nativewindowbase.cpp:75 (static void BaseNativeWindowBuffer::_incRef(android_native_base_t*)) DEBUG: 0x235d8 refcount = 1
EGL hwcomposer_window.cpp:449 (virtual int HWComposerNativeWindow::setBufferCount(int)) DEBUG: buffer 0 is at 0x235d8 (native 0x235dc),err=Success, handle=0x237d0 stride=1152
EGL nativewindowbase.cpp:25 (BaseNativeWindowBuffer::BaseNativeWindowBuffer()) DEBUG: 0x23828
EGL hwcomposer_window.cpp:57 (HWComposerNativeWindowBuffer::HWComposerNativeWindowBuffer(alloc_device_t*, unsigned int, unsigned int, unsigned int, unsigned int)) DEBUG: width=1080 height=1920 stride=1152 format=x1 usage=x1800 status=Success this=0x23828
EGL nativewindowbase.cpp:75 (static void BaseNativeWindowBuffer::_incRef(android_native_base_t*)) DEBUG: 0x23828 refcount = 1
EGL hwcomposer_window.cpp:449 (virtual int HWComposerNativeWindow::setBufferCount(int)) DEBUG: buffer 1 is at 0x23828 (native 0x2382c),err=Success, handle=0x238a8 stride=1152
EGL nativewindowbase.cpp:148 (static void BaseNativeWindow::_incRef(android_native_base_t*)) DEBUG: 0x22ad8 refcount = 1
EGL nativewindowbase.cpp:312 (static int BaseNativeWindow::_perform(ANativeWindow*, int, ...)) DEBUG: operation = NATIVE_WINDOW_API_CONNECT
EGL nativewindowbase.cpp:369 (static int BaseNativeWindow::_perform(ANativeWindow*, int, ...)) DEBUG: api connect
EGL nativewindowbase.cpp:312 (static int BaseNativeWindow::_perform(ANativeWindow*, int, ...)) DEBUG: operation = NATIVE_WINDOW_SET_BUFFERS_FORMAT
EGL hwcomposer_window.cpp:419 (virtual int HWComposerNativeWindow::setBuffersFormat(int)) DEBUG: format=x1 realloc=0
EGL hwcomposer_window.cpp:120 (virtual int HWComposerNativeWindow::setSwapInterval(int)) DEBUG: interval=1 WARN STUB
EGL nativewindowbase.cpp:269 (static int BaseNativeWindow::_query(const ANativeWindow*, int, int*)) DEBUG: window:0x22adc 2 NATIVE_WINDOW_FORMAT 0xbefffa84
EGL hwcomposer_window.cpp:324 (virtual unsigned int HWComposerNativeWindow::format() const) DEBUG: format=x1
EGL nativewindowbase.cpp:148 (static void BaseNativeWindow::_incRef(android_native_base_t*)) DEBUG: 0x22ad8 refcount = 2
EGL nativewindowbase.cpp:312 (static int BaseNativeWindow::_perform(ANativeWindow*, int, ...)) DEBUG: operation = NATIVE_WINDOW_SET_USAGE
EGL hwcomposer_window.cpp:401 (virtual int HWComposerNativeWindow::setUsage(int)) DEBUG: usage=x202 realloc=1
EGL hwcomposer_window.cpp:433 (virtual int HWComposerNativeWindow::setBufferCount(int)) DEBUG: cnt=2
EGL hwcomposer_window.cpp:97 (void HWComposerNativeWindow::destroyBuffers()) DEBUG:
EGL nativewindowbase.cpp:60 (static void BaseNativeWindowBuffer::_decRef(android_native_base_t*)) DEBUG: 0x235d8 refcount = 0
EGL hwcomposer_window.cpp:64 (virtual HWComposerNativeWindowBuffer::~HWComposerNativeWindowBuffer()) DEBUG: 0x235d8
EGL nativewindowbase.cpp:47 (virtual BaseNativeWindowBuffer::~BaseNativeWindowBuffer()) DEBUG: 0x235d8
EGL nativewindowbase.cpp:60 (static void BaseNativeWindowBuffer::_decRef(android_native_base_t*)) DEBUG: 0x23828 refcount = 0
EGL hwcomposer_window.cpp:64 (virtual HWComposerNativeWindowBuffer::~HWComposerNativeWindowBuffer()) DEBUG: 0x23828
EGL nativewindowbase.cpp:47 (virtual BaseNativeWindowBuffer::~BaseNativeWindowBuffer()) DEBUG: 0x23828
EGL nativewindowbase.cpp:25 (BaseNativeWindowBuffer::BaseNativeWindowBuffer()) DEBUG: 0x235d8
EGL hwcomposer_window.cpp:57 (HWComposerNativeWindowBuffer::HWComposerNativeWindowBuffer(alloc_device_t*, unsigned int, unsigned int, unsigned int, unsigned int)) DEBUG: width=1080 height=1920 stride=1152 format=x1 usage=x1a02 status=Success this=0x235d8
EGL nativewindowbase.cpp:75 (static void BaseNativeWindowBuffer::_incRef(android_native_base_t*)) DEBUG: 0x235d8 refcount = 1
EGL hwcomposer_window.cpp:449 (virtual int HWComposerNativeWindow::setBufferCount(int)) DEBUG: buffer 0 is at 0x235d8 (native 0x235dc),err=Success, handle=0x237d0 stride=1152
EGL nativewindowbase.cpp:25 (BaseNativeWindowBuffer::BaseNativeWindowBuffer()) DEBUG: 0x23828
EGL hwcomposer_window.cpp:57 (HWComposerNativeWindowBuffer::HWComposerNativeWindowBuffer(alloc_device_t*, unsigned int, unsigned int, unsigned int, unsigned int)) DEBUG: width=1080 height=1920 stride=1152 format=x1 usage=x1a02 status=Success this=0x23828
EGL nativewindowbase.cpp:75 (static void BaseNativeWindowBuffer::_incRef(android_native_base_t*)) DEBUG: 0x23828 refcount = 1
EGL hwcomposer_window.cpp:449 (virtual int HWComposerNativeWindow::setBufferCount(int)) DEBUG: buffer 1 is at 0x23828 (native 0x2382c),err=Success, handle=0x238a8 stride=1152
EGL nativewindowbase.cpp:269 (static int BaseNativeWindow::_query(const ANativeWindow*, int, int*)) DEBUG: window:0x22adc 2 NATIVE_WINDOW_FORMAT 0xbefffa6c
EGL hwcomposer_window.cpp:324 (virtual unsigned int HWComposerNativeWindow::format() const) DEBUG: format=x1
[New Thread 0xb4fad420 (LWP 6076)]
EGL nativewindowbase.cpp:269 (static int BaseNativeWindow::_query(const ANativeWindow*, int, int*)) DEBUG: window:0x22adc 6 NATIVE_WINDOW_DEFAULT_WIDTH 0xbefffa20
EGL hwcomposer_window.cpp:352 (virtual unsigned int HWComposerNativeWindow::defaultWidth() const) DEBUG: width=1080
EGL nativewindowbase.cpp:269 (static int BaseNativeWindow::_query(const ANativeWindow*, int, int*)) DEBUG: window:0x22adc 7 NATIVE_WINDOW_DEFAULT_HEIGHT 0xbefffa24
EGL hwcomposer_window.cpp:341 (virtual unsigned int HWComposerNativeWindow::defaultHeight() const) DEBUG: height=1920
EGL nativewindowbase.cpp:269 (static int BaseNativeWindow::_query(const ANativeWindow*, int, int*)) DEBUG: window:0x22adc 2 NATIVE_WINDOW_FORMAT 0x23ad0
EGL hwcomposer_window.cpp:324 (virtual unsigned int HWComposerNativeWindow::format() const) DEBUG: format=x1
EGL nativewindowbase.cpp:269 (static int BaseNativeWindow::_query(const ANativeWindow*, int, int*)) DEBUG: window:0x22adc 8 NATIVE_WINDOW_TRANSFORM_HINT 0x23b08
EGL hwcomposer_window.cpp:382 (virtual unsigned int HWComposerNativeWindow::transformHint() const) DEBUG:
EGL nativewindowbase.cpp:312 (static int BaseNativeWindow::_perform(ANativeWindow*, int, ...)) DEBUG: operation = NATIVE_WINDOW_SET_BUFFERS_DIMENSIONS
EGL hwcomposer_window.cpp:481 (virtual int HWComposerNativeWindow::setBuffersDimensions(int, int)) DEBUG: WARN: stub. size=1080x1920
EGL nativewindowbase.cpp:148 (static void BaseNativeWindow::_incRef(android_native_base_t*)) DEBUG: 0x22ad8 refcount = 3
EGL nativewindowbase.cpp:269 (static int BaseNativeWindow::_query(const ANativeWindow*, int, int*)) DEBUG: window:0x22adc 2 NATIVE_WINDOW_FORMAT 0xbefff6a4
EGL hwcomposer_window.cpp:324 (virtual unsigned int HWComposerNativeWindow::format() const) DEBUG: format=x1
EGL nativewindowbase.cpp:269 (static int BaseNativeWindow::_query(const ANativeWindow*, int, int*)) DEBUG: window:0x22adc 2 NATIVE_WINDOW_FORMAT 0xbefff844
EGL hwcomposer_window.cpp:324 (virtual unsigned int HWComposerNativeWindow::format() const) DEBUG: format=x1
EGL nativewindowbase.cpp:269 (static int BaseNativeWindow::_query(const ANativeWindow*, int, int*)) DEBUG: window:0x22adc 2 NATIVE_WINDOW_FORMAT 0xbefff844
EGL hwcomposer_window.cpp:324 (virtual unsigned int HWComposerNativeWindow::format() const) DEBUG: format=x1
OpenGL ES 3.0 V@53.0 AU@ (CL@3776187)
[New Thread 0xb3fe0420 (LWP 6078)]
EGL hwcomposer_window.cpp:161 (virtual int HWComposerNativeWindow::dequeueBuffer(BaseNativeWindowBuffer**, int*)) DEBUG: Status: Buffer 0x235d8 with busy 0
EGL hwcomposer_window.cpp:161 (virtual int HWComposerNativeWindow::dequeueBuffer(BaseNativeWindowBuffer**, int*)) DEBUG: Status: Buffer 0x23828 with busy 0
EGL hwcomposer_window.cpp:172 (virtual int HWComposerNativeWindow::dequeueBuffer(BaseNativeWindowBuffer**, int*)) DEBUG: Found a free non-front buffer
EGL hwcomposer_window.cpp:192 (virtual int HWComposerNativeWindow::dequeueBuffer(BaseNativeWindowBuffer**, int*)) DEBUG: 3070194624 DONE --> 0x235d8
EGL nativewindowbase.cpp:75 (static void BaseNativeWindowBuffer::_incRef(android_native_base_t*)) DEBUG: 0x235d8 refcount = 2
EGL nativewindowbase.cpp:75 (static void BaseNativeWindowBuffer::_incRef(android_native_base_t*)) DEBUG: 0x235d8 refcount = 3
EGL nativewindowbase.cpp:312 (static int BaseNativeWindow::_perform(ANativeWindow*, int, ...)) DEBUG: operation = NATIVE_WINDOW_SET_BUFFERS_TRANSFORM
EGL nativewindowbase.cpp:341 (static int BaseNativeWindow::_perform(ANativeWindow*, int, ...)) DEBUG: set buffers transform
EGL hwcomposer_window.cpp:220 (virtual int HWComposerNativeWindow::queueBuffer(BaseNativeWindowBuffer*, int)) DEBUG: 3070194624 24
Program received signal SIGSEGV, Segmentation fault.
0xb6a5baac in ?? ()
(gdb) bt
#0 0xb6a5baac in ?? ()
#1 0xb6a5bb00 in ?? ()
#2 0xb6a5bb00 in ?? ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.