Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#86 segmentation fault when gtk is not install

open
nobody
5
2012-12-05
2011-12-07
liuym
No

Environment: Ubuntu 10.10
Run: /home/liuym/dev/skyeye-testsuite/linux/s3c6410
Description: segmentation at s3c6410_fb_write
Process:
liuym@:~/dev/skyeye-testsuite/linux/s3c6410$ skyeye -n -e vmlinux

LOG1:
liuym@:~/dev/skyeye-testsuite/linux/s3c6410$ gdb skyeye -q
Reading symbols from /opt/skyeye/bin/skyeye...done.
(gdb) set args -n -e vmlinux
(gdb) run

LOG2:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x9d3d8b70 (LWP 3084)]
0x0143ce03 in s3c6410_fb_write (opaque=0x8059810, offset=32, buf=0x9d3d80e8, count=4)
at lcd_s3c6410/lcd_s3c6410.c:194
warning: Source file is more recent than executable.
194 lcd_ctrl->lcd_open(lcd_ctrl->conf_obj, dev->surface);
(gdb) bt
#0 0x0143ce03 in s3c6410_fb_write (opaque=0x8059810, offset=32, buf=0x9d3d80e8, count=4)
at lcd_s3c6410/lcd_s3c6410.c:194
#1 0x00246b58 in space_write (addr_space=0x8059748, addr=1997537312, buf=0x9d3d80e8, count=4)
at bus/addr_space.c:69
#2 0x01c21a6a in s3c6410x_io_write_word (state=0x0, addr=1997537312, data=65557)
at s3c6410x/skyeye_mach_s3c6410x.c:669
#3 0x002448fc in io_write_word (size=32, addr=1997537312, value=65557) at bus/io.c:246
#4 io_write (size=32, addr=1997537312, value=65557) at bus/io.c:276
#5 0x00244581 in bus_write (size=32, addr=1997537312, value=65557) at bus/bank_ops.c:131

Discussion