GNOME Bugzilla – Bug 731802
gnome-keyring-3.12.2 fails test-import
Last modified: 2015-09-28 13:47:47 UTC
Created attachment 278630 [details] test-suite.log Building gnome-keyring-3.12.2 with tests enabled on Gentoo/ia64 fails in test-import: ERROR: test-import ================== # ./build/tap-driver --test-name test-import --log-file test-import.log --trs-fi le test-import.trs --color-tests yes --enable-hard-errors yes --expect-failure n o --format=tap -- ./build/tap-gtester ./test-import 1..1 # random seed: R02S98a629ed1f93501a47b468fbeba7c976 not ok 1 /gnome2-store/import/pkcs12 All other tests pass fine or are skipped (test-data-asn1 and test-pam).
Could you attach test-import.log?
Created attachment 278715 [details] test-import.log
(In reply to comment #1) > Could you attach test-import.log? Please have a look at attachment 278715 [details]. But it seems to me that its content matches test-suite.log one.
Is there any output when you run ./test-import manually? Unfortunately there's nothing descriptive in the test-import.log attachment.
Created attachment 278928 [details] test-import backtrace
(In reply to comment #4) > Is there any output when you run ./test-import manually? Unfortunately there's > nothing descriptive in the test-import.log attachment. Good catch, test-import is simply segfaulting! Does the attached backtrace (attachment #278928 [details]) provide enough information?
Created attachment 310741 [details] [review] test-import: Initialize error with NULL to fix segfault I can reliably reproduce this segfault on Debian GNU/Linux unstable amd64. It segfaults in g_assert_no_error (test-import.c:136), because error is 0x02. The attached patch fixes it by initializing error with NULL.
Stef, can you please include my patch above in 3.18.0 release?
Attachment 310741 [details] pushed as c4957eb - test-import: Initialize error with NULL to fix segfault