Skip to contentSkip to conversation

qemu-i386 maple apt-get

Qemu-devel Eric Blake 1 participant 1 message Nov 18, 2015 1 message not in the archive

lore
Share & tools
lore

Eric Blake

author
#1 lore raw
In reply to a message not in the archive
Quoted 21 lines · Franz-Josef Haider

Hi!

Commit 9f08c8ec73878122ad4b061ed334f0437afaaa32 breaks qemu i386 user mode emulation for me (on arm):

[1|user@Nokia-N900|~]/home/user/MyDocs/maple13_i386/bin/start_cmaple.sh
qemu: uncaught target signal 11 (Segmentation fault) - core dumped /home/user/MyDocs/maple13_i386/bin/start_cmaple.sh: line 1: 16024
Segmentation fault LD_LIBRARY_PATH=/home/user/MyDocs/root.i686/lib
/home/user/MyDocs/maple13_i386/bin/maple
// root.i686 is an arch linux chroot

In the likely case you don't own a maple license, you can reproduce this with a debian sarge x86 chroot (i have not tested other debian versions, but there might be similar results).

// sarge created on desktop with "debootstrap --no-check-gpg --arch=i386 sarge /home/krnlyng/sarge http://archive.debian.org/debian/"
// on device:
/home/user/MyDocs # cp /usr/bin/qemu-i386 sarge/usr/bin/ /home/user/MyDocs # chroot sarge

Quoted 7 lines
root@Nokia-N900:/# apt-get update
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
root@Nokia-N900:/# qemu: uncaught target signal 11 (Segmentation fault)
- core dumped
// core dump:
http://www.mediafire.com/download/zac5p92o7g2zxo6/qemu_apt-get_20151118-120024_16081.core

Can you obtain a backtrace to show where things are crashing?

Quoted 7 lines

// additional information:
/home/user/MyDocs # uname -a
Linux Nokia-N900 2.6.28-omap1 #1 PREEMPT Fri Aug 6 11:50:00 EEST 2010 armv7l unknown

Quoted 6 lines

// qemu-i386 is built from git master branch (./configure --static --prefix=/usr --disable-system)

root@Nokia-N900:/# qemu-i386 --version
qemu-i386 version 2.4.90, Copyright (c) 2003-2008 Fabrice Bellard

with the referenced commit reverted apt-get and maple work fine.

I don't see how that commit would expose any core dumps - it was just deleting unused code. Showing more details about the crash would help diagnose what's going on.

Quoted 5 lines

Please let me know if you need additional information.

best regards,
Frajo Haider

Signature · 2 lines
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org