Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@Nokius
Last active August 29, 2015 14:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Nokius/cbef9ca3f9604fe91975 to your computer and use it in GitHub Desktop.
Save Nokius/cbef9ca3f9604fe91975 to your computer and use it in GitHub Desktop.
sh-3.2# EGL_PLATFORM=hwcomposer gdb --args test_hwcomposer
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 /usr/bin/test_hwcomposer...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/test_hwcomposer
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
width: 1080 height: 1920
[New Thread 0xb4fad420 (LWP 2039)]
OpenGL ES 3.0 V@53.0 AU@ (CL@3776187)
[New Thread 0xb3fe0420 (LWP 2043)]
^C
Program received signal SIGINT, Interrupt.
0xb6d2b9a8 in ioctl () from /lib/libc.so.6
(gdb) bt full
#0 0xb6d2b9a8 in ioctl () from /lib/libc.so.6
No symbol table info available.
#1 0xb6f787d0 in sync_wait (fd=<optimized out>, timeout=<optimized out>) at sync.c:35
to = 32
#2 0x00009efc in HWComposer::present(HWComposerNativeWindowBuffer*) ()
No symbol table info available.
#3 0xb6f94904 in HWComposerNativeWindow::queueBuffer (this=0x22ad8, buffer=0x23828, fenceFd=24) at hwcomposer_window.cpp:228
__PRETTY_FUNCTION__ = "virtual int HWComposerNativeWindow::queueBuffer(BaseNativeWindowBuffer*, int)"
fbnb = 0x23828
#4 0xb6f836d0 in BaseNativeWindow::_queueBuffer (window=<optimized out>, buffer=<optimized out>, fenceFd=<optimized out>)
at nativewindowbase.cpp:199
nativeWindow = <optimized out>
nativeBuffer = <optimized out>
#5 0xb6093878 in ?? ()
No symbol table info available.
#6 0xb6093878 in ?? ()
No symbol table info available.
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) ^CQuit
(gdb) q
A debugging session is active.
Inferior 1 [process 2032] will be killed.
Quit anyway? (y or n) y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment