phablet@ubuntu-phablet:~/maliit-framework-0.99.0+git20130615+97e8335/tests/ft_exampleplugin$ gdb ./ft_exampleplugin GNU gdb (GDB) 7.6-ubuntu
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 "arm-linux-gnueabihf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/phablet/maliit-framework-0.99.0+git20130615+97e8335/tests/ft_exampleplugin/ft_exampleplugin...done.
(gdb) run
Starting program: /home/phablet/maliit-framework-0.99.0+git20130615+97e8335/tests/ft_exampleplugin/ft_exampleplugin
Traceback (most recent call last):
File "/usr/lib/debug/usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.18-gdb.py", line 59, in <module>
from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'
Traceback (most recent call last):
File "/usr/lib/debug/usr/lib/arm-linux-gnueabihf/libstdc++.so.6.0.18-gdb.py", line 59, in <module>
from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named 'libstdcxx'
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-linux-gnueabihf/libthread_db.so.1".
__pthread_gettid -2
terminate called after throwing an instance of 'std::system_error'
what(): Operation not permitted
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
#0 __libc_do_syscall () at ../ports/sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:44
#1 0x406785fe in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#2 0x4067ae1a in __GI_abort () at abort.c:90
#3 0x405d07b4 in __gnu_cxx::__verbose_terminate_handler () at ../../../../src/libstdc++-v3/libsupc++/vterminate.cc:95
#4 0x405cf1d4 in __cxxabiv1::__terminate (handler=<optimized out>) at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:38
#5 0x405cf1f0 in std::terminate () at ../../../../src/libstdc++-v3/libsupc++/eh_terminate.cc:48
#6 0x405cf41a in __cxxabiv1::__cxa_throw (obj=0x2b780, tinfo=<optimized out>, dest=<optimized out>)
at ../../../../src/libstdc++-v3/libsupc++/eh_throw.cc:84
#7 0x40606f8a in std::__throw_system_error (__i=1) at ../../../../../src/libstdc++-v3/src/c++11/functexcept.cc:104
#8 0x420245fc in mir::client::DisplayConfiguration::copy_to_client() const () from /usr/lib/arm-linux-gnueabihf/libmirclient.so.3
#9 0x42026638 in MirConnection::create_copy_of_display_config() () from /usr/lib/arm-linux-gnueabihf/libmirclient.so.3
#10 0x42025298 in mir_connection_get_display_info () from /usr/lib/arm-linux-gnueabihf/libmirclient.so.3
#11 0x41f19344 in ua_ui_display_new_with_index () from /usr/lib/arm-linux-gnueabihf/libubuntu_application_api_mirclient.so.1
#12 0x41edf1f2 in QUbuntuBaseScreen::QUbuntuBaseScreen (this=0x2b8a8) at screen.cc:82
#13 0x41edda06 in QUbuntuScreen::QUbuntuScreen (this=0x2b8a0, options=0x1fd30) at screen.cc:54
#14 0x41edcf80 in QUbuntuIntegration::QUbuntuIntegration (this=0x29fd0,
input_factory=0x41efa824 <(anonymous namespace)::InputAdaptorFactory::instance()::global_instance>) at integration.cc:75
#15 0x41edcaaa in QUbuntuMirIntegration::QUbuntuMirIntegration (this=0x29fd0) at integration.cc:39
#16 0x41edc536 in QUbuntuMirClientIntegrationPlugin::create (this=<optimized out>, system=..., paramList=...) at main.cc:41
#17 0x400bfba8 in QGuiApplicationPrivate::createPlatformIntegration() () from /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5
#18 0x400c01da in QGuiApplicationPrivate::createEventDispatcher() () from /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5
#19 0x4040cc86 in QCoreApplication::init() () from /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5
#20 0x4040ccca in QCoreApplication::QCoreApplication(QCoreApplicationPrivate&) () from /usr/lib/arm-linux-gnueabihf/libQt5Core.so.5
#21 0x400c087a in QGuiApplication::QGuiApplication(int&, char**, int) () from /usr/lib/arm-linux-gnueabihf/libQt5Gui.so.5
#22 0x00009c5c in main (argc=1, argv=0xbefff384) at ft_exampleplugin.cpp:80
(gdb)
A longer backtrace for the same issue:
phablet@ ubuntu- phablet: ~/maliit- framework- 0.99.0+ git20130615+ 97e8335/ tests/ft_ exampleplugin$ gdb ./ft_exampleplugin GNU gdb (GDB) 7.6-ubuntu gnu.org/ licenses/ gpl.html> gnueabihf" . www.gnu. org/software/ gdb/bugs/>... maliit- framework- 0.99.0+ git20130615+ 97e8335/ tests/ft_ exampleplugin/ ft_exampleplugi n...done. maliit- framework- 0.99.0+ git20130615+ 97e8335/ tests/ft_ exampleplugin/ ft_exampleplugi n debug/usr/ lib/arm- linux-gnueabihf /libstdc+ +.so.6. 0.18-gdb. py", line 59, in <module> v6.printers import register_ libstdcxx_ printers debug/usr/ lib/arm- linux-gnueabihf /libstdc+ +.so.6. 0.18-gdb. py", line 59, in <module> v6.printers import register_ libstdcxx_ printers linux-gnueabihf /libthread_ db.so.1" .
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://
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 "arm-linux-
For bug reporting instructions, please see:
<http://
Reading symbols from /home/phablet/
(gdb) run
Starting program: /home/phablet/
Traceback (most recent call last):
File "/usr/lib/
from libstdcxx.
ImportError: No module named 'libstdcxx'
Traceback (most recent call last):
File "/usr/lib/
from libstdcxx.
ImportError: No module named 'libstdcxx'
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/arm-
__pthread_gettid -2
terminate called after throwing an instance of 'std::system_error'
what(): Operation not permitted
Program received signal SIGABRT, Aborted. sysdeps/ unix/sysv/ linux/arm/ libc-do- syscall. S:44 sysdeps/ unix/sysv/ linux/arm/ libc-do- syscall. S: No such file or directory. sysdeps/ unix/sysv/ linux/arm/ libc-do- syscall. S:44 sysdeps/ unix/sysv/ linux/raise. c:56 :__verbose_ terminate_ handler () at ../../. ./../src/ libstdc+ +-v3/libsupc+ +/vterminate. cc:95 :__terminate (handler=<optimized out>) at ../../. ./../src/ libstdc+ +-v3/libsupc+ +/eh_terminate. cc:38 ./../src/ libstdc+ +-v3/libsupc+ +/eh_terminate. cc:48 :__cxa_ throw (obj=0x2b780, tinfo=<optimized out>, dest=<optimized out>) ./../src/ libstdc+ +-v3/libsupc+ +/eh_throw. cc:84 throw_system_ error (__i=1) at ../../. ./../.. /src/libstdc+ +-v3/src/ c++11/functexce pt.cc:104 :DisplayConfigu ration: :copy_to_ client( ) const () from /usr/lib/ arm-linux- gnueabihf/ libmirclient. so.3 :create_ copy_of_ display_ config( ) () from /usr/lib/ arm-linux- gnueabihf/ libmirclient. so.3 get_display_ info () from /usr/lib/ arm-linux- gnueabihf/ libmirclient. so.3 new_with_ index () from /usr/lib/ arm-linux- gnueabihf/ libubuntu_ application_ api_mirclient. so.1 en::QUbuntuBase Screen (this=0x2b8a8) at screen.cc:82 :QUbuntuScreen (this=0x2b8a0, options=0x1fd30) at screen.cc:54 ion::QUbuntuInt egration (this=0x29fd0, factory= 0x41efa824 <(anonymous namespace) ::InputAdaptorF actory: :instance( )::global_ instance> ) at integration.cc:75 ration: :QUbuntuMirInte gration (this=0x29fd0) at integration.cc:39 tIntegrationPlu gin::create (this=<optimized out>, system=..., paramList=...) at main.cc:41 Private: :createPlatform Integration( ) () from /usr/lib/ arm-linux- gnueabihf/ libQt5Gui. so.5 Private: :createEventDis patcher( ) () from /usr/lib/ arm-linux- gnueabihf/ libQt5Gui. so.5 n::init( ) () from /usr/lib/ arm-linux- gnueabihf/ libQt5Core. so.5 n::QCoreApplica tion(QCoreAppli cationPrivate& ) () from /usr/lib/ arm-linux- gnueabihf/ libQt5Core. so.5 ::QGuiApplicati on(int& , char**, int) () from /usr/lib/ arm-linux- gnueabihf/ libQt5Gui. so.5 n.cpp:80
__libc_do_syscall () at ../ports/
44 ../ports/
(gdb) bt
#0 __libc_do_syscall () at ../ports/
#1 0x406785fe in __GI_raise (sig=sig@entry=6) at ../nptl/
#2 0x4067ae1a in __GI_abort () at abort.c:90
#3 0x405d07b4 in __gnu_cxx:
#4 0x405cf1d4 in __cxxabiv1:
#5 0x405cf1f0 in std::terminate () at ../../.
#6 0x405cf41a in __cxxabiv1:
at ../../.
#7 0x40606f8a in std::__
#8 0x420245fc in mir::client:
#9 0x42026638 in MirConnection:
#10 0x42025298 in mir_connection_
#11 0x41f19344 in ua_ui_display_
#12 0x41edf1f2 in QUbuntuBaseScre
#13 0x41edda06 in QUbuntuScreen:
#14 0x41edcf80 in QUbuntuIntegrat
input_
#15 0x41edcaaa in QUbuntuMirInteg
#16 0x41edc536 in QUbuntuMirClien
#17 0x400bfba8 in QGuiApplication
#18 0x400c01da in QGuiApplication
#19 0x4040cc86 in QCoreApplicatio
#20 0x4040ccca in QCoreApplicatio
#21 0x400c087a in QGuiApplication
#22 0x00009c5c in main (argc=1, argv=0xbefff384) at ft_exampleplugi
(gdb)