QEmu错误---运行可执行文件时

时间:2013-04-07 06:34:29

标签: wxwidgets raspberry-pi qemu

我已经在scratchbox中交叉编译了我的项目,它使用:---
1 GT; WX-widget基类(即使用套接字,线程,字符串相关类......没有GUI内容)(http://www.wxwidgets.org/
2 - ; Libwebsocket(http://libwebsockets.org/trac

编译成功,没有错误。目标是Debian Weezy&处理器是Raspberry pi。

Scratchbox使用QEmu来运行交叉可执行文件。 当我在sb2(scratchbox)下运行可执行文件时。我收到以下错误

x$ sb2 -e vscpd
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Exit reason and status: signal 11 (core dumped)

----------------- Qemu GDB日志------------------------

ignite@ignite:~/sbox2/rootfs/rfs-raspbian/home/pi/vscp_software/src/vscp/daemon/linux$ sb2 -t rfs-raspbian -eR gdb vscpd
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "arm-linux-gnueabihf".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/ignite/sbox2/rootfs/rfs-raspbian/home/pi/vscp_software/src/vscp/daemon/linux/vscpd...done.

===========================================================
Welcome to scratchbox2 enabled gdb!

Before starting target program you should run command
'sb2-prepare' that sets breakpoint which is used
to stop target before its main() gets called.  After
the breakpoint is hit, you are able to set furtherbreakpoints and do normal debugging actions.

If you are attaching to already running process or
examining a core dump, this step is not necessary.
===========================================================

(sb2-emulate-gdb) sb2-prepare 
Function "_dl_debug_state" not defined.
Temporary breakpoint 1 (_dl_debug_state) pending.
(sb2-emulate-gdb) run
Starting program: /home/ignite/sbox2/rootfs/rfs-raspbian/home/pi/vscp_software/src/vscp/daemon/linux/vscpd 
qemu: Unsupported syscall: 26
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
qemu: Unsupported syscall: 26
During startup program terminated with signal SIGSEGV, Segmentation fault.
(sb2-emulate-gdb) 

请建议此错误是因为什么?

// Katoch

0 个答案:

没有答案