Description of problem: Qt doesn't close file descriptors after printing. So after passing ulimit -n application cannot open more files anymore, must be killed. Related to https://bugreports.qt.nokia.com/browse/QTBUG-14724 Fix is here (but unmerged for a year) http://qt.gitorious.org/qt/qt/merge_requests/982 Version-Release number of selected component (if applicable): qt-4.7.4-2.fc14.i686 How reproducible: Just try to print something with some pure qt app (not KDE apps like kwrite) Steps to Reproduce: 1. After executing such simple code, you'll see in your /proc/PROCID/fd/ orphaned symlinks eg. /proc/PROCID/fd/25->/tmp/cupsXT76YUF (deleted) so, my macine ulimit -n is 1024, and after printing cca 1000 files, there's no chance to open another file. void MainWin::TestMyPrinter() { /* just for testing .. */ QPainter painter; QPrinter printer(QPrinter::PrinterResolution); QPrintDialog *dialog = new QPrintDialog(&printer, this); dialog->setWindowTitle(tr("Print Document")); if (dialog->exec() == QDialog::Accepted){ painter.begin(&printer); painter.drawText(200, 200, QString("Hello world")); painter.end(); /* does not help */ /* printer.~QPrinter(); */ } } Additional info: please apply mentioned patch (http://qt.gitorious.org/qt/qt/merge_requests/982).
There hasn't been a qt4 package in Fedora for years, bugs must be filed against qt, not qt4. Reassigning.
Then remove it from the list of available components.
We can't do that. Every package that was ever in Fedora is listed as a Bugzilla component, they're only ever added, never removed.
ack.
FYI, rebuilded qt-4.7.4 with proposed patch and now it works like a charm, tested with bulk of 15000 files.
Thanks!
qt-4.7.4-4.fc14 has been submitted as an update for Fedora 14. https://admin.fedoraproject.org/updates/qt-4.7.4-4.fc14
qt-4.7.4-4.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/qt-4.7.4-4.fc15
Package qt-4.7.4-4.fc14: * should fix your issue, * was pushed to the Fedora 14 testing repository, * should be available at your local mirror within two days. Update it with: # su -c 'yum update --enablerepo=updates-testing qt-4.7.4-4.fc14' as soon as you are able to. Please go to the following url: https://admin.fedoraproject.org/updates/FEDORA-2011-14968 then log in and leave karma (feedback).
qt-4.7.4-6.fc15 has been submitted as an update for Fedora 15. https://admin.fedoraproject.org/updates/qt-4.7.4-6.fc15
qt-4.7.4-4.fc14 has been pushed to the Fedora 14 stable repository. If problems still persist, please make note of it in this bug report.
hm...I've updated last night machine @home, but only debuginfo package was updated, still got qt-4.7.4-2 (FC14). Current machine already contains qt from testing, so not in updates at all.
Your mirror is probably not updated yet. Mirrors have the Fedora 16 release to mirror, it's a lot of stuff, so not all mirrors have managed to pull the latest updates from the master server yet.
qt-4.7.4-6.fc15 has been pushed to the Fedora 15 stable repository. If problems still persist, please make note of it in this bug report.
Removing external tracker bug with the id '14724' as it is not valid for this tracker