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/fe1dd011bdbdf0a2d955 to your computer and use it in GitHub Desktop.
Save Nokius/fe1dd011bdbdf0a2d955 to your computer and use it in GitHub Desktop.
sh-3.2# EGL_PLATFORM=hwcomposer gdb ./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
Missing separate debuginfo for /lib/ld-linux-armhf.so.3
Try: zypper install -C "debuginfo(build-id)=35efc6d9ebbdad283626940edac23843055d9b2a"
Missing separate debuginfo for /usr/lib/libwayland-client.so.0
Try: zypper install -C "debuginfo(build-id)=bb1a1484534bc6330b97e1a3a2eea8aba5a4a514"
Missing separate debuginfo for /usr/lib/libwayland-server.so.0
Try: zypper install -C "debuginfo(build-id)=0a187955ba91232b8ecea11cc98454c810a38afe"
Missing separate debuginfo for /lib/libdl.so.2
Try: zypper install -C "debuginfo(build-id)=6c9c2696adfaab09d27505f8de1b2ff24ec1ec15"
Missing separate debuginfo for /lib/librt.so.1
Try: zypper install -C "debuginfo(build-id)=1811295cabeec87fee7c07a30b61a8ef928cded1"
Missing separate debuginfo for /usr/lib/libstdc++.so.6
Try: zypper install -C "debuginfo(build-id)=e4a209ffcf2c3d4e9ce5cc45fa8b475c8b127922"
Missing separate debuginfo for /lib/libm.so.6
Try: zypper install -C "debuginfo(build-id)=301851559ddc55ac89b65cbe7048ca2591271665"
Missing separate debuginfo for /lib/libgcc_s.so.1
Try: zypper install -C "debuginfo(build-id)=623f2e1b634304ee7d1641f5c5733fad8acca56f"
Missing separate debuginfo for /lib/libpthread.so.0
Try: zypper install -C "debuginfo(build-id)=b876d43f67d4f6b8bbc4e2cc35c20e2d2a68ae57"
warning: File "/lib/libthread_db-1.0.so" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load".
To enable execution of this file add
add-auto-load-safe-path /lib/libthread_db-1.0.so
line to your configuration file "//.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "//.gdbinit".
For more information about this security protection see the
"Auto-loading safe path" section in the GDB manual. E.g., run from the shell:
info "(gdb)Auto-loading safe path"
warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available.
Missing separate debuginfo for /lib/libc.so.6
Try: zypper install -C "debuginfo(build-id)=5fbd7b8fc46a7f4cb0a62daa6fbbc827571c1768"
Missing separate debuginfo for /usr/lib/libffi.so.5
Try: zypper install -C "debuginfo(build-id)=ba405033183c4068d32876295710de850b23f9ee"
width: 1080 height: 1920
Program received signal SIGSEGV, Segmentation fault.
0x4097d710 in ?? ()
(gdb) bt
#0 0x4097d710 in ?? ()
#1 0x400639e4 in HWComposerNativeWindowBuffer::HWComposerNativeWindowBuffer (this=0x1d0b8, alloc_device=0x1c548, width=1080, height=1920, format=1074190928, usage=1073807572) at hwcomposer_window.cpp:53
#2 0x00017900 in ?? ()
Cannot access memory at address 0x100
#3 0x00017900 in ?? ()
Cannot access memory at address 0x100
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