Re: SIGBUS libcrypto in Wheezy/Sparc

2013-08-24 Thread Kurt Roeckx
Hi, It seem you have (had) a problem with SIGBUS in openssl? It's normal that you see this in gdb in the OPENSSL_cpuid_setup function. It tries to detect cpu features and the cpu just said it doesn't support it. You should just press continue or tell gdb to ignore the SIGBUS. Kurt -- To

SIGBUS in elfutils

2013-08-24 Thread Kurt Roeckx
Hi, I'm seeing a SIGBUS in elfutils, and I'm not sure why I'm getting this. LD_LIBRARY_PATH=libdw:libelf:backends/ gdb ./src/readelf [...] (gdb) set args -n tests/testfile67 (gdb) run Starting program: /home/kroeckx/elfutils-0.156/src/readelf -n tests/testfile67 Note segment of 1044 bytes at

Re: SIGBUS in elfutils

2013-08-24 Thread Patrick Baggett
Short version: likely looks like a bug in the *.c code, should use memcpy() instead of type-punning when the alignment is unknown. Long version: The 'ldd' instruction is *l*oa*d* *d*ouble word, i.e. load 64-bit value. 0xf7d182fc is 4-byte aligned, but not 8-byte aligned, so 'ldd' faults and