apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54214] 1.4.6: testlfs failes with a SEGV
Date Fri, 28 Dec 2012 14:28:42 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54214

--- Comment #2 from Toralf Förster <toralf.foerster@gmx.de> ---
Created attachment 29797
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29797&action=edit
build log

(In reply to comment #1)
> Can you check in the buildlog if the compiler defines are the same when
> compiling the library itself and when compiling the tests? Especially WRT
> -D_LARGEFILE64_SOURCE?
seems to be specified correctly always (pls seee attachedd build log)

> Another issue could be if LD_LIBRARY_PATH is set and the tests somehow use a
> different libapr1.so than the one that has just been built. You could insert
> a line with "ldd ./$$prog; \" into test/Makefile before the ./$$prog call to
> see which library is used.

it points to the tmp file :

 libapr-1.so.0 =>
/var/tmp/portage/dev-libs/apr-1.4.6-r1/work/apr-1.4.6/.libs/libapr-1.so.0
(0xb7747000)

(and nevertheless after the 2nd  re-install even the sytem wide visible lib
would be the same, isn't it ?

What's interesting is that the test cases doesn't fail relyable, 2 subsequent
call in a row show :

n22 /var/tmp/portage/dev-libs/apr-1.4.6-r1/work/apr-1.4.6 # ./test/testall 
testatomic          : SUCCESS
testdir             : FAILED 2 of 13
testdso             : FAILED 8 of 9
testdup             : SUCCESS
testenv             : SUCCESS
testfile            : FAILED 3 of 35
testfilecopy        : FAILED 2 of 4
testfileinfo        : SUCCESS
testflock           : FAILED 2 of 3
testfmt             : SUCCESS
testfnmatch         : FAILED 2 of 4
testargs            : SUCCESS
testhash            : SUCCESS
testipsub           : SUCCESS
testlock            : SUCCESS
testcond            : SUCCESS
testlfs             : SUCCESS
testmmap            : |Segmentation fault (core dumped)

n22 /var/tmp/portage/dev-libs/apr-1.4.6-r1/work/apr-1.4.6 # ./test/testall 
testatomic          : SUCCESS
testdir             : SUCCESS
testdso             : FAILED 8 of 9
testdup             : SUCCESS
testenv             : SUCCESS
testfile            : SUCCESS
testfilecopy        : FAILED 2 of 4
testfileinfo        : SUCCESS
testflock           : FAILED 2 of 3
testfmt             : SUCCESS
testfnmatch         : FAILED 2 of 4
testargs            : SUCCESS
testhash            : SUCCESS
testipsub           : SUCCESS
testlock            : SUCCESS
testcond            : SUCCESS
testlfs             : SUCCESS
testmmap            : |Segmentation fault (core dumped)

(but since today I'm running glibc-2.17 for that chroot'ed test+play system)
together with 3.7.1 as kernel.

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@apr.apache.org
For additional commands, e-mail: bugs-help@apr.apache.org


Mime
View raw message