From: Erik B. of T. <ba...@ta...> - 2024-07-29 14:10:51
|
Thank you sir! Good suggestions all, I will start using them and let you know how I make out. Regarding the core dump, yes the crash report did have one. I'm rusty at using gdb and other tools to look at core dumps, so I'll have to spend some time boning back up on how to do this. Regards, Erik On Mon, 29 Jul 2024 08:23:49 -0400 Solomon Peachy via Gimp-print-devel <gim...@li...> wrote: > 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 |