Bug 751144

Summary: segmentation fault during build
Product: [Fedora] Fedora Reporter: Karsten Hopp <karsten>
Component: yapAssignee: Petr Pisar <ppisar>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: medium    
Version: 16CC: bagnara, ppisar
Target Milestone: ---   
Target Release: ---   
Hardware: powerpc   
OS: Linux   
Whiteboard:
Fixed In Version: yap-6.2.0-6.fc16 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-21 17:10:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Karsten Hopp 2011-11-03 16:32:31 UTC
Description of problem:

gcc -O3 -fomit-frame-pointer -Wall -Wstrict-prototypes -Wmissing-prototypes -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4  -m32 -DCUT_C=1  -DMYDDAS_MYSQL -DMYDDAS_ODBC -DCOROUTINING=1 -DRATIONAL_TREES=1 -DDEPTH_LIMIT=1 -DHAVE_CONFIG_H -D_YAP_NOT_INSTALLED_=1 -I. -I./H -I./OPTYap -I./BEAM -I./MYDDAS -rdynamic -Wl,-z,relro  -L/builddir/build/BUILD/yap-6  -Wl,--enable-new-dtags,-R,/usr/lib/Yap -o yap yap.o libYap.so -lgmp -lresolv -lnss_dns -lnss_files -lcrypt -lstdc++ -lm  -lreadline -lncurses -lz -L/usr/lib/mysql -lmysqlclient -lpthread -lz -lm -lrt -lssl -lcrypto -ldl  -lodbc -ldl -lnsl 
rm -f startup.yss
echo "bootstrap('./pl/init.yap'). module(user). save_program('startup.yss')." |  LD_LIBRARY_PATH=/builddir/build/BUILD/yap-6 ./yap -b ./pl/boot.yap
yap: malloc.c:2451: sYSMALLOc: Assertion `(old_top == (((mbinptr) (((char *) &((av)->bins[((1) - 1) * 2])) - __builtin_offsetof (struct malloc_chunk, fd)))) && old_size == 0) || ((unsigned long) (old_size) >= (unsigned long)((((__builtin_offsetof (struct malloc_chunk, fd_nextsize))+((2 * (sizeof(size_t))) - 1)) & ~((2 * (sizeof(size_t))) - 1))) && ((old_top)->size & 0x1) && ((unsigned long)old_end & pagemask) == 0)' failed.
/bin/sh: line 1:  2963 Done                    echo "bootstrap('./pl/init.yap'). module(user). save_program('startup.yss')."
      2964 Aborted                 (core dumped) | LD_LIBRARY_PATH=/builddir/build/BUILD/yap-6 ./yap -b ./pl/boot.yap
make: *** [startup.yss] Error 134

Version-Release number of selected component (if applicable):
yap-6.2.0-5.fc16

How reproducible:
always

Steps to Reproduce:
1. ppc-koji build --scratch dist-f16 yap-6.2.0-5.fc16.src.rpm
  
Actual results:
http://ppc.koji.fedoraproject.org/koji/taskinfo?taskID=311446

Comment 1 Fedora Update System 2011-12-07 15:54:16 UTC
yap-6.2.0-6.fc16 has been submitted as an update for Fedora 16.
https://admin.fedoraproject.org/updates/yap-6.2.0-6.fc16

Comment 2 Fedora Update System 2011-12-10 19:42:58 UTC
Package yap-6.2.0-6.fc16:
* should fix your issue,
* was pushed to the Fedora 16 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing yap-6.2.0-6.fc16'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2011-16868/yap-6.2.0-6.fc16
then log in and leave karma (feedback).

Comment 3 Fedora Update System 2011-12-21 17:10:45 UTC
yap-6.2.0-6.fc16 has been pushed to the Fedora 16 stable repository.  If problems still persist, please make note of it in this bug report.