[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnulib "lock" module - test core dump
From: |
Assaf Gordon |
Subject: |
gnulib "lock" module - test core dump |
Date: |
Wed, 09 Jul 2014 19:49:21 -0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.6.0 |
Hello,
While trying to test another gnulib module (localename), the unit tests failed with a
coredump in "test-lock" (related to threading?) .
I'm not trying to use threads, but it prevents the 'localename' test from
completing.
If this is some artifact on my system, I apologize for the noise.
===
$ cd gnulib
$ CC="gcc -Wall" CFLAGS="-O0 -g" ./gnulib-tool --test localename
<... testing framework starts and compiles fine, until ...>
make[5]: Entering directory
`/home/gordon/projects/gnulib/testdir15349/build/gltests'
PASS: test-alloca-opt
PASS: test-environ
PASS: test-intprops
PASS: test-inttypes
PASS: test-locale
PASS: test-localename
../../gltests/../build-aux/test-driver: line 107: 32172 Aborted (core dumped)
"$@" > $log_file 2>&1
FAIL: test-lock
PASS: test-malloca
PASS: test-setenv
PASS: test-stdbool
PASS: test-stddef
PASS: test-stdint
PASS: test-stdlib
PASS: test-sys_types
PASS: test-init.sh
PASS: test-thread_self
FAIL: test-thread_create
PASS: test-unistd
PASS: test-unsetenv
PASS: test-verify
PASS: test-verify.sh
PASS: test-wchar
===
A quick manual test gives:
===
$ gdb /home/gordon/projects/gnulib/testdir15349/build/gltests/test-lock
(gdb) r
Starting program:
/home/gordon/projects/gnulib/testdir15349/build/gltests/test-lock
Starting test_lock ...
Program received signal SIGABRT, Aborted.
0x00007ffff7a4af79 in __GI_raise (address@hidden) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff7a4af79 in __GI_raise (address@hidden) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1 0x00007ffff7a4e388 in __GI_abort () at abort.c:89
#2 0x0000000000401760 in gl_thread_create (func=0x4009ba
<lock_checker_thread>, arg=0x0)
at ../../gllib/glthread/thread.h:385
#3 0x0000000000400a61 in test_lock () at ../../gltests/test-lock.c:206
#4 0x000000000040153f in main () at ../../gltests/test-lock.c:566
(gdb) quit
===
I did not investigate further.
System is:
Linux 3.13.0-29-generic x86_64
gcc version 4.8.2 (Ubuntu 4.8.2-19ubuntu1)
Regards,
-gordon
- gnulib "lock" module - test core dump,
Assaf Gordon <=