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

Re: Bug#696556: [kfreebsd] ldd: segfault with inkscape/inkview executables



Here's a small testcase that executes fine, but triggers a Bus error
(return status 138) from ldd on kfreebsd-amd64, but not Linux amd64:

$ cat testcase.c
unsigned char foo[16*1024*1024];
void main() { }
$ gcc testcase.c -o testcase
$ ./testcase
$ /lib/ld-kfreebsd-x86-64.so.1 --verify ./testcase
Bus error

> (gdb) run --verify ./testcase
> Starting program: /lib/ld-kfreebsd-x86-64.so.1 --verify ./testcase
> Cannot access memory at address 0x220128
> Cannot access memory at address 0x220120
> (gdb) bt full
> #0  0x0000000001021ab0 in ?? ()
> No symbol table info available.
> #1  0x0000000000000000 in ?? ()
> No symbol table info available.

This may be a different issue to the one seen with the inkscape binary,
which was a segfault instead (return status 139).

Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org


Reply to: