Apache OpenOffice (AOO) Bugzilla – Issue 26269
OOo crashes if CUPS does not deliver a PPD
Last modified: 2010-11-10 17:11:10 UTC
reported by Chris Halls: Hi, I took the changes to cws_srx645_cups01 for a spin to see how the code is doing. I was very impressed with the added support - it works nicely and I was able to modify my printer parameters within the Printer Setup box and control my deskjet's draft/normal settings from within OOo. I did discover a problem, though. I have a raw printer queue on my CUPS server that does not have an associated PPD file. If I select this printer queue OOo crashes without warning. A debug build of psprint indicates the problem: cupsPrintFile found cupsGetDests found cupsSetDests found cupsFreeDests found cupsGetPPD found cupsMarkOptions found cupsAddOption found cupsFreeOptions found ppdOpenFile found ppdClose found cupsServer found cupsUser found cupsSetPasswordCB found cupsSetUser found found global defaults in /usr/lib/openoffice/program/../share/psprint/psprint.conf global settings: fontsubst = true, 8 substitutes PPD for deskjet is /var/tmp/404dd05249d82 processing the following options for printer deskjet (instance (null)): PPD for dj-raw is (null) PPD for dj-raw is (null) <crash> So the 'deskjet' queue was fine, but 'dj-raw' has no PPD file. Using gdb I found problems during Init with calls to get the language level, but even after that I had crashes in PPDParser::getKey. So I don't think the workspace is ready for merging yet. Thanks, Chris
pl->us: this might either be a follow-up or prevent cups01 from integration, please decide
Thanks Chris and Philipp. I'd prefer fixing the raw queues before integration.
fixed in CWS cups01 pl->us: for reproduction please add a deskjet to your local CUPS configuration and switch of "local filtering" to get a raw queue.
fixed
us: please verify in CWS cups01
Reproduced issue and verified the fix in cws cups01.
Changing Resolution to fixed in order to mark issue Verified.
.
Issue verified.
Verified here too, many thanks! Chris
Re-verified on master workspace src680_m50.
Created attachment 73408