[Interest] Issue of the test qt5 app on the omap4

Александр Чапкин alexander at chapkin.name
Wed Nov 13 13:54:27 CET 2013


Hi, all.

I have cross-compiled qt 5.1.0 for the omap4 device. I'm trying to run test
app Cube and got this error (I switched on the debug)

Cant find EGLConfig, returning null config
ASSERT: "context" in file qglfunctions.cpp, line 174
 Aborted (core dumped)


Please, advice me, what's wrong and how can I fix it?

The system is ubuntu 12.04.

Here is the gdb output:

(gdb) run
Starting program: /home/variscite/cube
Traceback (most recent call last):
  File "/usr/lib/debug/usr/lib/arm-linux-gnueabihf/libstdc++.
so.6.0.16-gdb.py", line 62, in <module>
    from libstdcxx.v6.printers import register_libstdcxx_printers
ImportError: No module named libstdcxx.v6.printers
[Thread debugging using libthread_db enabled]
Using host libthread_db library
"/lib/arm-linux-gnueabihf/libthread_db.so.1".
[New Thread 0xb5a47460 (LWP 3690)]
Qt: gdb: -nograb added to command-line options.
 Use the -dograb option to enforce grabbing.
Cant find EGLConfig, returning null config
ASSERT: "context" in file qglfunctions.cpp, line 174

Program received signal SIGABRT, Aborted.
__libc_do_syscall () at
../ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S:47
47 ../ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S: No such
file or directory.
(gdb) bt
#0  __libc_do_syscall () at
../ports/sysdeps/unix/sysv/linux/arm/eabi/libc-do-syscall.S:47
#1  0xb6011e92 in __GI_raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:67
#2  0xb601426c in __GI_abort () at abort.c:91
#3  0xb625eeb8 in qt_message_fatal (context=..., message=...) at
global/qlogging.cpp:944
#4  0xb625d19e in QMessageLogger::fatal (this=0xbeffeefc, msg=0xb64b4740
"ASSERT: \"%s\" in file %s, line %d") at global/qlogging.cpp:360
#5  0xb6259698 in qt_assert (assertion=0xb6fcaa88 "context",
file=0xb6fcaa90 "qglfunctions.cpp", line=174) at global/qglobal.cpp:2014
#6  0xb6fa63f2 in qt_gl_functions (context=0x0) at qglfunctions.cpp:174
#7  0xb6fa66ac in QGLFunctions::initializeGLFunctions (this=0xbefff5c8,
context=0x0) at qglfunctions.cpp:355
#8  0x0000b62c in MainWidget::initializeGL (this=0xbefff5b0) at
mainwidget.cpp:107
#9  0xb6f9ef3e in QGLWidget::glInit (this=0xbefff5b0) at qgl.cpp:4112
#10 0xb6fc8af2 in QGLWidget::resizeEvent (this=0xbefff5b0, e=0xbefff4a8) at
qgl_qpa.cpp:386
#11 0xb6b8ff42 in QWidget::event (this=0xbefff5b0, event=0xbefff4a8) at
kernel/qwidget.cpp:8038
#12 0xb6fc8a8c in QGLWidget::event (this=0xbefff5b0, e=0xbefff4a8) at
qgl_qpa.cpp:374
#13 0xb6b56684 in QApplicationPrivate::notify_helper (this=0x1f868,
receiver=0xbefff5b0, e=0xbefff4a8) at kernel/qapplication.cpp:3455
#14 0xb6b56560 in QApplication::notify (this=0xbefff658,
receiver=0xbefff5b0, e=0xbefff4a8) at kernel/qapplication.cpp:3420
#15 0xb640557e in QCoreApplication::notifyInternal (this=0xbefff658,
receiver=0xbefff5b0, event=0xbefff4a8) at kernel/qcoreapplication.cpp:871
#16 0xb6b4b0cc in QCoreApplication::sendEvent (receiver=0xbefff5b0,
event=0xbefff4a8) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:232
#17 0xb6b8dd3e in QWidgetPrivate::sendPendingMoveAndResizeEvents
(this=0x45858, recursive=false, disableUpdates=false) at
kernel/qwidget.cpp:6999
#18 0xb6b8df14 in QWidgetPrivate::show_helper (this=0x45858) at
kernel/qwidget.cpp:7050
#19 0xb6b8e6a4 in QWidget::setVisible (this=0xbefff5b0, visible=true) at
kernel/qwidget.cpp:7307
#20 0xb6b8db78 in QWidget::show (this=0xbefff5b0) at kernel/qwidget.cpp:6957
#21 0x0000af7c in main (argc=1, argv=0xbefff7c4) at main.cpp:55
(gdb)
-- 
С уважением, Александр Чапкин.

e-mail: alexander at chapkin.name
skype: alexander.chapkin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20131113/dbc63cf2/attachment.html>


More information about the Interest mailing list