Subject: bug#24003: guile-2.0.12: test failure on NetBSD: test-loose-ends

From: Thomas Klausner <[email-masked]>
Date: Sat, 16 Jul 2016 11:15:17 +0200

Hi!

When running the self-tests on NetBSD-7.99.34/amd64, I see:

PASS: test-language
error: interrupted by the user
PASS: test-guild-compile
PASS: test-num2integral
PASS: test-round
PASS: test-list
PASS: test-unwind
PASS: test-conversion
[1]   Segmentation fault (core dumped) top_srcdir="../....
FAIL: test-loose-ends
PASS: test-fast-slot-ref
PASS: test-mb-regexp
PASS: test-use-srfi
PASS: test-scm-c-read
PASS: test-scm-take-locale-symbol
PASS: test-scm-take-u8vector
PASS: test-scm-to-latin1-string
PASS: test-scm-values
PASS: test-scm-c-bind-keyword-arguments
PASS: test-srfi-4
PASS: test-smob-mark
PASS: test-smob-mark-race
==================================
1 of 27 tests failed
Please report to [email-masked]
==================================
*** Error code 1

Backtrace:

# gdb test-loose-ends test-loose-ends.core
GNU gdb (GDB) 7.10.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
"/scratch/lang/guile20/work/guile-2.0.12/test-suite/standalone/test-loose-ends": not in executable format: File format not recognized
[New process 1]
Core was generated by `test-loose-ends'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000077b43119f010 in ?? ()
(gdb) bt
#0  0x000077b43119f010 in ?? ()
#1  0x000000000040108b in ?? ()
#2  0x000077b43151a800 in ?? ()
#3  0x1412c5632c4eccb5 in ?? ()
#4  0x00007f7fffb93410 in ?? ()
#5  0x00007f7fffb93410 in ?? ()
#6  0x000077b42f183b60 in ?? ()
#7  0x000077b43151a800 in ?? ()
#8  0x0000000000000002 in ?? ()
#9  0x000077b431684852 in ?? ()
#10 0x0000000000000000 in ?? ()
(gdb) quit
# gdb .libs/test-loose-ends test-loose-ends.core
GNU gdb (GDB) 7.10.1
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64--netbsd".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from .libs/test-loose-ends...(no debugging symbols found)...done.
[New process 1]
Core was ge0000000040108b in tests ()
#2  0x000077b431684852 in invoke_main_func () from /scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguile-2.0.so.22
#3  0x000077b431658331 in c_body () from /scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguil12/libguile/.libs/libguile-2.0.so.22
#5  0x000077b4316633e6 in scm_call_4 () from /scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguile-2.0.so.22
#6  0x000077b431658b92 in scm_i_with_continuation_barrier () from /scratch/lang/guile20/work/guile-rrier () from /scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguile-2.0.so.22
#8  0x000077b4316e59f6 in with_guile_and_parent () from /scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguile-2.0.so.22
#9  0x000077b4302177c4 in GC_call_witlib/libgc.so.1
#10 0x000077b4316e6056 in scm_with_guile () from /scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguile-2.0.so.22
#11 0x000077b431684ac8 in scm_boot_guile () from /scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguile-2.0.so.22
#12 0x000000000040116c in main ()

I don't know how to debug this further, please advise.
 Thomas