Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppImage v4.4.0 from fosshub segmentation fault on Debian 11 swapoff or swap 1GB #16276

Closed
slrslr opened this issue Jan 26, 2022 · 8 comments
Closed
Labels
Crash OS: Linux Issues specific to Linux distributions

Comments

@slrslr
Copy link
Contributor

slrslr commented Jan 26, 2022

qBittorrent & operating system versions

4.4.0
Debian 11

What is the problem?

Dear developer, i have just downloaded https://www.fosshub.com/qBittorrent.html?dwl=qbittorrent-4.4.0_x86_64.AppImage

to Debian 11 stable, default kernel and after chmod +x the file, i ran it via command line:

$ ./qbittorrent-4.4.0_x86_64.AppImage

QSystemTrayIcon::setVisible: No Icon set
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
inotify_add_watch(/tmp/.mount_qbittolTHvMY/usr/bin/qbittorrent) failed: (Na zařízení není žádný volný úložný prostor)


*************************************************************
Please file a bug report at http://bug.qbittorrent.org and provide the following information:

qBittorrent version: v4.4.0

Caught signal: SIGSEGV
Stack trace:
  /tmp/.mount_qbittolTHvMY/AppRun.wrapped : ()+0x35b645  [0x55592dad7645]
  /tmp/.mount_qbittolTHvMY/usr/bin/../lib/libQt6Core.so.6 : ()+0x1df8fc  [0x7feeb60e98fc]
  /tmp/.mount_qbittolTHvMY/AppRun.wrapped : ()+0xdeb96  [0x55592d85ab96]
  /tmp/.mount_qbittolTHvMY/AppRun.wrapped : ()+0x12fd85  [0x55592d8abd85]
  /tmp/.mount_qbittolTHvMY/AppRun.wrapped : ()+0x130638  [0x55592d8ac638]
  /tmp/.mount_qbittolTHvMY/AppRun.wrapped : ()+0x13218b  [0x55592d8ae18b]
  /tmp/.mount_qbittolTHvMY/AppRun.wrapped : ()+0x1322bb  [0x55592d8ae2bb]
  /tmp/.mount_qbittolTHvMY/AppRun.wrapped : ()+0x132614  [0x55592d8ae614]
  /tmp/.mount_qbittolTHvMY/AppRun.wrapped : ()+0xca466  [0x55592d846466]
  /tmp/.mount_qbittolTHvMY/AppRun.wrapped : ()+0xbfdf9  [0x55592d83bdf9]
  /lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main()+0xea  [0x7feeb5a1cd0a]
  /tmp/.mount_qbittolTHvMY/AppRun.wrapped : ()+0xc412e  [0x55592d84012e]
Segmentation fault

$ free -h;df -h|grep tmpfs
               total        used        free      shared  buff/cache   available
Mem:            62Gi        52Gi       8.5Gi       443Mi       1.5Gi       8.9Gi
Swap:             0B          0B          0B
tmpfs                    6.3G  1.6M  6.3G   1% /run
tmpfs                     32G  174M   31G   1% /dev/shm
tmpfs                    5.0M  4.0K  5.0M   1% /run/lock
tmpfs                    6.3G  1.8M  6.3G   1% /run/user/1000

"Na zařízení není žádný volný úložný prostor" is translated something like this: There is no free storage space on the device
Same message appeared when swap was 1GB.

4.3.8.10 enhanced appimage works

Steps to reproduce

No response

Additional context

No response

Log(s) & preferences file(s)

No response

@thalieht thalieht added Crash OS: Linux Issues specific to Linux distributions labels Jan 26, 2022
@shama84
Copy link

shama84 commented Jan 26, 2022

