标题:Qt4.8在华为泰山Arm服务器编译后,designer段错误,QTJSC:Heap
作者:dxwang
日期:2019-11-04 16:21
内容:
Qt4.8.4在华为泰山2280,Arm服务器上编译后,desiger起不来,报错误,提示QScriptEngine调用的 libQtScript,segmentation fault。 自己写的测试程序,new QScriptEngine 也报段错误,无法成功new。请问大概是什么原因。 其他简单的图形界面assistant,linguist可以正常运行。
#1 [20091001753 11-04 20:56]
用 Qt5 吧
#2 回 20091001753 的帖子 [dxwang 11-05 08:38]
20091001753:用 Qt5 吧 (2019-11-04 20:56)
加了调试信息,发现了Heap的问题,可能是什么原因呢,谢谢:
QT/bin$ gdb ./designer
GNU gdb (Debian 7.12-6) 7.12.0.20161007-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
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 "aarch64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
.
Find the GDB manual and other documentation resources online at:
.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from ./designer...done.
(gdb) r
Starting program: /home/cps/CPS_Project/CPS/3rdPartyProgram/QT/bin/designer
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".
Qt: gdb: -nograb added to command-line options.
Use the -dograb option to enforce grabbing.
Program received signal SIGSEGV, Segmentation fault.
0x0000ffffbe9d68d0 in QTJSC::Heap::heap (c=0xffffffffb7580080)
at ../3rdparty/javascriptcore/JavaScriptCore/runtime/JSCell.h:352
352return cellBlock(c)->heap;
(gdb) bt
#00x0000ffffbe9d68d0 in QTJSC::Heap::heap (c=0xffffffffb7580080)
at ../3r ..