qemu-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-discuss] qemu-i386 maple apt-get


From: Franz-Josef Haider
Subject: Re: [Qemu-discuss] qemu-i386 maple apt-get
Date: Wed, 18 Nov 2015 17:33:08 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0

On 11/18/2015 03:56 PM, Eric Blake wrote:
On 11/18/2015 05:27 AM, Franz-Josef Haider wrote:
Hi!

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

[1|address@hidden|~]/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
address@hidden:/# apt-get update
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
Segmentation fault
address@hidden:/# 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?



// 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

// qemu-i386 is built from git master branch (./configure --static
--prefix=/usr --disable-system)
address@hidden:/# 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.


Please let me know if you need additional information.

best regards,
Frajo Haider


sure, apt-get:

address@hidden:/# gdb apt-get qemu_apt-get_20151118-120024_16081.core
GNU gdb 6.3-debian
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-linux"...(no debugging symbols found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

Core was generated by `/usr/bin/apt-get update'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libapt-pkg-libc6.3-5.so.3.3...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libapt-pkg-libc6.3-5.so.3.3
Reading symbols from /usr/lib/libstdc++.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/lib/libstdc++.so.5
Reading symbols from /lib/tls/libm.so.6...(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libm.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/tls/libc.so.6...
(no debugging symbols found)...done.
Loaded symbols for /lib/tls/libc.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols found)...done.
Loaded symbols for /lib/ld-linux.so.2
#0  0x41914416 in pkgAcquireStatus::Pulse ()
   from /usr/lib/libapt-pkg-libc6.3-5.so.3.3
(gdb) bt
#0 0x41914416 in pkgAcquireStatus::Pulse () from /usr/lib/libapt-pkg-libc6.3-5.so.3.3 #1 0x0805ef98 in std::__uninitialized_copy_aux<__gnu_cxx::__normal_iterator<pkgSrcRecords::Parser::BuildDepRec*, std::vector<pkgSrcRecords::Parser::BuildDepRec, std::allocator<pkgSrcRecords::Parser::BuildDepRec> > >, __gnu_cxx::__normal_iterator<pkgSrcRecords::Parser::BuildDepRec*, std::vector<pkgSrcRecords::Parser::BuildDepRec, std::allocator<pkgSrcRecords::Parser::BuildDepRec> > > > () #2 0x41912fc8 in pkgAcquire::Run () from /usr/lib/libapt-pkg-libc6.3-5.so.3.3
#3  0x08054498 in ?? ()
#4 0x418f1f3c in CommandLine::DispatchArg () from /usr/lib/libapt-pkg-libc6.3-5.so.3.3
#5  0x0805d706 in ?? ()
#6  0x41a4f974 in __libc_start_main () from /lib/tls/libc.so.6
#7  0x0804c5b1 in ?? ()
(gdb) bt full
#0 0x41914416 in pkgAcquireStatus::Pulse () from /usr/lib/libapt-pkg-libc6.3-5.so.3.3
No symbol table info available.
#1 0x0805ef98 in std::__uninitialized_copy_aux<__gnu_cxx::__normal_iterator<pkgSrcRecords::Parser::BuildDepRec*, std::vector<pkgSrcRecords::Parser::BuildDepRec, std::allocator<pkgSrcRecords::Parser::BuildDepRec> > >, __gnu_cxx::__normal_iterator<pkgSrcRecords::Parser::BuildDepRec*, std::vector<pkgSrcRecords::Parser::BuildDepRec, std::allocator<pkgSrcRecords::Parser::BuildDepRec> > > > ()
No symbol table info available.
#2 0x41912fc8 in pkgAcquire::Run () from /usr/lib/libapt-pkg-libc6.3-5.so.3.3
No symbol table info available.
#3  0x08054498 in ?? ()
No symbol table info available.
#4 0x418f1f3c in CommandLine::DispatchArg () from /usr/lib/libapt-pkg-libc6.3-5.so.3.3
No symbol table info available.
#5  0x0805d706 in ?? ()
No symbol table info available.
#6  0x41a4f974 in __libc_start_main () from /lib/tls/libc.so.6
No symbol table info available.
#7  0x0804c5b1 in ?? ()
No symbol table info available.
(gdb)

################################################################################

cmaple (the warning about the cmaple binary being to new can be ignored, i just copied the file):
the log is very long so i used bpaste: https://bpaste.net/show/bf0bc11d143f

best regars,
Frajo Haider



reply via email to

[Prev in Thread] Current Thread [Next in Thread]