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

2016-07-23 Thread Andy Wingo
On Sat 16 Jul 2016 13:53, Thomas Klausner  writes:

> It's already in the bug report.
> Look lower.
>
> Copied here again:
>
> [New process 1]
> Core was ge40108b in tests ()
> #2  0x77b431684852 in invoke_main_func () from 
> /scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguile-2.0.so.22
> #3  0x77b431658331 in c_body () from 
> /scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguil12/libguile/.libs/libguile-2.0.so.22
> #5  0x77b4316633e6 in scm_call_4 () from 
> /scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguile-2.0.so.22
> #6 0x77b431658b92 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  0x77b4316e59f6 in with_guile_and_parent () from 
> /scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguile-2.0.so.22
> #9  0x77b4302177c4 in GC_call_witlib/libgc.so.1
> #10 0x77b4316e6056 in scm_with_guile () from 
> /scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguile-2.0.so.22
> #11 0x77b431684ac8 in scm_boot_guile () from 
> /scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguile-2.0.so.22
> #12 0x0040116c in main ()

This BT is corrupted; there is no source for tests() and I don't see the
frame number.

Please Cc the bug on future mails, thanks.

Andy





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

2016-07-16 Thread Thomas Klausner
On Sat, Jul 16, 2016 at 12:22:22PM +0200, Andy Wingo wrote:
> > "/scratch/lang/guile20/work/guile-2.0.12/test-suite/standalone/test-loose-ends":
> >  not in executable format: File format not recognized
> 
> I think that because test-loose-ends is built with libtool, the right
> incantation here is:
> 
> "libtool --mode=execute gdb test-loose-ends"
> 
> Would you mind doing that?  Then we might have a proper backtrace :)

Sorry for leaving that in -- the right backtrace is lower in the
message already.
 Thomas





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

2016-07-16 Thread Andy Wingo
Hi :)

On Sat 16 Jul 2016 11:15, Thomas Klausner  writes:

> "/scratch/lang/guile20/work/guile-2.0.12/test-suite/standalone/test-loose-ends":
>  not in executable format: File format not recognized

I think that because test-loose-ends is built with libtool, the right
incantation here is:

"libtool --mode=execute gdb test-loose-ends"

Would you mind doing that?  Then we might have a proper backtrace :)
You probably have to run that within the equivalent of:

  TESTS_ENVIRONMENT =   \
top_srcdir="$(top_srcdir)"  \
srcdir="$(srcdir)"  \
builddir="$(builddir)"  \
@LOCALCHARSET_TESTS_ENVIRONMENT@\
GUILE_INSTALL_LOCALE=1 GUILE_AUTO_COMPILE=0 "${top_builddir}/meta/build-env"

Andy





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

2016-07-16 Thread Thomas Klausner
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 bug-guile@gnu.org
==
*** 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 
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:
.
Find the GDB manual and other documentation resources online at:
.
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  0x77b43119f010 in ?? ()
(gdb) bt
#0  0x77b43119f010 in ?? ()
#1  0x0040108b in ?? ()
#2  0x77b43151a800 in ?? ()
#3  0x1412c5632c4eccb5 in ?? ()
#4  0x7f7fffb93410 in ?? ()
#5  0x7f7fffb93410 in ?? ()
#6  0x77b42f183b60 in ?? ()
#7  0x77b43151a800 in ?? ()
#8  0x0002 in ?? ()
#9  0x77b431684852 in ?? ()
#10 0x 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 
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:
.
Find the GDB manual and other documentation resources online at:
.
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 ge40108b in tests ()
#2  0x77b431684852 in invoke_main_func () from 
/scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguile-2.0.so.22
#3  0x77b431658331 in c_body () from 
/scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguil12/libguile/.libs/libguile-2.0.so.22
#5  0x77b4316633e6 in scm_call_4 () from 
/scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguile-2.0.so.22
#6  0x77b431658b92 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  0x77b4316e59f6 in with_guile_and_parent () from 
/scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguile-2.0.so.22
#9  0x77b4302177c4 in GC_call_witlib/libgc.so.1
#10 0x77b4316e6056 in scm_with_guile () from 
/scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguile-2.0.so.22
#11 0x77b431684ac8 in scm_boot_guile () from 
/scratch/lang/guile20/work/guile-2.0.12/libguile/.libs/libguile-2.0.so.22
#12 0x0040116c in main ()

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