cleanerd segfault
I can confirm that it is also reproducable on a newly created nilfs2 populated with some files.
- original message -
Subject: Re: [NILFS users] cleanerd segfault
From: Ryusuke Konishi <[email protected]>
Date: 05/02/2009 06:54
Hi David,
Quoted 9 lines · David Arendt
Hi,
I am using latest nilfs2 module and nilfs2 utils from today and I am getting a segfault when trying to run cleanerd.
nilfs_cleanerd[5784]: segfault at
b7f5b000ip0804a0dbspbff79720error 4 in nilfs_cleanerd[8048000+5000]Could you please look into this ?
Thanks for reports!
You mean git tree versions?
I'm considering to make a minor release in a few days.
If the latest version on git trees seems unstable, I'd like to fix it before that.
Regards,
Ryusuke
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 2 lines · On Thu, 5 Feb 2009 08:52:32 +0100, admin-/[email protected]…
I can confirm that it is also reproducable on a newly created nilfs2 populated with some files.
All right.
Could you try the following patch against nilfs2-utils ?
This makes cleanerd which can dump backtrace to /var/log/segv_xxx.
To enable the feature, you need gdb and a 'backtrace' script available on http://samba.org/ftp/unpacked/junkcode/segv_handler/
Regards,
Ryusuke
--
sbin/cleanerd/Makefile.am +1 -1
@@ -8,7 +8,7 @@ sbin_PROGRAMS = nilfs_cleanerd nilfs_cleanerd_SOURCES = cleanerd.c cldconfig.c vector.c \ cleanerd.h cldconfig.h vector.h -nilfs_cleanerd_CFLAGS = -Wall +nilfs_cleanerd_CFLAGS = -Wall -g nilfs_cleanerd_CPPFLAGS = -I$(top_srcdir)/include \ -DSYSCONFDIR=\"$(sysconfdir)\" -D_GNU_SOURCE nilfs_cleanerd_LDADD = $(top_builddir)/lib/libnilfs.la
sbin/cleanerd/cleanerd.c +44 -0
56 lines not on this page · raw message
Signature · 1 line
1.5.6.5
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hi David,
Quoted 7 lines · Ryusuke Konishi
Quoted 2 lines · On Thu, 5 Feb 2009 08:52:32 +0100, admin-/[email protected]…
I can confirm that it is also reproducable on a newly created nilfs2 populated with some files.
All right.
Could you try the following patch against nilfs2-utils ?
Quoted 8 lines
This makes cleanerd which can dump backtrace to
/var/log/segv_xxx.To enable the feature, you need gdb and a 'backtrace' script available on http://samba.org/ftp/unpacked/junkcode/segv_handler/
Regards,
Ryusuke
I've pushed out updates that would fix this problem. (Both nilfs-utils and nilfs2-modules were updated).
It turned out to be a regression brought by one of the recent bug fixes. It was lucky that this was found before the next release.
David, thank you for your many feedbacks.
Regards,
Ryusuke Konishi
A message that is not in the archive (sent off-list or not yet received): [email protected]
Quoted 5 lines · Ryusuke Konishi
I've pushed out updates that would fix this problem. (Both nilfs-utils and nilfs2-modules were updated).
It turned out to be a regression brought by one of the recent bug fixes. It was lucky that this was found before the next release.
Grr, I found another critical bug on a checkpoint ioctl. It may be the cause of the GC related troubles.
Please wait trying this until the next patch will be pushed out.
Regards,
Ryusuke