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 11:00:00 -0000	[thread overview]
Message-ID: <bug-14370-131-S4m5X4DaN2@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 #4 from Pawel Sikora <pluto at agmk dot net> 2012-07-18 10:59:55 UTC ---
(In reply to comment #3)
> Can you paste output of:
> readelf -WSl SceMiDpiBridge.so 
> ?  Sounds like it must have broken PT_TLS alignment (which would be not be a
> glibc bug).

$ readelf -WSl SceMiDpiBridge.so
There are 34 section headers, starting at offset 0x98d88:

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf
Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0 
0
  [ 1] .hash             HASH            000000d4 0000d4 002104 04   A  2   0 
4
  [ 2] .dynsym           DYNSYM          000021d8 0021d8 004380 10   A  3  18 
4
  [ 3] .dynstr           STRTAB          00006558 006558 003dc7 00   A  0   0 
1
  [ 4] .gnu.version      VERSYM          0000a320 00a320 000870 02   A  2   0 
2
  [ 5] .gnu.version_r    VERNEED         0000ab90 00ab90 000060 00   A  3   2 
4
  [ 6] .rel.dyn          REL             0000abf0 00abf0 012ee0 08   A  2   0 
4
  [ 7] .rel.plt          REL             0001dad0 01dad0 000358 08   A  2   9 
4
  [ 8] .init             PROGBITS        0001de28 01de28 000017 00  AX  0   0 
4
  [ 9] .plt              PROGBITS        0001de40 01de40 0006c0 04  AX  0   0 
4
  [10] .text             PROGBITS        0001e500 01e500 05aaf0 00  AX  0   0
16
  [11] __libc_freeres_fn PROGBITS        00078ff0 078ff0 0004e4 00  AX  0   0
16
  [12] .fini             PROGBITS        000794d4 0794d4 00001b 00  AX  0   0 
4
  [13] .rodata           PROGBITS        00079500 079500 016b70 00   A  0   0
32
  [14] __libc_atexit     PROGBITS        00090070 090070 000004 00   A  0   0 
4
  [15] __libc_subfreeres PROGBITS        00090074 090074 00002c 00   A  0   0 
4
  [16] .eh_frame_hdr     PROGBITS        000900a0 0900a0 000dfc 00   A  0   0 
4
  [17] .eh_frame         PROGBITS        00090e9c 090e9c 003a78 00   A  0   0 
4
  [18] .gcc_except_table PROGBITS        00094914 094914 0004a4 00   A  0   0 
4
  [19] .ctors            PROGBITS        00095000 095000 00002c 00  WA  0   0 
4
  [20] .dtors            PROGBITS        0009502c 09502c 000018 00  WA  0   0 
4
  [21] .jcr              PROGBITS        00095044 095044 000004 00  WA  0   0 
4
  [22] .data.rel.ro      PROGBITS        00095060 095060 000380 00  WA  0   0
32
  [23] .dynamic          DYNAMIC         000953e0 0953e0 000108 08  WA  3   0 
4
  [24] .got              PROGBITS        000954e8 0954e8 0000d8 04  WA  0   0 
4
  [25] .got.plt          PROGBITS        000955c0 0955c0 0001b8 04  WA  0   0 
4
  [26] .data             PROGBITS        00095780 095780 000f90 00  WA  0   0
32
  [27] .bss              NOBITS          00096720 096710 0014ac 00  WA  0   0
32
  [28] __libc_freeres_ptrs NOBITS          00097bcc 096710 000014 00  WA  0   0
 4
  [29] .comment          PROGBITS        00000000 096710 002424 00      0   0 
1
  [30] .gnu.warning.llseek PROGBITS        00000000 098b40 00003f 00      0   0
32
  [31] .gnu.warning.sys_errlist PROGBITS        00000000 098b80 000044 00     
0   0 32
  [32] .gnu.warning.sys_nerr PROGBITS        00000000 098be0 000041 00      0  
0 32
  [33] .shstrtab         STRTAB          00000000 098c21 000167 00      0   0 
1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings)
  I (info), L (link order), G (group), T (TLS), E (exclude), x (unknown)
  O (extra OS processing required) o (OS specific), p (processor specific)

Elf file type is DYN (Shared object file)
Entry point 0x1e500
There are 5 program headers, starting at offset 52

Program Headers:
  Type           Offset   VirtAddr   PhysAddr   FileSiz MemSiz  Flg Align
  LOAD           0x000000 0x00000000 0x00000000 0x94db8 0x94db8 R E 0x1000
  LOAD           0x095000 0x00095000 0x00095000 0x01710 0x02be0 RW  0x1000
  DYNAMIC        0x0953e0 0x000953e0 0x000953e0 0x00108 0x00108 RW  0x4
  GNU_EH_FRAME   0x0900a0 0x000900a0 0x000900a0 0x00dfc 0x00dfc R   0x4
  GNU_STACK      0x000000 0x00000000 0x00000000 0x00000 0x00000 RW  0x4

 Section to Segment mapping:
  Segment Sections...
   00     .hash .dynsym .dynstr .gnu.version .gnu.version_r .rel.dyn .rel.plt
.init .plt .text __libc_freeres_fn .fini .rodata __libc_atexit
__libc_subfreeres .eh_frame_hdr .eh_frame .gcc_except_table
   01     .ctors .dtors .jcr .data.rel.ro .dynamic .got .got.plt .data .bss
__libc_freeres_ptrs
   02     .dynamic
   03     .eh_frame_hdr
   04

-- 
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 11:00 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 [this message]
2012-07-18 12:37 ` pluto at agmk dot net
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-S4m5X4DaN2@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).