Skip to content

Instantly share code, notes, and snippets.

@Ingvix
Created March 15, 2018 13: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 Ingvix/c8b645797516d63e7aa5af575aceddba to your computer and use it in GitHub Desktop.
Save Ingvix/c8b645797516d63e7aa5af575aceddba to your computer and use it in GitHub Desktop.
[nemo@Sailfish ~]$ EGL_PLATFORM=fbdev gdb /usr/lib/qt5/bin/qmlscene
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/lib/qt5/bin/qmlscene...Missing separate debuginfo for /usr/lib/qt5/bin/qmlscene
Try: zypper install -C "debuginfo(build-id)=042047b335f012a14c3166ca6e121432f85e984b"
(no debugging symbols found)...done.
(gdb) r -platform hwcomposer main.qml
Starting program: /usr/lib/qt5/bin/qmlscene -platform hwcomposer main.qml
Missing separate debuginfo for /usr/lib/libQt5Quick.so.5
Try: zypper install -C "debuginfo(build-id)=20b83621ed3e58687866d18759bbb27a038140a8"
Missing separate debuginfo for /usr/lib/libQt5Qml.so.5
Try: zypper install -C "debuginfo(build-id)=f6018e90aaa7ca6964f70ead6a9570feab9ddd14"
Missing separate debuginfo for /usr/lib/libQt5Gui.so.5
Try: zypper install -C "debuginfo(build-id)=980cfa79504873f57bd7781e37653ebeeced1759"
Missing separate debuginfo for /usr/lib/libQt5Network.so.5
Try: zypper install -C "debuginfo(build-id)=41751999e8d5ce80c5395dc61030334512a7b498"
Missing separate debuginfo for /usr/lib/libQt5Core.so.5
Try: zypper install -C "debuginfo(build-id)=fd7d5b46063af393eb126fce7d6b7baf3e1bd810"
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Missing separate debuginfo for /usr/lib/libfontconfig.so.1
Try: zypper install -C "debuginfo(build-id)=086e9905332df3fb403e1202989e6ca282aec875"
Missing separate debuginfo for /usr/lib/libstdc++.so.6
Try: zypper install -C "debuginfo(build-id)=8150765797650e566eff7b5fe0adf8857744daae"
Missing separate debuginfo for /lib/libgcc_s.so.1
Try: zypper install -C "debuginfo(build-id)=8c67ca955aceccdb9761a89b80b74df40dc0833a"
Missing separate debuginfo for /usr/lib/libpng16.so.16
Try: zypper install -C "debuginfo(build-id)=f106bfbc14fd372ff68055397cab188fd45fb0f0"
Missing separate debuginfo for /usr/lib/libz.so.1
Try: zypper install -C "debuginfo(build-id)=a3f15e91f64e7f549d8e1b963aaf682a0200d8b1"
Missing separate debuginfo for /usr/lib/libicui18n.so.52
Try: zypper install -C "debuginfo(build-id)=ae87fc75e167d0cfe247a450e228f79255e9f09c"
Missing separate debuginfo for /usr/lib/libicuuc.so.52
Try: zypper install -C "debuginfo(build-id)=c801847414c193958ace1252926ddf0783da56cb"
Missing separate debuginfo for /usr/lib/libpcre16.so.0
Try: zypper install -C "debuginfo(build-id)=31e3e16e00c1e4282104f906391ed460f032b04a"
Missing separate debuginfo for /usr/lib/libgthread-2.0.so.0
Try: zypper install -C "debuginfo(build-id)=7cf6eae25ce01fe89a4036655b84e64a13bfd248"
Missing separate debuginfo for /usr/lib/libglib-2.0.so.0
Try: zypper install -C "debuginfo(build-id)=31408bbd84149412aa482d0abd0aa0e71b864aaf"
Missing separate debuginfo for /usr/lib/libsystemd.so.0
Try: zypper install -C "debuginfo(build-id)=e7e96c1c4ee17694c8e33e5ffca27e9348030afe"
Missing separate debuginfo for /usr/lib/libfreetype.so.6
Try: zypper install -C "debuginfo(build-id)=bd4a11a1930f25eb3b948e260c6709a36d41dfe8"
Missing separate debuginfo for /usr/lib/libexpat.so.1
Try: zypper install -C "debuginfo(build-id)=61e820be976c6d3640f3596a604ab22783e764b1"
Missing separate debuginfo for /usr/lib/libpcre.so.1
Try: zypper install -C "debuginfo(build-id)=34648f17af070b56349da12b0a8537d744fe977c"
Missing separate debuginfo for /usr/lib/liblzma.so.5
Try: zypper install -C "debuginfo(build-id)=037b14a682255e71b8a9e0a67a85e06ddd758b80"
Missing separate debuginfo for /usr/lib/libgcrypt.so.11
Try: zypper install -C "debuginfo(build-id)=19e9fdbf942840bafeff48b65f51baedfbea7d76"
Missing separate debuginfo for /usr/lib/libgpg-error.so.0
Try: zypper install -C "debuginfo(build-id)=392322d99fe7079bca80329580e501cf0c470628"
Missing separate debuginfo for /usr/lib/libcap.so.2
Try: zypper install -C "debuginfo(build-id)=c37b64129826c824b550c2d387e20d1af6aeca4f"
Missing separate debuginfo for /usr/lib/libattr.so.1
Try: zypper install -C "debuginfo(build-id)=e46e1a763f856ef9ce026f9196084e073fbfe099"
Missing separate debuginfo for /usr/lib/libQt5Compositor.so.5
Try: zypper install -C "debuginfo(build-id)=fbd35d46c303575c99d198a34dacd7c27743d7c5"
Missing separate debuginfo for /usr/lib/libQt5DBus.so.5
Try: zypper install -C "debuginfo(build-id)=219b204eeeae1a4ffcaf0952a9b86a2c17d70cf5"
Missing separate debuginfo for /usr/lib/libudev.so.1
Try: zypper install -C "debuginfo(build-id)=cd31f52d95994c19f41c0d07275b3df01fdbdcfa"
Missing separate debuginfo for /usr/lib/libmtdev.so.1
Try: zypper install -C "debuginfo(build-id)=4d55b4e56d30872c64038a13dfdc9585a03b95c8"
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 /usr/lib/libxkbcommon.so.0
Try: zypper install -C "debuginfo(build-id)=f2d35a875f9bb93acfcc793f6f1ce5d0fd8389a2"
Missing separate debuginfo for /usr/lib/libdbus-1.so.3
Try: zypper install -C "debuginfo(build-id)=e02b741ea93bcc29f285a1852d4ec4d83e56c0fd"
Missing separate debuginfo for /usr/lib/libffi.so.6
Try: zypper install -C "debuginfo(build-id)=fcfad718f0e2a72f1721ee70eb3159b69be41acc"
[D] unknown:0 - EGLFS: Screen Info
[D] unknown:0 - - Physical size: QSizeF(0, 0)
[D] unknown:0 - - Screen size: QSize(800, 1280)
[D] unknown:0 - - Screen depth: 0
[New Thread 0x4382d390 (LWP 5263)]
== hwcomposer module ==
* Address: 0x4385c004
* Module API Version: 1
* HAL API Version: 0
* Identifier: hwcomposer
* Name: NVIDIA Tegra hwcomposer module
* Author: NVIDIA
== hwcomposer module ==
[F] unknown:0 - QPA-HWC: hwc_module->methods->open(hwc_module, HWC_HARDWARE_COMPOSER, &hwc_device) in create returned -16
Program received signal SIGABRT, Aborted.
__libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
44 ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S: No such file or directory.
(gdb) bt full
#0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
No locals.
#1 0x40f60dce in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
_a1 = 0
_a3tmp = 6
_a1tmp = 0
_a3 = 6
_nametmp = 268
_a2tmp = 5255
_a2 = 5255
_name = 268
_sys_result = <optimized out>
pd = 0x42d34000
pid = 0
selftid = 5255
#2 0x40f63c58 in __GI_abort () at abort.c:89
save_stage = 2
act = {__sigaction_handler = {sa_handler = 0x0, sa_sigaction = 0x0}, sa_mask = {__val = {1085210717, 1084669952, 3549748, 1084764408, 0,
1087162680, 0, 1083665724, 1074188275, 1074594832, 1121140736, 1084669952, 3549792, 1084764408, 0, 3202693076, 0, 1083665724, 1074188275,
1074401456, 1, 5, 0, 1089727408, 1074141967, 3202691368, 3202691356, 1088218240, 3202692476, 3202691848, 1074208836, 3202691356}},
sa_flags = 1121143928, sa_restorer = 0x0}
sigs = {__val = {32, 0 <repeats 31 times>}}
#3 0x40aed4f2 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#4 0x42f81992 in HwComposerBackend::create () at hwcomposer_backend.cpp:86
res = <optimized out>
hwc_module = 0x4385c004
hwc_device = 0x0
__func__ = "create"
version = 1121140736
#5 0x42f80e82 in HwComposerContext::HwComposerContext (this=0x1ee35d0) at hwcomposer_context.cpp:91
new_action = {__sigaction_handler = {sa_handler = 0x42f80e05 <exit_qt_gracefully(int)>, sa_sigaction = 0x42f80e05 <exit_qt_gracefully(int)>},
sa_mask = {__val = {0 <repeats 32 times>}}, sa_flags = 0, sa_restorer = 0x40e5b7a9 <operator new(unsigned int)+21>}
__func__ = "HwComposerContext"
#6 0x42f83768 in QEglFSIntegration::QEglFSIntegration (this=0x1edfd90) at qeglfsintegration.cpp:89
major = 0
minor = 1083665724
#7 0x42f80c22 in QEglFShwcIntegrationPlugin::create (this=<optimized out>, system=..., paramList=...) at main.cpp:59
No locals.
#8 0x406c90c6 in QPlatformIntegrationFactory::create(QString const&, QStringList const&, int&, char**, QString const&) () from /usr/lib/libQt5Gui.so.5
No symbol table info available.
#9 0x406d2692 in QGuiApplicationPrivate::createPlatformIntegration() () from /usr/lib/libQt5Gui.so.5
No symbol table info available.
#10 0x406d2dba in QGuiApplicationPrivate::createEventDispatcher() () from /usr/lib/libQt5Gui.so.5
No symbol table info available.
#11 0x40c2a104 in QCoreApplicationPrivate::init() () from /usr/lib/libQt5Core.so.5
No symbol table info available.
#12 0x406d3440 in QGuiApplicationPrivate::init() () from /usr/lib/libQt5Gui.so.5
No symbol table info available.
#13 0x406d3cc8 in QGuiApplication::QGuiApplication(int&, char**, int) () from /usr/lib/libQt5Gui.so.5
No symbol table info available.
#14 0x0000b7ac in ?? ()
No symbol table info available.
#15 0x0000b7ac in ?? ()
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment