bugfindutils - Bugs: bug #45445, AIX make check test-getdelim.c:72:...


bug #45445: AIX make check test-getdelim.c:72: assertion failed Abort(coredump)

Submitter:  Pete Lancashire <petepdx>
Submitted:  Tue 30 Jun 2015 03:34:40 PM UTC
Category:  None Severity:  3 - Normal
Item Group:  Test suite failure Status:  Fixed
Privacy:  Public Assigned to:  jay
Originator Name:  Pete Lancashire Open/Closed:  Closed
Release:  4.4.2 Fixed Release:  4.7.0
* Mandatory Fields

Add a New Comment (Rich Markup)

Comment Type & Canned Response:


Tue 03 Sep 2019 09:56:54 PM UTC, comment #3: 

Just tested on AIX 7.2 with GCC-7.2.0, and test-getdelim passes there.  (Oh well, there are other test failures ...)

Bernhard Voelker <berny>
Project Administrator
Mon 02 Sep 2019 09:46:58 PM UTC, comment #2: 

Does this bug still occur with findutils 4.7.0 (which was recently released)?   It has a newer version of gnulib.

James Youngman <jay>
Project Administrator
Mon 31 Aug 2015 08:50:36 PM UTC, comment #1: 

AIX7.1 libc.a contains getdelim/getline.  I cannot find any AIX documentation on theses functions.  Apparently the AIX getdelim does not expand the output buffer.  I was able to eliminate the test error by editing configure to force:


Thus, causing the gnulib version of theses function to be used.

I also set CPPFLAGS=-D_NOGETDELIM=1, before running configure, to avoid possible prototype conflicts.

      • configure.~1~ Sat May 16 08:28:18 2009

--- configure Mon Aug 31 13:24:13 2015

      • 17188,17197 ****

--- 17188,17198 ----




+ ac_cv_func_getdelim=no





      • 17394,17403 ****

--- 17395,17406 ----
  sed 's/^/| /' conftest.$ac_ext >&5




+ ac_cv_func_getline=no
  rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
        conftest$ac_exeext conftest.$ac_ext
  { echo "$as_me:$LINENO: result: $ac_cv_func_getline" >&5
  echo "${ECHO_T}$ac_cv_func_getline" >&6; }

John F. Trudeau <jftrudeau>
Tue 30 Jun 2015 03:34:40 PM UTC, original submission:  

oslevel -s 7100-03-05-1524

CC       xlc_r
CFLAGS   -qmaxmem=-1 -qarch=pwr7 -qtune=pwr7 -qcache=auto -DSYSV -D_AIX -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O5 -I/usr/local/include
LDFLAGS  -L/usr/local/lib64 -L/usr/local/lib -bmaxdata:0x80000000 -brtl
CXX      xlc++_r
CXXFLAGS -qmaxmem=-1 -qarch=pwr7 -qtune=pwr7 -qcache=auto -DSYSV -D_AIX -D_AIX71 -D_ALL_SOURCE -DFUNCPROTO=15 -O5 -I/usr/local/include

all enviroment vars in in atteched set.out

make no issues
make check
PASS: test-fseeko.sh
PASS: test-ftello.sh
test-getdelim.c:72: assertion failed
/bin/sh[9]: 15138986 Abort(coredump)
FAIL: test-getdelim
PASS: test-getline
PASS: test-gettimeofday

tried with CFLAGS reduced to only -I/usr/local/include

same result

Pete Lancashire <petepdx>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:

Attached Files
file #34347:  set.out added by petepdx (2KiB - application/octet-stream - set > set.out)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by berny (Posted a comment)
  • -email is unavailable- added by jay (Posted a comment)
  • -email is unavailable- added by jftrudeau (Posted a comment)
  • -email is unavailable- added by petepdx (Submitted the item)
  • -email is unavailable- added by petepdx

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.





    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2019-09-04 jay StatusNeed Info Fixed
        Open/ClosedOpen Closed
        Fixed ReleaseNone 4.7.0
    2019-09-02 jay StatusNone Need Info
        Assigned toNone jay
    2015-06-30 petepdx Attached File- Added set.out, #34347
        Carbon-Copy- Added petepdx

    Back to the top

    Powered by Savane 3.9