On Thu, Aug 24, 2006 at 05:21:33AM +0100, Simon McVittie <[EMAIL PROTECTED]> wrote: > I don't know why this affects PowerPC specifically, since it looks like > a generic problem... > > It's "reproducible" on my PowerPC by middle-clicking many links in > Epiphany to open background tabs (e.g. go to a packages.qa.debian.org > page and middle-click everything in sight), and causes a hang. My stack trace > matches what Yves-Alexis reported. > > It seems that ~nsCacheEntryDescriptor calls the nsCacheEntryDescriptor's > Close method (frame #9 in Yves-Alexis' stack trace), which takes the > lock nsCacheService::ServiceLock() before calling > gService->CloseDescriptor (gService is a global nsCacheService in > nsCacheService.cpp), passing itself as an argument. This can > cause *another* nsCacheEntryDescriptor to be released, and if its > refcount has reached zero, that causes the deletion of that second > nsCacheEntryDescriptor, causing *its* Close method to be called. When the > second invocation of Close also tries to take the > nsCacheService::ServiceLock(), the result is a deadlock. > > Downgrading all the binary packages which came from xulrunner's source > to 1.8.0.4-1 seems to solve the problem; this is weird, since the offending > cache code doesn't seem to have changed!
Which make me believe this might be a toolchain problem. 1.8.0.4-1 was built with: libc6-dev_2.3.6-13 linux-kernel-headers_2.6.13+0rc3-2.1 gcc-4.1_4.1.1-4 g++-4.1_4.1.1-4 binutils_2.16.1cvs20060413-1 libstdc++6-4.1-dev_4.1.1-4 libstdc++6_4.1.1-4 1.8.0.5-1 was built with: libc6-dev_2.3.6-18 linux-kernel-headers_2.6.17.3-1 gcc-4.1_4.1.1-10 g++-4.1_4.1.1-10 binutils_2.17-2 libstdc++6-4.1-dev_4.1.1-10 libstdc++6_4.1.1-10 Could someone check if the problem was present with 1.8.0.4-2 ? 1.8.0.4-2 was built with: libc6-dev_2.3.6-15 linux-kernel-headers_2.6.16.20-6 gcc-4.1_4.1.1-7 g++-4.1_4.1.1-7 binutils_2.16.1cvs20060413-1 libstdc++6-4.1-dev_4.1.1-7 libstdc++6_4.1.1-7 What would definitely make it sure it is not the toolchain would be to rebuild 1.8.0.4-1 with the same toolchain as 1.8.0.5-1 was built with. (this requires ~2GB diskspace) If you have more ideas, they are welcome. I don't have a ppc, so i'm relying on you, reporters ;) Thanks Mike -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

