zlgopen / awtk-linux-fb

awtk port for linux framebuffer
110 stars 49 forks source link

demoui出现Segmentation fault #45

Closed mr-cn closed 4 years ago

mr-cn commented 4 years ago
./demoui 
app_root_is_valid:43 app_root != NULL
path_is_abs:202 path != NULL && *path
try /mnt/release/bin
app_root=/mnt/release
fb_info_t: /dev/fb0
xres=1024 yres=600
xres_virtual=1024 yres_virtual=600
bits_per_pixel=16 line_length=2048
fb_info_t: red(11 5) green(5 6) blue(0 5)
xpanstep=1 ywrapstep=0
fb_size=1228800 fb_total_size=2457600 fb_nr=1 smem_len=2457600
fb_open clear
single fb
fb_open ok
ratio=1.000000 1024 600
Couldn't load module input
No raw modules loaded.
input_run:218: open mouse failed, fd=-1, filename=/dev/input/mouse0
input_run:313: open keyboard successful, fd=5, filename=/dev/input/event1
tslib_run:114: open tslib successful, filename=/dev/input/event0
Segmentation fault

双buffer

我猜是内存操作有错误,想请问一下 这一般是什么地方出的问题,能指导一下大致差错的方向吗?

(gdb远程调试不太方便)

mr-cn commented 4 years ago

疑似为tslib的问题。

BingoFang commented 3 years ago

请问后面怎么解决?