From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.6) Gecko/20050223 Firefox/1.0.1 Description of problem: While rebuilding RPM for esvn 0.6.9 (from http://esvn.umputun.com/esvn-0.6.9-1.src.rpm), ui segfaults. Even if .ui file that was compiled, is incorrect, 'ui' should provide error message but not segfault. Version-Release number of selected component (if applicable): qt-3.3.4-9 How reproducible: Always Steps to Reproduce: 1. cd /tmp && wget http://esvn.umputun.com/esvn-0.6.9-1.src.rpm 2. rpmbuild --rebuild esvn-0.6.9-1.src.rpm Actual Results: ui segfaults (just last few lines): g++ -c -pipe -Wall -W -O2 -Wall -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -m32 -march=i386 -mtune=pentium4 -DVERSION=\"0.6.9\" -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/lib/qt-3.3/include -I.ui/ -I.ui -I.moc/ -o .obj/check_lbi.o src/check_lbi.cpp g++ -c -pipe -Wall -W -O2 -Wall -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -m32 -march=i386 -mtune=pentium4 -DVERSION=\"0.6.9\" -DQT_NO_DEBUG -DQT_SHARED -DQT_THREAD_SUPPORT -I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/lib/qt-3.3/include -I.ui/ -I.ui -I.moc/ -o .obj/commitwindow.o src/commitwindow.cpp /usr/lib/qt-3.3/bin/uic .ui/frm_main.ui -i frm_main.h -o .ui/frm_main.cpp make[1]: *** [.ui/frm_main.cpp] Segmentation fault make[1]: *** Deleting file `.ui/frm_main.cpp' make[1]: Leaving directory `/home/vkondra-l/rpm-top/BUILD/esvn' make: *** [esvn] Error 2 error: Bad exit status from /var/tmp/rpm-tmp.27799 (%build) RPM build errors: user evgb does not exist - using root group evgb does not exist - using root Bad exit status from /var/tmp/rpm-tmp.27799 (%build) Expected Results: compilation went OK Additional info:
it seems a bug in kdelibs (libkdeui), which caused the Segmentation fault.
Assigning to self.
Was tracked down to a possible glibc bug. I suggest using -nounload switch with uic in the meantime, as it remedies the problem. It is an workaround for the long-problematic library unmapping code within glibc.
*** Bug 151183 has been marked as a duplicate of this bug. ***
Happened also when building qascade from Extras, -nounload worked around it.
I confirm -nounload works. I modified QMAKE_UIC line in /usr/lib/qt-3.3/mkspecs/default/qmake.conf to QMAKE_UIC = $(QTDIR)/bin/uic -nounload till glibc fix, this should fix this issue
it's fixed in glibc-2.3.4-16, which should be available in rawhide now.
Yep, at least qascade seems to build fine without -nounload to uic now. Thanks.
My case get fixed too.