OpenPrinting / pappl-retrofit

PPD/Classic CUPS driver retro-fit Printer Application Library
Apache License 2.0
7 stars 10 forks source link

Crash after printing job finishes #3

Closed brunoanc closed 2 years ago

brunoanc commented 2 years ago

After any printing job is finished, the server immediately crashes. Running with the following command:

hplip-printer-app server -o log-file=- -o log-level=debug

I get the error:

free(): double free detected in tcache 2

Running Arch Linux with kernel 5.18, my printer is an HP LaserJet P1102w.

brunoanc commented 2 years ago

The snap version is latest/edge 1.0 2022-06-02.

tillkamppeter commented 2 years ago

Problem was missing crash guards in pappl-retrofit. Fixed with commit b0939c1c995.

Thanks for the bug report.

I will update the Printer Application Snaps in the Snap Store soon.

tillkamppeter commented 2 years ago

The Printer Applications in the Snap Store are updated now and I have tested the HPLIP Printer Application and it prints jobs without crashing now.