Bug#650350: apr: testsuite hangs on testprocmutex
On Wednesday 30 November 2011, Konstantinos Margaritis wrote: > FWIW, maybe it helps, I just did some tests on this, it seems to > fail only on one of the subtests in testprocmutex, > APR_LOCK_PROC_PTHREAD test. Will look into this a bit more. Fixing the actual problem would be very welcome. But I think you should read the links posted by Loïc Minier first. It's quite possible that the fix is already in Ubuntu and just needs to be included in Debian's eglibc. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#650350: apr: testsuite hangs on testprocmutex
On Wednesday 30 November 2011, Hector Oron wrote: > Hello, > > On Tue, Nov 29, 2011 at 11:57:16PM +0100, Stefan Fritsch wrote: > > On Tuesday 29 November 2011, Hector Oron wrote: > > > When compiling apr under armhf architecture, testsuite seem > > > to > > > > > > hang at testprocmutex test with the followinf backtrace: > > I just noticed that there is a special configure flag concerning > > mutexes added for armel. Maybe you need the same for armhf? > > Right, I have built the package succesfully. Would you like me to > NMU the package with the following changeset? Please go ahead, but the changelog entry should say that you disable robust pthread mutexes, not only the test. Cheers, Stefan -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#650350: apr: testsuite hangs on testprocmutex
FWIW, maybe it helps, I just did some tests on this, it seems to fail only on one of the subtests in testprocmutex, APR_LOCK_PROC_PTHREAD test. Will look into this a bit more. Regards Konstantinos -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#650350: apr: testsuite hangs on testprocmutex
Hello, On Tue, Nov 29, 2011 at 11:57:16PM +0100, Stefan Fritsch wrote: > On Tuesday 29 November 2011, Hector Oron wrote: > > When compiling apr under armhf architecture, testsuite seem to > > hang at testprocmutex test with the followinf backtrace: > I just noticed that there is a special configure flag concerning > mutexes added for armel. Maybe you need the same for armhf? Right, I have built the package succesfully. Would you like me to NMU the package with the following changeset? diff -u apr-1.4.5/debian/rules apr-1.4.5/debian/rules --- apr-1.4.5/debian/rules +++ apr-1.4.5/debian/rules @@ -35,6 +35,9 @@ ifneq (,$(findstring armel,$(DEB_BUILD_ARCH))) CONFFLAGS += apr_cv_mutex_robust_shared=no endif +ifneq (,$(findstring armhf,$(DEB_BUILD_ARCH))) + CONFFLAGS += apr_cv_mutex_robust_shared=no +endif ifneq (,$(findstring alpha,$(DEB_BUILD_ARCH))) CONFFLAGS += apr_cv_mutex_robust_shared=no endif diff -u apr-1.4.5/debian/changelog apr-1.4.5/debian/changelog --- apr-1.4.5/debian/changelog +++ apr-1.4.5/debian/changelog @@ -1,3 +1,10 @@ +apr (1.4.5-1.1) unstable; urgency=low + + * Non-maintainer upload. + * Disable testprocmutex as it hangs on armhf. (Closes: #650350) + + -- Hector Oron Wed, 30 Nov 2011 12:58:05 + + apr (1.4.5-1) unstable; urgency=high * New upstream version: -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#650350: apr: testsuite hangs on testprocmutex
On Tuesday 29 November 2011, Hector Oron wrote: > When cmpiling apr under armhf architecture, testsuite seem to > hang at testprocmutex test with the followinf backtrace: I just noticed that there is a special configure flag concerning mutexes added for armel. Maybe you need the same for armhf? -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#650350: apr: testsuite hangs on testprocmutex
On Tuesday 29 November 2011, Hector Oron wrote: > Hi, > > 2011/11/29 Hector Oron : > > Source: apr > > Version: 1.4.5-1 > > Severity: important > > > > This bug is currently blocking armhf archive bootstrap as it > > should break a circular dependency cycle. Please if you have any > > hint or are willing to reproduce, you could use > > harris.debian.org, please let us know. > > Disabling tests produces a package, do you think is sane enough to > upload a package to the archive with tests disabled? (its just > testprocmux the one failing). > > BTW, I also tried to disable the test, but I get: > .libs/abts.o:abts.c:function alltests: error: undefined reference > to 'testprocmutex' > collect2: ld returned 1 exit status testprocmutex has caused problems in the past, but it was never clear what was the reason. You can disable a single test with an appropriate -x option. The rules files already has some examples. I think it would be ok to disable testprocmutex on armhf for the time being. Especially since I don't think I will have time to look into this in the near future. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#650350: apr: testsuite hangs on testprocmutex
On Tue, Nov 29, 2011, Hector Oron wrote: > Disabling tests produces a package, do you think is sane enough to > upload a package to the archive with tests disabled? (its just > testprocmux the one failing). > > BTW, I also tried to disable the test, but I get: > .libs/abts.o:abts.c:function alltests: error: undefined reference to > 'testprocmutex' > collect2: ld returned 1 exit status This reminds me of: https://launchpad.net/bugs/604753 https://bugs.launchpad.net/linaro-toolchain-misc/+bug/643171 I think Ubuntu had at least this particular test disabled for a while. It would be good to know if your Debian eglibc binaries have the patch applied or not. -- Loïc Minier -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#650350: apr: testsuite hangs on testprocmutex
Hi, 2011/11/29 Hector Oron : > Source: apr > Version: 1.4.5-1 > Severity: important > This bug is currently blocking armhf archive bootstrap as it should break a > circular dependency cycle. > Please if you have any hint or are willing to reproduce, you could use > harris.debian.org, please let us know. Disabling tests produces a package, do you think is sane enough to upload a package to the archive with tests disabled? (its just testprocmux the one failing). BTW, I also tried to disable the test, but I get: .libs/abts.o:abts.c:function alltests: error: undefined reference to 'testprocmutex' collect2: ld returned 1 exit status Best regards, -- Héctor Orón -.. . -... .. .- -. -.. . ...- . .-.. --- .--. . .-. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#650350: apr: testsuite hangs on testprocmutex
Source: apr Version: 1.4.5-1 Severity: important Hello, When cmpiling apr under armhf architecture, testsuite seem to hang at testprocmutex test with the followinf backtrace: testprocmutex : |^C Program received signal SIGINT, Interrupt. 0x400a03e4 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0 (gdb) bt #0 0x400a03e4 in __libc_do_syscall () from /lib/arm-linux-gnueabihf/libpthread.so.0 #1 0x4009f3b2 in waitpid () from /lib/arm-linux-gnueabihf/libpthread.so.0 #2 0x40037cdc in apr_proc_wait (proc=0x429f3f50, exitcode=0xbefff5d8, exitwhy=0xbefff5dc, waithow=) at ../threadproc/unix/proc.c:635 #3 0x00019680 in await_child (tc=0xbefff620, proc=) at ../../test/testprocmutex.c:105 #4 0x00019856 in test_exclusive (mech=, tc=0xbefff620, lockname=) at ../../test/testprocmutex.c:126 #5 proc_mutex (tc=0xbefff620, data=) at ../../test/testprocmutex.c:173 #6 0xc970 in abts_run_test (ts=, f=0x197bd , value=0xbefff63c) at ../../test/abts.c:168 #7 0x000199bc in testprocmutex (suite=0x890c8) at ../../test/testprocmutex.c:198 #8 0xce94 in main (argc=, argv=) at ../../test/abts.c:424 This bug is currently blocking armhf archive bootstrap as it should break a circular dependency cycle. Please if you have any hint or are willing to reproduce, you could use harris.debian.org, please let us know. Kind regards -- System Information: Debian Release: wheezy/sid APT prefers unreleased APT policy: (500, 'unreleased'), (500, 'unstable') Architecture: armhf (armv7l) Kernel: Linux 3.0.0-1+armhf.1-mx5 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org