GTK+中文社区(gtk.awaysoft.com)

 找回密码
 马上加入

QQ登录

只需一步,快速开始

查看: 2145|回复: 2

GTK程序运行报错,帮我看看

[复制链接]

该用户从未签到

发表于 2012-10-5 12:18:56 | 显示全部楼层 |阅读模式
运行,xcalc. xterm, 都没有问题,X的应用程序可以正常运行
下面运行GTK程序hello1,就报错
[\u@\h=W]#./hello1 &
Backtrace:
0: /lib/ld-linux.so.3 (0x4007a000+0x25000) [0x4009f000]

Segmentation fault at address (nil)

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting

Can't deallocate console 1 Device or resource busy

(hello1:617): Gdk-WARNING **: hello1: Fatal IO error 0 (Success) on X server :0.0.


[1] + Done(1)                    ./hello1
[2] + Aborted                    Xfbdev -mouse mouse -keybd keyboard

下面运行GTK程序gtk3-demo,就报错
[\u@\h=W]#gtk3-demo &
Backtrace:
0: /lib/ld-linux.so.3 (0x400b2000+0x25000) [0x400d7000]

Segmentation fault at address (nil)

Fatal server error:
Caught signal 11 (Segmentation fault). Server aborting

Can't deallocate console 2 Device or resource busy

(gtk3-demo:622): Gdk-WARNING **: gtk3-demo: Fatal IO error 0 (Success) on X server :0.0.


该用户从未签到

发表于 2012-10-8 22:23:50 | 显示全部楼层
看样子象是死在x上了,lz在开发板运行吗?

该用户从未签到

 楼主| 发表于 2012-10-10 19:57:51 | 显示全部楼层
uasoft 发表于 2012-10-8 22:23
看样子象是死在x上了,lz在开发板运行吗?

是的,是在ARM板子上运行的,但是X的应用程序,可以正常运行,matchbox也可以正常运行的,就是GTK程序不行
*滑块验证:
您需要登录后才可以回帖 登录 | 马上加入

本版积分规则

申请友链|Archiver|小黑屋|手机版|GTK+中文社区 ( 粤ICP备13080851号 )

我要啦免费统计

GMT+8, 2024-5-2 01:15 , Processed in 0.478893 second(s), 8 queries , Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表