Qemu/FAHClient

From Segfault
Jump to: navigation, search
 for f in libm.so.6 libgcc_s.so.1 libdrm.so.2; do
    scp alice-i386:/lib/"$f" i386/lib
 done
 
 for f in libstdc++.so.6 libX11.so.6 libXext.so.6 libXxf86vm.so.1 libXdamage.so.1 \
          libXfixes.so.3 libxcb.so.1 libXau.so.6 libXdmcp.so.6 mesa/libGL.so.1; do
    scp alice-i386:/usr/lib/"$f" i386/usr/lib
 done

FAHClient v7

$ ulimit -c unlimited

$ qemu-i386 -L `pwd`/i386/ usr/bin/FAHClient 
qemu: Unsupported syscall: 240
qemu: Unsupported syscall: 240
qemu: Unsupported syscall: 240
qemu: Unsupported syscall: 240
/build/buildd-qemu_0.12.5+dfsg-3-powerpc-nQTK0s/qemu-0.12.5+dfsg/tcg/ppc/tcg-target.c:222: tcg fatal error
qemu: uncaught target signal 6 (Aborted) - core dumped
Aborted

$ file core  | fold
core: ELF 32-bit MSB core file, PowerPC or cisco 4500, version 1 (SYSV), SVR4-st
yle, from '/usr/bin/FAHClient'

$ gdb -c core 
GNU gdb (GDB) 7.0.1-debian
[New Thread 12374]
Core was generated by `qemu-i386 -L $HOME/i386/ usr/bin/FAHClient'.
Program terminated with signal 11, Segmentation fault.
#0  0x47d745fc in ?? ()
(gdb) bt
#0  0x47d745fc in ?? ()

FAH v6

 for f in libnss_files.so.2 libnss_dns.so.2 libresolv.so.2; do
    scp alice-i386:/lib/"$f" i386/lib
 done
$ mkdir fah
$ cd fah
$ qemu-i386 -L $HOME/i386/ $HOME/i386/usr/bin/fah6 -configonly
[...]

$ qemu-i386 -L $HOME/i386/ $HOME/i386/usr/bin/fah6
qemu: Unsupported syscall: 240

Note: Please read the license agreement (fah6 -license). Further 
use of this software requires that you have read and accepted this agreement.
[...]
Launch directory: ~/fah
Executable: ~/i386/usr/bin/fah6


[19:34:53] - Ask before connecting: No
[19:34:53] - User name: foo (Team 0)
[19:34:53] - User ID: 5DE4F0A50513DFA1
[19:34:53] - Machine ID: 6
[19:34:53] 
[19:34:54] Loaded queue successfully.
Segmentation fault (core dumped)


$ gdb -c core
GNU gdb (GDB) 7.0.1-debian
[New Thread 19083]
Core was generated by `qemu-i386 -L $HOME/i386/ $HOME/i386/usr/bin/fah6'.
Program terminated with signal 11, Segmentation fault.
#0  0x47d745fc in ?? ()
(gdb) bt
#0  0x47d745fc in ?? ()

FAH v5

$ qemu-i386 -L $HOME/i386/ $HOME/i386/usr/bin/FAH504-Linux.exe 
qemu: Unsupported syscall: 240

Launch directory: ~/fah
Executable: ~/i386/usr/bin/fah6

[19:41:25] - Ask before connecting: No
[19:41:25] - User name: foo (Team 0)
[19:41:25] - User ID: 5DE4F0A50513DFA1
[19:41:25] - Machine ID: 6
[19:41:25] 
[19:41:25] Loaded queue successfully.
[19:41:25] + Benchmarking ...
Segmentation fault (core dumped)


$ gdb -c core 
GNU gdb (GDB) 7.0.1-debian
[New Thread 20514]
Core was generated by `qemu-i386 -L $HOME/i386/ $HOME/i386/usr/bin/FAH504-Linux.ex'.
Program terminated with signal 11, Segmentation fault.
#0  0x47d745fc in ?? ()

(gdb) bt
#0  0x47d745fc in ?? ()