Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2018 00:36:48 +0300
From:      Vladimir Kondratyev <vladimir@kondratyev.su>
To:        Konstantin Belousov <kostikbel@gmail.com>
Cc:        Johannes Lundberg <johalun0@gmail.com>, freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: Linux process causes kernel panic
Message-ID:  <1372b1e2-fc10-9066-0cce-9ef55416549b@kondratyev.su>
In-Reply-To: <20180806204148.GB6049@kib.kiev.ua>
References:  <CAECmPwvAaSTimVyV1n%2B9PNKd_0JP6kLXnXyihoWEB3FHRHqa9w@mail.gmail.com> <20180803204250.GE6049@kib.kiev.ua> <CAECmPwt0kifzPFpgyYWJj7UvnUn2CGjUfQz2tuS5G0BYttTkZQ@mail.gmail.com> <20180804142235.GM6049@kib.kiev.ua> <CAECmPwu9eqH2UJo0LMNDj7nPXu7S1%2B9OWnd1swAabZLXcxo1Dg@mail.gmail.com> <5856e8a6-84a4-6fb4-c2d4-ecd56c5c5a94@kondratyev.su> <20180806203738.GA6049@kib.kiev.ua> <20180806204148.GB6049@kib.kiev.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
On 8/6/18 11:41 PM, Konstantin Belousov wrote:
>>> linux_sys_futex(0x33b0fac,0x85,0x1,0x1,0x33b0fa8,0x4000001)
>>> -- here it stops --
>> Can you fix your mail client ?

Unfortunately, it did all that dumb wraps at send time not at edit. Sorry.

>>> ddb also shows that process is looping somewhere inside linux_sys_futex()
>> There are two bugs.  One is that ifuncs handling for relocations against
>> local symbols in elf obj modules was missed.  Patch below fixed it for me.
>>
>> Second bug is that futexes seems to not handle accesses to the CoW
>> mappings which are not yet copied.  I think that the second bug is
>> irrelevant for your case, since it worked before.
>>
>> Try this patch in addition to the linux/ patches I sent before.

It fixed skype for me too! Thank you!





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1372b1e2-fc10-9066-0cce-9ef55416549b>