[Desktop-packages] [Bug 1795109] Re: gnome-software spams syslog with assertion errors: json_object_has_member: assertion 'member_name != NULL' failed | g_strsplit: assertion 'string != NULL' failed |
In my system, this started with ... Apr 15 06:04:21 localhost dbus-daemon[1208]: [system] Activating via systemd: service name='org.freedesktop.fwupd' unit='fwupd.service' requested by ':1.175' (uid=1000 pid=5172 comm="/usr/bin/gnome-software --gapplication-service " label="unconfined") Apr 15 06:04:21 localhost systemd[1]: Starting Firmware update daemon... Apr 15 06:04:21 localhost fwupd[23190]: 13:04:21:0837 FuPluginUefi kernel efivars support missing: /sys/firmware/efi/efivars Apr 15 06:04:21 localhost dbus-daemon[1208]: [system] Successfully activated service 'org.freedesktop.fwupd' Apr 15 06:04:21 localhost systemd[1]: Started Firmware update daemon. Apr 15 06:04:23 localhost gnome-software[5172]: json_object_has_member: assertion 'member_name != NULL' failed -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-software in Ubuntu. https://bugs.launchpad.net/bugs/1795109 Title: gnome-software spams syslog with assertion errors: json_object_has_member: assertion 'member_name != NULL' failed | g_strsplit: assertion 'string != NULL' failed | g_strv_length: assertion 'str_array != NULL' failed Status in gnome-software package in Ubuntu: Confirmed Bug description: The fan and cpu is very active during this event, thousands of assertions reported. Syslog case attached. lsb_release -rd Description: Ubuntu 18.04.1 LTS Release: 18.04 apt-cache policy gnome-software gnome-software: Installed: 3.28.1-0ubuntu4.18.04.3 Candidate: 3.28.1-0ubuntu4.18.04.3 Version table: *** 3.28.1-0ubuntu4.18.04.3 500 500 http://ftp.acc.umu.se/ubuntu bionic-updates/main amd64 Packages 100 /var/lib/dpkg/status 3.28.1-0ubuntu4 500 500 http://ftp.acc.umu.se/ubuntu bionic/main amd64 Package apt-cache policy gnome-shell gnome-shell: Installed: 3.28.3-0ubuntu0.18.04.2 Candidate: 3.28.3-0ubuntu0.18.04.2 Version table: *** 3.28.3-0ubuntu0.18.04.2 500 500 http://ftp.acc.umu.se/ubuntu bionic-updates/main amd64 Packages 100 /var/lib/dpkg/status 3.28.1-0ubuntu2 500 500 http://ftp.acc.umu.se/ubuntu bionic/main amd64 Packages uname -a Linux computer 4.15.0-34-generic #37-Ubuntu SMP Mon Aug 27 15:21:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux gnome-shell --version GNOME Shell 3.28.3 Sep 29 06:58:01 computer gnome-software[2694]: json_object_has_member: assertion 'member_name != NULL' failed Sep 29 06:58:01 computer gnome-software[2694]: g_strsplit: assertion 'string != NULL' failed Sep 29 06:58:01 computer gnome-software[2694]: g_strv_length: assertion 'str_array != NULL' failed Sep 29 06:58:01 computer gnome-software[2694]: json_object_has_member: assertion 'member_name != NULL' failed Sep 29 06:58:01 computer gnome-software[2694]: g_strsplit: assertion 'string != NULL' failed Sep 29 06:58:01 computer gnome-software[2694]: g_strv_length: assertion 'str_array != NULL' failed Sep 29 06:58:01 computer gnome-software[2694]: json_object_has_member: assertion 'member_name != NULL' failed Sep 29 06:58:01 computer gnome-software[2694]: g_strsplit: assertion 'string != NULL' failed --- ProblemType: Bug ApportVersion: 2.20.9-0ubuntu7.4 Architecture: amd64 CurrentDesktop: ubuntu:GNOME DisplayManager: gdm3 DistroRelease: Ubuntu 18.04 InstallationDate: Installed on 2015-07-18 (1168 days ago) InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422) Package: gnome-shell 3.28.3-0ubuntu0.18.04.2 PackageArchitecture: amd64 ProcVersionSignature: Ubuntu 4.15.0-34.37-generic 4.15.18 Tags: bionic third-party-packages Uname: Linux 4.15.0-34-generic x86_64 UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip libvirt libvirtd lpadmin plugdev sambashare sudo _MarkForUpload: True To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-software/+bug/1795109/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1080787] Re: hp scanner 5300c does no longer work after upgrading to quantal
** Attachment added: "patch_1080787.txt" https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1080787/+attachment/4215681/+files/patch_1080787.txt -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/1080787 Title: hp scanner 5300c does no longer work after upgrading to quantal Status in “sane-backends” package in Ubuntu: Confirmed Bug description: on 12.10 the scanner doesn't work anymore. on 12.04 it worked on the same machine. the scanner still works on a second machine that was not upgraded by now. uname: Linux matrix 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux lsb_release: Description: Ubuntu 12.10 Release: 12.10 versions: sane: 1.0.14-9 libsane: 1.0.23-0ubuntu1 dmesg: [12883.928037] usb 3-6: >new full-speed USB device number 23 using ohci_hcd [12884.157054] usb 3-6: >New USB device found, idVendor=03f0, idProduct=0701 [12884.157059] usb 3-6: >New USB device strings: Mfr=1, Product=2, SerialNumber=3 [12884.157062] usb 3-6: >Product: Hewlett Packard ScanJet 5300C/5370C [12884.157064] usb 3-6: >Manufacturer: Hewlett Packard [12884.157067] usb 3-6: >SerialNumber: lsusb: Bus 003 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) Bus 003 Device 023: ID 03f0:0701 Hewlett-Packard ScanJet 5300c/5370c Bus 004 Device 002: ID 08e6:3437 Gemplus GemPC Twin SmartCard Reader Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub scanimage -Lv No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1080787/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1080787] Re: hp scanner 5300c does no longer work after upgrading to quantal
File "patch_1080787.txt" (reverting SHA1 fec4800d7d) fixes the problem in my system, using this procedure ... sudo apt-get install libusb-dev git clone git://git.debian.org/sane/sane-backends.git cd sane-backends ./configure BACKENDS="avision" patch -p1 < ~/Downloads/patch_1080787.txt make lib_dir=/usr/lib/x86_64-linux-gnu/sane sudo cp backend/.libs/libsane-avision.so.1.0.25 $lib_dir sudo ln -f -s libsane-avision.so.1.0.25 $lib_dir/libsane-avision.so.1 Set lib_dir to the system directory containing libsane-avision.so.1 (this will be different in a 32-bit system). After doing this, test using ... > scanimage -L device `avision:libusb:005:057' is a Hewlett-Packard ScanJet 5370C flatbed scanner # and then ... > simple-scan Note that if you use a non-functional version of libsane-avision.so (eg 1.0.23), you will need to disconnect and reconnect scanner's usb cable before a functional version (1.0.22 or the patched 1.0.25) will work. My system is ... > cat /etc/lsb-release ... DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS" > uname -oirv 3.13.0-35-generic #62-Ubuntu SMP Fri Aug 15 01:58:42 UTC 2014 x86_64 GNU/Linux > lsusb ... Bus 005 Device 054: ID 03f0:0701 Hewlett-Packard ScanJet 5300c/5370c ... -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/1080787 Title: hp scanner 5300c does no longer work after upgrading to quantal Status in “sane-backends” package in Ubuntu: Confirmed Bug description: on 12.10 the scanner doesn't work anymore. on 12.04 it worked on the same machine. the scanner still works on a second machine that was not upgraded by now. uname: Linux matrix 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux lsb_release: Description: Ubuntu 12.10 Release: 12.10 versions: sane: 1.0.14-9 libsane: 1.0.23-0ubuntu1 dmesg: [12883.928037] usb 3-6: >new full-speed USB device number 23 using ohci_hcd [12884.157054] usb 3-6: >New USB device found, idVendor=03f0, idProduct=0701 [12884.157059] usb 3-6: >New USB device strings: Mfr=1, Product=2, SerialNumber=3 [12884.157062] usb 3-6: >Product: Hewlett Packard ScanJet 5300C/5370C [12884.157064] usb 3-6: >Manufacturer: Hewlett Packard [12884.157067] usb 3-6: >SerialNumber: lsusb: Bus 003 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) Bus 003 Device 023: ID 03f0:0701 Hewlett-Packard ScanJet 5300c/5370c Bus 004 Device 002: ID 08e6:3437 Gemplus GemPC Twin SmartCard Reader Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub scanimage -Lv No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1080787/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1080787] Re: hp scanner 5300c does no longer work after upgrading to quantal
On a another try, got these additional lines for debugging Bus 005 Device 006: ID 03f0:0701 Hewlett-Packard ScanJet 5300c/5370c: > export SANE_DEBUG_AVISION=7 > scanimage -L ... [avision] attach: [avision] attach: opening libusb:005:009 [avision] inquiry: length: 96 [avision] inquiry: inquiring ... [avision] filling command to have a length of 10, was: 6 [avision] Timeouts: write: 3, read: 1000, status: 1000 [avision] === Got error 9 trying to write, wrote: 0. === [avision] try to read status to clear the FIFO [avision] avision_usb_status: timeout 500, 1 retries [avision] ==> (bulk read) going down ... [avision] <== (bulk read) got: 0, status: 0 [avision] ==> (interrupt read) going down ... [avision] <== (interrupt read) got: 0, status: 0 [avision] === Got error 9 trying to read status. === [avision] inquiry: inquiry failed (Error during device I/O) [avision] inquiry: inquiring ... [avision] filling command to have a length of 10, was: 6 [avision] Timeouts: write: 3, read: 1000, status: 1000 [avision] === Got error 9 trying to write, wrote: 0. === [avision] try to read status to clear the FIFO [avision] avision_usb_status: timeout 500, 1 retries [avision] ==> (bulk read) going down ... [avision] <== (bulk read) got: 0, status: 0 [avision] ==> (interrupt read) going down ... [avision] <== (interrupt read) got: 0, status: 0 [avision] === Got error 9 trying to read status. === [avision] inquiry: inquiry failed (Error during device I/O) [avision] attach: 1st inquiry failed (Error during device I/O) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/1080787 Title: hp scanner 5300c does no longer work after upgrading to quantal Status in “sane-backends” package in Ubuntu: Confirmed Bug description: on 12.10 the scanner doesn't work anymore. on 12.04 it worked on the same machine. the scanner still works on a second machine that was not upgraded by now. uname: Linux matrix 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux lsb_release: Description: Ubuntu 12.10 Release: 12.10 versions: sane: 1.0.14-9 libsane: 1.0.23-0ubuntu1 dmesg: [12883.928037] usb 3-6: >new full-speed USB device number 23 using ohci_hcd [12884.157054] usb 3-6: >New USB device found, idVendor=03f0, idProduct=0701 [12884.157059] usb 3-6: >New USB device strings: Mfr=1, Product=2, SerialNumber=3 [12884.157062] usb 3-6: >Product: Hewlett Packard ScanJet 5300C/5370C [12884.157064] usb 3-6: >Manufacturer: Hewlett Packard [12884.157067] usb 3-6: >SerialNumber: lsusb: Bus 003 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) Bus 003 Device 023: ID 03f0:0701 Hewlett-Packard ScanJet 5300c/5370c Bus 004 Device 002: ID 08e6:3437 Gemplus GemPC Twin SmartCard Reader Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub scanimage -Lv No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1080787/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp
[Desktop-packages] [Bug 1080787] Re: hp scanner 5300c does no longer work after upgrading to quantal
I'm having the same issue on Ubuntu 14.04.1 LTS. # minor rev difference in back end; # no entries specific to 03f0:0701 in either 40-libsane.rules file, but there were 2 scanners # present in ubuntu 12.04 file which are missing from ubuntu 14.04 file: diff /lib/udev/rules.d/40-libsane.rules /ub12_64/lib/udev/rules.d/40-libsane.rules 2c2 < # by sane-desc 3.5 from sane-backends 1.0.23 --- > # by sane-desc 3.5 from sane-backends 1.0.22 ... 90,91d89 < # Hewlett-Packard ScanJet 4850C < ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="1b05", ENV{libsane_matched}="yes" 120,121d117 < # Hewlett-Packard ScanJet N6310 < ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="4705", ENV{libsane_matched}="yes" ... # shows up in lsusb: > lsusb ... Bus 005 Device 006: ID 03f0:0701 Hewlett-Packard ScanJet 5300c/5370c ... # scanner shows as "busy" in avision debug log (2 repeats of pattern below): > export SANE_DEBUG_AVISION=7 > scanimage -L [sanei_debug] Setting debug level of avision to 7. [avision] sane_init:(Version: 1.0 Build: 296) ... [avision] sane_reload_devices: config file line 26: trying to attach USB:`usb 0x03f0 0x0701' [avision] attach: [avision] attach: opening libusb:005:006 [avision] attach: open failed (Device busy) ... [avision] sane_reload_devices: Trying to find USB device 03f0 0701 ... [avision] attach: [avision] attach: opening libusb:005:006 [avision] attach: open failed (Device busy) [avision] sane_reload_devices: Trying to find USB device 03f0 0701 ... [avision] attach: [avision] attach: opening libusb:005:006 [avision] attach: open failed (Device busy) -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to sane-backends in Ubuntu. https://bugs.launchpad.net/bugs/1080787 Title: hp scanner 5300c does no longer work after upgrading to quantal Status in “sane-backends” package in Ubuntu: Confirmed Bug description: on 12.10 the scanner doesn't work anymore. on 12.04 it worked on the same machine. the scanner still works on a second machine that was not upgraded by now. uname: Linux matrix 3.5.0-17-generic #28-Ubuntu SMP Tue Oct 9 19:31:23 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux lsb_release: Description: Ubuntu 12.10 Release: 12.10 versions: sane: 1.0.14-9 libsane: 1.0.23-0ubuntu1 dmesg: [12883.928037] usb 3-6: >new full-speed USB device number 23 using ohci_hcd [12884.157054] usb 3-6: >New USB device found, idVendor=03f0, idProduct=0701 [12884.157059] usb 3-6: >New USB device strings: Mfr=1, Product=2, SerialNumber=3 [12884.157062] usb 3-6: >Product: Hewlett Packard ScanJet 5300C/5370C [12884.157064] usb 3-6: >Manufacturer: Hewlett Packard [12884.157067] usb 3-6: >SerialNumber: lsusb: Bus 003 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode) Bus 003 Device 023: ID 03f0:0701 Hewlett-Packard ScanJet 5300c/5370c Bus 004 Device 002: ID 08e6:3437 Gemplus GemPC Twin SmartCard Reader Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub scanimage -Lv No scanners were identified. If you were expecting something different, check that the scanner is plugged in, turned on and detected by the sane-find-scanner tool (if appropriate). Please read the documentation which came with this software (README, FAQ, manpages). To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1080787/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp