Re: New Printer Debugging Strategy Help
Solomon Peachy via Gimp-print-devel <[email protected]> Mon, 29 Jul 2024 08:23:49 -0400
| Newsgroups | gmane.linux.printing.gimp-print.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Jul 29, 2024 at 07:56:16AM -0400, Erik Beck of Tahoma wrote:
> I ran a make check, and everything passed (4hrs 46m, 44s on an AMD
> Ryzen 9 7900X 12-Core Processor).
Try running 'make check-parallel' :D
> When testing my build for this printer, rastertogutenprint crashes with
> a signal 6 (SIGABRT).
That's .. odd.
> Crashfile is generated with this info towards the top:
> ProcCmdline: EPSON_SC-P5000_Series 23 erikbeck Test\ Page 1
> job-uuid=urn:uuid:e7035dd6-08e8-303f-50b4-e8cbf5e479f9\
> job-originating-host-name=localhost\ date-ti me-at-creation=\
> date-time-at-processing=\ time-at-creation=1722196107\
> time-at-processing=1722196107
Does that automatic crash log include a core dump? That should be able
to tell you what went wrong where..
Also, run ./configure with --enable-debug as that will adjust the
compile options to make debugging easier.
> How can I test this filter outside of the normal chain so I might get
> more insight into what is going on? Other strategies?
This is an example of what I use to run filters in isolation:
# pull these two from your printers.conf
export CUPS_URI="gutenprint53+usb://HiTi/P520L?serial=2WC4A1013968279"
export DEVICE_URI="gutenprint53+usb://HiTi/P520L?serial=2WC4A1013968279"
# Snag from /etc/cups/ppd or generate with cups-genppd.5.3
export PPD="stp-dnp-p520l.5.3.ppd"
# these don't matter but need to be set
export id="123"
export user="me"
export title="image test"
export copies="1"
# And whatever non-default print options you want
export OPTIONS="PageSize=w324h576"
# convert image to CUPSraster (only need to do this once if the options or PPD don't change)
/usr/lib/cups/filter/imagetoraster "$id" "$user" "$title" "$copies" "$OPTIONS" image.ppm > image.raster
# generate spool file for printer (what you probably care about)
/usr/lib/cups/filter/rastertogutenprint.5.3 "$id" "$user" "$title" "$copies" "$OPTIONS" image.raster > image.raw
# Send it to the printer (optional)
cat image.raw | /usr/lib/cups/backend/gutenprint53+usb "$id" "$user" "$title" "$copies" "$OPTIONS"
- Solomon
--
Solomon Peachy pizza at shaftnet dot org (email&xmpp)
@pizza:shaftnet dot org (matrix)
Dowling Park, FL speachy (libera.chat)
_______________________________________________
Gimp-print-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gimp-print-devel
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEE3H5Sx9DyiyB5hnENrGLLO/XVulEFAmanidIACgkQrGLLO/XV ulFu3A/9GY+q7fsNH8yKM1sjx7b5pN6xJqVjLXxB20gy/UdCPLdIdRZWYliH5aMI llOaMWcP/ELX65ooPEQ7zeOUgE6rTuMGoqOi0p/GgT99aazUihxYcb7ahKpOTKLZ k0xXATicPQYgkdDGshq1gtZLsR4FG9w/g78s+R0llJLLCktlKmNGYyrNVwpzd4x3 aDPHXqVOiNwzGuLiUPFsI/ZkpGvu/XzljjMOZZFQyD0o8KlUmv8ZdlP+XPCDD6v2 jpxuVYYQFOhbVS7q+qy4fufE+CohtLdEEv3d5XPwfl8yur0p7lsIgRouY2nbchkV Ylt52e4jjQ3gPr3SUgvXi3yWgLReaxQ0h2fuTgR0FhTz7Q+gRgKQ6znfAqFg2n25 0EKj/62BlpteD6TFmRTyZO/R4j01COtKud+G5QWOl94km8VK+GCna36oZOYDcgv1 ZAkpymXZcXP22WH2cMKLWV2Xa4uYqQIHEG0HxXjdGEtOsNpSjR6zadn+lRj/+qul keiZXI7GkjRHJDmKe4ABRGvUc///ThLJpoiQjweGnIYwmvOX16KP8yMyd4D4X6m2 Rk9NwUO4qaQJ0ykrzNm0UKAkc/NEU9f28VrqPKQbF3/5OafLw9KaaqGXXfVuSdMk PtrNSWu4cLP/2jo8zets5/prbOMNemm6IX+NXMri1t35B2S1O2s= =SJG+ -----END PGP SIGNATURE-----