[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#954315: rastertopwg segfault



We need a way to reproduce the bug and also a backtrace with line numbers of the source files.

So please attach the PDF input file which leads to the crash. Also attach your printer's PPD file, from the /etc/cups/ppd/ directory, named by the name of your print queue.

Please also try to reproduce the crash with the "cupsfilter" command:

cupsfilter -p /etc/cups/ppd/QUEUE.ppd -i application/pdf -m printer/QUEUE -e FILE.pdf > out

Running only a part of the filter chain you can get the data which is fed into rastertopwg:

cupsfilter -p /etc/cups/ppd/QUEUE.ppd -i application/pdf -m application/vnd.cups-raster -e FILE.pdf > out.raster

Now you can run rastertopwg isolated:

ulimit -c unlimited
cat out.raster | PPD=/etc/cups/ppd/QUEUE.ppd /usr/lib/cups/filter/rastertopwg 1 1 1 1 "" > out

and get a backtrace:

gdb -c core /usr/lib/cups/filter/rastertopwg

Use the "bt" command at the prompt of gdb. Please post the backtrace here.

   Till


Reply to: