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


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

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

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


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 jftrudeau (Posted a comment)
  • -email is unavailable- added by petepdx (Submitted the item)
  • -email is unavailable- added by petepdx

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-06-30 petepdx Attached File- => Added set.out, #34347
        Carbon-Copy- => Added petepdx

    Back to the top

    Powered by Savane 3.4