Skip to content

Instantly share code, notes, and snippets.

@Nokius
Created March 28, 2015 20:41
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/adc6b53f792ae524e96e to your computer and use it in GitHub Desktop.
Save Nokius/adc6b53f792ae524e96e 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 /home/nemo/test_hwcomposer...(no debugging symbols found)...done.
(gdb) run
Starting program: /home/nemo/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 18024)]
OpenGL ES 3.0 V@53.0 AU@ (CL@3776187)
[New Thread 0xb3fe0420 (LWP 18026)]
^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 = -1225163056
#2 0x00009f44 in HWComposer::present(HWComposerNativeWindowBuffer*) ()
No symbol table info available.
#3 0xb6f94904 in HWComposerNativeWindow::queueBuffer (this=0x22ad8, buffer=0x23828, fenceFd=27) 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) q
A debugging session is active.
Inferior 1 [process 18015] 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