apr-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 54214] New: 1.4.6: testlfs failes with a SEGV
Date Tue, 27 Nov 2012 20:56:17 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=54214

            Bug ID: 54214
           Summary: 1.4.6: testlfs failes with a SEGV
           Product: APR
           Version: 1.4.6
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: APR test
          Assignee: bugs@apr.apache.org
          Reporter: toralf.foerster@gmx.de
    Classification: Unclassified

At an unstable Gentoo Linux image I get (both gcc-4.6.2 and 4.7.2) :

...
testcond            : SUCCESS
testlfs             : \/bin/bash: line 2:  5321 Segmentation fault      (core
dumped) ./$prog
Programs failed: testall
make[1]: *** [check] Error 139
make[1]: Leaving directory
`/var/tmp/portage/dev-libs/apr-1.4.6/work/apr-1.4.6/test'
...

and GDB says :

...
Core was generated by `./testall'.
Program terminated with signal 11, Segmentation fault.
#0  apr_file_info_get (finfo=finfo@entry=0xbf990df4,
wanted=wanted@entry=7582064, thefile=0x1) at file_io/unix/filestat.c:157
157         if (thefile->buffered) {
(gdb) bt
#0  apr_file_info_get (finfo=finfo@entry=0xbf990df4,
wanted=wanted@entry=7582064, thefile=0x1) at file_io/unix/filestat.c:157
#1  0x0806a824 in test_reopen (tc=0xbf990e78, data=<optimized out>) at
testlfs.c:120
#2  test_reopen (tc=0xbf990e78, data=0x0) at testlfs.c:108
#3  0x0804d998 in abts_run_test (ts=ts@entry=0x909c0c0, f=f@entry=0x806a790
<test_reopen>, value=value@entry=0x0) at abts.c:168
#4  0x0806ab7c in testlfs (suite=0x909c0c0) at testlfs.c:356
#5  0x0804d255 in main (argc=1, argv=0xbf990fa4) at abts.c:424

-- 
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