[Aptitude-devel] Bug#809184: "aptitude changelog" aborts with "Illegal instruction"

Paul Wise pabs at debian.org
Mon Dec 28 02:25:07 UTC 2015


On Mon, 28 Dec 2015 01:57:25 +0000 Bjarni Ingi Gislason wrote:

>   aptitude changelog apt ...

Does this always produce the same outcome?

>   Output was "Illegal instruction" with a return value of 132.
...
> Architecture: i386 (i586)

There are some things that would help the aptitude maintainers figure
out what the problem is:

Send the output of this command:

cat /proc/cpuinfo

Enable the debug repo, install debug symbols, gdb and make a backtrace:

Create this file:

/etc/apt/sources.list.d/04-debian-debug.sources

Put this line in it:

deb http://debug.mirrors.debian.org/debian-debug/ unstable-debug main

Update the apt cache:

sudo apt-get update

Install the gdb debugger and debug symbols:

sudo apt-get install gdb aptitude-dbg libapt-pkg5.0-dbgsym libboost1.58-dbg libc6-dbg libncursesw5-dbg libgcc1-dbg libsqlite3-0-dbg libstdc++6-5-dbg libtinfo5-dbg libxapian22v5-dbg

Run the debugger and get a crash trace:

gdb -batch -n -ex 'set height 0' -ex run -ex bt -ex 'thread apply all bt full' --args aptitude changelog apt

-- 
bye,
pabs

https://wiki.debian.org/PaulWise


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/aptitude-devel/attachments/20151228/55383f25/attachment.sig>


More information about the Aptitude-devel mailing list