首页| 论坛| 消息

标题:qpe运行错误,高手请进阿
作者:人月计划
日期:2009-05-18 17:29
内容:

在执行如下语句时
QAbstractServerInterface *interface =
qtopiaWidget(0, Qt::FramelessWindowHint);
用远程调试出现如下提示
Program received signal SIGSEGV, Segmentation fault.
0x00074030 in QBasicAtomic::init (this=0x0, x=1)
at /home/jimmy/qt4/qtopia/qtopiacore/target/include/QtCore/../../../qt/src/corelib/thread/qatomic.h:68
68{ atomic = x; }
无调试执行qpe
出现如下
QLine::unitVector: New line does not have unit length
QLine::unitVector: New line does not have unit length
QLine::unitVector: New line does not have unit length
QLine::unitVector: New line does not have unit length
QPainterPath::cub ..


#1 [gvim 05-18 19:20]
接着跟吧,这样也看不出来。 出现 egmentation fault,绝大部分原因都是访问到空指针。或者在内存位置不是4字节位置的访问。还有很少的情况是内存溢出。
你最好是自己找到那个位置。或者别人碰到类似错误能帮到你。

回复 发表
主题 版块