GNOME Bugzilla – Bug 782237
Test failure in fileutils tests on Mageia 6
Last modified: 2018-02-14 10:45:03 UTC
Created attachment 351228 [details] test-suite.log make check error
What OS and distribution is this on? The relevant bits of the log are: ERROR: fileutils ================ ** GLib:ERROR:fileutils.c:854:test_stdio_wrappers: assertion failed: (ret == -1) # random seed: R02S550b3afe96898b049a667ba67ea5c8ab 1..15 # Start of fileutils tests … PASS: fileutils 14 /fileutils/read-link ../../tap-test: line 5: 27139 Аварийный останов (core dumped) $1 -k --tap # GLib:ERROR:fileutils.c:854:test_stdio_wrappers: assertion failed: (ret == -1) ERROR: fileutils - too few tests run (expected 15, got 14) ERROR: fileutils - exited with status 134 (terminated by signal 6?)
Mageia 6
Can you please apply this commit: https://git.gnome.org/browse/glib/commit/?id=5c1e85669a90e8ffc4a2c3bf2b2fec71eb35014d and rebuild, then reproduce the failure and attach the logs from it. If you could also attach the core dump file from the test crash, that would be useful.
Created attachment 351332 [details] Test log
Created attachment 351333 [details] core dumps files glib/tests/core.1.16140 glib/tests/mkdir-test/core.1.13477
Are the tests running in a clean environment when you run them? Please make sure the glib/tests/mkdir-test directory does not exist before you run the tests. (I’m wondering if coredump files from previous failed test runs are causing the tests to continue to fail, spuriously.)
(In reply to Philip Withnall from comment #6) > Are the tests running in a clean environment when you run them? Please make > sure the glib/tests/mkdir-test directory does not exist before you run the > tests. (I’m wondering if coredump files from previous failed test runs are > causing the tests to continue to fail, spuriously.) Yes, the test running in a clean environment. Glib was built in the new directory.
Sorry for the delay in getting back to this. Are you still having this issue with the latest GLib release? Nothing much has changed with file utilities, so I suspect you will be. What file system are you building and running the tests on? If you can still reproduce the crash, can you please attach a full backtrace from it (the `t a a bt` command in gdb). I can’t get those core files to work any more. Thanks.
I cannot reproduce this crash now. It's been too long and I do not already have that version.
So `make check` passes fine for you now? That’s great. If you do manage to reproduce the failure, please re-open this bug report. Thanks for getting back to me.