Many std::bad alloc errors recently

Hello,
As the title says I’m experiencing many of those errors in various programs since about a month, e.g. krita, telegram, wine, avidemux. Often when trying to save files.
I just ran memtest which said RAM is fine.

Any ideas what could be wrong?

Thanks and greetings,
Jochen

At first glance, possibly a disk-gone-bad – likely your /home partition, if separate, otherwise the main root partition. When attempting to save a file, that area of thie disk is found to be corrupt (aka bad). The fsck tool should be helpful man fsck.

Beyond that assumption, you would need to provide all the usual system information for anyone to help effectively. Cheers.

Hm fsck ran through with no errors except “inode extent tree (at level 1) could be shorter”.
/home is on the root partition (which reminds me that i wanted to move it…)

fsck -f /dev/nvme0n1p5                                                                  8 ✘
fsck from util-linux 2.38.1
e2fsck 1.46.5 (30-Dec-2021)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/nvme0n1p5: 704483/9822208 files (0.8% non-contiguous), 22719379/39269413 blocks

The errors look like:

[HandleAction] 11:11:55-793  ************ SAVE_VIDEO **************
[refresh] 11:11:55-865  [Vdpau]Rrefresh
terminate called after throwing an instance of 'std::bad_alloc' 
what():  std::bad_alloc
zsh: IOT instruction (core dumped)  avidemux3_qt5
QObject::startTimer: Timers cannot have negative intervals
/usr/lib/krita-python-libs/krita added to PYTHONPATH
Error std::bad_alloc sending event 3 to object file
zsh: segmentation fault (core dumped)  krita

And here’s the output of inxi -Zf

 System:
  Kernel: 6.5.5-1-MANJARO arch: x86_64 bits: 64 Desktop: KDE Plasma v: 5.27.8
    Distro: Manjaro Linux
Machine:
  Type: Desktop System: Gigabyte product: B550M DS3H v: -CF
    serial: <superuser required>
  Mobo: Gigabyte model: B550M DS3H v: x.x serial: <superuser required>
    UEFI: American Megatrends LLC. v: F15 date: 07/29/2022
CPU:
  Info: 8-core model: AMD Ryzen 7 5700G with Radeon Graphics bits: 64
    type: MT MCP cache: L2: 4 MiB
  Speed (MHz): avg: 400 min/max: 400/4673 cores: 1: 400 2: 400 3: 400 4: 400
    5: 400 6: 400 7: 400 8: 400 9: 400 10: 400 11: 400 12: 400 13: 400 14: 400
    15: 400 16: 400
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1660 SUPER] driver: nvidia v: 535.113.01
  Display: x11 server: X.Org v: 21.1.8 driver: X: loaded: nvidia gpu: nvidia
    resolution: 1: 1920x1200~60Hz 2: 1920x1080~60Hz
  API: EGL v: 1.5 drivers: nvidia platforms: gbm
  API: OpenGL v: 4.6.0 vendor: nvidia v: 535.113.01 renderer: NVIDIA
    GeForce GTX 1660 SUPER/PCIe/SSE2
  API: Vulkan v: 1.3.264 drivers: nvidia surfaces: xcb,xlib
Audio:
  Device-1: NVIDIA TU116 High Definition Audio driver: snd_hda_intel
  Device-2: AMD Renoir Radeon High Definition Audio driver: snd_hda_intel
  Device-3: AMD Family 17h/19h HD Audio driver: snd_hda_intel
  Device-4: KORG nanoKONTROL2 MIDI Controller driver: snd-usb-audio
    type: USB
  Device-5: Ploytec GmbH USB MIDI cable driver: snd-usb-audio type: USB
  Device-6: Focusrite-Novation Focusrite Scarlett 2i2 2nd Gen
    driver: snd-usb-audio type: USB
  API: ALSA v: k6.5.5-1-MANJARO status: kernel-api
  Server-1: PulseAudio v: 16.1 status: active
Network:
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    driver: r8169
  IF: enp4s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
