Json-CRITICAL **: json_parser_load_from_data: assertion 'data != NULL' failed
Pamac --version
Pamac 10.3.0-5 - libpamac 11.2.0-7
Variant in use
CLI
Distribution
Manjaro-unstable
Desktop environment
KDE
What's not working
Frequent (at least about every 10th run during last two weeks) parser errors.
How to reproduce?
Just run pamac update
and randomly you will see such errors.
terminal output
~/Desktop ❯ pamac update
Preparing...
Synchronizing package databases...
Refreshing chaotic-aur.db...
Refreshing AUR...
(pamac:4524): Json-CRITICAL **: 00:01:20.422: json_parser_load_from_data: assertion 'data != NULL' failed
Failed to read AUR data from /var/tmp/pamac-build-m/packages-meta-ext-v1.json.gz
(pamac:4524): Json-CRITICAL **: 00:01:21.188: json_parser_load_from_data: assertion 'data != NULL' failed
Failed to read AUR data from /var/tmp/pamac-build-m/packages-meta-ext-v1.json.gz
Nothing to do.
Transaction successfully finished.
~/Desktop 15s ❯ pamac --version
Pamac 10.3.0-5 - libpamac 11.2.0-7
Copyright © 2019-2022 Guillaume Benoit
This program is free software, you can redistribute it under the terms of the GNU GPL.
~/Desktop ❯ pamac info pamac-cli | grep 'Ver'
(pamac:4624): Json-CRITICAL **: 00:02:27.851: json_parser_load_from_data: assertion 'data != NULL' failed
Failed to read AUR data from /var/tmp/pamac-build-m/packages-meta-ext-v1.json.gz
Version : 10.3.0-5
~/Desktop ❯ pamac update
Preparing...
Synchronizing package databases...
Refreshing AUR...
Nothing to do.
Transaction successfully finished.
~/Desktop 20s ❯ pamac info pamac-cli | grep 'Ver'
Version : 10.3.0-5
~/Desktop 6s ❯
More information (optional)
This run was after PC was restarted after got the Pamac 10.3.0-5 - libpamac 11.2.0-7
version updates. So I booted up PC and ran update in order to get all avail. updates at that time.
PS
Free RAM memory was 2+ GiB before to run pamac update
, so it is not low memory issue.
Please:
-) re-check that you fixed parser errors
-) add debug info what is going on during refreshing AUR and after download. At least non-default flag and post it here to make me run pamac update/install with the flag always: I will be able to submit detailed data to you.
Thanks!
inxi -Fazy1
~/Desktop ❯ inxi -Fazy1
System:
Kernel: 5.17.0-1-MANJARO x86_64
bits: 64
compiler: gcc
v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-5.17-x86_64 root=UUID=b3cf0f6a-55e1-4e25-83d5-88c0781c30e3 rw rootflags=subvol=@ quiet cryptdevice=UUID=ef44cf91-5209-4ff4-95bf-ffb124a71d7e:luks-ef44cf91-5209-4ff4-95bf-ffb124a71d7e root=/dev/mapper/luks-ef44cf91-5209-4ff4-95bf-ffb124a71d7e apparmor=1 security=apparmor udev.log_priority=3 ipv6.disable=1
Desktop: KDE Plasma 5.23.5
tk: Qt 5.15.2
wm: kwin_x11
vt: 1
dm: SDDM
Distro: Manjaro Linux
base: Arch Linux
Machine:
Type: Laptop
System: ASUSTeK
product: K50IJ
v: 1.0
serial: <superuser required>
Mobo: ASUSTeK
model: K50IJ
v: 1.0
serial: <superuser required>
BIOS: American Megatrends
v: 218
date: 04/09/2010
Battery:
Device-1: hidpp_battery_0
model: Logitech Wireless Mouse
serial: <filter>
charge: 55% (should be ignored)
rechargeable: yes
status: Discharging
CPU:
Info:
model: Celeron T3100
bits: 64
type: MCP
arch: Core Penryn
family: 6
model-id: 0x17 (23)
stepping: 0xA (10)
microcode: 0xA0B
Topology:
cpus: 1
cores: 2
smt: <unsupported>
cache:
L1: 128 KiB
desc: d-2x32 KiB; i-2x32 KiB
L2: 1024 KiB
desc: 1x1024 KiB
Speed (MHz):
avg: 1895
min/max: N/A
cores:
1: 1895
2: 1895
bogomips: 7584
Flags: ht lm nx pae sse sse2 sse3 ssse3
Vulnerabilities:
Type: itlb_multihit
status: KVM: VMX unsupported
Type: l1tf
mitigation: PTE Inversion
Type: mds
status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
Type: meltdown
mitigation: PTI
Type: spec_store_bypass
status: Vulnerable
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2
mitigation: Full generic retpoline, STIBP: disabled, RSB filling
Type: srbds
status: Not affected
Type: tsx_async_abort
status: Not affected
Graphics:
Device-1: Intel Mobile 4 Series Integrated Graphics
vendor: ASUSTeK
driver: i915
v: kernel
bus-ID: 00:02.0
chip-ID: 8086:2a42
class-ID: 0300
Device-2: Chicony 2.0M UVC Webcam / CNF7129
type: USB
driver: uvcvideo
bus-ID: 1-3:2
chip-ID: 04f2:b071
class-ID: 0e02
serial: <filter>
Display: x11
server: X.org 1.21.1.3
compositor: kwin_x11
driver:
loaded: modesetting
alternate: fbdev,vesa
resolution: <missing: xdpyinfo>
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio:
Device-1: Intel 82801I HD Audio
vendor: Santa Cruz Operation
driver: snd_hda_intel
v: kernel
bus-ID: 00:1b.0
chip-ID: 8086:293e
class-ID: 0403
Sound Server-1: ALSA
v: k5.17.0-1-MANJARO
running: yes
Sound Server-2: JACK
v: 1.9.20
running: no
Sound Server-3: PulseAudio
v: 15.0
running: yes
Sound Server-4: PipeWire
v: 0.3.45
running: yes
Network:
Device-1: Qualcomm Atheros AR8121/AR8113/AR8114 Gigabit or Fast Ethernet
vendor: ASUSTeK
driver: ATL1E
v: N/A
modules: atl1e
port: ec00
bus-ID: 02:00.0
chip-ID: 1969:1026
class-ID: 0200
IF: enp2s0
state: up
speed: 100 Mbps
duplex: full
mac: <filter>
Bluetooth:
Device-1: Realtek Bluetooth Radio
type: USB
driver: btusb
v: 0.8
bus-ID: 6-1:2
chip-ID: 0bda:8771
class-ID: e001
serial: <filter>
Report: rfkill
ID: hci0
rfk-id: 2
state: up
address: see --recommends
Drives:
Local Storage:
total: 232.89 GiB
used: 101.89 GiB (43.8%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/sda
maj-min: 8:0
vendor: Seagate
model: ST9250315AS
size: 232.89 GiB
block-size:
physical: 512 B
logical: 512 B
speed: 3.0 Gb/s
type: HDD
rpm: 5400
serial: <filter>
rev: SDM1
scheme: MBR
Partition:
ID-1: /
raw-size: 232.88 GiB
size: 232.88 GiB (100.00%)
used: 101.89 GiB (43.8%)
fs: btrfs
dev: /dev/dm-0
maj-min: 254:0
mapped: luks-ef44cf91-5209-4ff4-95bf-ffb124a71d7e
ID-2: /home
raw-size: 232.88 GiB
size: 232.88 GiB (100.00%)
used: 101.89 GiB (43.8%)
fs: btrfs
dev: /dev/dm-0
maj-min: 254:0
mapped: luks-ef44cf91-5209-4ff4-95bf-ffb124a71d7e
ID-3: /var/log
raw-size: 232.88 GiB
size: 232.88 GiB (100.00%)
used: 101.89 GiB (43.8%)
fs: btrfs
dev: /dev/dm-0
maj-min: 254:0
mapped: luks-ef44cf91-5209-4ff4-95bf-ffb124a71d7e
Swap:
Kernel:
swappiness: 1 (default 60)
cache-pressure: 100 (default)
ID-1: swap-1
type: file
size: 512 MiB
used: 12 KiB (0.0%)
priority: -2
file: /swap/swapfile
Sensors:
System Temperatures:
cpu: 49.0 C
mobo: N/A
Fan Speeds (RPM): N/A
Info:
Processes: 195
Uptime: 30m
wakeups: 5
Memory: 3.8 GiB
used: 1.69 GiB (44.6%)
Init: systemd
v: 250
tool: systemctl
Compilers:
gcc: 11.1.0
clang: 13.0.0
Packages:
pacman: 1293
lib: 359
Shell: Zsh
v: 5.8
default: Bash
v: 5.1.16
running-in: konsole
inxi: 3.3.12
~/Desktop 9s ❯