Bug 486235

Summary: krita-5.3.0-prealpha-159fec2a75-x86_64.appimage Replacing libstdc++.so.6 with the fallback version: libstdc++.so.6.0.30 -> libstdc++.so.6.0.32
Product: [Applications] krita Reporter: Mauricio Lucas <mauricio.lucas>
Component: UsabilityAssignee: Krita Bugs <krita-bugs-null>
Status: RESOLVED FIXED    
Severity: critical CC: dimula73
Priority: NOR    
Version First Reported In: git master (please specify the git hash!)   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mauricio Lucas 2024-04-28 09:39:51 UTC
$./krita-5.3.0-prealpha-159fec2a75-x86_64.appimage  Replacing libstdc++.so.6 with the fallback version: libstdc++.so.6.0.30 -> libstdc++.so.6.0.32


System:
  Kernel: 6.5.0-28-generic x86_64 bits: 64 compiler: N/A Desktop: Cinnamon 5.8.4 tk: GTK 3.24.33
    wm: muffin dm: LightDM Distro: Linux Mint 21.2 Victoria base: Ubuntu 22.04 jammy
Machine:
  Type: Desktop System: ASUS product: N/A v: N/A serial: <superuser required>
  Mobo: ASUSTeK model: TUF GAMING B550M-PLUS v: Rev X.0x serial: <superuser required>
    UEFI: American Megatrends v: 2803 date: 04/27/2022