Drives:
  Local Storage: total: 6.6 TiB used: 83.37 GiB (1.2%)
  ID-1: /dev/nvme0n1 vendor: Transcend model: TS256GMTE110S size: 238.47 GiB
  ID-2: /dev/sda vendor: Toshiba model: HDWD220 size: 1.82 TiB
  ID-3: /dev/sdb vendor: Toshiba model: HDWG440 size: 3.64 TiB
  ID-4: /dev/sdc vendor: Western Digital model: WD10EZRX-00L4HB0
    size: 931.51 GiB type: USB
Partition:
  ID-1: / size: 146.39 GiB used: 83.35 GiB (56.9%) fs: ext4
    dev: /dev/nvme0n1p5
  ID-2: /boot/efi size: 96 MiB used: 25.3 MiB (26.4%) fs: vfat
    dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: partition size: 48.83 GiB used: 0 KiB (0.0%)
    dev: /dev/sda3
Sensors:
  System Temperatures: cpu: 48.0 C mobo: 29.0 C
  Fan Speeds (rpm): N/A
Info:
  Processes: 318 Uptime: 14m Memory: total: 32 GiB available: 31.19 GiB
  used: 4.34 GiB (13.9%) Shell: Zsh inxi: 3.3.30

Ed.: Got it :slight_smile:

:bangbang: Tip: :bangbang:

When posting terminal output, copy the output and paste it here, wrapped in three (3) backticks, before AND after the pasted text. Like this:

```
pasted text
```

Or three (3) tilde signs, like this:

~~~
pasted text
~~~

This will just cause it to be rendered like this:

Sed
sollicitudin dolor
eget nisl elit id
condimentum
arcu erat varius
cursus sem quis eros.

Instead of like this:

Sed sollicitudin dolor eget nisl elit id condimentum arcu erat varius cursus sem quis eros.

Alternatively, paste the text you wish to format as terminal output, select all pasted text, and click the </> button on the taskbar. This will indent the whole pasted section with one TAB, causing it to render the same way as described above.

Thereby increasing legibility thus making it easier for those trying to provide assistance.

For more information, please see:


:bangbang::bangbang: Additionally

If your language isn’t English, please prepend any and all terminal commands with LC_ALL=C. For example:

LC_ALL=C bluetoothctl

This will just cause the terminal output to be in English, making it easier to understand and debug.

Something else missing?
Any suggestions?
It seems that a lot of save and open panels are really slow too

I agree with @soundofthunder.

std::bad_alloc is the C++ error code for when a new operator tries to allocate something, but fails. As C++ cannot dynamically allocate memory, the lack of memory is the most common cause.

So this:

…makes it look like a disk issue…and you have a lot of drives:

So it could be one of them

Please provide the output of:

df --human-readable

Also, let’s check them for errors. Please provide the output(s) of:

sudo smartctl --all /de/sda

and

sudo smartctl --all /de/sdb

and

sudo smartctl --all /de/sdc

and

sudo smartctl --all /dev/nvme0n1

I’m completely unsure about this, but do a RAM test as well. Check here and test it with Memtest86+:

https://wiki.archlinux.org/title/Stress_testing#MemTest86+

Memory allocation error – avidemux3_qt…

Try uninstalling Avidemux and Krita:

  • Reinstall Krita from the Arch repo’s:
sudo pacman -S krita

and check the AUR for information pertaining to Avidemux.

However, I’m guessing that if bad sectors are present, it just happens to be where these two packages reside on disk.

… less than I have :slightly_smiling_face:

1 Like

I used to have as many as well. But life happened, and it’s not that many any more…

Five active on SATA, plus a BD writer, and several SSD’s-in-waiting (in removable caddies). None are larger than 1TB (they don’t need to be), except for a HDD for general storage and backup purposes; sized sufficiently to house multiple filesystems. Nothing fancy, but practical for me.

1 Like

Well, I had a 1 TB, 2 x 2TB, 2(at least, can’t remember exactly) x 80GB, 1 x 250GB and a 120GB external. Now it’s a 4TB SATA, 5TB SATA, and 250 nVME. Oh! And a 250GB M.2 SATA for my Raspberry Pi.

I used to have more drives too, even had to disconnect the dvd-drive to satisfy the need for storage space… (without problems except for weird noises btw)^^

But on this relatively new machine i’d wonder if the drive was the issue, unless its a case for warranty…
The problem has gotten way better by moving /home from the SSD to the 2TB HDD, although there were ~60GB of free space.
But there were some (few) crashes on saving though and the saving dialogues feel slower than they should be still, though not as bad as before.

LC_ALL=C df --human-readable                                                                                                                                         ✔ 
Filesystem      Size  Used Avail Use% Mounted on
dev              16G     0   16G   0% /dev
run              16G  1.9M   16G   1% /run
efivarfs        128K   26K   98K  21% /sys/firmware/efi/efivars
/dev/nvme0n1p5  147G   46G   94G  33% /
tmpfs            16G  812K   16G   1% /dev/shm
tmpfs            16G 1022M   15G   7% /tmp
/dev/sda4       193G   31G  153G  17% /home
/dev/nvme0n1p1   96M   26M   71M  27% /boot/efi
tmpfs           3.2G  104K  3.2G   1% /run/user/1000
/dev/sdc2       391G  378G   13G  97% /run/media/joh/Win7_Musik
/dev/sdc3       541G  508G   34G  94% /run/media/joh/Daten_Vid_Foto
/dev/sda1       671G   83G  554G  14% /run/media/joh/1
sudo smartctl --all /dev/sda                                                                                                                                1 ✘  3s  
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.5.5-1-MANJARO] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Toshiba P300 (SMR)
Device Model:     TOSHIBA HDWD220
Serial Number:    72T3S29ISC9H
LU WWN Device Id: 5 000039 ba56239e1
Firmware Version: KP000A
User Capacity:    2.000.398.934.016 bytes [2,00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      3.5 inches
Zoned Device:     Device managed zones
Device is:        In smartctl database 7.3/5528
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Oct 16 21:56:03 2023 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x00) Offline data collection activity
                                        was never started.
                                        Auto Offline Data Collection: Disabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever 
                                        been run.
Total time to complete Offline 
data collection:                (  120) seconds.
Offline data collection
capabilities:                    (0x5b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine 
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 261) minutes.
SCT capabilities:              (0x003d) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   050    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   050    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0027   100   100   001    Pre-fail  Always       -       3716
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       1088
  5 Reallocated_Sector_Ct   0x0033   100   100   050    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   050    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   050    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   095   095   000    Old_age   Always       -       2235
 10 Spin_Retry_Count        0x0033   121   100   030    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       975
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       5
193 Load_Cycle_Count        0x0032   098   098   000    Old_age   Always       -       20181
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       26 (Min/Max 10/42)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   253   000    Old_age   Always       -       0
220 Disk_Shift              0x0002   100   100   000    Old_age   Always       -       0
222 Loaded_Hours            0x0032   100   100   000    Old_age   Always       -       209
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
224 Load_Friction           0x0022   100   100   000    Old_age   Always       -       0
226 Load-in_Time            0x0026   100   100   000    Old_age   Always       -       718
240 Head_Flying_Hours       0x0001   100   100   001    Pre-fail  Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

The above only provides legacy SMART information - try 'smartctl -x' for more
sudo smartctl -all /dev/sdb
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.5.5-1-MANJARO] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Device Model:     TOSHIBA HDWG440
Serial Number:    22Q0A01GFZ0G
LU WWN Device Id: 5 000039 b78db22db
Firmware Version: 0601
User Capacity:    4.000.787.030.016 bytes [4,00 TB]
Sector Size:      512 bytes logical/physical
Rotation Rate:    7200 rpm
Form Factor:      3.5 inches
Device is:        Not in smartctl database 7.3/5528
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.3, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Mon Oct 16 21:59:18 2023 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

=== START OF READ SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

General SMART Values:
Offline data collection status:  (0x82) Offline data collection activity
                                        was completed without error.
                                        Auto Offline Data Collection: Enabled.
Self-test execution status:      (   0) The previous self-test routine completed
                                        without error or no self-test has ever 
                                        been run.
Total time to complete Offline 
data collection:                (  120) seconds.
Offline data collection
capabilities:                    (0x5b) SMART execute Offline immediate.
                                        Auto Offline data collection on/off support.
                                        Suspend Offline collection upon new
                                        command.
                                        Offline surface scan supported.
                                        Self-test supported.
                                        No Conveyance Self-test supported.
                                        Selective Self-test supported.
SMART capabilities:            (0x0003) Saves SMART data before entering
                                        power-saving mode.
                                        Supports SMART auto save timer.
Error logging capability:        (0x01) Error logging supported.
                                        General Purpose Logging supported.
Short self-test routine 
recommended polling time:        (   2) minutes.
Extended self-test routine
recommended polling time:        ( 406) minutes.
SCT capabilities:              (0x003d) SCT Status supported.
                                        SCT Error Recovery Control supported.
                                        SCT Feature Control supported.
                                        SCT Data Table supported.

SMART Attributes Data Structure revision number: 16
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAILED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000b   100   100   050    Pre-fail  Always       -       0
  2 Throughput_Performance  0x0005   100   100   050    Pre-fail  Offline      -       0
  3 Spin_Up_Time            0x0027   100   100   001    Pre-fail  Always       -       8697
  4 Start_Stop_Count        0x0032   100   100   000    Old_age   Always       -       1290
  5 Reallocated_Sector_Ct   0x0033   100   100   050    Pre-fail  Always       -       0
  7 Seek_Error_Rate         0x000b   100   100   050    Pre-fail  Always       -       0
  8 Seek_Time_Performance   0x0005   100   100   050    Pre-fail  Offline      -       0
  9 Power_On_Hours          0x0032   094   094   000    Old_age   Always       -       2749
 10 Spin_Retry_Count        0x0033   100   100   030    Pre-fail  Always       -       0
 12 Power_Cycle_Count       0x0032   100   100   000    Old_age   Always       -       1125
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -       0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -       22
193 Load_Cycle_Count        0x0032   100   100   000    Old_age   Always       -       2702
194 Temperature_Celsius     0x0022   100   100   000    Old_age   Always       -       27 (Min/Max 8/42)
196 Reallocated_Event_Count 0x0032   100   100   000    Old_age   Always       -       0
197 Current_Pending_Sector  0x0032   100   100   000    Old_age   Always       -       0
198 Offline_Uncorrectable   0x0030   100   100   000    Old_age   Offline      -       0
199 UDMA_CRC_Error_Count    0x0032   200   200   000    Old_age   Always       -       0
220 Disk_Shift              0x0002   100   100   000    Old_age   Always       -       786434
222 Loaded_Hours            0x0032   098   098   000    Old_age   Always       -       873
223 Load_Retry_Count        0x0032   100   100   000    Old_age   Always       -       0
224 Load_Friction           0x0022   100   100   000    Old_age   Always       -       0
226 Load-in_Time            0x0026   100   100   000    Old_age   Always       -       511
240 Head_Flying_Hours       0x0001   100   100   001    Pre-fail  Offline      -       0

SMART Error Log Version: 1
No Errors Logged

SMART Self-test log structure revision number 1
No self-tests have been logged.  [To run self-tests, use: smartctl -t]

SMART Selective self-test log data structure revision number 1
 SPAN  MIN_LBA  MAX_LBA  CURRENT_TEST_STATUS
    1        0        0  Not_testing
    2        0        0  Not_testing
    3        0        0  Not_testing
    4        0        0  Not_testing
    5        0        0  Not_testing
Selective self-test flags (0x0):
  After scanning selected spans, do NOT read-scan remainder of disk.
If Selective self-test is pending on power-up, resume after 0 minute delay.

The above only provides legacy SMART information - try 'smartctl -x' for more
sudo smartctl --all /dev/nvme0n1                                                                                                                                     ✔ 
smartctl 7.4 2023-08-01 r5530 [x86_64-linux-6.5.5-1-MANJARO] (local build)
Copyright (C) 2002-23, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Number:                       TS256GMTE110S
Serial Number:                      H028091665
Firmware Version:                   U1006A3
PCI Vendor/Subsystem ID:            0x1d79
IEEE OUI Identifier:                0x7c3548
Controller ID:                      1
NVMe Version:                       1.3
Number of Namespaces:               1
Namespace 1 Size/Capacity:          256.060.514.304 [256 GB]
Namespace 1 Formatted LBA Size:     512
Namespace 1 IEEE EUI-64:            7c3548 51de82f511
Local Time is:                      Mon Oct 16 22:00:06 2023 CEST
Firmware Updates (0x12):            1 Slot, no Reset required
Optional Admin Commands (0x0007):   Security Format Frmw_DL
Optional NVM Commands (0x0015):     Comp DS_Mngmt Sav/Sel_Feat
Log Page Attributes (0x03):         S/H_per_NS Cmd_Eff_Lg
Maximum Data Transfer Size:         64 Pages
Warning  Comp. Temp. Threshold:     85 Celsius
Critical Comp. Temp. Threshold:     87 Celsius

Supported Power States
St Op     Max   Active     Idle   RL RT WL WT  Ent_Lat  Ex_Lat
 0 +     9.00W       -        -    0  0  0  0        0       0
 1 +     4.60W       -        -    1  1  1  1        0       0
 2 +     3.80W       -        -    2  2  2  2        0       0
 3 -   0.0250W       -        -    3  3  3  3     2200    3000
 4 -   0.0120W       -        -    4  4  4  4    43000   43000

Supported LBA Sizes (NSID 0x1)
Id Fmt  Data  Metadt  Rel_Perf
 0 +     512       0         0

=== START OF SMART DATA SECTION ===
SMART overall-health self-assessment test result: PASSED

SMART/Health Information (NVMe Log 0x02)
Critical Warning:                   0x00
Temperature:                        51 Celsius
Available Spare:                    100%
Available Spare Threshold:          10%
Percentage Used:                    0%
Data Units Read:                    4.469.148 [2,28 TB]
Data Units Written:                 6.155.949 [3,15 TB]
Host Read Commands:                 45.899.869
Host Write Commands:                63.040.440
Controller Busy Time:               5.441
Power Cycles:                       981
Power On Hours:                     2.239
Unsafe Shutdowns:                   52
Media and Data Integrity Errors:    0
Error Information Log Entries:      0
Warning  Comp. Temperature Time:    0
Critical Comp. Temperature Time:    0

Error Information (NVMe Log 0x01, 16 of 64 entries)
No Errors Logged

Self-tests not supported

/dev/sdc is an external drive.
Reinstalling avidemux was no use btw.

Life happening on my drives sounds quite scary, since backing up regularly sucks with ~6 200-1000GB drives fished out of trash PCs^^"

Thanks a bunch

It may not be. Still, it does no harm to check nonetheless.

Is your system updated, and current?

It might be an issue with a common dependency of these apps, such as ffmpeg. Ffmpeg is needed by both Krita and VLC, and there have been issues with ffmpeg in recent days. This will list installed packages that depend on ffmpeg.

pacman -Qi ffmpeg ffmpeg4.4 | grep 'Required By\|Optional For'

Post the output of this command; it may be useful.

Hm,

pacman -Qi ffmpeg ffmpeg4.4 | grep 'Required By\|Optional For'

puts out nothing.

It may not be. Still, it does no harm to check nonetheless.

true…

My system is updated surprisingly often at the moment via pamac.
But i vaguely remember problems with ffmpeg when settting up the machine and less vaguely afterwards (for video editing purposes).
Also VLC tends to crash often when trying to open video files, while mpv doesnt.

libva error: vaGetDriverNames() failed with unknown libva error
[00007f5b38006bc0] glconv_vaapi_x11 gl error: vaInitialize: unknown libva error
zsh: segmentation fault (core dumped)  vlc /tmp/20001-5505eded.avi

ffmpeg                                                                                                                                                           0|1 ✘ 
ffmpeg version n6.0 Copyright (c) 2000-2023 the FFmpeg developers
  built with gcc 13.2.1 (GCC) 20230801
  configuration: --prefix=/usr --disable-debug --disable-static --disable-stripping --enable-amf --enable-avisynth --enable-cuda-llvm --enable-lto --enable-fontconfig --enable-gmp --enable-gnutls --enable-gpl --enable-ladspa --enable-libaom --enable-libass --enable-libbluray --enable-libbs2b --enable-libdav1d --enable-libdrm --enable-libfreetype --enable-libfribidi --enable-libgsm --enable-libiec61883 --enable-libjack --enable-libjxl --enable-libmodplug --enable-libmp3lame --enable-libopencore_amrnb --enable-libopencore_amrwb --enable-libopenjpeg --enable-libopenmpt --enable-libopus --enable-libpulse --enable-librav1e --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libsrt --enable-libssh --enable-libsvtav1 --enable-libtheora --enable-libv4l2 --enable-libvidstab --enable-libvmaf --enable-libvorbis --enable-libvpl --enable-libvpx --enable-libwebp --enable-libx264 --enable-libx265 --enable-libxcb --enable-libxml2 --enable-libxvid --enable-libzimg --enable-nvdec --enable-nvenc --enable-opencl --enable-opengl --enable-shared --enable-version3 --enable-vulkan
  libavutil      58.  2.100 / 58.  2.100
  libavcodec     60.  3.100 / 60.  3.100
  libavformat    60.  3.100 / 60.  3.100
  libavdevice    60.  1.100 / 60.  1.100
  libavfilter     9.  3.100 /  9.  3.100
  libswscale      7.  1.100 /  7.  1.100
  libswresample   4. 10.100 /  4. 10.100
  libpostproc    57.  1.100 / 57.  1.100
Hyper fast Audio and Video encoder
usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...

You used ‘pamac’, I think.

pamac -Qi ffmpeg ffmpeg4.4 | grep ‘Required By|Optional For’
indeed outputs nothing

Try again, using ‘pacman’ :wink:

pacman -Qi ffmpeg ffmpeg4.4 | grep 'Required By\|Optional For'

Sudo isn’t needed for this query.

    ~  pacman -Qi ffmpeg ffmpeg4.4 | grep 'Required By\|Optional For'                                                                                                   127 ✘ 
    ~  pamac -Qi ffmpeg ffmpeg4.4 | grep 'Required By\|Optional For'                                                                                                    0|1 ✘ 
    ~  aeroighaeruighgilhuj                                                                                                                                             0|1 ✘ 
zsh: command not found: aeroighaeruighgilhuj
        

Pamac says that ffmpeg (2:6 0-12) and ffmpeg4.4 from official repositories are installed though.

What do these newfashioned numbers to the right of the terminal mean by the way?^^"

The characters are effectively placeholders, when a font isn’t available to display a given character. Fonts may sometimes not support Cyrillic characters, for example.

If needed, you can change your shell to bash temporarily, if the command doesn’t work as expected on a zsh shell; just type bash.
(You can change it back by typing zsh):

bash

… and try the command again, like this:

LC_ALL=C pacman -Qi ffmpeg ffmpeg4.4 | grep 'Required By\|Optional For'

LC_ALL=C overrides your default language for the output of terminal commands, and outputs in English, hopefully without those characters.

That’s good. What the above command does, is to check which of your installed packages depend on ffmpeg.

Thanks :slight_smile:
Weird though, since german characters are not special enough to cause problems usually^^

[joh@joh-b550mds3h ~]$ LC_ALL=C pacman -Qi ffmpeg ffmpeg4.4 | grep 'Required By\|Optional For'
Required By     : blender  chromaprint  deepin-camera  electron25  ffmpegthumbnailer  ffmpegthumbs  firefox  gst-libav  kfilemetadata5  kpipewire  krita  mpv  opencv  processing  qt5-webengine  telegram-desktop  vbam-wx  xjadeo
Optional For    : alsa-plugins  audacity  gegl  libde265  mlt  vtk  youtube-dl  yt-dlp
Required By     : opencascade  vlc
Optional For    : reaper

And i guess except for wine that list includes almost all programs that were problematic.

Looks like it.

Check your mirror status and try to perform another update using pacman:

sudo pacman -Syu

just in case anything new has been added.

Nope nothing.
Do you have a suggestion about what the best way of reinstalling ffmpeg without having to reinstall all depending programs would be?

The issues with wine seem to be solved after replacing wine 7.2 with wine-staging :smiley:

As far as I am aware, ffmpeg and ffmpe4.4 were only temporarily downgraded; and the expected versions are now in the Arch repo’s.

I’ve seen mentioned that some mirrors might be slow to catch up though. It would pay to make sure the mirrors you use are all available, beforehand (See ‘Mirrors’ in the menu to the left); and maybe run the following command to make sure you get the most relevant mirrors:

sudo pacman-mirrors --fasttrack && sudo pacman -S ffmpeg ffmpeg4.4

It’s sometimes a good idea to do that when uou update, aswell:

sudo pacman-mirrors --fasttrack && sudo pacman -Syu