From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 2347 invoked by alias); 10 Jan 2012 12:18:42 -0000 Received: (qmail 2332 invoked by uid 22791); 10 Jan 2012 12:18:39 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,TW_BJ,TW_RB X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 10 Jan 2012 12:18:27 +0000 From: "aj at suse dot de" 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 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: libc X-Bugzilla-Keywords: X-Bugzilla-Severity: critical X-Bugzilla-Who: aj at suse dot de X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drepper.fsp at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00081.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13580 --- Comment #2 from Andreas Jaeger 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 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.