CPU:
  Info: 6-core model: AMD Ryzen 5 5600 bits: 64 type: MT MCP arch: Zen 3 rev: 2 cache: L1: 384 KiB
    L2: 3 MiB L3: 32 MiB
  Speed (MHz): avg: 2280 high: 2664 min/max: 2200/4467 boost: enabled cores: 1: 2200 2: 2566
    3: 2200 4: 2200 5: 2664 6: 2200 7: 2339 8: 2200 9: 2200 10: 2200 11: 2200 12: 2200
    bogomips: 83846
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Graphics:
  Device-1: NVIDIA GP104 [GeForce GTX 1070] vendor: Gigabyte driver: nvidia v: 535.171.04 pcie:
    speed: 8 GT/s lanes: 16 ports: active: none off: DP-1,DP-3 empty: DP-2,DVI-D-1,HDMI-A-1
    bus-ID: 07:00.0 chip-ID: 10de:1b81
  Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: nvidia gpu: nvidia display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 4480x1440 s-dpi: 96
  Monitor-1: DP-0 pos: primary,top-right res: 2560x1440 dpi: 109 diag: 686mm (27")
  Monitor-2: DP-4 pos: bottom-l res: 1920x1080 dpi: 70 diag: 801mm (31.5")
  OpenGL: renderer: NVIDIA GeForce GTX 1070/PCIe/SSE2 v: 4.6.0 NVIDIA 535.171.04
    direct render: Yes
Audio:
  Device-1: NVIDIA GP104 High Definition Audio vendor: Gigabyte driver: snd_hda_intel v: kernel
    pcie: speed: 8 GT/s lanes: 16 bus-ID: 07:00.1 chip-ID: 10de:10f0
  Device-2: AMD Starship/Matisse HD Audio vendor: ASUSTeK driver: snd_hda_intel v: kernel pcie:
    speed: 16 GT/s lanes: 16 bus-ID: 09:00.4 chip-ID: 1022:1487
  Sound Server-1: ALSA v: k6.5.0-28-generic running: yes
  Sound Server-2: JACK v: 1.9.20 running: yes
  Sound Server-3: PulseAudio v: 15.99.1 running: yes
  Sound Server-4: PipeWire v: 1.0.5 running: yes
Network:
  Device-1: Realtek RTL8125 2.5GbE vendor: ASUSTeK driver: r8169 v: kernel pcie: speed: 5 GT/s
    lanes: 1 port: f000 bus-ID: 06:00.0 chip-ID: 10ec:8125
  IF: enp6s0 state: up speed: 1000 Mbps duplex: full mac: <filter>
  IF-ID-1: virbr0 state: down mac: <filter>
Drives:
  Local Storage: total: 931.51 GiB used: 823.2 GiB (88.4%)
  ID-1: /dev/nvme0n1 model: T-FORCE TM8FPZ001T size: 931.51 GiB speed: 63.2 Gb/s lanes: 4
    serial: <filter> temp: 31.9 C
Partition:
  ID-1: / size: 915.32 GiB used: 823.17 GiB (89.9%) fs: ext4 dev: /dev/nvme0n1p2
  ID-2: /boot/efi size: 511 MiB used: 31.4 MiB (6.1%) fs: vfat dev: /dev/nvme0n1p1
Swap:
  ID-1: swap-1 type: file size: 2 GiB used: 1.31 GiB (65.7%) priority: -2 file: /swapfile
Sensors:
  System Temperatures: cpu: N/A mobo: N/A gpu: nvidia temp: 47 C
  Fan Speeds (RPM): N/A gpu: nvidia fan: 33%
Repos:
  Packages: 4272 note: see --pkg apt: 4245 flatpak: 27
  Active apt repos in: /etc/apt/sources.list
    1: deb [arch=amd64 signed-by=/usr/share/keyrings/oracle-virtualbox-2016.gpg] https: //download.virtualbox.org/virtualbox/debian jammy contrib
  Active apt repos in: /etc/apt/sources.list.d/additional-repositories.list
    1: deb [arch=amd64,i386] http: //ubuntu.anexia.at/ubuntu jammy main restricted universe multiverse
  Active apt repos in: /etc/apt/sources.list.d/brave-browser-release.list
    1: deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https: //brave-browser-apt-release.s3.brave.com/ stable main
  Active apt repos in: /etc/apt/sources.list.d/ffmpeg-4-rob-savoury.list
    1: deb [signed-by=/usr/share/keyrings/rob-savoury.gpg] https: //ppa.launchpadcontent.net/savoury1/ffmpeg4/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/ffmpeg-5-rob-savoury.list
    1: deb [signed-by=/usr/share/keyrings/rob-savoury.gpg] https: //ppa.launchpadcontent.net/savoury1/ffmpeg5/ubuntu jammy main
  No active apt repos in: /etc/apt/sources.list.d/fig.list
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list
    1: deb [arch=amd64] https: //dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/google-earth-pro.list
    1: deb [arch=amd64] http: //dl.google.com/linux/earth/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/inkscape_dev-trunk-jammy.list
    1: deb [signed-by=/etc/apt/keyrings/inkscape_dev-trunk-jammy.gpg] https: //ppa.launchpadcontent.net/inkscape.dev/trunk/ubuntu jammy main
  No active apt repos in: /etc/apt/sources.list.d/jonmagon-crow-translate-jammy.list
  Active apt repos in: /etc/apt/sources.list.d/lightzone-team-lightzone-jammy.list
    1: deb [signed-by=/etc/apt/keyrings/lightzone-team-lightzone-jammy.gpg] https: //ppa.launchpadcontent.net/lightzone-team/lightzone/ubuntu jammy main
  Active apt repos in: /etc/apt/sources.list.d/microsoft-edge.list
    1: deb [arch=amd64] https: //packages.microsoft.com/repos/edge/ stable main
  No active apt repos in: /etc/apt/sources.list.d/mixxx-mixxx-jammy.list
  No active apt repos in: /etc/apt/sources.list.d/mixxx-mixxxbetas-jammy.list
  No active apt repos in: /etc/apt/sources.list.d/nicotine-team-stable-jammy.list
  No active apt repos in: /etc/apt/sources.list.d/obsproject-obs-studio-jammy.list
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list
    1: deb https: //mint-packages.c3sl.ufpr.br victoria main upstream import backport
    2: deb http: //sft.if.usp.br/ubuntu jammy main restricted universe multiverse
    3: deb http: //sft.if.usp.br/ubuntu jammy-updates main restricted universe multiverse
    4: deb http: //sft.if.usp.br/ubuntu jammy-backports main restricted universe multiverse
    5: deb http: //security.ubuntu.com/ubuntu/ jammy-security main restricted universe multiverse
  No active apt repos in: /etc/apt/sources.list.d/openshot_developers-ppa-jammy.list
  No active apt repos in: /etc/apt/sources.list.d/openwebrx.list
  Active apt repos in: /etc/apt/sources.list.d/spotify.list
    1: deb http: //repository.spotify.com stable non-free
  No active apt repos in: /etc/apt/sources.list.d/steam-beta.list
  Active apt repos in: /etc/apt/sources.list.d/steam-stable.list
    1: deb [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https: //repo.steampowered.com/steam/ stable steam
    2: deb-src [arch=amd64,i386 signed-by=/usr/share/keyrings/steam.gpg] https: //repo.steampowered.com/steam/ stable steam
  No active apt repos in: /etc/apt/sources.list.d/umang-indicator-stickynotes-focal.list
  Active apt repos in: /etc/apt/sources.list.d/winehq-jammy.sources
    1: deb [arch=amd64 i386] https: //dl.winehq.org/wine-builds/ubuntu jammy main
Info:
  Processes: 537 Uptime: 4d 8h 38m Memory: 31.24 GiB used: 21.55 GiB (69.0%) Init: systemd v: 249
  runlevel: 5 Compilers: gcc: 11.4.0 alt: 11/12/9 Client: Cinnamon v: 5.8.4 inxi: 3.3.13
Comment 1 Mauricio Lucas 2024-04-28 09:42:09 UTC
I'm not sure if I'm reporting this correctly since it's an alpha build, but trying to help.
Comment 2 Dmitry Kazakov 2024-04-29 09:06:20 UTC
But what is your problem actually? The warning string is perfectly correct, since Krita requires a newer version of libstdc++, than the OS provides.
Comment 3 Mauricio Lucas 2024-04-30 11:14:42 UTC
If running the appimage does nothing and Krita does not open, it is a problem for me. In the stable version 5.1 of Krita, it did not open on 3 of my machines, and the solution was to use the alpha version. Now the alpha version does not work, and version 5.2.2 works.

If you tell me how to extract more information to understand the reason why the appimage does not open, I am willing to help with all the tests.
Comment 4 Mauricio Lucas 2024-04-30 11:20:44 UTC
My Linux Mint is up to date, and I have verified that this version of the package libstdc++.so.6.0.32 is not available in the stable version. If I do this manually, it will break other packages; if I add servers, it will break more packages, and my system becomes a mess. In my view, these libraries could be packaged together to prevent errors, but that is just my opinion.
Comment 5 Bug Janitor Service 2024-05-01 03:46:06 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 6 Dmitry Kazakov 2024-05-01 19:51:42 UTC
Hi, Mauricio!

Could you please test this package with debugging info? 

https://disk.yandex.ru/d/qhVKC_eTNnD7VA

You need to run it under GDB and attach the output to this bug:

gdb --eval-command=run --args ./krita-5.3.0-prealpha-5fc43a64b7-x86_64.appimage

When it crashes, type in the terminal:

thread apply all bt

It will generate the full backtrace, please attach it this bug.
Comment 7 Dmitry Kazakov 2024-05-01 19:52:48 UTC
Waiting for the log
Comment 8 Mauricio Lucas 2024-05-02 02:30:11 UTC
Starting program: /home/lucas/Downloads/Krita/krita-5.3.0-prealpha-5fc43a64b7-x86_64.appimage 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Detaching after fork from child process 542237]
process 542234 is executing new program: /tmp/.mount_krita-gaSKmF/AppRun
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
process 542234 is executing new program: /tmp/.mount_krita-gaSKmF/usr/bin/krita
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffef5ff640 (LWP 542242)]
[Thread 0x7fffef5ff640 (LWP 542242) exited]
[New Thread 0x7fffef5ff640 (LWP 542243)]
[Thread 0x7fffef5ff640 (LWP 542243) exited]
[New Thread 0x7fffef5ff640 (LWP 542244)]
[Thread 0x7fffef5ff640 (LWP 542244) exited]
[New Thread 0x7fffef5ff640 (LWP 542247)]
[New Thread 0x7fffee63a640 (LWP 542248)]
[Thread 0x7fffee63a640 (LWP 542248) exited]
[Thread 0x7fffef5ff640 (LWP 542247) exited]
[Inferior 1 (process 542234) exited normally]
Comment 9 Mauricio Lucas 2024-05-02 03:12:50 UTC
I sent the log without mentioning that this time the program executed and I was able to use it. 
The same version krita-5.3.0-prealpha-6060b8ee1e-x86_64.appimage.
Comment 10 Bug Janitor Service 2024-05-02 03:45:59 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 11 Dmitry Kazakov 2024-05-08 08:22:11 UTC
Hi, Mauricio!

Could you confirm that I understand you right:

1) The nightly build still fails to run for you: https://cdn.kde.org/ci-builds/graphics/krita/master/linux/
2) The package I shared with you works fine: https://disk.yandex.ru/d/qhVKC_eTNnD7VA

Is it correct?
Comment 12 Mauricio Lucas 2024-05-09 02:07:25 UTC
(In reply to Dmitry Kazakov from comment #11)
> Hi, Mauricio!
> 
> Could you confirm that I understand you right:
> 
> 1) The nightly build still fails to run for you:
> https://cdn.kde.org/ci-builds/graphics/krita/master/linux/
> 2) The package I shared with you works fine:
> https://disk.yandex.ru/d/qhVKC_eTNnD7VA
> 
> Is it correct?

Hi, Dmitry

The new versions of the nightly build are working correctly again, and I can run my work without issues.
The package you shared with me also worked perfectly.
Yes, I confirm that both packages provided in the links are now working correctly.
Comment 13 Bug Janitor Service 2024-05-09 03:45:56 UTC
Thanks for your comment!

Automatically switching the status of this bug to REPORTED so that the KDE team
knows that the bug is ready to get confirmed.

In the future you may also do this yourself when providing needed information.
Comment 14 Dmitry Kazakov 2024-05-09 13:25:01 UTC
Thank you for the information! I'm closing the bug then :)