[pulseaudio-tickets] [Bug 98174] Abort on startup: mutex-posix.c: Assertion 'r == 95 && inherit_priority' failed at pulsecore/mutex-posix.c:70, function pa_mutex_new().

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 13 02:04:21 UTC 2016


https://bugs.freedesktop.org/show_bug.cgi?id=98174

--- Comment #7 from David Ronis <David.Ronis at McGill.CA> ---
Thanks for the reply.

Your hunch was correct:

ldd `which pulseaudio` | grep pthread
        libpthread-stubs.so.0 => /usr/lib64/libpthread-stubs.so.0
(0x00002b8033b44000)
        libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b803636a000)

which is odd

ls -l /lib64/*pthread*
-rwxr-xr-x 1 root root 134893 Jan 28  2015 /lib64/libpthread-2.17.so*
lrwxrwxrwx 1 root root     18 Jan 28  2015 /lib64/libpthread.so.0 ->
libpthread-2.17.so*

ls -l /usr/lib64/libpthread*
-rw-r--r-- 1 root root 382370 Jan 28  2015 /usr/lib64/libpthread.a
-rw-r--r-- 1 root root   1748 Jan 28  2015 /usr/lib64/libpthread_nonshared.a
-rw-r--r-- 1 root root 401612 Sep 15  2013 /usr/lib64/libpthread_p.a
-rw-r--r-- 1 root root    222 Jan 28  2015 /usr/lib64/libpthread.so
-rw-r--r-- 1 root root   1532 Oct  2 14:50 /usr/lib64/libpthread-stubs.a
-rwxr-xr-x 1 root root    976 Oct  2 14:50 /usr/lib64/libpthread-stubs.la*
lrwxrwxrwx 1 root root     25 Oct  2 14:50 /usr/lib64/libpthread-stubs.so ->
libpthread-stubs.so.0.0.0*
lrwxrwxrwx 1 root root     25 Oct  2 14:50 /usr/lib64/libpthread-stubs.so.0 ->
libpthread-stubs.so.0.0.0*
-rwxr-xr-x 1 root root   4200 Oct  2 14:50
/usr/lib64/libpthread-stubs.so.0.0.0*

Note the big difference in date/time for the libpthread-stubs and
libpthread-2.17.so files

I also reapplied both patches to a clean source tree--both seemed to have
appied properly (no errors were reported).    Running

pulseaudo --start 

generates a massive core file;  here are the initial parts:

Core was generated by `pulseaudio --start'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  pa_run_once (control=0x2b2f9cd6cb80 <cstrerror_tls>, 
    func=0x2b2f9cb12010 <cstrerror_tls_init>) at pulsecore/once.c:71
71          if (pa_once_begin(control)) {

Thread 1 (Thread 0x2b2f9c093c00 (LWP 1980)):
#0  pa_run_once (control=0x2b2f9cd6cb80 <cstrerror_tls>, 
    func=0x2b2f9cb12010 <cstrerror_tls_init>) at pulsecore/once.c:71
        __func__ = "pa_run_once"
        __PRETTY_FUNCTION__ = "pa_run_once"
#1  0x00002b2f9cb12056 in cstrerror_tls_obj () at pulsecore/core-error.c:39
No locals.
#2  cstrerror_tls_get () at pulsecore/core-error.c:39
No locals.
#3  pa_cstrerror (errnum=22) at pulsecore/core-error.c:49
        original = 0x0
        translated = <optimized out>
        errbuf = '\000' <repeats 112 times>,
"\200\313֜/+\000\000\200\357\320\000\000\000\000"
        __func__ = "pa_cstrerror"
#4  0x00002b2f9cb3ff87 in pa_mutex_lock (m=m at entry=0xd0ef80)
    at pulsecore/mutex-posix.c:100
        r = <optimized out>
        __func__ = "pa_mutex_lock"
        __PRETTY_FUNCTION__ = "pa_mutex_lock"
#5  0x00002b2f9cb2a5fa in pa_once_begin (
    control=0x2b2f9cd6cb80 <cstrerror_tls>) at pulsecore/once.c:44
        m = 0xd0ef80
#6  0x00002b2f9cb2a75b in pa_run_once (control=0x2b2f9cd6cb80 <cstrerror_tls>, 
    func=0x2b2f9cb12010 <cstrerror_tls_init>) at pulsecore/once.c:71
        __func__ = "pa_run_once"
        __PRETTY_FUNCTION__ = "pa_run_once"
#7  0x00002b2f9cb12056 in cstrerror_tls_obj () at pulsecore/core-error.c:39
No locals.
#8  cstrerror_tls_get () at pulsecore/core-error.c:39
No locals.
#9  pa_cstrerror (errnum=22) at pulsecore/core-error.c:49
        original = 0x0
        translated = <optimized out>
        errbuf = '\000' <repeats 112 times>,
"\200\313֜/+\000\000\200\357\320\000\000\000\000"
        __func__ = "pa_cstrerror"
#10 0x00002b2f9cb3ff87 in pa_mutex_lock (m=m at entry=0xd0ef80)
    at pulsecore/mutex-posix.c:100
        r = <optimized out>
        __func__ = "pa_mutex_lock"
        __PRETTY_FUNCTION__ = "pa_mutex_lock"
#11 0x00002b2f9cb2a5fa in pa_once_begin (
    control=0x2b2f9cd6cb80 <cstrerror_tls>) at pulsecore/once.c:44
        m = 0xd0ef80
#12 0x00002b2f9cb2a75b in pa_run_once (control=0x2b2f9cd6cb80 <cstrerror_tls>, 
    func=0x2b2f9cb12010 <cstrerror_tls_init>) at pulsecore/once.c:71
        __func__ = "pa_run_once"
        __PRETTY_FUNCTION__ = "pa_run_once"
#13 0x00002b2f9cb12056 in cstrerror_tls_obj () at pulsecore/core-error.c:39
No locals.
#14 cstrerror_tls_get () at pulsecore/core-error.c:39
No locals.
#15 pa_cstrerror (errnum=22) at pulsecore/core-error.c:49
        original = 0x0
        translated = <optimized out>
        errbuf = '\000' <repeats 112 times>,
"\200\313֜/+\000\000\200\357\320\000\000\000\000"
        __func__ = "pa_cstrerror"
#16 0x00002b2f9cb3ff87 in pa_mutex_lock (m=m at entry=0xd0ef80)
    at pulsecore/mutex-posix.c:100
        r = <optimized out>
        __func__ = "pa_mutex_lock"
        __PRETTY_FUNCTION__ = "pa_mutex_lock"
#17 0x00002b2f9cb2a5fa in pa_once_begin (
    control=0x2b2f9cd6cb80 <cstrerror_tls>) at pulsecore/once.c:44
        m = 0xd0ef80
#18 0x00002b2f9cb2a75b in pa_run_once (control=0x2b2f9cd6cb80 <cstrerror_tls>, 
    func=0x2b2f9cb12010 <cstrerror_tls_init>) at pulsecore/once.c:71
        __func__ = "pa_run_once"
        __PRETTY_FUNCTION__ = "pa_run_once"
#19 0x00002b2f9cb12056 in cstrerror_tls_obj () at pulsecore/core-error.c:39
No locals.
#20 cstrerror_tls_get () at pulsecore/core-error.c:39
No locals.
#21 pa_cstrerror (errnum=22) at pulsecore/core-error.c:49
        original = 0x0
        translated = <optimized out>
        errbuf = '\000' <repeats 112 times>,
"\200\313֜/+\000\000\200\357\320\000\000\000\000"
        __func__ = "pa_cstrerror"
#22 0x00002b2f9cb3ff87 in pa_mutex_lock (m=m at entry=0xd0ef80)
    at pulsecore/mutex-posix.c:100
        r = <optimized out>
        __func__ = "pa_mutex_lock"
        __PRETTY_FUNCTION__ = "pa_mutex_lock"
#23 0x00002b2f9cb2a5fa in pa_once_begin (
    control=0x2b2f9cd6cb80 <cstrerror_tls>) at pulsecore/once.c:44
        m = 0xd0ef80
#24 0x00002b2f9cb2a75b in pa_run_once (control=0x2b2f9cd6cb80 <cstrerror_tls>, 
    func=0x2b2f9cb12010 <cstrerror_tls_init>) at pulsecore/once.c:71
        __func__ = "pa_run_once"
        __PRETTY_FUNCTION__ = "pa_run_once"
#25 0x00002b2f9cb12056 in cstrerror_tls_obj () at pulsecore/core-error.c:39
No locals.
#26 cstrerror_tls_get () at pulsecore/core-error.c:39
No locals.
#27 pa_cstrerror (errnum=22) at pulsecore/core-error.c:49
        original = 0x0
        translated = <optimized out>
        errbuf = '\000' <repeats 112 times>,
"\200\313֜/+\000\000\200\357\320\000\000\000\000"
        __func__ = "pa_cstrerror"
#28 0x00002b2f9cb3ff87 in pa_mutex_lock (m=m at entry=0xd0ef80)
    at pulsecore/mutex-posix.c:100
        r = <optimized out>
        __func__ = "pa_mutex_lock"
        __PRETTY_FUNCTION__ = "pa_mutex_lock"
#29 0x00002b2f9cb2a5fa in pa_once_begin (
    control=0x2b2f9cd6cb80 <cstrerror_tls>) at pulsecore/once.c:44
        m = 0xd0ef80
#30 0x00002b2f9cb2a75b in pa_run_once (control=0x2b2f9cd6cb80 <cstrerror_tls>, 
    func=0x2b2f9cb12010 <cstrerror_tls_init>) at pulsecore/once.c:71
        __func__ = "pa_run_once"
        __PRETTY_FUNCTION__ = "pa_run_once"
#31 0x00002b2f9cb12056 in cstrerror_tls_obj () at pulsecore/core-error.c:39
No locals.
#32 cstrerror_tls_get () at pulsecore/core-error.c:39
No locals.
#33 pa_cstrerror (errnum=22) at pulsecore/core-error.c:49
        original = 0x0
        translated = <optimized out>
        errbuf = '\000' <repeats 112 times>,
"\200\313֜/+\000\000\200\357\320\000\000\000\000"
        __func__ = "pa_cstrerror"
#34 0x00002b2f9cb3ff87 in pa_mutex_lock (m=m at entry=0xd0ef80)
    at pulsecore/mutex-posix.c:100
        r = <optimized out>
        __func__ = "pa_mutex_lock"
        __PRETTY_FUNCTION__ = "pa_mutex_lock"
#35 0x00002b2f9cb2a5fa in pa_once_begin (
    control=0x2b2f9cd6cb80 <cstrerror_tls>) at pulsecore/once.c:44
        m = 0xd0ef80
#36 0x00002b2f9cb2a75b in pa_run_once (control=0x2b2f9cd6cb80 <cstrerror_tls>, 
    func=0x2b2f9cb12010 <cstrerror_tls_init>) at pulsecore/once.c:71
        __func__ = "pa_run_once"
        __PRETTY_FUNCTION__ = "pa_run_once"
#37 0x00002b2f9cb12056 in cstrerror_tls_obj () at pulsecore/core-error.c:39
No locals.
#38 cstrerror_tls_get () at pulsecore/core-error.c:39

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20161013/3eed8783/attachment-0001.html>


More information about the pulseaudio-bugs mailing list