Bug 1374032 - [abrt] pulseaudio: pulseaudio killed by SIGSEGV
Summary: [abrt] pulseaudio: pulseaudio killed by SIGSEGV
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: pulseaudio
Version: 24
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Lennart Poettering
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:18305826bf2af5442866da97986...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-07 18:14 UTC by Håkon Løvdal
Modified: 2018-03-09 10:03 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-08 17:10:33 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (34.19 KB, text/plain)
2016-09-07 18:14 UTC, Håkon Løvdal
no flags Details
File: cgroup (148 bytes, text/plain)
2016-09-07 18:14 UTC, Håkon Løvdal
no flags Details
File: core_backtrace (14.28 KB, text/plain)
2016-09-07 18:14 UTC, Håkon Løvdal
no flags Details
File: dso_list (9.00 KB, text/plain)
2016-09-07 18:14 UTC, Håkon Løvdal
no flags Details
File: environ (2.40 KB, text/plain)
2016-09-07 18:14 UTC, Håkon Løvdal
no flags Details
File: exploitable (122 bytes, text/plain)
2016-09-07 18:14 UTC, Håkon Løvdal
no flags Details
File: limits (1.29 KB, text/plain)
2016-09-07 18:14 UTC, Håkon Løvdal
no flags Details
File: maps (40.87 KB, text/plain)
2016-09-07 18:14 UTC, Håkon Løvdal
no flags Details
File: mountinfo (3.34 KB, text/plain)
2016-09-07 18:14 UTC, Håkon Løvdal
no flags Details
File: namespaces (102 bytes, text/plain)
2016-09-07 18:14 UTC, Håkon Løvdal
no flags Details
File: open_fds (4.42 KB, text/plain)
2016-09-07 18:14 UTC, Håkon Løvdal
no flags Details
File: proc_pid_status (1.13 KB, text/plain)
2016-09-07 18:14 UTC, Håkon Løvdal
no flags Details
File: var_log_messages (28 bytes, text/plain)
2016-09-07 18:14 UTC, Håkon Løvdal
no flags Details

Description Håkon Løvdal 2016-09-07 18:14:19 UTC
Description of problem:
Pulseaudi was started manually in a terminal window with "pulseaudio --log-level=4". It was later stopped by running "pulseaudio -k" in another window. Here is the output from just before its termination:

I: [pulseaudio] socket-server.c: TCP connection accepted by tcpwrap.
I: [pulseaudio] client.c: Created 2 "Native client (TCP/IP client from [fdca:2554:9e26::ccd]:58472)"
I: [pulseaudio] protocol-native.c: Client authenticated anonymously.
D: [pulseaudio] protocol-native.c: Protocol version: remote 30, local 30
D: [pulseaudio] protocol-native.c: SHM possible: no
D: [pulseaudio] protocol-native.c: Negotiated SHM: no
D: [pulseaudio] protocol-native.c: Disabling srbchannel, reason: No SHM support
D: [pulseaudio] module-augment-properties.c: Looking for .desktop file for pactl
I: [pulseaudio] client.c: Freed 2 "pactl"
I: [pulseaudio] protocol-native.c: Connection died.
I: [pulseaudio] main.c: Got signal SIGINT.
I: [pulseaudio] main.c: Exiting.
I: [pulseaudio] main.c: Daemon shutdown initiated.
I: [pulseaudio] module.c: Unloading "module-filter-apply" (index: #30).
I: [pulseaudio] module.c: Unloaded "module-filter-apply" (index: #30).
I: [pulseaudio] module.c: Unloading "module-filter-heuristics" (index: #29).
I: [pulseaudio] module.c: Unloaded "module-filter-heuristics" (index: #29).
I: [pulseaudio] module.c: Unloading "module-role-cork" (index: #28).
I: [pulseaudio] module.c: Unloaded "module-role-cork" (index: #28).
I: [pulseaudio] module.c: Unloading "module-position-event-sounds" (index: #27).
I: [pulseaudio] module.c: Unloaded "module-position-event-sounds" (index: #27).
I: [pulseaudio] module.c: Unloading "module-systemd-login" (index: #26).
D: [pulseaudio] module-systemd-login.c: Removing session 3
I: [pulseaudio] client.c: Freed 0 "Login Session 3"
D: [pulseaudio] module-systemd-login.c: Removing session 1
I: [pulseaudio] client.c: Freed 1 "Login Session 1"
I: [pulseaudio] module.c: Unloaded "module-systemd-login" (index: #26).
I: [pulseaudio] module.c: Unloading "module-suspend-on-idle" (index: #25).
I: [pulseaudio] module.c: Unloaded "module-suspend-on-idle" (index: #25).
I: [pulseaudio] module.c: Unloading "module-intended-roles" (index: #24).
I: [pulseaudio] module.c: Unloaded "module-intended-roles" (index: #24).
I: [pulseaudio] module.c: Unloading "module-always-sink" (index: #23).
I: [pulseaudio] module.c: Unloaded "module-always-sink" (index: #23).
I: [pulseaudio] module.c: Unloading "module-rescue-streams" (index: #22).
I: [pulseaudio] module.c: Unloaded "module-rescue-streams" (index: #22).
I: [pulseaudio] module.c: Unloading "module-default-device-restore" (index: #21).
I: [pulseaudio] module.c: Unloaded "module-default-device-restore" (index: #21).
I: [pulseaudio] module.c: Unloading "module-combine-sink" (index: #20).
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
D: [pulseaudio] module-zeroconf-publish.c: Removing entry group for hlovdal@myhostname: Simultaneous output to Barts HDMI Aud.
Segmentation fault (core dumped)

The binary is the standard fedora version with the following debug added:

--- pulseaudio-8.0/src/pulse/context.c.orig	2016-09-07 00:28:51.896980437 +0200
+++ pulseaudio-8.0/src/pulse/context.c	2016-09-07 00:48:15.219165529 +0200
@@ -939,6 +939,7 @@
     else
         server = c->conf->default_server;
 
+    pa_log_debug("PA_CHECK_VALIDITY tests passed. server = '%s'", server == NULL ? "NULL" : server);
     pa_context_ref(c);
 
     c->no_fail = !!(flags & PA_CONTEXT_NOFAIL);
@@ -947,6 +948,7 @@
 
     if (server) {
         if (!(c->server_list = pa_strlist_parse(server))) {
+            pa_log_warn("PA_ERR_INVALIDSERVER = '%s'", server);
             pa_context_fail(c, PA_ERR_INVALIDSERVER);
             goto finish;
         }
@@ -959,17 +961,21 @@
         /* Follow the X display */
         if (c->conf->auto_connect_display) {
             if ((d = getenv("DISPLAY"))) {
+                pa_log_debug("auto_connect_display, DISPLAY = '%s'", d);
                 d = pa_xstrndup(d, strcspn(d, ":"));
 
                 if (*d)
                     c->server_list = pa_strlist_prepend(c->server_list, d);
 
                 pa_xfree(d);
+            } else {
+                pa_log_warn("auto_connect_display but no DISPLAY");
             }
         }
 
         /* Add TCP/IP on the localhost */
         if (c->conf->auto_connect_localhost) {
+            pa_log_debug("auto_connect_localhost");
             c->server_list = pa_strlist_prepend(c->server_list, "tcp6:[::1]");
             c->server_list = pa_strlist_prepend(c->server_list, "tcp4:127.0.0.1");
         }
@@ -983,6 +989,7 @@
 
     /* Set up autospawning */
     if (!(flags & PA_CONTEXT_NOAUTOSPAWN) && c->conf->autospawn) {
+        pa_log_debug("autospawning");
 
 #ifdef HAVE_GETUID
         if (getuid() == 0)


Version-Release number of selected component:
pulseaudio-8.0-6.hl.fc24

Additional info:
reporter:       libreport-2.7.2
backtrace_rating: 3
cmdline:        pulseaudio --log-level=4
executable:     /usr/bin/pulseaudio
global_pid:     886
kernel:         4.7.2-201.fc24.x86_64
pkg_vendor:     (none)
runlevel:       N 5
type:           CCpp
uid:            500

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 ??
 #1 pa_hashmap_get at pulsecore/hashmap.c:182
 #2 pa_proplist_gets at pulse/proplist.c:283
 #3 publish_service at modules/module-zeroconf-publish.c:309
 #4 once_callback at pulse/mainloop-api.c:45
 #5 dispatch_defer at pulse/mainloop.c:680
 #6 pa_mainloop_dispatch at pulse/mainloop.c:889
 #7 pa_mainloop_iterate at pulse/mainloop.c:929
 #8 pa_mainloop_run at pulse/mainloop.c:944
 #9 thread at pulse/thread-mainloop.c:100

Comment 1 Håkon Løvdal 2016-09-07 18:14:26 UTC
Created attachment 1198793 [details]
File: backtrace

Comment 2 Håkon Løvdal 2016-09-07 18:14:27 UTC
Created attachment 1198794 [details]
File: cgroup

Comment 3 Håkon Løvdal 2016-09-07 18:14:29 UTC
Created attachment 1198795 [details]
File: core_backtrace

Comment 4 Håkon Løvdal 2016-09-07 18:14:31 UTC
Created attachment 1198796 [details]
File: dso_list

Comment 5 Håkon Løvdal 2016-09-07 18:14:33 UTC
Created attachment 1198797 [details]
File: environ

Comment 6 Håkon Løvdal 2016-09-07 18:14:35 UTC
Created attachment 1198798 [details]
File: exploitable

Comment 7 Håkon Løvdal 2016-09-07 18:14:36 UTC
Created attachment 1198799 [details]
File: limits

Comment 8 Håkon Løvdal 2016-09-07 18:14:39 UTC
Created attachment 1198800 [details]
File: maps

Comment 9 Håkon Løvdal 2016-09-07 18:14:40 UTC
Created attachment 1198801 [details]
File: mountinfo

Comment 10 Håkon Løvdal 2016-09-07 18:14:42 UTC
Created attachment 1198802 [details]
File: namespaces

Comment 11 Håkon Løvdal 2016-09-07 18:14:44 UTC
Created attachment 1198803 [details]
File: open_fds

Comment 12 Håkon Løvdal 2016-09-07 18:14:45 UTC
Created attachment 1198804 [details]
File: proc_pid_status

Comment 13 Håkon Løvdal 2016-09-07 18:14:47 UTC
Created attachment 1198805 [details]
File: var_log_messages

Comment 14 Fedora End Of Life 2017-07-25 22:53:36 UTC
This message is a reminder that Fedora 24 is nearing its end of life.
Approximately 2 (two) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 24. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '24'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 24 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 15 Fedora End Of Life 2017-08-08 17:10:33 UTC
Fedora 24 changed to end-of-life (EOL) status on 2017-08-08. Fedora 24 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.