# gdb prelink [53/1874] GNU gdb (Gentoo 7.3.1 p2) 7.3.1 Copyright (C) 2011 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". For bug reporting instructions, please see: ... Reading symbols from /usr/sbin/prelink...Reading symbols from /usr/lib64/debug/usr/sbin/prelink.debug...done. done. (gdb) run -amR Starting program: /usr/sbin/prelink -amR /usr/sbin/prelink: /usr/bin/lddlibc4: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker /usr/sbin/prelink: /usr/lib64/libreoffice/share/extensions/pdfimport/xpdfimport: Could not find one of the dependencies /usr/sbin/prelink: /usr/lib64/libreoffice/program/soffice.bin: Could not parse `/usr/lib64/libreoffice/program/soffice.bin: error while loading shared libraries: /usr/lib64/libreoffice/program/soffice.bin: nonzero padding in e_ident' /usr/sbin/prelink: /usr/lib64/NX/bin/nxagent: Could not find one of the dependencies /usr/sbin/prelink: /usr/lib64/NX/bin/nxproxy: Could not find one of the dependencies /usr/sbin/prelink: /usr/lib32/misc/glibc/getconf/XBS5_ILP32_OFFBIG: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker /usr/sbin/prelink: /usr/lib32/misc/glibc/getconf/XBS5_ILP32_OFF32: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker /usr/sbin/prelink: /usr/lib32/misc/glibc/getconf/POSIX_V6_ILP32_OFFBIG: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker /usr/sbin/prelink: /usr/lib32/misc/glibc/getconf/POSIX_V6_ILP32_OFF32: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker /usr/sbin/prelink: /usr/lib32/misc/glibc/getconf/POSIX_V7_ILP32_OFFBIG: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker /usr/sbin/prelink: /usr/lib32/misc/glibc/getconf/POSIX_V7_ILP32_OFF32: Using /lib32/ld-linux.so.2, not /lib/ld-linux.so.2 as dynamic linker /usr/sbin/prelink: /usr/lib64/libreoffice/share/extensions/pdfimport/xpdfimport: Could not find one of the dependencies /usr/sbin/prelink: /usr/lib64/libreoffice/program/soffice.bin: Could not parse `/usr/lib64/libreoffice/program/soffice.bin: error while loading shared libraries: /usr/lib64/libreoffice/program/soffice.bin: nonzero padding in e_ident' /usr/sbin/prelink: /usr/lib64/NX/bin/nxagent: Could not find one of the dependencies /usr/sbin/prelink: /usr/lib64/NX/bin/nxproxy: Could not find one of the dependencies Program received signal SIGSEGV, Segmentation fault. 0x0000000000409513 in prelink_exec (info=0x7ffffffefa30) at exec.c:521 521 exec.c: No such file or directory. in exec.c (gdb) bt full #0 0x0000000000409513 in prelink_exec (info=0x7ffffffefa30) at exec.c:521 adj = 0 slast = last = 0 last_offset = 15768 sfirst = 24 i = j = ndeps = 68 dynstrndx = dynstrndxnew = 5 growdynstr = shstrndxnew = 25 old_conflict = old_liblist = new_conflict = 2 new_liblist = 1 new_reloc = -1 [1/1874] new_plt = -1 new_dynstr = 0 old_dynbss = -1 old_bss = -1 new_dynbss = -1 old_sdynbss = -1 old_sbss = -1 new_sdynbss = -1 addcnt = 10211104 undo = 26 shnum_after_undo = 26 rinfo = {first = 8, last = 8, plt = 9, overlap = 0, reldyn_rela = 128, plt_rela = 1, rel_to_rela = 0, rel_to_rela_plt = 0, relcount = 0} rinfonew = {first = 0, last = 10211104, plt = -1, overlap = , reldyn_rela = , plt_rela = , rel_to_rela = 0, rel_to_rela_plt = 0, relcount = } dso = 0x3d98 ehdr = {e_ident = "\177ELF\002\001\001\000\000\000\000\000\000\000\000", e_type = 2, e_machine = 62, e_version = 1, e_entry = 4200432, e_phoff = 64, e_shoff = 29912, e_flags = 0, e_ehsize = 64, e_phentsize = 56, e_phnum = 11, e_shentsize = 64, e_shnum = 26, e_shstrndx = 25} phdr = 0x7fff00000000 old_shdr = 0x7ffffffeeed0 new_shdr = shdr_after_undo = 0x7ffffffed7b0 shdr = liblist = adjust = {basemove_adjust = 0, basemove_end = 0, moveend = 0, move2 = 0, newcount = 3, new = 0x7ffffffed600, move = 0x9bcf20} move = __PRETTY_FUNCTION__ = "prelink_exec" add = 0x7fffffffffff old = 0x7fff00000000 new = 0x7ffffffed600 #1 0x00000000004124ab in prelink (dso=0xefeba0, ent=0x948a30) at prelink.c:948 i = scn = 0xd62078 data = 0x0 info = {dso = 0xefeba0, dsos = 0x0, ent = 0x948a30, symbols = 0xa242d0, conflicts = 0x868740, curconflicts = 0x868fa0, tls = 0xf05cc0, curtls = 0xf060f0, sonames = 0xbb6b50, dynbss = 0x0, sdynbss = 0x0, dynbss_base = 0, sdynbss_base = 0, dynbss_size = 0, sdynbss_size = 0, symtab_entsize = 24, symbol_count = 63, symtab = 0xd33d90, conflict_rela = 0x12a12e0, conflict_rela_alloced = 540, conflict_rela_size = 533, symtab_start = 768, symtab_end = 2424, resolve = 0x4109d0 , resolveent = 0x0, resolvetls = 0x0} #2 0x00000000004074fe in prelink_ent (ent=0x948a30) at doit.c:132 i = j = dso = 0xefeba0 st = {st_dev = 27, st_ino = 836183, st_nlink = 1, st_mode = 33261, st_uid = 0, st_gid = 0, __pad0 = 0, st_rdev = 0, st_size = 18720, st_blksize = 4096, st_blocks = 40, st_atim = {tv_sec = 1318799513, tv_nsec = 0}, st_mtim = { tv_sec = 1318799513, tv_nsec = 0}, st_ctim = {tv_sec = 1318799526, tv_nsec = 673000088}, __unused = {0, 0, 0}} hardlink = move = 0x0 movelen = 0 #3 0x000000000040776d in prelink_all () at doit.c:253 l = {ents = 0x7ffffffefc50, nents = 3348} i = #4 0x0000000000402178 in main (argc=2, argv=0x7fffffffdad8) at main.c:484 remaining = 2 failures = 0