From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9249 invoked by alias); 22 Mar 2012 15:28:27 -0000 Received: (qmail 9122 invoked by uid 22791); 22 Mar 2012 15:28:24 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO sourceware.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 22 Mar 2012 15:28:12 +0000 From: "ppluzhnikov at google dot com" To: glibc-bugs@sources.redhat.com Subject: [Bug dynamic-link/13818] Bogus LD_PROFILE will cause application to segfault Date: Thu, 22 Mar 2012 16:40:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: dynamic-link X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ppluzhnikov at google dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: 2.16 X-Bugzilla-Changed-Fields: CC 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-03/txt/msg00285.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=13818 Paul Pluzhnikov changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ppluzhnikov at google dot | |com --- Comment #2 from Paul Pluzhnikov 2012-03-22 15:27:26 UTC --- I've reproduced this using current git trunk: commit 48e44791e4d4d755bf7a7dd083d87584dc4779e4 Author: Joseph Myers Date: Thu Mar 22 12:55:19 2012 +0000 Core was generated by `./elf/ld-linux-x86-64.so.2 --library-path .:nptl:math:dlfcn /usr/bin/gdb'. Program terminated with signal 11, Segmentation fault. #0 _dl_profile_fixup (l=0x7ffc433d5830, reloc_arg=2, retaddr=140721433520857, regs=0x7fff37c34cd0, framesizep=0x7fff37c35028) at ../elf/dl-runtime.c:176 176 DL_FIXUP_VALUE_TYPE value = *resultp; (gdb) bt #0 _dl_profile_fixup (l=0x7ffc433d5830, reloc_arg=2, retaddr=140721433520857, regs=0x7fff37c34cd0, framesizep=0x7fff37c35028) at ../elf/dl-runtime.c:176 #1 0x00007ffc433ea6c8 in _dl_runtime_profile () at ../sysdeps/x86_64/dl-trampoline.h:48 #2 0x00007ffc430eaad9 in __ieee754_exp () at ../sysdeps/x86_64/fpu/multiarch/e_exp.c:15 #3 0x00007ffc433e1681 in elf_machine_lazy_rel ( skip_ifunc=, reloc=0x7ffc430e0300, l_addr=140721433456640, map=0x7ffc433d5830) at ../sysdeps/x86_64/dl-machine.h:495 #4 elf_dynamic_do_Rela (skip_ifunc=, lazy=, nrelative=, relsize=, reladdr=, map=0x7ffc433d5830) at do-rel.h:85 #5 _dl_relocate_object (scope=0x7ffc433d5b88, reloc_mode=, consider_profiling=1) at dl-reloc.c:264 #6 0x00007ffc433d9360 in dl_main (phdr=, phnum=1114560256, user_entry=, auxv=0x7ffc435f9701) at rtld.c:2283 #7 0x00007ffc433eabbc in _dl_sysdep_start ( start_argptr=, dl_main=0x7ffc433d7b70 ) at ../elf/dl-sysdep.c:243 #8 0x00007ffc433dad9e in _dl_start_final (arg=0x7fff37c35400) at rtld.c:336 #9 _dl_start (arg=0x7fff37c35400) at rtld.c:562 #10 0x00007ffc433d7588 in _start () from ./elf/ld-linux-x86-64.so.2 (gdb) p resultp $1 = (Elf64_Addr *) 0x40 (gdb) p reloc_result $2 = (struct reloc_result *) 0x40 -- 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.