Hi,
Supposing no GUI on your Debian, is this a NOX compatible image? (don't think so)

@slrslr
Copy link
Contributor Author

slrslr commented Jan 26, 2022

no GUI on your Debian

My GUI is KDE, i have launched that appimage via terminal window since i do not know yet which package i need to install on Debian so it launch it.

NOX compatible image?

actually i wanted a GUI (usually it shown even i launched via CLI), and there is only one appimage on https://www.fosshub.com/qBittorrent.html which i have used (likely standard, not NOX)

Btw. i have workaround that error inotify_add_watch(/tmp/.mount_... by doing:
mkdir /home/user/tmp && TEMP=/home/user/tmp
and now the SIGSEGV is like this:

$ ./qbittorrent-4.4.0_x86_64.AppImage
QSystemTrayIcon::setVisible: No Icon set
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile


*************************************************************
Please file a bug report at http://bug.qbittorrent.org and provide the following information:

qBittorrent version: v4.4.0

Caught signal: SIGSEGV
Stack trace:
  /tmp/.mount_qbittoTn7lGl/AppRun.wrapped : ()+0x35b645  [0x564a5a26c645]
  /tmp/.mount_qbittoTn7lGl/usr/bin/../lib/libQt6Core.so.6 : ()+0x1df8fc  [0x7fd551b328fc]
  /tmp/.mount_qbittoTn7lGl/AppRun.wrapped : ()+0xdeb96  [0x564a59fefb96]
  /tmp/.mount_qbittoTn7lGl/AppRun.wrapped : ()+0x12fd85  [0x564a5a040d85]
  /tmp/.mount_qbittoTn7lGl/AppRun.wrapped : ()+0x130638  [0x564a5a041638]
  /tmp/.mount_qbittoTn7lGl/AppRun.wrapped : ()+0x13218b  [0x564a5a04318b]
  /tmp/.mount_qbittoTn7lGl/AppRun.wrapped : ()+0x1322bb  [0x564a5a0432bb]
  /tmp/.mount_qbittoTn7lGl/AppRun.wrapped : ()+0x132614  [0x564a5a043614]
  /tmp/.mount_qbittoTn7lGl/AppRun.wrapped : ()+0xca466  [0x564a59fdb466]
  /tmp/.mount_qbittoTn7lGl/AppRun.wrapped : ()+0xbfdf9  [0x564a59fd0df9]
  /lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main()+0xea  [0x7fd551465d0a]
  /tmp/.mount_qbittoTn7lGl/AppRun.wrapped : ()+0xc412e  [0x564a59fd512e]
Segmentation fault

@abcfy2
Copy link

abcfy2 commented Jan 27, 2022

Hi @slrslr . You may try my build for qBittorrent-Enhanced-Editon: https://github.com/abcfy2/qBittorrent-Enhanced-Edition/releases/tag/v4.4.0.11

Did this AppImage work on your environment ?

Waiting for your feedback.

@slrslr
Copy link
Contributor Author

slrslr commented Jan 27, 2022

@abcfy2 thank you, i have downloaded that qBittorrent-Enhanced-Edition.AppImage
launched it via command line (i am unsure what package i need to install on Debian so i can use it to open via GUI.
So it shown lines:

(qbittorrent:1564924): Gtk-WARNING **: 10:53:07.109: Unable to locate theme engine in module_path: "adwaita",
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile

i see no icon on taskbar, processes are running with constant CPU usage displayed by ps aux command:

user     1564924 63.0  0.2 1123400 186168 pts/3  Rl+  10:53   2:42 /tmp/.mount_qBittoCNgYPr/usr/bin/qbittorrent
user     1564927 48.5  0.0  12080  2200 ?        Rsl  16:53   2:04 /home/user/Downloads/qBittorrent-Enhanced-Edition.AppImage

really it is 63 and 48 for 5 minutes+ (normal qbittorrent SIGSEGV quicker) then i let it be and after like hour i see:

(qbittorrent:1564924): Gtk-WARNING **: 16:53:07.109: Unable to locate theme engine in module_path: "adwaita",
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
inotify_add_watch(/tmp/.mount_qBittoCNgYPr/usr/bin/qbittorrent) failed: (No space left on device)


*************************************************************
Please file a bug report at http://bug.qbittorrent.org and provide the following information:

qBittorrent version: v4.4.0.10

Caught signal: SIGSEGV
Stack trace:
  /tmp/.mount_qBittoCNgYPr/usr/bin/qbittorrent() [0x73a424]
  /tmp/.mount_qBittoCNgYPr/usr/bin/../lib/libQt6Core.so.6 : ()+0x300c18  [0x7f2e636e0c18]
  /tmp/.mount_qBittoCNgYPr/usr/bin/qbittorrent() [0x4bc622]
  /tmp/.mount_qBittoCNgYPr/usr/bin/qbittorrent() [0x50a8ca]
  /tmp/.mount_qBittoCNgYPr/usr/bin/qbittorrent() [0x50b6e6]
  /tmp/.mount_qBittoCNgYPr/usr/bin/qbittorrent() [0x50cceb]
  /tmp/.mount_qBittoCNgYPr/usr/bin/qbittorrent : BitTorrent::Session::readAlerts()+0x4b  [0x50ce2b]
  /tmp/.mount_qBittoCNgYPr/usr/bin/qbittorrent() [0x50d150]
  /tmp/.mount_qBittoCNgYPr/usr/bin/qbittorrent() [0x4a5bf1]
  /tmp/.mount_qBittoCNgYPr/usr/bin/qbittorrent() [0x49b440]
  /lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main()+0xea  [0x7f2e62ef2d0a]
  /tmp/.mount_qBittoCNgYPr/usr/bin/qbittorrent() [0x49f759]
Consider installing debug symbols for packages containing files with empty function names (i.e. empty braces "()") to make your stack trace more useful
Segmentation fault

Note that qbt 4.2.5 works, 4.3.8.10 enhanced also

@slrslr
Copy link
Contributor Author

slrslr commented Jan 27, 2022

Similar issue in Flatpak:

sudo apt install flatpak && sudo flatpak search qbittorrent
sudo flatpak install org.qbittorrent.qBittorrent && mkdir /home/$(whoami)/.local/share/flatpak/repo/objects" 2>/dev/null
# Remove default empty dir. and symlink existing one to deleted location so Flatpak qbt adopt my data:
rm -rf /home/$(whoami)/.var/app/org.qbittorrent.qBittorrent/data/qBittorrent/
ln -s /home/$(whoami)/.local/share/qBittorrent/ /home/$(whoami)/.var/app/org.qbittorrent.qBittorrent/data/
# Run
flatpak run org.qbittorrent.qBittorrent
qBittorrent version: v4.4.0

Caught signal: SIGSEGV
Stack trace:
  qbittorrent : ()+0x2aa0d8  [0x55e3e21370d8]
  /usr/lib/x86_64-linux-gnu/libQt5Core.so.5 : ()+0x302993  [0x7f4e0b129993]
  qbittorrent : ()+0xcf414  [0x55e3e1f5c414]
  qbittorrent : ()+0x10e38a  [0x55e3e1f9b38a]
  qbittorrent : ()+0x11082b  [0x55e3e1f9d82b]
  qbittorrent : ()+0x1109ab  [0x55e3e1f9d9ab]
  qbittorrent : ()+0x110d2f  [0x55e3e1f9dd2f]
  qbittorrent : ()+0xbe4b1  [0x55e3e1f4b4b1]
  qbittorrent : ()+0xb4cfe  [0x55e3e1f41cfe]
  /usr/lib/x86_64-linux-gnu/libc.so.6 : __libc_start_main()+0xf0  [0x7f4e0a8e6b90]
  qbittorrent : ()+0xb86de  [0x55e3e1f456de]

When i use default/empty profile, then qbt does not crash.

When i run qbt in default Flatpak configuration and only with symlinked BT_backup it crash. I have tried to apply BT_backup from my backups, oldest one nearly 9 months old, all crash.
ln -s /home/$(whoami)/.local/share/qBittorrent/BT_backup /home/$(whoami)/.var/app/org.qbittorrent.qBittorrent/data/qBittorrent/

When i not symlink it, then it not crash and use empty dir.

@abcfy2
Copy link

abcfy2 commented Jan 29, 2022

Sorry I don't know. I use virtualbox to run Debian 11 with KDE, and I can't reproduce your issue.

@luzpaz
Copy link
Contributor

luzpaz commented Oct 26, 2023

Is this issue still relevant. Please report back with tests on latest stable 4.6.0
TIA!

@luzpaz luzpaz added the Waiting info Waiting for participants to supply more info/fulfill template requirements label Oct 26, 2023
@slrslr
Copy link
Contributor Author

slrslr commented Oct 26, 2023

@luzpaz I no longer use that version, on 4.4.5 I no longer have such issue.

@luzpaz luzpaz removed the Waiting info Waiting for participants to supply more info/fulfill template requirements label Oct 27, 2023
@luzpaz luzpaz closed this as not planned Won't fix, can't repro, duplicate, stale Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Crash OS: Linux Issues specific to Linux distributions
Projects
None yet
Development

No branches or pull requests

5 participants