public inbox for glibc-bugs@sourceware.org help / color / mirror / Atom feed
From: "aj at suse dot de" <sourceware-bugzilla@sourceware.org> To: glibc-bugs@sources.redhat.com Subject: [Bug libc/13580] crash in glibc with dlopen and math functions Date: Tue, 10 Jan 2012 12:18:00 -0000 [thread overview] Message-ID: <bug-13580-131-9I0o9qx3AF@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-13580-131@http.sourceware.org/bugzilla/> http://sourceware.org/bugzilla/show_bug.cgi?id=13580 --- Comment #2 from Andreas Jaeger <aj at suse dot de> 2012-01-10 12:18:10 UTC --- Program received signal SIGSEGV, Segmentation fault. 0x0000000000005446 in ?? () (gdb) info registers rax 0x7ffff5122c88 140737304997000 rbx 0x612ff0 6369264 rcx 0xa 10 rdx 0x610400 6358016 rsi 0x7ffff513b090 140737305096336 rdi 0x0 0 rbp 0x7fffffffd950 0x7fffffffd950 rsp 0x7fffffffd840 0x7fffffffd840 r8 0x1 1 r9 0x0 0 r10 0x7fffffffd680 140737488344704 r11 0x7fffffffd800 140737488345088 r12 0x7ffff3f58cf8 140737286343928 r13 0x7ffff3f60b68 140737286376296 r14 0x7 7 r15 0x7ffff41df200 140737288991232 rip 0x5446 0x5446 eflags 0x10246 [ PF ZF IF RF ] cs 0x33 51 ss 0x2b 43 ds 0x0 0 es 0x0 0 fs 0x0 0 gs 0x0 0 (gdb) up #1 0x00007ffff513b095 in floor () from /lib64/libm.so.6 (gdb) disassemble Dump of assembler code for function floor: 0x00007ffff513b090 <+0>: callq 0x7ffff5126440 <__get_cpu_features@plt> => 0x00007ffff513b095 <+5>: mov %rax,%rdx 0x00007ffff513b098 <+8>: lea 0x11(%rip),%rax # 0x7ffff513b0b0 <__floor_sse41> 0x00007ffff513b09f <+15>: testl $0x80000,0x10(%rdx) 0x00007ffff513b0a6 <+22>: jne 0x7ffff513b0af <floor+31> 0x00007ffff513b0a8 <+24>: lea 0x25f71(%rip),%rax # 0x7ffff5161020 <__floor_c> 0x00007ffff513b0af <+31>: retq End of assembler dump. (gdb) disassemble 0x7ffff5126440 Dump of assembler code for function __get_cpu_features@plt: 0x00007ffff5126440 <+0>: jmpq *0x2edbe2(%rip) # 0x7ffff5414028 0x00007ffff5126446 <+6>: pushq $0x5 0x00007ffff512644b <+11>: jmpq 0x7ffff51263e0 End of assembler dump. (gdb) disassemble 0x7ffff5414028 No function contains specified address. (gdb) show 0x7ffff5414028 Undefined show command: "0x7ffff5414028". Try "help show". (gdb) list 0x7ffff5414028 Function "0x7ffff5414028" not defined. (gdb) x 0x7ffff5414028 0x7ffff5414028: 0x00005446 And objdump on libm.so.6 show: 0000000000005440 <__get_cpu_features@plt>: 5440: ff 25 e2 db 2e 00 jmpq *0x2edbe2(%rip) # 2f3028 <_GLOBAL_OFFSET_TABLE_+0x40> 5446: 68 05 00 00 00 pushq $0x5 544b: e9 90 ff ff ff jmpq 53e0 <_init+0x18> So, the plt is not processed yet. -- 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.
next prev parent reply other threads:[~2012-01-10 12:18 UTC|newest] Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top 2012-01-10 9:49 [Bug libc/13580] New: " aj at suse dot de 2012-01-10 10:39 ` [Bug libc/13580] " allan at archlinux dot org 2012-01-10 10:55 ` aj at suse dot de 2012-01-10 12:18 ` aj at suse dot de [this message] 2012-01-10 13:30 ` idoenmez at suse dot de 2012-01-11 21:50 ` arekm at maven dot pl 2012-01-11 21:53 ` pluto at agmk dot net 2012-01-14 23:06 ` vapier at gentoo dot org 2012-01-24 12:19 ` aj at suse dot de 2014-02-16 18:27 ` jackie.rosen at hushmail dot com 2014-02-16 18:28 ` ismail at donmez dot ws 2014-05-28 19:45 ` schwab at sourceware dot org 2014-06-13 14:10 ` fweimer at redhat dot com
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-13580-131-9I0o9qx3AF@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: linkBe 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).