public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "pluto at agmk dot net" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug dynamic-link/14370] SIGFPE in 'ldd -r'
Date: Wed, 18 Jul 2012 12:37:00 -0000	[thread overview]
Message-ID: <bug-14370-131-olQGhNHHBQ@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-14370-131@http.sourceware.org/bugzilla/>

http://sourceware.org/bugzilla/show_bug.cgi?id=14370

--- Comment #5 from Pawel Sikora <pluto at agmk dot net> 2012-07-18 12:37:25 UTC ---
(gdb) r
Starting program: /lib/ld-linux.so.2 ./SceMiDpiBridge.so

Program received signal SIGFPE, Arithmetic exception.
0x5655fc17 in _dl_try_allocate_static_tls (map=0x56576918) at dl-reloc.c:69
69        size_t n = (freebytes - blsize) / map->l_tls_align;
(gdb) bt
#0  0x5655fc17 in _dl_try_allocate_static_tls (map=0x56576918) at dl-reloc.c:69
#1  0x5655fca7 in _dl_allocate_static_tls (map=0x56576918) at dl-reloc.c:118
#2  0x56561742 in elf_machine_rel (sym=0xf7f67ca8, skip_ifunc=0,
reloc_addr_arg=0xf6f3ffb4, version=<optimized out>, map=0xf71028a0, 
    reloc=<optimized out>) at ../sysdeps/i386/dl-machine.h:436
#3  elf_dynamic_do_Rel (skip_ifunc=0, lazy=<optimized out>,
nrelative=<optimized out>, relsize=<optimized out>, reladdr=<optimized out>, 
    map=0xf71028a0) at do-rel.h:145
#4  _dl_relocate_object (scope=0xf7102a58, reloc_mode=0, consider_profiling=0)
at dl-reloc.c:265
#5  0x56557ff3 in dl_main (phdr=0xf7f65034, phnum=5, user_entry=0xffffd3bc,
auxv=0xffffd510) at rtld.c:2299
#6  0x56569063 in _dl_sysdep_start (start_argptr=start_argptr@entry=0xffffd450,
dl_main=dl_main@entry=0x565566e3 <dl_main>)
    at ../elf/dl-sysdep.c:242
#7  0x565599fd in _dl_start_final (arg=0xffffd450) at rtld.c:337
#8  _dl_start (arg=0xffffd450) at rtld.c:563
#9  0x565561d7 in _start () from /lib/ld-linux.so.2
(gdb) p *map
$1 = {
  l_addr = 4160114688, 
  l_name = 0x5656dd75 "", 
  l_ld = 0xf7ffa3e0, 
  l_next = 0x56576cb0, 
  l_prev = 0x0, 
  l_real = 0x56576918, 
  l_ns = 0, 
  l_libname = 0x56576bf4, 
  l_info =     {0x0,
    0xf7ffa420,
    0xf7ffa468,
    0xf7ffa460,
    0xf7ffa438,
    0xf7ffa440,
    0xf7ffa448,
    0x0,
    0x0,
    0x0,
    0xf7ffa450,
    0xf7ffa458,
    0xf7ffa428,
    0xf7ffa430,
    0x0,
    0x0,
    0x0,
    0xf7ffa480,
    0xf7ffa488,
    0xf7ffa490,
    0xf7ffa470,
    0x0,
    0xf7ffa498,
    0xf7ffa478,
    0x0,
    0x0,
    0x0,
    0x0,
    0x0,
    0x0,
    0x0,
    0x0,
    0x0,
    0x0,
    0xf7ffa4a8,
    0xf7ffa4a0,
    0x0,
    0x0,
    0x0,
    0xf7ffa4b8,
    0x0,
    0x0,
    0x0,
    0x0,
    0x0,
    0x0,
    0x0,
    0x0,
    0x0,
    0xf7ffa4b0,
    0x0 <repeats 26 times>}, 
  l_phdr = 0xf7f65034, 
  l_entry = 4160238848, 
  l_phnum = 5, 
  l_ldnum = 33, 
  l_searchlist = {
    r_list = 0xf6f1eb40, 
    r_nlist = 19
  }, 
  l_symbolic_searchlist = {
    r_list = 0x56576bf0, 
    r_nlist = 0
  }, 
  l_loader = 0x0, 
  l_versions = 0xf6f1eb90, 
  l_nversions = 6, 
  l_nbuckets = 1031, 
  l_gnu_bitmask_idxbits = 0, 
  l_gnu_shift = 0, 
  l_gnu_bitmask = 0x0, 
  {
    l_gnu_buckets = 0xf7f660f8, 
    l_chain = 0xf7f660f8
  }, 
  {
    l_gnu_chain_zero = 0xf7f650dc, 
    l_buckets = 0xf7f650dc
  }, 
  l_direct_opencount = 1, 
  l_type = lt_library, 
  l_relocated = 0, 
  l_init_called = 0, 
  l_global = 1, 
  l_reserved = 0, 
  l_phdr_allocated = 0, 
  l_soname_added = 0, 
  l_faked = 0, 
  l_need_tls_init = 0, 
  l_auditing = 0, 
  l_audit_any_plt = 0, 
  l_removed = 0, 
  l_contiguous = 1, 
  l_symbolic_in_local_scope = 0, 
  l_free_initfini = 1, 
  l_rpath_dirs = {
    dirs = 0xffffffff, 
    malloced = 0
  }, 
  l_reloc_result = 0x0, 
  l_versyms = 0xf7f6f320, 
  l_origin = 0x56576c18 "/home/users/pawels/ld_fpu_crash/.", 
  l_map_start = 4160114688, 
  l_map_end = 4160736224, 
  l_text_end = 4160724408, 
  l_scope_mem =     {0x56576a74,
    0x0,
    0x0,
    0x0}, 
  l_scope_max = 4, 
  l_scope = 0x56576ad0,
  l_local_scope =     {0x56576a74,
    0x0},
  l_dev = 2306,
  l_ino = 12067959,
  l_runpath_dirs = {
    dirs = 0xffffffff,
    malloced = 0
  },
  l_initfini = 0xf6f1eaf0,
  l_reldeps = 0x0,
  l_reldepsmax = 0,
  l_used = 1,
  l_feature_1 = 0,
  l_flags_1 = 0,
  l_flags = 0,
  l_idx = 0,
  l_mach = {
    plt = 0,
    gotplt = 0,
    tlsdesc_table = 0x0
  },
  l_lookup_cache = {
    sym = 0x0,
    type_class = 0,
    value = 0x0,
    ret = 0x0
  },
  l_tls_initimage = 0x0,
  l_tls_initimage_size = 0,
  l_tls_blocksize = 0,
  l_tls_align = 0,
  l_tls_firstbyte_offset = 0,
  l_tls_offset = 0,
  l_tls_modid = 0,
  l_relro_addr = 0,
  l_relro_size = 0,
  l_serial = 0,
  l_audit = 0x56576b70
}

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


  parent reply	other threads:[~2012-07-18 12:37 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-07-18 10:05 [Bug dynamic-link/14370] New: " pluto at agmk dot net
2012-07-18 10:11 ` [Bug dynamic-link/14370] " aj at suse dot de
2012-07-18 10:49 ` pluto at agmk dot net
2012-07-18 10:54 ` jakub at redhat dot com
2012-07-18 11:00 ` pluto at agmk dot net
2012-07-18 12:37 ` pluto at agmk dot net [this message]
2012-07-24  2:04 ` carlos_odonell at mentor dot com
2012-07-24  6:14 ` pluto at agmk dot net
2012-09-02 20:00 ` hjl.tools at gmail dot com
2012-09-02 22:57 ` hjl.tools at gmail dot com
2012-09-03  2:54 ` bugdal at aerifal dot cx
2012-09-03 13:39 ` carlos_odonell at mentor dot com
2012-09-03 15:29 ` pluto at agmk dot net
2012-09-03 18:59 ` hjl.tools at gmail dot com
2012-09-03 20:07 ` aj at suse dot de
2012-09-04 19:09 ` [Bug dynamic-link/14370] ld.so crashes on mismatched TLS/non-TLS symbols hjl.tools at gmail dot com
2012-09-04 19:41 ` carlos_odonell at mentor dot com
2012-09-04 21:32 ` hjl.tools at gmail dot com
2012-09-04 22:03 ` carlos_odonell at mentor dot com
2012-09-04 22:15 ` bugdal at aerifal dot cx
2012-09-04 22:22 ` hjl.tools at gmail dot com
2012-09-04 23:26 ` bugdal at aerifal dot cx
2012-09-05 15:24 ` ppluzhnikov at google dot com
2012-09-05 15:30 ` hjl.tools at gmail dot com
2012-12-04  0:00 ` carlos at systemhalted dot org
2013-10-02 22:44 ` neleai at seznam dot cz
2014-06-17 18:59 ` fweimer at redhat dot com
2023-07-30 16:53 ` sam at gentoo dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-14370-131-olQGhNHHBQ@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).