-
Notifications
You must be signed in to change notification settings - Fork 217
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mtest_minidebug test failed #118
Comments
We are now experiencing it in Nixpkgs. The build log looks the same until running tests: @@ -499,7 +502,7 @@
xz mtest.mdbg
objcopy --add-section .gnu_debugdata=mtest.mdbg.xz mtest.strip
mv mtest.strip mtest_minidebug
-PASS: mtest_minidebug
+FAIL: mtest_minidebug
PASS: test_elf_32
PASS: test_elf_64
PASS: test_macho
@@ -531,52 +534,67 @@
PASS: mtest
PASS: xztest
PASS: xztest_alloc
+=====================================================
+ package-unused version-unused: ./test-suite.log
+=====================================================
+
+# TOTAL: 35
+# PASS: 34
+# SKIP: 0
+# XFAIL: 0
+# FAIL: 1
+# XPASS: 0
+# ERROR: 0
+
+.. contents:: :depth: 2
+
+FAIL: mtest_minidebug
+=====================
+
+test1: [0]: syminfo did not find name
+test1: [1]: syminfo did not find name
+test1: [2]: syminfo did not find name
+test1: [0]: missing function name
+test1: [1]: missing function name
+test1: [2]: missing function name
+test3: [0]: NULL syminfo name
+test3: [1]: NULL syminfo name
+test3: [2]: NULL syminfo name
+test5: NULL syminfo name
+FAIL: backtrace_full noinline
+FAIL: backtrace_simple noinline
+FAIL: backtrace_syminfo variable
+FAIL mtest_minidebug (exit status: 1)
+
============================================================================
Testsuite summary for package-unused version-unused
============================================================================
# TOTAL: 35
-# PASS: 35
+# PASS: 34
# SKIP: 0
# XFAIL: 0
-# FAIL: 0
+# FAIL: 1
# XPASS: 0
# ERROR: 0
============================================================================
+See ./test-suite.log
+============================================================================
+make[2]: *** [Makefile:2028: test-suite.log] Error 1 The
|
The test does pass for me on x86_64 on Ubuntu Rodete. Tell me more about the environment in which it fails. |
I could bisect this error to our (nixpkgs) xz upgrade from 5.4.6 to 5.6.0. |
tukaani-project/xz@6daa4d0 |
Using |
Fixes ianlancetaylor/libbacktrace#118 * elf.c (elf_uncompress_lzma_block): Skip all header padding bytes and verify that they are zero.
Thanks for finding out how to reproduce the problem. Should be fixed now. |
Fixes ianlancetaylor/libbacktrace#118 * elf.c (elf_uncompress_lzma_block): Skip all header padding bytes and verify that they are zero.
This patch to libbacktrace corrects the LZMA block header parsing to skip all the padding bytes, verifying that they are zero. This fixes ianlancetaylor/libbacktrace#118. Bootstrapped and ran libbacktrace tests on x86_64-pc-linux-gnu. I was able to verify that the problem occurred when setting the environment variable XZ_OPT="--threads=2", and that this patch fixes the bug. Committed to mainline. Ian * elf.c (elf_uncompress_lzma_block): Skip all header padding bytes and verify that they are zero. 23f9fbed3c97ed70d2615d7d3fa7c249cc862553
Fixes ianlancetaylor/libbacktrace#118 * elf.c (elf_uncompress_lzma_block): Skip all header padding bytes and verify that they are zero.
Fixes ianlancetaylor/libbacktrace#118 * elf.c (elf_uncompress_lzma_block): Skip all header padding bytes and verify that they are zero.
Fixes ianlancetaylor/libbacktrace#118 * elf.c (elf_uncompress_lzma_block): Skip all header padding bytes and verify that they are zero.
Fixes ianlancetaylor/libbacktrace#118 * elf.c (elf_uncompress_lzma_block): Skip all header padding bytes and verify that they are zero.
Fixes ianlancetaylor/libbacktrace#118 * elf.c (elf_uncompress_lzma_block): Skip all header padding bytes and verify that they are zero.
Fixes ianlancetaylor/libbacktrace#118 * elf.c (elf_uncompress_lzma_block): Skip all header padding bytes and verify that they are zero.
Fixes ianlancetaylor/libbacktrace#118 * elf.c (elf_uncompress_lzma_block): Skip all header padding bytes and verify that they are zero.
Fixes ianlancetaylor/libbacktrace#118 * elf.c (elf_uncompress_lzma_block): Skip all header padding bytes and verify that they are zero.
the source code: 14818b7
used the patch of #99
detaild build log: https://kojipkgs.fedoraproject.org/work/tasks/3313/111733313/build.log
The text was updated successfully, but these errors were encountered: