Bug#1025675: TIAtracker 100% CPU usage (QThreat) - no track loaded
Package: tiatracker
Version: 1.3-3
Debian GNU/Linux bookworm/sid
Kernel: Linux 6.0.0-5-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.0.10-1 (2022-11-26) x86_64 GNU/Linux
libc6: 2.36-6
libqt5core5a: 5.15.6+dfsg-4
ALSA only
As soon as TIATracker is started, it reaches 100% CPU usage. It keeps using 100% of CPU (1 logical processor) for as long as it remains open; even without any track loaded or playing. Apart from CPU usage it seems to work as it should, no other issues.
I tried to start it from command line also, /usr/bin/TIATracker, I only get a warning, "Unable to open keyboard shortcuts file keymap.cfg!".
Clean installation.
Examining threats, it seems that QThread produces the problem:
ps output:
%CPU %MEM START TIME COMMAND
102 0.7 11:50 0:04 TIATracker
$ ps -o pcpu,stat,time,comm -Tp $TIAproc
%CPU STAT TIME COMMAND
0.0 SLl 00:00:00 TIATracker
0.0 SLl 00:00:00 QXcbEventQueue
0.0 SLl 00:00:00 QDBusConnection
0.1 SNLl 00:00:00 SDLHotplugALSA
0.4 SLl 00:00:02 SDLAudioP1
100 RLl 00:08:53 QThread
0.0 SNLl 00:00:00 TIATrac:disk$0
0.0 SLl 00:00:00 TIATracker:sh0
0.0 SLl 00:00:00 TIATracker:sh1
0.0 SLl 00:00:00 TIATracker:sh2
0.0 SLl 00:00:00 TIATracker:sh3
0.0 SLl 00:00:00 TIATracker:sh4
0.0 SLl 00:00:00 TIATracker:sh5
Reply to: