Your message dated Tue, 5 Jan 2021 20:15:32 -0300
with message-id
<caafdzj83bvvuc4hxxohnqwkibkxxcxrgr4hbfxugbi9_tpf...@mail.gmail.com>
and subject line Re: Bug#888283: pulseaudio: pulseaudio unnecessarily re-execs
itself on startup
has caused the Debian Bug report #888283,
regarding pulseaudio: pulseaudio unnecessarily re-execs itself on startup
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
888283: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888283
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: pulseaudio
Version: 10.0-1+deb9u1
Severity: minor
Hi:
While debugging an unrelated matter, I noticed that pulseaudio was
re-execing itself very soon after startup. Upon investigating further
I discovered this:
src/daemon/main.c:398
============================================================================
#if defined(__linux__) && defined(__OPTIMIZE__)
/*
Disable lazy relocations to make usage of external libraries
more deterministic for our RT threads. We abuse __OPTIMIZE__ as
a check whether we are a debug build or not. This all is
admittedly a bit snake-oilish.
*/
if (!getenv("LD_BIND_NOW")) {
⋮
pa_set_env("LD_BIND_NOW", "1");
if ((canonical_rp = pa_realpath(PA_BINARY))) {
if ((rp = pa_readlink("/proc/self/exe"))) {
if (pa_streq(rp, canonical_rp))
pa_assert_se(execv(rp, argv) == 0)
============================================================================
However pulseaudio is linked with ‘-z now’:
vivek@noise:~$ readelf -a $(which pulseaudio) | grep NOW
0x000000000000001e (FLAGS) BIND_NOW
0x000000006ffffffb (FLAGS_1) Flags: NOW PIE
So relocations will happen early anyway, making the re-exec (I believe)
unnecessary.
-- System Information:
Debian Release: 9.3
APT prefers stable
APT policy: (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
--- End Message ---
--- Begin Message ---
Version: 11.99.1-1
On Thu, 25 Jan 2018 14:57:24 -0300 Felipe Sateler <[email protected]>
wrote:
> Control: forwarded -1 https://bugs.freedesktop.org/show_bug.cgi?id=104789
>
> On Thu, Jan 25, 2018 at 11:20 AM, Vivek Dasmohapatra <[email protected]>
wrote:
> > Upstream bug + patch at:
> >
> > https://bugs.freedesktop.org/show_bug.cgi?id=104789
>
> Thanks, marking accordingly.
This patch was applied and released with the above quoted version.
Saludos
--- End Message ---
_______________________________________________
pkg-pulseaudio-devel mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-pulseaudio-devel