Re: ld.so crash second attempt

2015-11-05 Thread Peter Hajdu
On 03/11/15 at 01:46P, Philip Guenther wrote: > On Sun, 25 Oct 2015, Peter Hajdu wrote: > > I try to give it one more attempt with a bit more description about the > > bug. > > > > After calling dlclose in _dl_notify_unload_shlib_ group reference counts > > are decreased by following the

Re: ld.so crash second attempt

2015-11-05 Thread Philip Guenther
On Thu, Nov 5, 2015 at 1:00 PM, Peter Hajdu wrote: ... > I've tested the patch on amd64 with a simple sdl2 test and with my > original tests on both amd64 and i386. Everything seems to work just > fine. Thank you very much for your effort. And it's now committed.

Re: ld.so crash second attempt

2015-11-04 Thread Alf Schlichting
On Tue, 03 Nov 2015 10:46:57 +0100, Philip Guenther wrote: > > On Sun, 25 Oct 2015, Peter Hajdu wrote: > > I try to give it one more attempt with a bit more description about the > > bug. > > > > After calling dlclose in _dl_notify_unload_shlib_ group reference counts > > are decreased by

Re: ld.so crash second attempt

2015-11-03 Thread Philip Guenther
On Sun, 25 Oct 2015, Peter Hajdu wrote: > I try to give it one more attempt with a bit more description about the > bug. > > After calling dlclose in _dl_notify_unload_shlib_ group reference counts > are decreased by following the object's grpref-list. Unfortunately the > references are

Re: ld.so crash second attempt

2015-11-03 Thread Anthony J. Bentley
Hi Philip, Philip Guenther writes: > Thus the diff below. It works with your test setup (thanks for writing > that!), passes regress/libexec/ld.so/, and chrome hasn't choked on it. > Can someone who's familiar with the sdl problem case test it there? This patch fixes my sdl2 testcase,

ld.so crash second attempt

2015-10-25 Thread Peter Hajdu
Hi, I try to give it one more attempt with a bit more description about the bug. After calling dlclose in _dl_notify_unload_shlib_ group reference counts are decreased by following the object's grpref-list. Unfortunately the references are removed from the list during the graph traversal.