Skip to content

Instantly share code, notes, and snippets.

@Nokius
Created March 21, 2015 17:47
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/9c7bd144aa9c78747335 to your computer and use it in GitHub Desktop.
Save Nokius/9c7bd144aa9c78747335 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".
Missing separate debuginfo for /usr/lib/libffi.so.5
Try: zypper install -C "debuginfo(build-id)=ba405033183c4068d32876295710de850b23f9ee"
width: 1080 height: 1920
[New Thread 0xb4fad420 (LWP 4889)]
OpenGL ES 3.0 V@53.0 AU@ (CL@3776187)
[New Thread 0xb3fe0420 (LWP 4890)]
test_hwcomposer: test_hwcomposer.cpp:122: virtual void HWComposer::present(HWComposerNativeWindowBuffer*): Assertion `err == 0' failed.
Program received signal SIGABRT, Aborted.
0xb6c88808 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
67 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0xb6c88808 in __GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:67
#1 0xb6c8c590 in __GI_abort () at abort.c:91
#2 0xb6c81914 in __assert_fail_base (fmt=0xb6d85e6c "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0xa570 "err == 0", file=0xb6d9e080 <lock> "",
line=122,
function=0xa0d0 <HWComposer::present(HWComposerNativeWindowBuffer*)::__PRETTY_FUNCTION__> "virtual void HWComposer::present(HWComposerNativeWindowBuffer*)")
at assert.c:94
#3 0xb6c819dc in __GI___assert_fail (assertion=0xa570 "err == 0", file=0xb6d9e080 <lock> "", line=2, function=0xb6ff73c0 "\001") at assert.c:103
#4 0x00009f30 in HWComposer::present(HWComposerNativeWindowBuffer*) ()
#5 0xb6f94904 in HWComposerNativeWindow::queueBuffer (this=0x22ad8, buffer=0x235d8, fenceFd=24) at hwcomposer_window.cpp:228
#6 0xb6f836d0 in BaseNativeWindow::_queueBuffer (window=<optimized out>, buffer=<optimized out>, fenceFd=<optimized out>) at nativewindowbase.cpp:199
#7 0xb6093878 in ?? ()
#8 0xb6093878 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