Skip to content

Instantly share code, notes, and snippets.

@Ingvix
Created March 13, 2018 09:43
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 Ingvix/e9e92fff1d9e6c9b23632120d8614c29 to your computer and use it in GitHub Desktop.
Save Ingvix/e9e92fff1d9e6c9b23632120d8614c29 to your computer and use it in GitHub Desktop.
[root@Sailfish /]# EGL_PLATFORM=fbdev test_hwcomposer
width: 800 height: 1280
Segmentation fault
[root@Sailfish /]# EGL_PLATFORM=fbdev gdb test_hwcomposer
GNU gdb (GDB) Mer (7.6.2+git2)
Copyright (C) 2013 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) r
Starting program: /usr/bin/test_hwcomposer
Missing separate debuginfo for /lib/ld-linux-armhf.so.3
Try: zypper install -C "debuginfo(build-id)=727f5251a784ab18543911ac0f5b29c769a4d71d"
Missing separate debuginfo for /usr/lib/libwayland-client.so.0
Try: zypper install -C "debuginfo(build-id)=fa4e2de3e292d7faea1cd07be25f346a6c10f8db"
Missing separate debuginfo for /usr/lib/libwayland-server.so.0
Try: zypper install -C "debuginfo(build-id)=5870c6a10daff7c5cfa3d0702a91336a501a7640"
Missing separate debuginfo for /lib/libdl.so.2
Try: zypper install -C "debuginfo(build-id)=f6eaf727102bd845c6620a9bdd17669491e52f9e"
Missing separate debuginfo for /lib/librt.so.1
Try: zypper install -C "debuginfo(build-id)=a110752e963e0e41c1f9ae54c6b3c7df43b110c6"
Missing separate debuginfo for /usr/lib/libstdc++.so.6
Try: zypper install -C "debuginfo(build-id)=8150765797650e566eff7b5fe0adf8857744daae"
Missing separate debuginfo for /lib/libm.so.6
Try: zypper install -C "debuginfo(build-id)=83216128b230cde18d4174eee33576d7b372971f"
Missing separate debuginfo for /lib/libc.so.6
Try: zypper install -C "debuginfo(build-id)=ee1d512fe64ebd0fefb6b9a1aebfd9f1e50c8f74"
Missing separate debuginfo for /lib/libgcc_s.so.1
Try: zypper install -C "debuginfo(build-id)=8c67ca955aceccdb9761a89b80b74df40dc0833a"
Missing separate debuginfo for /lib/libpthread.so.0
Try: zypper install -C "debuginfo(build-id)=b7f73be8972aed041844797ddc603ba196a69056"
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 "/root/.gdbinit".
To completely disable this security protection add
set auto-load safe-path /
line to your configuration file "/root/.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 /usr/lib/libffi.so.6
Try: zypper install -C "debuginfo(build-id)=fcfad718f0e2a72f1721ee70eb3159b69be41acc"
width: 800 height: 1280
Program received signal SIGSEGV, Segmentation fault.
FbDevNativeWindow::FbDevNativeWindow (this=0x5954f0, alloc=0x59fd68, fbDev=0x0) at fbdev_window.cpp:79
79 fbdev_window.cpp: No such file or directory.
(gdb) bt
#0 FbDevNativeWindow::FbDevNativeWindow (this=0x5954f0, alloc=0x59fd68, fbDev=0x0) at fbdev_window.cpp:79
#1 0x4094c0a6 in fbdevws_CreateWindow (win=<optimized out>, display=<optimized out>) at eglplatform_fbdev.cpp:69
#2 0x40029366 in eglCreateWindowSurface (dpy=0x1, config=0xcaf32c, win=5854996, attrib_list=0x0) at egl.c:241
#3 0x00011b42 in main ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment