You are not logged in.

#1 2021-10-05 15:50:55

ThinkPad
Member
Registered: 2019-01-29
Posts: 125

[SOLVED] lpr seg fault

lpr seg faults when I try to use it. I last printed successfully on 10.1.21, when I set up a second printer. I haven't tried to use it since today 10.5.21.

These are the packages upgraded since:

$ grep -iE "installed|upgraded" /var/log/pacman.log | tac | less
----
[2021-10-05T08:24:42-0700] [ALPM] upgraded systemd-sysvcompat (249.4-1 -> 249.4-2)
[2021-10-05T08:24:42-0700] [ALPM] upgraded qt5-base (5.15.2+kde+r228-1 -> 5.15.2+kde+r234-1)
[2021-10-05T08:24:42-0700] [ALPM] upgraded linux (5.14.8.arch1-1 -> 5.14.9.arch2-1)
[2021-10-05T08:24:39-0700] [ALPM] upgraded systemd (249.4-1 -> 249.4-2)
[2021-10-05T08:24:39-0700] [ALPM] upgraded libsoup3 (3.0.0-2 -> 3.0.1-1)
[2021-10-05T08:24:39-0700] [ALPM] upgraded gegl (0.4.32-1 -> 0.4.32-2)
[2021-10-05T08:24:39-0700] [ALPM] upgraded nss (3.70-1 -> 3.71-1)
[2021-10-05T08:24:39-0700] [ALPM] upgraded fribidi (1.0.10-1 -> 1.0.11-1)
[2021-10-05T08:24:39-0700] [ALPM] upgraded ca-certificates-mozilla (3.70-1 -> 3.71-1)
[2021-10-05T08:24:39-0700] [ALPM] upgraded systemd-libs (249.4-1 -> 249.4-2)
[2021-10-04T12:12:55-0700] [ALPM] upgraded libmagick6 (6.9.12.23-1 -> 6.9.12.25-1)
[2021-10-04T11:20:40-0700] [ALPM] upgraded run-parts (5.4-1 -> 5.5-1)
[2021-10-04T11:20:40-0700] [ALPM] upgraded libssh2 (1.9.0-3 -> 1.10.0-1)
[2021-10-04T11:20:40-0700] [ALPM] upgraded libproxy (0.4.17-2 -> 0.4.17-3)
[2021-10-04T11:20:40-0700] [ALPM] upgraded imagemagick (7.1.0.8-1 -> 7.1.0.9-1)
[2021-10-04T11:20:40-0700] [ALPM] upgraded coreutils (9.0-1 -> 9.0-2)
[2021-10-04T11:20:40-0700] [ALPM] upgraded tzdata (2021b-1 -> 2021c-1)
[2021-10-01T16:27:18-0700] [ALPM] upgraded udisks2 (2.9.3-1 -> 2.9.4-1)
[2021-10-01T16:27:18-0700] [ALPM] upgraded shaderc (2021.1-2 -> 2021.2-1)
[2021-10-01T16:27:18-0700] [ALPM] upgraded spirv-tools (2021.1-1 -> 2021.3-1)
[2021-10-01T16:27:18-0700] [ALPM] upgraded libzip (1.7.3-2 -> 1.8.0-1)
[2021-10-01T16:27:18-0700] [ALPM] upgraded libva (2.12.0-1 -> 2.13.0-1)
[2021-10-01T16:27:18-0700] [ALPM] upgraded vulkan-icd-loader (1.2.191-1 -> 1.2.194-1)
[2021-10-01T16:27:18-0700] [ALPM] upgraded hspell (1.4-3 -> 1.4-4)

I tried to print before and after the 10.5.21 update with reboot.

Let me know what other information and outputs help.

$ echo "this" | lpr
----
Segmentation fault (core dumped)
$ echo "this" > this
$ lpr this

results in the terminal crashing and exiting altogether. Both examples hang about 4 seconds before outputting.

My default printer is set:

$ lpstat -s
----
system default destination: work
...

Also tried re-adding printer under different name following this format:

# lpadmin -p queue_name -E -v uri -m model

same result.

Last edited by ThinkPad (2021-10-05 17:51:45)

Offline

#2 2021-10-05 17:50:45

ThinkPad
Member
Registered: 2019-01-29
Posts: 125

Re: [SOLVED] lpr seg fault

Nevermind, I aliased lpr without calling

command lpr

within the bash function.

Offline

Board footer

Powered by FluxBB