This is the mail archive of the libc-help@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: dead-lock in glibc


Hi

run:

`make check`

Bests,
Joël


On Mon, Apr 3, 2017 at 8:03 PM, Joël Krähemann <jkraehemann@gmail.com> wrote:
> Hi
>
> Yes, it was. Instead of calling pthread_mutex_lock() I was doing
> pthread_mutex_unlock().
> Without having any lock on the mutex.
>
> What I think about the dead-lock in glibc is it was caused by a memory
> corruption.
> Since it was on a working copy we won't be able to reproduce.
>
> I just wonder how it is possible that one application can render
> WindowMaker useless.
>
> You might want to try it yourself:
> http://git.savannah.nongnu.org/cgit/gsequencer.git/commit/?h=0.7.122.x&id=1637db4c2e8e69946fbae91c53c21caff22746f8
>
> Bests,
> Joël
>
>
> On Mon, Apr 3, 2017 at 11:24 AM, Torvald Riegel <triegel@redhat.com> wrote:
>> On Fri, 2017-03-31 at 23:07 +0200, Joël Krähemann wrote:
>>> Hi
>>>
>>> Here was the mutex locked wrong. First unlock() and then unlock(), again.
>>
>> IOW, was this a bug in the application?
>>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]