abnerle 发表于 2012-10-5 12:18:56

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

运行,xcalc. xterm, 都没有问题,X的应用程序可以正常运行
下面运行GTK程序hello1,就报错
[\u@\h=W]#./hello1 &
Backtrace:
0: /lib/ld-linux.so.3 (0x4007a000+0x25000)

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.


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

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

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.


uasoft 发表于 2012-10-8 22:23:50

看样子象是死在x上了,lz在开发板运行吗?

abnerle 发表于 2012-10-10 19:57:51

uasoft 发表于 2012-10-8 22:23 static/image/common/back.gif
看样子象是死在x上了,lz在开发板运行吗?

是的,是在ARM板子上运行的,但是X的应用程序,可以正常运行,matchbox也可以正常运行的,就是GTK程序不行
页: [1]
查看完整版本: GTK程序运行报错,帮我看看