Current-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: mpv coredump
On Sun, Feb 16, 2020 at 01:02:32PM +0100, Kamil Rytarowski wrote:
> On 16.02.2020 12:48, Thomas Klausner wrote:
> > Hi!
> >
> > I've upgraded kernel + userland to 9.99.47/amd64.
> > Now mpv (built on 9.99.43) dumps core immediately.
> >
>
> Does it work if you just revert this:
>
> Modified Files:
> src/lib/libpthread: pthread.c pthread_int.h pthread_mutex.c
> pthread_tsd.c
>
> Log Message:
> Enhance the pthread(3) + malloc(3) init model
>
> Separate the pthread_atfork(3) call from pthread_tsd_init()
> and move it into a distinct function.
>
> Call inside pthread__init() late TSD initialization route, just after
> "pthread_atfork(NULL, NULL, pthread__fork_callback);".
>
> Document that malloc(3) initialization is now controlled again and called
> during the first pthread_atfork(3) call.
>
> Remove #if 0 code from pthread_mutex.c as we no longer initialize malloc
> prematurely.
>
>
> To generate a diff of this commit:
> cvs rdiff -u -r1.164 -r1.165 src/lib/libpthread/pthread.c
> cvs rdiff -u -r1.101 -r1.102 src/lib/libpthread/pthread_int.h
> cvs rdiff -u -r1.74 -r1.75 src/lib/libpthread/pthread_mutex.c
> cvs rdiff -u -r1.18 -r1.19 src/lib/libpthread/pthread_tsd.c
If I revert this, mpv works again.
Thomas
Home |
Main Index |
Thread Index |
Old Index