Created attachment 394819 [details] Okular crash backtrace Description of problem: Okular, konqueror, opera are crashes when I press Ctrl+P. Version-Release number of selected component (if applicable): qt-4.6.1-3.fc11.i586.rpm How reproducible: Every time. Steps to Reproduce: 1. Open for document in okular. 2. Press Ctrl+P. Actual results: Crash. Expected results: No crash. Additional info:
I have two local printers. First and default is virtual cups-pdf and second is real printer.
The offending line is added by our qt-cups-1.patch (in 2 places, they probably both need the same fix): + // set default color + if( cups->currentPPD()->color_device ) + options.color->setChecked(true); + else + options.grayscale->setChecked(true); and later: + // set default color + if( cups.currentPPD()->color_device ) + setColorMode(Color); + else + setColorMode(GrayScale); They should be changed to: if ( cups->currentPPD() ) { // set default color if( cups->currentPPD()->color_device ) options.color->setChecked(true); else options.grayscale->setChecked(true); } and: if ( cups.currentPPD() ) { // set default color if( cups.currentPPD()->color_device ) setColorMode(Color); else setColorMode(GrayScale); } (I matched the coding style of the surrounding code.) I'm going to try changing this.
This should be fixed in 4.6.2-3 which I just committed to devel. I'm going to issue updates.
*** Bug 569196 has been marked as a duplicate of this bug. ***
These builds should fix this: F13: http://koji.fedoraproject.org/koji/buildinfo?buildID=159085 F12: http://koji.fedoraproject.org/koji/buildinfo?buildID=159090 F11: http://koji.fedoraproject.org/koji/buildinfo?buildID=159091
This build http://koji.fedoraproject.org/koji/buildinfo?buildID=159091 fixes bug.
qt-4.6.2-3.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/qt-4.6.2-3.fc13
qt-4.6.2-3.fc12 has been submitted as an update for Fedora 12. http://admin.fedoraproject.org/updates/qt-4.6.2-3.fc12
qt-4.6.2-3.fc11 has been submitted as an update for Fedora 11. http://admin.fedoraproject.org/updates/qt-4.6.2-3.fc11
*** Bug 569189 has been marked as a duplicate of this bug. ***
qt-4.6.2-3.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
qt-4.6.2-3.fc12 has been pushed to the Fedora 12 stable repository. If problems still persist, please make note of it in this bug report.
qt-4.6.2-3.fc11 has been pushed to the Fedora 11 stable repository. If problems still persist, please make note of it in this bug report.