On Mon, Feb 08, 2010 at 01:01:26PM +0530, Girish Shilamkar wrote: > Hello, > I found a problem while creating e2fsprogs rpms. Few of the tests > fail with segfault during make check. The tests are d_loaddump, f_dup4, > f_imagic_fs and r_resize_inode. This failure is only seen on rhel5, > x86_64. > On further searching I found that this error can reproduced when > e2fsprogs is configured with shared elf libraries. For example, > configure --enable-elf-shlibs, make; make check > And this problem is seen from 1.41.7 version onwards. > > Any ideas/comments ? Well, I run "make check" all the time during the course of my development, so it must be something unique with RHEL5. #1) Does it show up if you just unpack a source tree, and do a "configure; make; make check" run in RHEL 5? #2) In the build directory, cd to tests, and then run the command: (. $(srcdir)/tests/test_config; debugfs) .. and see if you get a core dump. (Replace $(srcdir) with the top level source tree directory. If you are building in the source tree, you can just do "(. test_config ; debugfs)"; if you are building with the build directory located in a "build" subdirectory under the source tree, you could do "(. ../tests/test_config ; debugfs)", etc. If you do get a core dump, run it under gdb and get a stack trace, and/or see if anything is showing up in stderr that might be help explain what's going on. #3) Try downloading: http://master.kernel.org/~tytso/e2fsprogs_1.41.10-rc1.tar.gz ... and see if you can see the problem there. Thanks, - Ted -- To unsubscribe from this list: send the line "unsubscribe linux-ext4" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html