OpenPrinting / cups-filters

filters, backends, driverless utility, ... - Everything which CUPS 2.x needs to be used on non-Mac systems
Apache License 2.0
155 stars 125 forks source link

/usr/local/libexec/cups/filter/universal segfault #547

Open ajacoutot opened 11 months ago

ajacoutot commented 11 months ago

Hi.

Describe the bug Printing any file type with: cups-2.4.7 cups-filters-2.0.0 libcupsfilters-2.0.0 libppd-2.0.0

works fine but ends up with:

D [23/Sep/2023:13:41:11 +0200] [Job 27] PID 19289 (/usr/local/libexec/cups/filter/universal) crashed on signal 11.

And the job still appears in the cups web interface as: stopped "Filter failed"

But again, it does print :-)

To Reproduce Trying to print a file using the cups and libs mentioned above.

Expected behavior The universal filter should not crash and leave a job as "failed".

System Information:

Additional context I have the full error_log file (debug enabled) if that can help. I haven't been able to find the good combination of knobs to pass to /usr/local/libexec/cups/filter/universal on the terminal so that I could debug it interactively nor get a core file.

Thanks.

jggimi commented 6 months ago

I have the same symptoms (printing correctly, job left in queue) but the error message has a different error number:

[14/Mar/2024:16:32:53 -0400] [Job 703] PID 57355 (/usr/local/libexec/cups/filter/universal) crashed on signal 6.

Same OS, same releases of cups, cups-filters, libcupsfilters, and libppd.