[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#814958: glibc: FTBFS[kfreebsd]: misc/bug18240 timed out



Package: glibc
Version: 2.21-8
Severity: important
User: debian-bsd@lists.debian.org
Usertags: kfreebsd
X-Debbugs-Cc: debian-bsd@lists.debian.org

| misc/bug18240
| +---------------------------------------------------------------------+
| TEST misc/bug18240:
| Timed out: killed the child process
https://buildd.debian.org/status/fetch.php?pkg=glibc&arch=kfreebsd-amd64&ver=2.21-8&stamp=1455647345

Christoph Egger wrote:
> Also I noticed the unstable upload to fix this (-8) fails due to
> testsuite regressions .. it seems the package got some unrelated[0]
> updates between -7 and -8 so not completely sure what caused this yet.
> [0] https://anonscm.debian.org/cgit/pkg-glibc/glibc.git/commit/?id=6a0c9c0a8e4c94e7028cf908482e0224664db510

That commit added a new test misc/bug18240 which fails reliably for me
on kfreebsd-amd64.

With glibc -7, the testcase crashes with SIGSEGV, which is the bug
that is now fixed.  With -8 however, the testcase 'times out' after 2
seconds not really doing anything.

Compiling misc/bug18240.c as a single-threaded executable, it takes
<0.01 seconds to succesfully run and return 0.

When misc/bug18240 is compiled with test-skeleton.c, the code under test
runs in a separate thread (ID 101060 below), which just hangs until the
test runner (thread ID 102564) kills it.

Unfortunately gdb on kfreebsd doesn't handle threads very well, but
here's a ktrace at least:

| 7705 102564 bug18240 0.000842 CALL  fork
| 7705 102564 bug18240 0.000892 RET   fork 7706/0x1e1a
| 7706 101060 bug18240 0.000918 RET   fork 0
| 7705 102564 bug18240 0.000924 CALL  sigaction(SIGALRM,0x7fffffffe410,0x7fffffffe430)
| 7706 101060 bug18240 0.000931 CALL  getpid
| 7705 102564 bug18240 0.000931 RET   sigaction 0
| 7706 101060 bug18240 0.000961 RET   getpid 7706/0x1e1a
| 7705 102564 bug18240 0.000971 CALL  setitimer(0,0x7fffffffe430,0x7fffffffe410)
| 7706 101060 bug18240 0.000973 CALL  thr_self(0x800624d90)
| 7705 102564 bug18240 0.000980 RET   setitimer 0
| 7706 101060 bug18240 0.000988 RET   thr_self 0
| 7705 102564 bug18240 0.000991 CALL  sigaction(SIGINT,0x7fffffffe410,0x7fffffffe430)
| 7705 102564 bug18240 0.001007 RET   sigaction 0
| 7705 102564 bug18240 0.001013 CALL  wait4(0x1e1a,0x7fffffffe470,0,0)
| 7706 101060 bug18240 0.001022 CALL  setrlimit(RLIMIT_CORE,0x7fffffffe460)
| 7706 101060 bug18240 0.001030 RET   setrlimit 0
| 7706 101060 bug18240 0.001036 CALL  getrlimit(RLIMIT_DATA,0x7fffffffe470)
| 7706 101060 bug18240 0.001041 RET   getrlimit 0
| 7706 101060 bug18240 0.001056 CALL  setrlimit(RLIMIT_DATA,0x7fffffffe470)
| 7706 101060 bug18240 0.001062 RET   setrlimit 0
| 7706 101060 bug18240 0.001068 CALL  setpgid(0,0)
| 7706 101060 bug18240 0.001074 RET   setpgid 0
| 7706 101060 bug18240 0.001085 CALL  break(0x625210)
| 7706 101060 bug18240 0.001092 RET   break 0
| 7706 101060 bug18240 0.001101 CALL  break(0x626000)
| 7706 101060 bug18240 0.001109 RET   break 0
| 7706 101060 bug18240 0.001255 CALL  mmap(0,0xc00001000,0x3<PROT_READ|PROT_WRITE>,0x1002<MAP_PRIVATE|MAP_ANON,0xffffffff,0)
| 7706 101060 bug18240 0.001263 RET   mmap 34371833856/0x800b89000
| 7705 102564 bug18240 2.004328 RET   wait4 RESTART
| 7705 102564 bug18240 2.004358 PSIG  SIGALRM caught handler=0x4012a0 mask=0x0 code=SI_KERNEL
| 7705 102564 bug18240 2.004390 CALL  kill(0xffffe1e6,SIGKILL)

Thanks,
Regards,
-- 
Steven Chamberlain
steven@pyro.eu.org

Attachment: signature.asc
Description: Digital signature


Reply to: