pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkg/53414: mplayer tries to write-enable text segment on NetBSD/i386-8.0_RC2, fails.



The following reply was made to PR pkg/53414; it has been noted by GNATS.

From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/53414: mplayer tries to write-enable text segment on
 NetBSD/i386-8.0_RC2, fails.
Date: Sat, 11 Aug 2018 13:44:23 -0500 (CDT)

 On Sat, 11 Aug 2018, John D. Baker wrote:
 
 > I'll see about building with the "debug" option along with
 > "INSTALL_UNSTRIPPED=yes" and "C{,XX}FLAGS+=-ggdb"
 
 Also installed the {,x}debug sets.  Running 'mplayer' by itself may
 produce a core file that 'gdb' interprets as having a corrupt stack
 frame as shown in a previous addendum to this PR.
 
 Other times, as well as running under 'gdb' directly produces:
 
 $ gdb mplayer mplayer.core 
 [...]
 Reading symbols from mplayer...done.
 [New process 1]
 
 warning: Can't read pathname for load map: Unknown error: 4294967295.
 Core was generated by `mplayer'.
 Program terminated with signal SIGSEGV, Segmentation fault.
 #0  _rtld_relocate_plt_lazy (obj=obj@entry=0xb3dd3000)
     at /x/netbsd-8/src/libexec/ld.elf_so/arch/i386/mdreloc.c:210
 210                     *where += (Elf_Addr)obj->relocbase;
 (gdb) bt
 #0  _rtld_relocate_plt_lazy (obj=obj@entry=0xb3dd3000)
     at /x/netbsd-8/src/libexec/ld.elf_so/arch/i386/mdreloc.c:210
 #1  0xbb90d515 in _rtld_relocate_objects (first=0xb3dd3000, 
     bind_now=bind_now@entry=false)
     at /x/netbsd-8/src/libexec/ld.elf_so/reloc.c:213
 #2  0xbb90be89 in _rtld (sp=<optimized out>, relocbase=3146813440)
     at /x/netbsd-8/src/libexec/ld.elf_so/rtld.c:694
 #3  0xbb9094aa in .rtld_start () from /usr/libexec/ld.elf_so
 
 
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index