Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
Maybe this is helpful(?) I had the same troubles after upgrade to bullseye (scanning and printing) using an HP officejet 4630. After sveral purge and reinstall of hplip I finally moved to sane-airscan and the bug is still unsolved. i hplip is not installed anymore, so maybe it is not hplip related? This is what I do (using sane-airscan): Switching on officejet, /var/log/messages recognizes the new usb device and things look ok. Starting simple scan, two devices are detected: Selecting the eSCL entry (the other entry does not work, but that is another topic). Starting scan gives an error message in a pop-up: "Scanning failed - scan process could not be started" (my translation of the original German message) But the scanner is actually starting to scan without giving a result. /var/log/messages gives: > xdg-desktop-por[5256]: Backend call failed: > GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Operation not permitted > xdg-desktop-por[5239]: Failed to get application states: > GDBus.Error:org.freedesktop.portal.Error.Failed: Could not get window list > odin kernel: [ 9613.142032] perf: interrupt took too long (2507 > 2500), > lowering kernel.perf_event_max_sample_rate to 79750 > odin xdg-desktop-por[5256]: Backend call failed: > GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Operation not permitted The weird thing now is that without changing anything, just restarting simple-scan scanning works perfectly. Next scan fails again In approx. 90% of the scans it fails, in 10% it is ok without changing anything in the setting. Scanimage the same effect: scanimage -v --format=jpeg -o out.jpg scanimage: sane_start: Error during device I/O A few seconds later without changing anything: scanimage -v --format=jpeg -o out.jpg scanimage: scanning image of size 2550x3508 pixels at 24 bits/pixel scanimage: acquiring RGB frame scanimage: min/max graylevel value = 2/255 scanimage: read 26836200 bytes in total Let me know if I can provide better log outputs. Ulrich
Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
Am 21.09.21 um 18:36 schrieb Florence Birée: Hi, I applied the patch and try it on hplip 3.21.6+dfsg0-1. No more stack smashing. But at a random point during the scan, simple-scan stop and display a message : « Failed to scan - Error communicating with scanner ». Nothing in the terminal nor in journald. The random point where it failed is random in the sense of when I scan, I can show the beginning of the scanned picture appear in simple-scan, and at one point (sometimes at the begining, sometimes near the end), the error message appear. Cheers, Florence Hello Florence, so the patch helps for the stack smashing, but the error message might have other reasons. The message itself is located in one of these lines [1] in simple-scan. You could try to run simple-scan with some environment variables, to active some more verbose debugging output. I think these in [2] coult already be quite verbose. [1] https://sources.debian.org/src/simple-scan/40.5-1/src/scanner.vala/#L1368 https://sources.debian.org/src/simple-scan/40.5-1/src/scanner.vala/#L1479 [2] script -c "SANE_DEBUG_DLL=255 SANE_DEBUG_ESCL=255 SANE_DEBUG_SANEI_TCP=255 simple-scan" -a ~/simple-scan-debug-output.txt
Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
Hi, I applied the patch and try it on hplip 3.21.6+dfsg0-1. No more stack smashing. But at a random point during the scan, simple-scan stop and display a message : « Failed to scan - Error communicating with scanner ». Nothing in the terminal nor in journald. The random point where it failed is random in the sense of when I scan, I can show the beginning of the scanned picture appear in simple-scan, and at one point (sometimes at the begining, sometimes near the end), the error message appear. Cheers, Florence Le Mon, 20 Sep 2021 19:18:11 +0200, Bernhard Übelacker a écrit : > Hello Florence, dear Maintainer, > then attached patch is growing this buffer from 6 > to 10 usable bytes, making a size around 1 TB possible. > And tries to break the loop before overrunning the buffer. > > Unfortunately I cannot test this patch, > so it is completely untested, just compiles... > > Kind regards, > Bernhard > -- Florence Birée (elle) 06 52 92 15 32 En ces temps d'état policier, ne les laissons pas lire nos mails, chiffrons-les ! https://emailselfdefense.fsf.org/fr/index.html pgpkYNlALlFKr.pgp Description: Signature digitale OpenPGP
Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
Hello Florence, dear Maintainer, then attached patch is growing this buffer from 6 to 10 usable bytes, making a size around 1 TB possible. And tries to break the loop before overrunning the buffer. Unfortunately I cannot test this patch, so it is completely untested, just compiles... Kind regards, Bernhard Description: Resize buffer and try not to overrun it Author: Bernhard Übelacker Bug-Debian: https://bugs.debian.org/992721 Forwarded: no Last-Update: 2021-09-20 Index: hplip-3.21.6+dfsg0/scan/sane/bb_ledm.c === --- hplip-3.21.6+dfsg0.orig/scan/sane/bb_ledm.c +++ hplip-3.21.6+dfsg0/scan/sane/bb_ledm.c @@ -1085,7 +1085,7 @@ bugout: int get_size(struct ledm_session* ps) { struct bb_ledm_session *pbb = ps->bb_session; - char buffer[7]; + char buffer[11]; int i=0, tmo=50, len; if(ps->currentResolution >= 1200) tmo *= 5; @@ -1093,7 +1093,11 @@ int get_size(struct ledm_session* ps) while(1) { if(http_read_size(pbb->http_handle, buffer+i, 1, tmo, &len) == 2) return 0; -if( i && *(buffer+i) == '\n' && *(buffer+i-1) == '\r') break; +if( (i && *(buffer+i) == '\n' && *(buffer+i-1) == '\r') || +(i >= sizeof(buffer)-1) ) +{ + break; +} i++; } *(buffer+i+1)='\0';
Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
Hello, Le Thu, 16 Sep 2021 00:29:47 +0200, Bernhard Übelacker a écrit : > One easy thing might be to test if the resolution could be > changed to some lower value in the hope to get this "size" to > a lower value, does the scan then succeed ? You seems to be right. I try to scan with simple scan, in text mode: - with resolution 75ppp: scan ok - with resolution 150ppp: scan ok - with resolution 200ppp: scan ok - with resolution 300ppp: simple scan crash, stack smashing detected the stack trace: sept. 20 10:31:48 lyra systemd-coredump[78476]: [🡕] Process 78221 (simple-scan) of user 1000 dumped core. Stack trace of thread 78257: #0 0x7f7ebf71 raise (libc.so.6 + 0x3ce71) #1 0x7f7ebfed8536 abort (libc.so.6 + 0x26536) #2 0x7f7ebff302b8 n/a (libc.so.6 + 0x7e2b8) #3 0x7f7ebffbed42 __fortify_fail (libc.so.6 + 0x10cd42) #4 0x7f7ebffbed20 __stack_chk_fail (libc.so.6 + 0x10cd20) #5 0x7f7e9834b146 get_size (libsane-hpaio.so.1 + 0x14146) #6 0x n/a (n/a + 0x0) Cheers, -- Florence Birée (elle) 06 52 92 15 32 En ces temps d'état policier, ne les laissons pas lire nos mails, chiffrons-les ! https://emailselfdefense.fsf.org/fr/index.html pgpd6OWxyyT2t.pgp Description: Signature digitale OpenPGP
Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
Am 16.09.21 um 00:29 schrieb Bernhard Übelacker: exceeds what is with these 7 places possible (would be 268 MB ?) Short correction: 6 bytes for the hex number and 1 byte termination. Would just give something around 16 MB as a maximum? Kind regards, Bernhard
Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
Hello Florence, dear Maintainer, Stack trace of thread 113079: #0 0x7f858b12ae71 raise (libc.so.6 + 0x3ce71) #1 0x7f858b114536 abort (libc.so.6 + 0x26536) #2 0x7f858b16c2b8 n/a (libc.so.6 + 0x7e2b8) #3 0x7f858b1fad42 __fortify_fail (libc.so.6 + 0x10cd42) #4 0x7f858b1fad20 __stack_chk_fail (libc.so.6 + 0x10cd20) #5 0x7f857c763146 get_size (libsane-hpaio.so.1 + 0x14146) #6 0x n/a (n/a + 0x0) Thanks for the fast response. From looking at this stack trace I assume a stack variable in function "get_size" gets overwritten. At the end of this function the stack check gets triggered. From looking at [1] I _think_ the issue might be with the variable "char buffer[7]". It looks like this buffer gets some hexadecimal size information written to from a http connection. Therefore my hypothesis is that either this "size" exceeds what is with these 7 places possible (would be 268 MB ?), or some unexpected input is read from the connection and therefore the loop is not left before the buffer is overrun. One easy thing might be to test if the resolution could be changed to some lower value in the hope to get this "size" to a lower value, does the scan then succeed ? Kind regards, Bernhard [1] https://sources.debian.org/src/hplip/3.21.6+dfsg0-1/scan/sane/bb_ledm.c/#L1086 1084 1085int get_size(struct ledm_session* ps) 1086{ 1087 struct bb_ledm_session *pbb = ps->bb_session; 1088 char buffer[7]; 1089 int i=0, tmo=50, len; 1090 1091 if(ps->currentResolution >= 1200) tmo *= 5; 1092 1093 while(1) 1094 { 1095if(http_read_size(pbb->http_handle, buffer+i, 1, tmo, &len) == 2) return 0; 1096if( i && *(buffer+i) == '\n' && *(buffer+i-1) == '\r') break; 1097i++; 1098 } 1099 *(buffer+i+1)='\0'; 1100 return strtol(buffer, NULL, 16); 1101} 1102 [2] https://sources.debian.org/src/hplip/3.21.6+dfsg0-1/scan/sane/http.c/#L513 # Bullseye/stable amd64 qemu VM 2021-09-15 echo "set enable-bracketed-paste off" >> /etc/inputrc; bash apt update apt dist-upgrade apt install mc gdb simple-scan hplip apt install simple-scan-dbgsym libsane-hpaio-dbgsym apt build-dep libsane-hpaio mkdir /home/benutzer/source/libsane-hpaio/orig -p cd/home/benutzer/source/libsane-hpaio/orig apt source libsane-hpaio cd benutzer@debian:~$ gdb -q (gdb) set width 0 (gdb) set pagination off (gdb) file /usr/bin/simple-scan Reading symbols from /usr/bin/simple-scan... Reading symbols from /usr/lib/debug/.build-id/31/8e835860dafff5fa45c03cb758e8cae5a11fa0.debug... (gdb) tb main Temporary breakpoint 1 at 0xe160: file src/simple-scan.p/simple-scan.c, line 2434. (gdb) run Starting program: /usr/bin/simple-scan [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Temporary breakpoint 1, main (argc=1, argv=0x7fffe618) at src/simple-scan.p/simple-scan.c:2434 2434src/simple-scan.p/simple-scan.c: Datei oder Verzeichnis nicht gefunden. (gdb) call dlopen("/usr/lib/x86_64-linux-gnu/sane/libsane-hpaio.so.1",0x102) $1 = (void *) 0x555da300 (gdb) b get_size Breakpoint 2 at 0x73618080: file scan/sane/bb_ledm.c, line 1086. (gdb) disassemble get_size,get_size+200 Dump of assembler code from 0x73618080 to 0x73618148: 0x73618080 : push %r15 0x73618082 : push %r14 0x73618084 : push %r13 0x73618086 : push %r12 0x73618088 : mov$0x32,%r12d 0x7361808e :push %rbp 0x7361808f :push %rbx 0x73618090 :sub$0x28,%rsp 0x73618094 :mov0x89b0(%rdi),%r15 0x7361809b :mov%fs:0x28,%rax 0x736180a4 :mov%rax,0x18(%rsp) 0x736180a9 :xor%eax,%eax 0x736180ab :lea0x11(%rsp),%r13 0x736180b0 :mov$0xfa,%eax 0x736180b5 :cmpl $0x4b0,0x744(%rdi) 0x736180bf :cmovge %eax,%r12d 0x736180c3 :mov%r13,%rbx 0x736180c6 :lea0xc(%rsp),%r14 0x736180cb :xor%ebp,%ebp 0x736180cd :jmp0x736180d8 0x736180cf :nop 0x736180d0 :add$0x1,%rbp 0x736180d4 :add$0x1,%rbx 0x736180d8 :mov0x1f0(%r15),%rdi 0x736180df :mov%r14,%r8 0x00
Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
Hi Bernhard, Here is the stack trace (scanning with simple-scan): sept. 15 18:55:47 lyra systemd[1]: Created slice Slice /system/systemd-coredump. sept. 15 18:55:47 lyra systemd[1]: Started Process Core Dump (PID 113128/UID 0). sept. 15 18:55:48 lyra systemd-coredump[113129]: [🡕] Process 113052 (simple-scan) of user 1000 dumped core. Stack trace of thread 113079: #0 0x7f858b12ae71 raise (libc.so.6 + 0x3ce71) #1 0x7f858b114536 abort (libc.so.6 + 0x26536) #2 0x7f858b16c2b8 n/a (libc.so.6 + 0x7e2b8) #3 0x7f858b1fad42 __fortify_fail (libc.so.6 + 0x10cd42) #4 0x7f858b1fad20 __stack_chk_fail (libc.so.6 + 0x10cd20) #5 0x7f857c763146 get_size (libsane-hpaio.so.1 + 0x14146) #6 0x n/a (n/a + 0x0) sept. 15 18:55:48 lyra systemd[1]: systemd-coredump@0-113128-0.service: Succeeded. I hope it will be useful! Cheers, Florence Le Mon, 13 Sep 2021 18:11:40 +0200, Bernhard Übelacker a écrit : > Hello Florence, > there might be still something that could be done > to retrieve some more information (if you have still > the versions installed that show the issue). > > The easiest first thing might be to install the package > systemd-coredump, if possible. > > Then open in another terminal 'journalctl -f'. > > And reproduce one of the "stack smashings". > > Then in the other terminal a "Stack trace" should appear - this > should point out the library and maybe function where the issue is. > > Kind regards, > Bernhard -- Florence Birée (elle) 06 52 92 15 32 En ces temps d'état policier, ne les laissons pas lire nos mails, chiffrons-les ! https://emailselfdefense.fsf.org/fr/index.html pgpVSCXc5R4fJ.pgp Description: Signature digitale OpenPGP
Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
Hello Florence, there might be still something that could be done to retrieve some more information (if you have still the versions installed that show the issue). The easiest first thing might be to install the package systemd-coredump, if possible. Then open in another terminal 'journalctl -f'. And reproduce one of the "stack smashings". Then in the other terminal a "Stack trace" should appear - this should point out the library and maybe function where the issue is. Kind regards, Bernhard
Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
Le Tue, 24 Aug 2021 10:50:19 +0100, Brian Potkin a écrit : > Can you scan with any of these? > > scanimage -d > "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" > > image.pnm > simple-scan > "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" > xsane > "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" With some tests, it seems the crash is not always reproducible (sometimes, it's working…), so I run each command 4 times to see (and add hp-scan again, in case it crash sometimes too). Without removing the slash: $ scanimage -d "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" > image.pnm -> on 4 runs, 1 give "stack smashing", 3 works well… $ simple-scan "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" -> on 4 runs, 4 "stack smashing" crashes. I can see the top of the image appearing in simple-scan, and the program do no crash at the same times (sometimes more of the scan is displayed before the crash) $ xsane "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" -> on 4 runs, 4 "stack smashing" crashes $ hp-scan -> on 4 runs, 4 "stack smashing" crash… (but it worked yesterday…) ** after the removal of the slash in os-release: $ scanimage -d "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" > image.pnm -> on 4 runs, 1 "stack smashing", 3 works $ simple-scan "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" -> on 4 runs, 4 "stack smashing" crashes. $ xsane "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" -> on 4 runs, 4 "stack smashing" crashes (but on some preliminary tests, it works sometimes…) $ hp-scan -> on 4 runs, 4 "stack smashing" crash, at various percentages of scanning So… it seems the problem is not 100% reproducible, even if it happens in the large majority of times… And I'm not sure the os-release changes really changes something, maybe the times when hp-scan was working was just luck… Cheers, -- Florence Birée (elle) 06 52 92 15 32 En ces temps d'état policier, ne les laissons pas lire nos mails, chiffrons-les ! https://emailselfdefense.fsf.org/fr/index.html pgpOGOsGNaBul.pgp Description: Signature digitale OpenPGP
Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
Le Mon, 23 Aug 2021 23:50:45 +0100, Brian Potkin a écrit : > > > But the problem is still the same for simple-scan and xsane… > > Is the "stack smashing detected" message given in these cases? Yes, exactly. > Please provide > > scanimage -L $ scanimage -L device `hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK' is a Hewlett-Packard Deskjet_3050A_J611_series all-in-one Cheers, -- Florence Birée (elle) 06 52 92 15 32 En ces temps d'état policier, ne les laissons pas lire nos mails, chiffrons-les ! https://emailselfdefense.fsf.org/fr/index.html pgpIvMmBaHqjE.pgp Description: Signature digitale OpenPGP
Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
On Tue 24 Aug 2021 at 12:34:19 +0200, Florence Birée wrote: > Le Tue, 24 Aug 2021 10:50:19 +0100, > Brian Potkin a écrit : > > Can you scan with any of these? > > > > scanimage -d > > "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" > > > image.pnm > > simple-scan > > "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" > > xsane > > "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" > > With some tests, it seems the crash is not always reproducible (sometimes, > it's working…), > so I run each command 4 times to see (and add hp-scan again, in case it crash > sometimes too). > > Without removing the slash: > > $ scanimage -d "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" > > image.pnm > > -> on 4 runs, 1 give "stack smashing", 3 works well… > > $ simple-scan "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" > > -> on 4 runs, 4 "stack smashing" crashes. I can see the top of the image > appearing in simple-scan, > and the program do no crash at the same times (sometimes more of the scan is > displayed before the > crash) > > $ xsane "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" > > -> on 4 runs, 4 "stack smashing" crashes > > $ hp-scan > > -> on 4 runs, 4 "stack smashing" crash… (but it worked yesterday…) > > ** after the removal of the slash in os-release: > > $ scanimage -d "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" > > image.pnm > > -> on 4 runs, 1 "stack smashing", 3 works > > $ simple-scan "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" > > -> on 4 runs, 4 "stack smashing" crashes. > > $ xsane "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" > > -> on 4 runs, 4 "stack smashing" crashes (but on some preliminary tests, it > works sometimes…) > > $ hp-scan > > -> on 4 runs, 4 "stack smashing" crash, at various percentages of scanning > > > So… it seems the problem is not 100% reproducible, even if it happens in the > large majority > of times… And I'm not sure the os-release changes really changes something, > maybe the times when > hp-scan was working was just luck… That's a lot of work you have done, Florence! Thanks. We have met this "stack smashing" situation before but in a printing context. OdyX managed to fix it then. Bug #932246. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=932246 There is very little more I can do now, apart from suggesting a downgrade from HPLIP experimental packages to unstable ones. scanimage appears to be your best bet for scanning for the present. Good Luck, Brian.
Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
On Tue 24 Aug 2021 at 11:18:15 +0200, Florence Birée wrote: > Le Mon, 23 Aug 2021 23:50:45 +0100, > Brian Potkin a écrit : > > > > > But the problem is still the same for simple-scan and xsane… > > > > Is the "stack smashing detected" message given in these cases? > > Yes, exactly. > > > Please provide > > > > scanimage -L > > $ scanimage -L > device `hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK' is > a Hewlett-Packard Deskjet_3050A_J611_series all-in-one Can you scan with any of these? scanimage -d "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" > image.pnm simple-scan "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" xsane "hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK" You could also try removing the slash from os-release. Cheers, Brian.
Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
Le Mon, 23 Aug 2021 17:05:28 +0100, Brian Potkin a écrit : > Reduce bookworm/sid to fewer than 12 characters. For examole, remove > "sid". Save and try scanning. This makes hp-scan works well, thanks! (I've now a working scanning solution) But the problem is still the same for simple-scan and xsane… Cheers, -- Florence Birée (elle) 06 52 92 15 32 En ces temps d'état policier, ne les laissons pas lire nos mails, chiffrons-les ! https://emailselfdefense.fsf.org/fr/index.html pgpgo8jg5PD3U.pgp Description: Signature digitale OpenPGP
Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
On Mon 23 Aug 2021 at 21:04:09 +0200, Florence Birée wrote: > Le Mon, 23 Aug 2021 17:05:28 +0100, > Brian Potkin a écrit : > > Reduce bookworm/sid to fewer than 12 characters. For examole, remove > > "sid". Save and try scanning. > > This makes hp-scan works well, thanks! (I've now a working scanning > solution) That's something, at least. > But the problem is still the same for simple-scan and xsane… Is the "stack smashing detected" message given in these cases? Please provide scanimage -L Cheers, Brian.
Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
Hello Brian, Here is the output: $ grep PRETTY /usr/lib/os-release PRETTY_NAME="Debian GNU/Linux bookworm/sid" Regards, Florence Le Mon, 23 Aug 2021 15:03:58 +0100, Brian Potkin a écrit : > On Sun 22 Aug 2021 at 18:58:26 +0200, Florence Birée wrote: > > > Package: hplip > > Version: 3.21.4+dfsg0-1 > > Severity: important > > X-Debbugs-Cc: flore...@biree.name > > > > Dear Maintainer, > > > > My HP Deskjet 3055A, used only to scan files, doesn't work anymore > > when scanning with both hp-scan, xsane or simple-scan, here on > > Debian unstable/experimental. It used to work with another computer > > on Debian Buster (didn't try with Bullseye, the computer is dead), > > as well on other computer with Ubuntu 20.04. > > > > Either of this three programs crashes with this message on a > > terminal: > > > *** stack smashing detected ***: terminated > > > fish : Tâche , 'simple-scan' terminée par le signal SIGABRT > > > (Abandon) > > > > I tried to 'apt purge' all packages involved in scanning and hplip, > > and install them again, with the same result. > > > > I'm ready to give you more informations if needed… > > > > Thanks for your works, > > Florence > > Hello Florence, > > Thank you for your detailed report. Please give us the output of > > grep PRETTY /usr/lib/os-release > > Regards, > > Brian. > -- Florence Birée (elle) 06 52 92 15 32 En ces temps d'état policier, ne les laissons pas lire nos mails, chiffrons-les ! https://emailselfdefense.fsf.org/fr/index.html pgpXcj4OhUJAS.pgp Description: Signature digitale OpenPGP
Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
On Mon 23 Aug 2021 at 17:35:11 +0200, Florence Birée wrote: > Hello Brian, > > Here is the output: > > $ grep PRETTY /usr/lib/os-release > PRETTY_NAME="Debian GNU/Linux bookworm/sid" Reduce bookworm/sid to fewer than 12 characters. For examole, remove "sid". Save and try scanning. Cheers, Brian.
Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
On Sun 22 Aug 2021 at 18:58:26 +0200, Florence Birée wrote: > Package: hplip > Version: 3.21.4+dfsg0-1 > Severity: important > X-Debbugs-Cc: flore...@biree.name > > Dear Maintainer, > > My HP Deskjet 3055A, used only to scan files, doesn't work anymore when > scanning with both hp-scan, xsane or simple-scan, here on Debian > unstable/experimental. It used to work with another computer on Debian > Buster (didn't try with Bullseye, the computer is dead), as well on > other computer with Ubuntu 20.04. > > Either of this three programs crashes with this message on a terminal: > > > *** stack smashing detected ***: terminated > > fish : Tâche , 'simple-scan' terminée par le signal SIGABRT (Abandon) > > I tried to 'apt purge' all packages involved in scanning and hplip, and > install them again, with the same result. > > I'm ready to give you more informations if needed… > > Thanks for your works, > Florence Hello Florence, Thank you for your detailed report. Please give us the output of grep PRETTY /usr/lib/os-release Regards, Brian.
Bug#992721: hplip: Scanning with Deskjet 3050A J611 crash
Package: hplip Version: 3.21.4+dfsg0-1 Severity: important X-Debbugs-Cc: flore...@biree.name Dear Maintainer, My HP Deskjet 3055A, used only to scan files, doesn't work anymore when scanning with both hp-scan, xsane or simple-scan, here on Debian unstable/experimental. It used to work with another computer on Debian Buster (didn't try with Bullseye, the computer is dead), as well on other computer with Ubuntu 20.04. Either of this three programs crashes with this message on a terminal: > *** stack smashing detected ***: terminated > fish : Tâche , 'simple-scan' terminée par le signal SIGABRT (Abandon) I tried to 'apt purge' all packages involved in scanning and hplip, and install them again, with the same result. I'm ready to give you more informations if needed… Thanks for your works, Florence -- Package-specific info: Saving output in log file: /home/florence/hp-check.log HP Linux Imaging and Printing System (ver. 3.21.4) Dependency/Version Check Utility ver. 15.1 Copyright (c) 2001-18 HP Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. Note: hp-check can be run in three modes: 1. Compile-time check mode (-c or --compile): Use this mode before compiling the HPLIP supplied tarball (.tar.gz or .run) to determine if the proper dependencies are installed to successfully compile HPLIP. 2. Run-time check mode (-r or --run): Use this mode to determine if a distro supplied package (.deb, .rpm, etc) or an already built HPLIP supplied tarball has the proper dependencies installed to successfully run. 3. Both compile- and run-time check mode (-b or --both) (Default): This mode will check both of the above cases (both compile- and run-time dependencies). Check types: a. EXTERNALDEP - External Dependencies b. GENERALDEP - General Dependencies (required both at compile and run time) c. COMPILEDEP - Compile time Dependencies d. [All are run-time checks] PYEXT SCANCONF QUEUES PERMISSION Status Types: OK MISSING - Missing Dependency or Permission or Plug-in INCOMPAT - Incompatible dependency-version or Plugin-version warning: debian-11 version is not supported. Using debian-10.8 versions dependencies to verify and install... --- | SYSTEM INFO | --- Kernel: 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) GNU/Linux Host: lyra Proc: 5.10.0-8-amd64 #1 SMP Debian 5.10.46-4 (2021-08-03) GNU/Linux Distribution: debian 11 Bitness: 64 bit --- | HPLIP CONFIGURATION | --- HPLIP-Version: HPLIP 3.21.4 HPLIP-Home: /usr/share/hplip warning: HPLIP-Installation: Auto installation is not supported for debian distro 11 version Current contents of '/etc/hp/hplip.conf' file: # hplip.conf. Generated from hplip.conf.in by configure. [hplip] version=3.21.4 [dirs] home=/usr/share/hplip run=/var/run ppd=/usr/share/ppd/hplip/HP ppdbase=/usr/share/ppd/hplip doc=/usr/share/doc/hplip html=/usr/share/doc/hplip-doc icon=no cupsbackend=/usr/lib/cups/backend cupsfilter=/usr/lib/cups/filter drv=/usr/share/cups/drv bin=/usr/bin apparmor=/etc/apparmor.d # Following values are determined at configure time and cannot be changed. [configure] network-build=yes libusb01-build=no pp-build=no gui-build=yes scanner-build=yes fax-build=yes dbus-build=yes cups11-build=no doc-build=yes shadow-build=no hpijs-install=yes foomatic-drv-install=yes foomatic-ppd-install=no foomatic-rip-hplip-install=no hpcups-install=yes cups-drv-install=yes cups-ppd-install=no internal-tag=3.21.4 restricted-build=no ui-toolkit=qt5 qt3=no qt4=no qt5=yes policy-kit=yes lite-build=no udev_sysfs_rules=no hpcups-only-build=no hpijs-only-build=no apparmor_build=no class-driver=no Current contents of '/var/lib/hp/hplip.state' file: Plugins are not installed. Could not access file: No such file or directory Current contents of '~/.hplip/hplip.conf' file: [commands] scan = /usr/bin/simple-scan %SANE_URI% [fax] email_address = voice_phone = [installation] date_time = 08/22/21 18:51:05 version = 3.21.4 [last_used] device_uri = hpaio:/usb/Deskjet_3050A_J611_series?serial=CN31L1CQMP05WK printer_name = working_dir = . [polling] device_list = enable = false interval = 5 [refresh] enable = false rate = 30 type = 1 [settings] systray_messages = 0 systray_visible = 0 [upgrade]