Bug 477924 - Spectacle is unstable
Summary: Spectacle is unstable
Status: RESOLVED DUPLICATE of bug 475894
Alias: None
Product: Spectacle
Classification: Applications
Component: General (show other bugs)
Version: 24.01.80
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Noah Davis
URL:
Keywords: qt6
Depends on:
Blocks:
 
Reported: 2023-12-02 17:03 UTC by semlraug
Modified: 2024-07-01 17:31 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description semlraug 2023-12-02 17:03:50 UTC
SUMMARY
***
Testing Plasma 6/QT 6: spectacle screen recording is unstable, crashes 
***


STEPS TO REPRODUCE
1. Use spectacle to make screen recordings
2. 
3. 

OBSERVED RESULT
I have seen spectacle crash, slow down the laptop, seen Plasma crash

EXPECTED RESULT
No crashes 

SOFTWARE/OS VERSIONS
Operating System: EndeavourOS 
KDE Plasma Version: 5.90.0
KDE Frameworks Version: 5.246.0
Qt Version: 6.6.1
Kernel Version: 6.6.3-arch1-1 (64-bit)
Graphics Platform: Wayland
Processors: 8 × Intel® Core™ i5-8250U CPU @ 1.60GHz
Memory: 3.7 GiB of RAM
Graphics Processor: Mesa Intel® UHD Graphics 620
Manufacturer: Acer
Product Name: Aspire A315-53
System Version: V2.02

ADDITIONAL INFORMATION
I'm sorry I can not be more descriptive but spectacle does indeed show erratic behaviour on my setup.

local/gst-plugin-pipewire 1:1.0.0-1
    Multimedia graph framework - pipewire plugin
local/kpipewire 5.90.0-1 (plasma)
    Components relating to pipewire use in Plasma
local/libpipewire 1:1.0.0-1
    Low-latency audio/video router and processor - client library
local/libwireplumber 0.4.16-1
    Session / policy manager implementation for PipeWire - client library
local/pipewire 1:1.0.0-1
    Low-latency audio/video router and processor
local/pipewire-alsa 1:1.0.0-1
    Low-latency audio/video router and processor - ALSA configuration
local/pipewire-audio 1:1.0.0-1
    Low-latency audio/video router and processor - Audio support
local/pipewire-jack 1:1.0.0-1
    Low-latency audio/video router and processor - JACK replacement
local/pipewire-pulse 1:1.0.0-1
    Low-latency audio/video router and processor - PulseAudio replacement
local/wireplumber 0.4.16-1
    Session / policy manager implementation for PipeWire


