Re: 您好,关于1.3.5的段错误问题

74 views
Skip to first unread message

Michael.Kang

unread,
Apr 10, 2013, 10:14:17 PM4/10/13
to skyeye-simulator
好的。能否把你的hello发给我测试一下,二进制以及源代码。
另外你的系统是什么?

如果你愿意的话,可以在sourceforge上帮我们报一下bug, 链接如下:
https://sourceforge.net/p/skyeye/bugs/

-- ksh


On Wed, Apr 10, 2013 at 8:48 PM, Kana Shigure <qijia...@gmail.com> wrote:
我用的是skyeye 1.3.5,跑一个很简单的helloworld程序但是在命令行输入start的时候出现segment fault,报错如下:
---------
ilovelinux@ilovelinux-VirtualBox:~/testskyeye$ skyeye -e hello
SkyEye 1.3.5
SkyEye is an Open Source project under GPL. All rights of different parts or modules are reserved by their author. Any modification or redistributions of SkyEye should not remove or modify the annoucement of SkyEye copyright. 
Get more information about it, please visit the homepage http://www.skyeye.org.
Type "help" to get command list. 
 (skyeye) start
In create_uart_console
mmap DRAM, size=0x800000, return 0x50000000
mmap DRAM, size=0x800000, return 0x50800000
mmap DRAM, size=0x19000000, return 0x51000000
1 core is initialized.
段错误
ilovelinux@ilovelinux-VirtualBox:~/testskyeye$ 
-----------------
下面是我S3C6410的配置:
----------------
# skyeye config file for S3C6410X


arch:arm
cpu: arm11
mach: s3c6410x

# physical memory
mem_bank: map=M, type=RW, addr=0x50000000, size=0x00800000
mem_bank: map=M, type=RW, addr=0x50800000, size=0x00800000
mem_bank: map=M, type=RW, addr=0x51000000, size=0x19000000

# all peripherals I/O mapping area
mem_bank: map=I, type=RW, addr=0x70000000, size=0x10000000
mem_bank: map=I, type=RW, addr=0x80000000, size=0x10000000
uart:mod = term
-----------------------------
内核信息如下:
------------------------------
[ 4008.622861] skyeye[1784]: segfault at e4c ip 00733091 sp bf8f0790 error 4 in ld-2.13.so[72a000+1c000]
[ 4036.947996] skyeye[1798]: segfault at e4c ip 00f57091 sp bff5ca30 error 4 in ld-2.13.so[f4e000+1c000]
[ 4225.238194] skyeye[1890]: segfault at e4c ip 00b03091 sp bfc5b4d0 error 4 in ld-2.13.so[afa000+1c000]
[ 4776.406168] skyeye[1986]: segfault at 5e6f700 ip 05e6f700 sp bfc12660 error 4 in libreadline.so.6.2[6f46000+2e000]
[ 5076.830729] skyeye[2020]: segfault at 1343700 ip 01343700 sp bf8b44f0 error 4 in libreadline.so.6.2[249f000+2e000]
[ 5220.674584] skyeye[2024]: segfault at 3069700 ip 03069700 sp bfab8110 error 4 in libopcodes-2.18.50.20070907.so[436d000+301000]
[ 5238.934953] skyeye[2028]: segfault at 6d3f700 ip 06d3f700 sp bfcd6ad0 error 4 in libreadline.so.6.2[7ad3000+2e000]
[ 5304.246053] skyeye[2031]: segfault at 0 ip   (null) sp bfa6ccf0 error 4 in libm-2.13.so[110000+24000]
[ 9539.726964] atkbd serio0: Spurious NAK on isa0060/serio0. Some program might be trying access hardware directly.
[12507.273197] skyeye[27314]: segfault at 0 ip 003441e4 sp bfcdc524 error 6 in libcommon.so.0.0.0[331000+25000]
[12580.480299] skyeye[27328]: segfault at 0 ip 009d81e4 sp bfcd9974 error 6 in libcommon.so.0.0.0[9c5000+25000]
[12962.997616] skyeye[27352]: segfault at 0 ip 002ba1e4 sp bfab3bb4 error 6 in libcommon.so.0.0.0[2a7000+25000]
------------------------------
谢谢您了。。

--
您收到此邮件是因为您订阅了 Google 网上论坛的“skyeye-simulator”论坛。
要退订此论坛并停止接收此论坛的电子邮件,请发送电子邮件到 skyeye-simulat...@googlegroups.com
要向此网上论坛发帖,请发送电子邮件至 skyeye-s...@googlegroups.com
通过以下网址访问此论坛:http://groups.google.com/group/skyeye-simulator?hl=zh-CN。
要查看更多选项,请访问 https://groups.google.com/groups/opt_out。
 
 



--

Kana Shigure

unread,
Apr 12, 2013, 5:27:01 AM4/12/13
to skyeye-s...@googlegroups.com
我怀疑是我哪个库有问题,hello用的是testsuit的程序,只不过换到了S3C6410上。系统是ubuntu11.04

Michael.Kang

unread,
Apr 12, 2013, 10:49:04 PM4/12/13
to skyeye-simulator
我测试了一下,如果用你所提到的s3c6410的配置文件运行测试用例的
arm_hello确实会有一个segment fault的错误,我已经报告到我們的错误
跟踪中,这是skyeye本身的一个问题。

另外,测使用例的 arm_hello是和skyeye.conf相关联的,也就是说测试用例
的arm_hello是写给s3c2410的。如果你要用s3c6410的skyeye配置去运行
arm_hello,你需要修改 arm_hello的源代码。建议你看一下我们在安装目录
/opt/skyeye/testsuite/arm_hello中的源代码,根据s3c6410的地址空间和串口
地址进行移植。

-- ksh
Reply all
Reply to author
Forward
0 new messages