pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/53319: text relocations fixes for multimedia/mplayer others
The following reply was made to PR pkg/53319; it has been noted by GNATS.
From: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/53319: text relocations fixes for multimedia/mplayer others
Date: Fri, 29 Jun 2018 16:54:54 -0500 (CDT)
On Fri, 29 Jun 2018, John D. Baker wrote:
> 1541 1 mplayer write(0x2, 0xbfb619ec, 0x19) = 25
> "mplayer: text relocations"
> 1541 1 mplayer write(0x2, 0xbac88872, 0x1) = 1
> "\n"
> 1541 1 mplayer mprotect(0x26000, 0x2c9000, 0x3) Err#13 EACCES
> 1541 1 mplayer write(0x2, 0xbfb61a00, 0x3c) = 60
> "mplayer: Cannot write-enable text segment: Permission denied"
> 1541 1 mplayer write(0x2, 0xbac88872, 0x1) = 1
> "\n"
> 1541 1 mplayer exit(0x1)
>
> which seems to indicate an issue with "/lib/libcrypt.so.1", or that
> something wants to mmap it writable...
Nothing to do with libcrypt.so.1. It would help if I'd read the manual
pages for the system calls involved.
So, mprotect() is being called with prot=3 (-wx) for a region of memory
at 0x26000.
Looking earlier in the 'ktruss' output shows several instances of "26000".
Two are the requsted length for mmap()ing "/usr/lib/libexpat.so.2" and
"/usr/X11R7/lib/libxcb.so.2", respectively. Another is a byte offset
into "/usr/lib/liblzma.so.2" to be mmap()ed. The rest are tails of
longer addresses either requested of or returned by mmap().
Not sure what it's doing, then.
--
|/"\ 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