Summary: | Spectacle is unstable | ||
---|---|---|---|
Product: | [Applications] Spectacle | Reporter: | semlraug |
Component: | General | Assignee: | Noah Davis <noahadvs> |
Status: | RESOLVED DUPLICATE | ||
Severity: | normal | CC: | a.a.klevtsov, kde |
Priority: | NOR | Keywords: | qt6 |
Version: | 24.01.80 | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
semlraug
2023-12-02 17:03:50 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. 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 *** In your case, Spectacle probably doesn't eat all the RAM and freeze the system because you have the OOM killer. 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? Thanks for your quick reply. I have a browser open usually, indeed. So my computer is not modern enough to run spectacle :-( (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. 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. |