[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: let's use a fixed number of threads for libpager
From: |
Justus Winter |
Subject: |
Re: let's use a fixed number of threads for libpager |
Date: |
Tue, 28 Oct 2014 22:51:07 +0100 |
User-agent: |
alot/0.3.5 |
Quoting Richard Braun (2014-10-28 17:59:16)
> On Tue, Oct 28, 2014 at 01:37:43AM +0100, Justus Winter wrote:
> > Preliminary testing on my box as well as on darnassus looks promising
> > (modulo some pfinet weirdness that Richard is investigating [and imho
> > if there is an issue, it should be unrelated to this change]). We
> > will keep you posted.
>
> Stressing the file system (by building a large package such as
> iceweasel) triggers a reference counting assertion [1]. We'll have to
> squash this bug hard before the patch can be merged.
>
> [1]
> https://www.gnu.org/software/hurd/open_issues/ext2fs_libports_reference_counting_assertion.html
It just so happens that I have a backtrace-on-assertion-failure patch
in my tree:
[...]
dpkg-source: info: extracting mig in mig-1.4
dpkg-source: info: unpacking mig_1.4.orig.tar.bz2
ext2fs/ext2fs_t: ../include/refcount.h:159: refcounts_ref: Assertion `! (r.hard
== 1 && r.weak == 0) || !"refcount detected use-after-free!"' failed.
/home/teythoon/build/hurd-upstream/lib/libdiskfs.so.0.3(diskfs_S_dir_lookup+0x389)[0x1093869]
/home/teythoon/build/hurd-upstream/lib/libdiskfs.so.0.3(+0x10636)[0x1099636]
/home/teythoon/build/hurd-upstream/lib/libdiskfs.so.0.3(diskfs_demuxer+0x97)[0x1092a87]
/home/teythoon/build/hurd-upstream/lib/libports.so.0.3(+0x39ae)[0x10e69ae]
/lib/i386-gnu/libc.so.0.3(mach_msg_server_timeout+0xb6)[0x111f886]
/home/teythoon/build/hurd-upstream/lib/libports.so.0.3(+0x3b2e)[0x10e6b2e]
/lib/i386-gnu/libpthread.so.0.3(+0x4b06)[0x104db06]
tar: mig-1.4/build-aux: Cannot utime: Computer bought the farm
tar: mig-1.4/INSTALL: Cannot open: Computer bought the farm
tar: mig-1.4/AUTHORS: Cannot open: Computer bought the farm
[...]
This is just a stupid demo of course, I put that refcount bug in
there. I'll put that patch in my package and you can give it a try on
darnassus.
Justus