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

Re: Apt alignment trap.

If you'd like to help debug this, you can
echo 5>  /proc/cpu/alignment
and run apt-get under gdb - it will be killed with a Bus Error at the bad code.

  *reloc_addr += value

Some shared library has been built with an initialized pointer, where the storage
for the pointer itself is not aligned on a 4-byte boundary.  The problem is not
in glibc(ld-linux); the problem lies in some shared library that the app requires.

Debug this via
    setenv LD_DEBUG reloc
    ./my_app args...
or perhaps [in bash]:
    LD_DEBUG=reloc,files  ./my_app args...

Set LD_DEBUG=help to get info on other options for debugging the processing
that ld-linux does.


Reply to: