<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - HDMI output source not remembered"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100064#c39">Comment # 39</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - HDMI output source not remembered"
href="https://bugs.freedesktop.org/show_bug.cgi?id=100064">bug 100064</a>
from <span class="vcard"><a class="email" href="mailto:marejde@gmail.com" title="Martin Ejdestig <marejde@gmail.com>"> <span class="fn">Martin Ejdestig</span></a>
</span></b>
<pre>Commenting out both SmcCloseConnection() and IceRemoveConnectionWatch() just
makes pulseaudio exit at a later point. Keep in mind that I have no idea what I
am doing here. :) (I know _nothing_ about X session handling and ICE etc.)
Have set breakpoints on exit() and _exit():
Thread 1 "pulseaudio" hit Breakpoint 2, 0x00007f452299a700 in exit () from
/usr/lib/libc.so.6
(gdb) bt
#0 0x00007f452299a700 in exit () from /usr/lib/libc.so.6
#1 0x00007f45245360fa in ?? () from /usr/lib/libICE.so.6
#2 0x00007f452453bee4 in _IceRead () from /usr/lib/libICE.so.6
#3 0x00007f452454015f in IceProcessMessages () from /usr/lib/libICE.so.6
#4 0x00007f452b977656 in ice_io_cb (a=0xbc6ba8, e=0xc81130, fd=42,
flags=(PA_IO_EVENT_INPUT | PA_IO_EVENT_HANGUP), userdata=0xc4c110) at
modules/x11/module-x11-xsmp.c:90
#5 0x00007f4525a97e8a in dispatch_pollfds (m=0xbc6b50) at pulse/mainloop.c:655
#6 0x00007f4525a98bea in pa_mainloop_dispatch (m=0xbc6b50) at
pulse/mainloop.c:898
#7 0x00007f4525a98d67 in pa_mainloop_iterate (m=0xbc6b50, block=1,
retval=0x7ffcb1834c14) at pulse/mainloop.c:929
#8 0x00007f4525a98dc7 in pa_mainloop_run (m=0xbc6b50, retval=0x7ffcb1834c14)
at pulse/mainloop.c:944
#9 0x000000000042902e in main (argc=2, argv=0x7ffcb1834de8) at
daemon/main.c:1142
(gdb) c
Continuing.
Thread 4 "alsa-sink-HDMI " received signal SIGCONT, Continued.
[Switching to Thread 0x7f451bbbc700 (LWP 11414)]
0x00007f4522a4676b in ppoll () from /usr/lib/libc.so.6
(gdb) c
Continuing.
[Switching to Thread 0x7f4534d068c0 (LWP 11247)]
Thread 1 "pulseaudio" hit Breakpoint 2, 0x00007f452299a700 in exit () from
/usr/lib/libc.so.6
(gdb) c
Continuing.
Thread 1 "pulseaudio" hit Breakpoint 1, 0x00007f4522a1e830 in _exit () from
/usr/lib/libc.so.6
(gdb) c
Continuing.
[Thread 0x7f451b3bb700 (LWP 11249) exited]
[Thread 0x7f4534d068c0 (LWP 11247) exited]
[Inferior 1 (process 11247) exited with code 01]
(gdb)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>