Some examples from logs connected to making a screen recording:
spectacle[3310]: kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1 
spectacle[3310]: *** pw_stream_destroy called from wrong context, check thread and locking: Not in loop 
spectacle[3310]: *** impl_ext_end_proxy called from wrong context, check thread and locking: Not in loop 
spectacle[3310]: 'pthread_equal(impl->thread, thread_id)' failed at ../pipewire/spa/plugins/support/loop.c:363 loop_leave()
[...]
kernel: [   3386]  1000  3386  1080271   258435  3362816        0           200 spectacle 
oom-kill:constraint=CONSTRAINT_NONE,nodemask(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/user@1000.service/app.slice/app-org.k
de.yakuake@autostart.service,task=spectacle,pid=3386,uid=1000 
kernel: Out of memory: Killed process 3386 (spectacle) total-vm:4321084kB, anon-rss:1028296kB, file-rss:1344kB, shmem-rss:4100kB, UID:1000 pgtables:3284kB oom_score_adj:20
0

[libvpx @ 0x7f5184461c80] v1.13.1
[AVFormatContext @ 0x7f5184634100] Unable to choose an output format for ''; use a standard extension for the filename or specify the format manually.



plasmashell[919]: kpipewire_logging: PipeWire remote error:  -2 target not found 
plasmashell[919]: kpipewire_logging: PipeWire remote error:  -2 unknown resource 5 op:7 
plasmashell[919]: kpipewire_logging: PipeWire remote error:  -2 target not found 
plasmashell[919]: kpipewire_logging: PipeWire remote error:  -2 unknown resource 5 op:7 
plasmashell[919]: kpipewire_logging: PipeWire remote error:  -2 target not found 
plasmashell[919]: kpipewire_logging: PipeWire remote error:  -2 unknown resource 5 op:7 
plasmashell[919]: kpipewire_logging: PipeWire remote error:  -2 target not found 
plasmashell[919]: kpipewire_logging: PipeWire remote error:  -2 unknown resource 5 op:7 
wireplumber[1064]: <WpSiStandardLink:0x5593deea7860> 1 of 1 PipeWire links failed to activate 
pipewire[1061]: mod.client-node: 0x5596b76235a0: unknown peer 0x5596b763a0e0 fd:110 
pipewire[1061]: mod.client-node: 0x5596b74af250: unknown peer 0x5596b7639f20 fd:116 
plasmashell[919]: kpipewire_logging: PipeWire remote error:  -2 target not found 
plasmashell[919]: kpipewire_logging: PipeWire remote error:  -2 unknown resource 6 op:7 
kernel: PipeWireProduce invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=200 
kernel: CPU: 0 PID: 3710 Comm: PipeWireProduce Not tainted 6.6.3-arch1-1 #1 6156c717f7d423f5954ce718462aaaaa43b9110d 
kernel: [   1061]  1000  1061    51803     2638   151552        0           200 pipewire 
kernel: [   1430]  1000  1430    27847     1991   110592        0           200 pipewire-pulse
Comment 1 semlraug 2023-12-02 17:13:10 UTC
Just did another test, wanted to start a screen recording of the entire screen. Almost immediately spectacle crashed:

dec 02 18:06:05 willem-aspirea31553 spectacle[2865]: [libvpx-vp9 @ 0x7fa350460a00] v1.13.1
dec 02 18:06:06 willem-aspirea31553 spectacle[2865]: kpipewire_dmabuf_logging: eglChooseConfig returned this many configs: 1
dec 02 18:06:08 willem-aspirea31553 kwin_wayland[771]: kwin_libinput: Libinput: event9  - ELAN0504:01 04F3:3091 Touchpad: client bug: event processing lagging behind by 31ms, your system is too slow
dec 02 18:06:14 willem-aspirea31553 kernel: gmain invoked oom-killer: gfp_mask=0x140cca(GFP_HIGHUSER_MOVABLE|__GFP_COMP), order=0, oom_score_adj=0
dec 02 18:06:14 willem-aspirea31553 kernel: CPU: 2 PID: 512 Comm: gmain Not tainted 6.6.3-arch1-1 #1 6156c717f7d423f5954ce718462aaaaa43b9110d
dec 02 18:06:14 willem-aspirea31553 kernel: Hardware name: Acer Aspire A315-53/Metapod_KL, BIOS V2.02 01/03/2019
dec 02 18:06:14 willem-aspirea31553 kernel: Call Trace:
dec 02 18:06:14 willem-aspirea31553 kernel:  <TASK>
dec 02 18:06:14 willem-aspirea31553 kernel:  dump_stack_lvl+0x47/0x60
dec 02 18:06:14 willem-aspirea31553 kernel:  dump_header+0x4a/0x240
dec 02 18:06:14 willem-aspirea31553 kernel:  oom_kill_process+0xf9/0x190
dec 02 18:06:14 willem-aspirea31553 kernel:  out_of_memory+0x246/0x590
dec 02 18:06:14 willem-aspirea31553 kernel:  __alloc_pages_slowpath.constprop.0+0xa5f/0xd90
dec 02 18:06:14 willem-aspirea31553 kernel:  __alloc_pages+0x32d/0x350
dec 02 18:06:14 willem-aspirea31553 kernel:  folio_alloc+0x1b/0x50
dec 02 18:06:14 willem-aspirea31553 kernel:  __filemap_get_folio+0x13e/0x2e0
dec 02 18:06:14 willem-aspirea31553 kernel:  filemap_fault+0x153/0xb60
dec 02 18:06:14 willem-aspirea31553 kernel:  __do_fault+0x30/0x130
dec 02 18:06:14 willem-aspirea31553 kernel:  do_fault+0x29b/0x450
dec 02 18:06:14 willem-aspirea31553 kernel:  __handle_mm_fault+0x796/0xd90
dec 02 18:06:14 willem-aspirea31553 kernel:  handle_mm_fault+0x17f/0x360
dec 02 18:06:14 willem-aspirea31553 kernel:  do_user_addr_fault+0x1ed/0x660
dec 02 18:06:14 willem-aspirea31553 kernel:  exc_page_fault+0x7f/0x180
dec 02 18:06:14 willem-aspirea31553 kernel:  asm_exc_page_fault+0x26/0x30
dec 02 18:06:14 willem-aspirea31553 kernel: RIP: 0033:0x7f0bfe222e70
dec 02 18:06:14 willem-aspirea31553 kernel: Code: Unable to access opcode bytes at 0x7f0bfe222e46.
dec 02 18:06:14 willem-aspirea31553 kernel: RSP: 002b:00007f0bfc9fe328 EFLAGS: 00010202
dec 02 18:06:14 willem-aspirea31553 kernel: RAX: 0000556a86b6ee90 RBX: 0000000000000001 RCX: 0000000000000001
dec 02 18:06:14 willem-aspirea31553 kernel: RDX: 0000000000000000 RSI: 0000000000000001 RDI: 0000556a86b75e80
dec 02 18:06:14 willem-aspirea31553 kernel: RBP: 0000000000000000 R08: 0000000000000000 R09: 0000000000000000
dec 02 18:06:14 willem-aspirea31553 kernel: R10: 00007f0bfc9fe240 R11: 00007ffc50dc5080 R12: 0000000000000002
dec 02 18:06:14 willem-aspirea31553 kernel: R13: 0000556a86b75f90 R14: 0000000000000002 R15: 0000556a86b75e80
dec 02 18:06:14 willem-aspirea31553 kernel:  </TASK>
dec 02 18:06:14 willem-aspirea31553 kernel: Mem-Info:
dec 02 18:06:14 willem-aspirea31553 kernel: active_anon:285343 inactive_anon:392023 isolated_anon:0
                                             active_file:296 inactive_file:736 isolated_file:0
                                             unevictable:194534 dirty:64 writeback:0
                                             slab_reclaimable:19944 slab_unreclaimable:23960
                                             mapped:16174 shmem:214954 pagetables:7303
                                             sec_pagetables:0 bounce:0
                                             kernel_misc_reclaimable:0
                                             free:21985 free_pcp:1231 free_cma:0
dec 02 18:06:14 willem-aspirea31553 kernel: Node 0 active_anon:1141372kB inactive_anon:1568092kB active_file:1512kB inactive_file:2780kB unevictable:778136kB isolated(anon):0kB isolated(file):0kB mapped:64696kB dirty:256kB writeback:0k>
dec 02 18:06:14 willem-aspirea31553 kernel: Node 0 DMA free:14848kB boost:0kB min:268kB low:332kB high:396kB reserved_highatomic:0KB active_anon:0kB inactive_anon:0kB active_file:0kB inactive_file:0kB unevictable:0kB writepending:0kB p>
dec 02 18:06:14 willem-aspirea31553 kernel: lowmem_reserve[]: 0 2043 3743 3743 3743
dec 02 18:06:14 willem-aspirea31553 kernel: Node 0 DMA32 free:44916kB boost:0kB min:36732kB low:45912kB high:55092kB reserved_highatomic:2048KB active_anon:587000kB inactive_anon:932464kB active_file:420kB inactive_file:768kB unevictab>
dec 02 18:06:14 willem-aspirea31553 kernel: lowmem_reserve[]: 0 0 1700 1700 1700
dec 02 18:06:14 willem-aspirea31553 kernel: Node 0 Normal free:28176kB boost:0kB min:30580kB low:38224kB high:45868kB reserved_highatomic:2048KB active_anon:554848kB inactive_anon:635152kB active_file:964kB inactive_file:2184kB unevict>
dec 02 18:06:14 willem-aspirea31553 kernel: lowmem_reserve[]: 0 0 0 0 0
dec 02 18:06:14 willem-aspirea31553 kernel: Node 0 DMA: 0*4kB 0*8kB 0*16kB 0*32kB 0*64kB 0*128kB 0*256kB 1*512kB (U) 0*1024kB 1*2048kB (M) 3*4096kB (M) = 14848kB
dec 02 18:06:14 willem-aspirea31553 kernel: Node 0 DMA32: 260*4kB (UMEH) 347*8kB (UMEH) 703*16kB (UMEH) 322*32kB (UMEH) 116*64kB (UMEH) 61*128kB (ME) 3*256kB (ME) 0*512kB 3*1024kB (E) 0*2048kB 0*4096kB = 44440kB
dec 02 18:06:14 willem-aspirea31553 kernel: Node 0 Normal: 674*4kB (UE) 445*8kB (UEH) 185*16kB (UE) 239*32kB (UMEH) 118*64kB (UMH) 18*128kB (M) 3*256kB (M) 2*512kB (M) 0*1024kB 0*2048kB 0*4096kB = 28512kB
dec 02 18:06:14 willem-aspirea31553 kernel: Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=1048576kB
dec 02 18:06:14 willem-aspirea31553 kernel: Node 0 hugepages_total=0 hugepages_free=0 hugepages_surp=0 hugepages_size=2048kB
dec 02 18:06:14 willem-aspirea31553 kernel: 216353 total pagecache pages
dec 02 18:06:14 willem-aspirea31553 kernel: 0 pages in swap cache
dec 02 18:06:14 willem-aspirea31553 kernel: Free swap  = 0kB
dec 02 18:06:14 willem-aspirea31553 kernel: Total swap = 0kB
dec 02 18:06:14 willem-aspirea31553 kernel: 1016718 pages RAM
dec 02 18:06:14 willem-aspirea31553 kernel: 0 pages HighMem/MovableOnly
dec 02 18:06:14 willem-aspirea31553 kernel: 45366 pages reserved
dec 02 18:06:14 willem-aspirea31553 kernel: 0 pages cma reserved
dec 02 18:06:14 willem-aspirea31553 kernel: 0 pages hwpoisoned
dec 02 18:06:14 willem-aspirea31553 kernel: Tasks state (memory values in pages):
dec 02 18:06:14 willem-aspirea31553 kernel: [  pid  ]   uid  tgid total_vm      rss pgtables_bytes swapents oom_score_adj name
dec 02 18:06:14 willem-aspirea31553 kernel: [    341]     0   341    16696      389   122880        0          -250 systemd-journal
dec 02 18:06:14 willem-aspirea31553 kernel: [    381]     0   381     8989      797    94208        0         -1000 systemd-udevd
dec 02 18:06:14 willem-aspirea31553 kernel: [    452]   974   452    22880      320    90112        0             0 systemd-timesyn
dec 02 18:06:14 willem-aspirea31553 kernel: [    471]   970   471     2194      181    61440        0             0 avahi-daemon
dec 02 18:06:14 willem-aspirea31553 kernel: [    472]    81   472     2414      410    61440        0          -900 dbus-daemon
dec 02 18:06:14 willem-aspirea31553 kernel: [    474]     0   474    77534      825   106496        0             0 power-profiles-
dec 02 18:06:14 willem-aspirea31553 kernel: [    475]     0   475     4485      384    73728        0             0 systemd-logind
dec 02 18:06:14 willem-aspirea31553 kernel: [    482]   970   482     2194      227    57344        0             0 avahi-daemon
dec 02 18:06:14 willem-aspirea31553 kernel: [    485]     0   485    35139     6959   180224        0             0 firewalld
dec 02 18:06:14 willem-aspirea31553 kernel: [    486]   102   486    96007      772   114688        0             0 polkitd
dec 02 18:06:14 willem-aspirea31553 kernel: [    502]     0   502   103902     1982   172032        0             0 NetworkManager
dec 02 18:06:14 willem-aspirea31553 kernel: [    583]     0   583     4550      444    73728        0             0 wpa_supplicant
dec 02 18:06:14 willem-aspirea31553 kernel: [    584]     0   584     6769      352    86016        0             0 cupsd
dec 02 18:06:14 willem-aspirea31553 kernel: [    589]     0   589    38963     1189   147456        0             0 sddm
dec 02 18:06:14 willem-aspirea31553 kernel: [    592]     0   592   377968     7829   413696        0             0 Xorg
dec 02 18:06:14 willem-aspirea31553 kernel: [    646]     0   646   117254     1749   143360        0             0 udisksd
dec 02 18:06:14 willem-aspirea31553 kernel: [    656]     0   656    78627     1149   114688        0             0 upowerd
dec 02 18:06:14 willem-aspirea31553 kernel: [    697]   133   697     5767      192    53248        0             0 rtkit-daemon
dec 02 18:06:14 willem-aspirea31553 kernel: [    727]     0   727    19507      684   131072        0             0 sddm-helper
dec 02 18:06:14 willem-aspirea31553 kernel: [    730]  1000   730     5247      634    86016        0           100 systemd
dec 02 18:06:14 willem-aspirea31553 kernel: [    734]  1000   734     5807      473    73728        0           100 (sd-pam)
dec 02 18:06:14 willem-aspirea31553 kernel: [    749]  1000   749   336535     5522   475136        0             0 kwalletd6
dec 02 18:06:14 willem-aspirea31553 kernel: [    750]  1000   750    48652     1700   212992        0             0 startplasma-way
dec 02 18:06:14 willem-aspirea31553 kernel: [    758]  1000   758     2333      314    57344        0           200 dbus-daemon
dec 02 18:06:14 willem-aspirea31553 kernel: [    767]  1000   767    37474     1076   135168        0           200 kwin_wayland_wr
dec 02 18:06:14 willem-aspirea31553 kernel: [    770]  1000   770 67187960     3886  1138688        0           200 baloo_file
dec 02 18:06:14 willem-aspirea31553 kernel: [    771]  1000   771   756510    30250  1548288        0           200 kwin_wayland
dec 02 18:06:14 willem-aspirea31553 kernel: [    780]  1000   780   139038     2261   167936        0           200 xdg-desktop-por
dec 02 18:06:14 willem-aspirea31553 kernel: [    785]  1000   785   133355      771   135168        0           200 xdg-document-po
dec 02 18:06:14 willem-aspirea31553 kernel: [    790]  1000   790    76521      719    90112        0           200 xdg-permission-
dec 02 18:06:14 willem-aspirea31553 kernel: [    797]  1000   797      622       96    45056        0           200 fusermount3
dec 02 18:06:14 willem-aspirea31553 kernel: [    834]  1000   834   233809     8765   385024        0           200 Xwayland
dec 02 18:06:14 willem-aspirea31553 kernel: [    889]  1000   889   280912     5060   450560        0           200 ksmserver
dec 02 18:06:14 willem-aspirea31553 kernel: [    893]  1000   893   566796     7342   614400        0           200 kded6
dec 02 18:06:14 willem-aspirea31553 kernel: [    939]  1000   939  1349098    70490  1818624        0           200 plasmashell
dec 02 18:06:14 willem-aspirea31553 kernel: [    950]  1000   950    57245      187    77824        0           200 dconf-service
dec 02 18:06:14 willem-aspirea31553 kernel: [    987]  1000   987   157761     2563   258048        0           200 kactivitymanage
dec 02 18:06:14 willem-aspirea31553 kernel: [    988]  1000   988    56602      593   147456        0           200 gmenudbusmenupr
dec 02 18:06:14 willem-aspirea31553 kernel: [    989]  1000   989   336003     5013   475136        0           200 polkit-kde-auth
dec 02 18:06:14 willem-aspirea31553 kernel: [    990]  1000   990   162267     2593   278528        0           200 org_kde_powerde
dec 02 18:06:14 willem-aspirea31553 kernel: [    991]  1000   991   531442    19468   753664        0           200 xdg-desktop-por
dec 02 18:06:14 willem-aspirea31553 kernel: [    992]  1000   992    56211      672   147456        0           200 xembedsniproxy
dec 02 18:06:14 willem-aspirea31553 kernel: [   1013]  1000  1013     1952      190    53248        0           200 xsettingsd
dec 02 18:06:14 willem-aspirea31553 kernel: [   1017]  1000  1017    12572      384    94208        0           200 obexd
dec 02 18:06:14 willem-aspirea31553 kernel: [   1081]  1000  1081    51609     1897   143360        0           200 pipewire
dec 02 18:06:14 willem-aspirea31553 kernel: [   1086]  1000  1086   191970     3169   323584        0           200 wireplumber
dec 02 18:06:14 willem-aspirea31553 kernel: [   1126]  1000  1126   162637     6552   315392        0           200 firewall-applet
dec 02 18:06:14 willem-aspirea31553 kernel: [   1131]  1000  1131   149054     2742   323584        0           200 kdeconnectd
dec 02 18:06:14 willem-aspirea31553 kernel: [   1133]  1000  1133   412939    11313   602112        0           200 yakuake
dec 02 18:06:14 willem-aspirea31553 kernel: [   1145]  1000  1145    77358      730   102400        0           200 agent
dec 02 18:06:14 willem-aspirea31553 kernel: [   1146]  1000  1146   280952     5574   462848        0           200 kaccess
dec 02 18:06:14 willem-aspirea31553 kernel: [   1447]  1000  1447    26635      840    94208        0           200 pipewire-pulse
dec 02 18:06:14 willem-aspirea31553 kernel: [   1624]  1000  1624  1297539    55833  1507328        0           200 dropbox
dec 02 18:06:14 willem-aspirea31553 kernel: [   1665]  1000  1665  3017813    66953  2662400        0           200 firefox
dec 02 18:06:14 willem-aspirea31553 kernel: [   1782]  1000  1782    95466      256    98304        0           200 at-spi-bus-laun
dec 02 18:06:14 willem-aspirea31553 kernel: [   1795]  1000  1795    60866     2368   303104        0           200 Socket Process
dec 02 18:06:14 willem-aspirea31553 kernel: [   1817]  1000  1817   629497     8914   790528        0           167 Privileged Cont
dec 02 18:06:14 willem-aspirea31553 kernel: [   1884]  1000  1884   619614     5850   655360        0           100 WebExtensions
dec 02 18:06:14 willem-aspirea31553 kernel: [   1948]  1000  1948   120339     2971   446464        0           200 Utility Process
dec 02 18:06:14 willem-aspirea31553 kernel: [   2279]  1000  2279     2147      512    57344        0           200 bash
dec 02 18:06:14 willem-aspirea31553 kernel: [   2642]  1000  2642   119825     2747   430080        0           200 RDD Process
dec 02 18:06:14 willem-aspirea31553 kernel: [   2728]  1000  2728   652370    40476  1318912        0           100 Isolated Web Co
dec 02 18:06:14 willem-aspirea31553 kernel: [   2848]  1000  2848 67445553     6514  1593344        0           200 baloorunner
dec 02 18:06:14 willem-aspirea31553 kernel: [   2865]  1000  2865   919316   184515  2535424        0           200 spectacle
dec 02 18:06:14 willem-aspirea31553 kernel: [   3513]  1000  3513   523130    18025   708608        0           200 dolphin
dec 02 18:06:14 willem-aspirea31553 kernel: [   3932]  1000  3932   621229     5619   598016        0           167 Isolated Web Co
dec 02 18:06:14 willem-aspirea31553 kernel: [   4637]  1000  4637   700119    24910  1138688        0           200 systemsettings
dec 02 18:06:14 willem-aspirea31553 kernel: [   5044]  1000  5044   615435     5306   565248        0           100 Isolated Servic
dec 02 18:06:14 willem-aspirea31553 kernel: [   5102]  1000  5102   709311    27846  1290240        0           167 Isolated Web Co
dec 02 18:06:14 willem-aspirea31553 kernel: oom-kill:constraint=CONSTRAINT_NONE,nodemask=(null),cpuset=/,mems_allowed=0,global_oom,task_memcg=/user.slice/user-1000.slice/user@1000.service/app.slice/app-org.kde.spectacle.service,task=sp>
dec 02 18:06:14 willem-aspirea31553 kernel: Out of memory: Killed process 2865 (spectacle) total-vm:3677264kB, anon-rss:733248kB, file-rss:320kB, shmem-rss:4492kB, UID:1000 pgtables:2476kB oom_score_adj:200
dec 02 18:06:08 willem-aspirea31553 kwin_wayland[771]: kwin_libinput: Libinput: client bug: timer event9 hold: scheduled expiry is in the past (-38ms), your system is too slow
dec 02 18:06:14 willem-aspirea31553 systemd-journald[341]: Under memory pressure, flushing caches.
dec 02 18:06:09 willem-aspirea31553 kwin_wayland[771]: kwin_libinput: Libinput: client bug: timer event9 hold: scheduled expiry is in the past (-60ms), your system is too slow
dec 02 18:06:14 willem-aspirea31553 kwin_wayland[771]: kwin_libinput: Libinput: client bug: timer event9 tap: scheduled expiry is in the past (-40ms), your system is too slow
dec 02 18:06:14 willem-aspirea31553 kwin_wayland[771]: kwin_libinput: Libinput: client bug: timer event9 hold: scheduled expiry is in the past (-187ms), your system is too slow
dec 02 18:06:14 willem-aspirea31553 kded6[893]: Service  ":1.66" unregistered
dec 02 18:06:14 willem-aspirea31553 systemd[1]: user@1000.service: A process of this unit has been killed by the OOM killer.
dec 02 18:06:14 willem-aspirea31553 systemd[730]: app-org.kde.spectacle.service: A process of this unit has been killed by the OOM killer.
dec 02 18:06:14 willem-aspirea31553 systemd[730]: app-org.kde.spectacle.service: Main process exited, code=killed, status=9/KILL
dec 02 18:06:14 willem-aspirea31553 systemd[730]: app-org.kde.spectacle.service: Failed with result 'oom-kill'.
dec 02 18:06:14 willem-aspirea31553 systemd[730]: app-org.kde.spectacle.service: Consumed 33.662s CPU time.
Comment 2 Noah Davis 2023-12-03 11:58:09 UTC
I see that Spectacle is being killed by the OOM killer and your PC specs don't look very high, so this is probably a duplicate of bug 475894.

*** This bug has been marked as a duplicate of bug 475894 ***
Comment 3 Noah Davis 2023-12-03 11:59:32 UTC
In your case, Spectacle probably doesn't eat all the RAM and freeze the system because you have the OOM killer.
Comment 4 Noah Davis 2023-12-03 12:39:03 UTC
Given that you only have 3.7 GiB of RAM, there's also a possibility that you didn't have enough RAM to start a recording even if there wasn't a bug. Spectacle usually needs 200-600 MiB of RAM while recording, depending on your system specs and what encoder is being used. Were you running anything RAM heavy like a web browser?
Comment 5 semlraug 2023-12-03 13:01:19 UTC
Thanks for your quick reply.

I have a browser open usually, indeed.

So my computer is not modern enough to run spectacle :-(
Comment 6 Noah Davis 2023-12-04 07:52:55 UTC
(In reply to semlraug from comment #5)
> Thanks for your quick reply.
> 
> I have a browser open usually, indeed.
> 
> So my computer is not modern enough to run spectacle :-(

It depends. If you just want screenshots, you should have no problems. If you have more than 600 MiB of spare RAM before you start recording, you should also be able to record.
Comment 7 semlraug 2023-12-04 08:02:06 UTC
 Thank you for your help.

At EndeavorOS we've been looking at spectacle and testing it under qt6/Plasma6. I've been able to get my spectacle to run somewhat better by setting up a swap file.

There is however a bug that will crop up, where spectacle crashes, even on machines with 32gib memory. That bug will soon be reported separately here.

Thanks for all your hard work.

For now we should close this bug report, I think.