Summary: | Holding the cursor on the end of any video's progress bar causes Haruna to repeat the video hundred of times per second, causing the app to crash | ||
---|---|---|---|
Product: | [Applications] Haruna | Reporter: | Fernando M. Muniz <fernandommuniz> |
Component: | generic | Assignee: | george fb <georgefb899> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | CC: | georgefb899, john.kizer |
Priority: | NOR | ||
Version First Reported In: | 1.3.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
This doesn't happen with small files.
Another video. It crashes with light Short videos. |
If something crashed, we need a backtrace of it so we can figure out what's going on. Can you please attach a backtrace of the crash using the coredumpctl command-line program, as detailed in https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl? Thanks! I've used journalctl -f then opened a heavy video and kept dragging around the end of the progress bar until it crashed. [tuti@archlinux ~]$ journalctl -f fev 05 19:07:55 archlinux systemd[845]: Started Haruna - Media Player. fev 05 19:07:55 archlinux systemd[845]: Started app-flatpak-org.kde.haruna-21224.scope. fev 05 19:07:55 archlinux xdg-desktop-portal-kde[1137]: xdp-kde-settings: Key "menuFont" doesn't exist fev 05 19:07:55 archlinux xdg-desktop-portal-kde[1137]: xdp-kde-settings: Key "font" doesn't exist fev 05 19:07:55 archlinux xdg-desktop-portal-kde[1137]: xdp-kde-settings: Key "activeFont" doesn't exist fev 05 19:07:55 archlinux xdg-desktop-portal-kde[1137]: xdp-kde-settings: Key "toolBarFont" doesn't exist fev 05 19:07:55 archlinux xdg-desktop-portal-kde[1137]: xdp-kde-settings: Key "smallestReadableFont" doesn't exist fev 05 19:07:57 archlinux systemd[845]: app-flatpak-org.kde.haruna-21224.scope: Consumed 3.522s CPU time, 1G memory peak. fev 05 19:08:00 archlinux systemd[845]: Started Konsole - Terminal. fev 05 19:08:00 archlinux systemd[845]: Started app-org.kde.konsole-21307.scope. fev 05 19:08:18 archlinux systemd[845]: Started Haruna - Media Player. fev 05 19:08:18 archlinux systemd[845]: Started app-flatpak-org.kde.haruna-21340.scope. fev 05 19:08:18 archlinux xdg-desktop-portal-kde[1137]: xdp-kde-settings: Key "menuFont" doesn't exist fev 05 19:08:18 archlinux xdg-desktop-portal-kde[1137]: xdp-kde-settings: Key "font" doesn't exist fev 05 19:08:18 archlinux xdg-desktop-portal-kde[1137]: xdp-kde-settings: Key "activeFont" doesn't exist fev 05 19:08:18 archlinux xdg-desktop-portal-kde[1137]: xdp-kde-settings: Key "toolBarFont" doesn't exist fev 05 19:08:18 archlinux xdg-desktop-portal-kde[1137]: xdp-kde-settings: Key "smallestReadableFont" doesn't exist fev 05 19:08:32 archlinux kernel: QSGRenderThread[21393]: segfault at 0 ip 00007b77ae300f11 sp 00007b77d91f0250 error 4 in iHD_drv_video.so[b00f11,7b77ad96f000+a8f000] likely on CPU 3 (core 3, socket 0) fev 05 19:08:32 archlinux kernel: Code: 55 41 54 49 89 d4 53 89 f3 48 83 ec 28 48 89 45 b8 e8 73 f4 66 ff 85 c0 0f 85 61 cb 69 ff 49 8b 47 10 41 8b 7f 18 45 8b 6f 1c <8b> 00 89 7d c0 0f b7 fb 89 7d c4 89 45 c8 44 39 e8 0f 84 5a 01 00 fev 05 19:08:32 archlinux systemd-coredump[21416]: Process 21353 (haruna) of user 1000 terminated abnormally with signal 11/SEGV, processing... fev 05 19:08:32 archlinux systemd[1]: Started Process Core Dump (PID 21416/UID 0). fev 05 19:08:32 archlinux systemd[1]: Started Pass systemd-coredump journal entries to relevant user for potential DrKonqi handling. fev 05 19:08:33 archlinux systemd-coredump[21417]: [🡕] Process 21353 (haruna) of user 1000 dumped core. Stack trace of thread 41: #0 0x00007b77ae300f11 n/a (n/a + 0x0) #1 0x00007b77ade9622a n/a (n/a + 0x0) #2 0x00007b77adc03fe3 n/a (n/a + 0x0) #3 0x00007b77adbe2ad6 n/a (n/a + 0x0) #4 0x00007b77adbebf90 n/a (n/a + 0x0) #5 0x00007b78267d957c n/a (n/a + 0x0) #6 0x00007b7823588a5d n/a (n/a + 0x0) #7 0x00007b7823518528 n/a (n/a + 0x0) #8 0x00007b7823524aaf n/a (n/a + 0x0) #9 0x00007b7823528f3b n/a (n/a + 0x0) #10 0x00007b782352c7af n/a (n/a + 0x0) #11 0x00007b7823519e36 n/a (n/a + 0x0) #12 0x00007b7823536fb9 n/a (n/a + 0x0) #13 0x00007b782a2576be n/a (n/a + 0x0) #14 0x00007b7826507d24 n/a (n/a + 0x0) #15 0x00007b7824404360 n/a (n/a + 0x0) #16 0x00007b78262df476 n/a (n/a + 0x0) #17 0x00007b7826510aed n/a (n/a + 0x0) #18 0x00007b7826512003 n/a (n/a + 0x0) #19 0x00007b782456862f n/a (n/a + 0x0) #20 0x00007b7823c98e0e n/a (n/a + 0x0) #21 0x00007b7823d1d7d4 n/a (n/a + 0x0) ELF object binary architecture: AMD x86-64 fev 05 19:08:33 archlinux systemd[1]: systemd-coredump@1-21416-0.service: Deactivated successfully. fev 05 19:08:33 archlinux systemd[1]: systemd-coredump@1-21416-0.service: Consumed 674ms CPU time, 460.9M memory peak. fev 05 19:08:33 archlinux systemd[845]: app-org.kde.haruna@1ebe687c96e542f0b93794616410d7b5.service: Main process exited, code=exited, status=139/n/a fev 05 19:08:33 archlinux systemd[845]: app-org.kde.haruna@1ebe687c96e542f0b93794616410d7b5.service: Failed with result 'exit-code'. fev 05 19:08:33 archlinux systemd[845]: app-flatpak-org.kde.haruna-21340.scope: Consumed 6.268s CPU time, 1G memory peak. fev 05 19:08:33 archlinux drkonqi-coredump-processor[21418]: "/app/bin/haruna" 21353 "/var/lib/systemd/coredump/core.haruna.1000.d3525b1bb7194e329e8c20fe8c5c8ac4.21353.1738793312000000.zst" fev 05 19:08:33 archlinux systemd[845]: Started Launch DrKonqi for a systemd-coredump crash (PID 21418/UID 0). fev 05 19:08:33 archlinux systemd[1]: drkonqi-coredump-processor@1-21416-0.service: Deactivated successfully. fev 05 19:08:33 archlinux drkonqi-coredump-launcher[21429]: Unable to find file for pid 21353 expected at "kcrash-metadata/haruna.d3525b1bb7194e329e8c20fe8c5c8ac4.21353.ini" fev 05 19:08:33 archlinux drkonqi-coredump-launcher[21429]: Nothing handled the dump :O First, stop deleting the template and provide the info requested when reporting bugs. Provide sample file. Also read https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports (In reply to george fb from comment #3) > First, stop deleting the template and provide the info requested when > reporting bugs. > Provide sample file. > > Also read > https://community.kde.org/Guidelines_and_HOWTOs/Debugging/ > How_to_create_useful_crash_reports I downloaded this video with yt-dlp https://www.youtube.com/watch?v=LXb3EKWsInQ Then did exactly as the Description did. Or rather, I did exactly as shown in the attached video and explained in the Description I can't reproduce. Created attachment 178091 [details]
Another video.
There's the point posting videos showing the bug. What you need to post is a backtrace with debug symbols installed, as described in the page https://community.kde.org/Guidelines_and_HOWTOs/Debugging/How_to_create_useful_crash_reports Created attachment 178092 [details] It crashes with light Short videos. Seems like the real issue is that Haruna panics when holding the end of the progress bar because it will replay the video multiple times under per second, which crashes the player. https://www.youtube.com/shorts/zT0SRSh0JIo The only solution seems to be not allowing videos to replay if the user is holding the progress bar, otherwise it will replay until it crashes or hard resets the video. For the last time, you need to provide a backtrace while you have debug symbols installed. And don't change the status however you see fit. I'm marking this for later, since I think these crashes are just a symptom of a badly designed area. $ coredumpctl gdb 827404 PID: 827404 (haruna) UID: 1000 (tuti) GID: 1000 (tuti) Signal: 11 (SEGV) Timestamp: Tue 2025-05-27 06:09:16 -03 (43s ago) Command Line: haruna $'/home/tuti/Área de trabalho/COSTA RICA IN 4K 60fps HDR (ULTRA HD) [LXb3EKWsInQ].webm' Executable: /app/bin/haruna Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-flatpak-org.kde.haruna-317995022.scope Unit: user@1000.service User Unit: app-flatpak-org.kde.haruna-317995022.scope Slice: user-1000.slice Owner UID: 1000 (tuti) Boot ID: 0368951e84b24763ab1072a71b0fe077 Machine ID: a4202c1e08d642108713437f5a73242f Hostname: archlinux Storage: /var/lib/systemd/coredump/core.haruna.1000.0368951e84b24763ab1072a71b0fe077.827404.1748336956000000.zst (present) Size on Disk: 70.4M Message: Process 827404 (haruna) of user 1000 dumped core. Stack trace of thread 45: #0 0x000070f7c615a5d1 n/a (/usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so + 0xb5a5d1) #1 0x000070f7c5cc672a n/a (/usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so + 0x6c672a) #2 0x000070f7c5a33623 n/a (/usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so + 0x433623) #3 0x000070f7c5a12236 n/a (/usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so + 0x412236) #4 0x000070f7c5a1b700 n/a (/usr/lib/x86_64-linux-gnu/dri/intel-vaapi-driver/iHD_drv_video.so + 0x41b700) #5 0x000070f85269f57c n/a (/usr/lib/x86_64-linux-gnu/libva.so.2.2200.0 + 0x1057c) #6 0x000070f84fd8383d n/a (/app/lib/libmpv.so.2.5.0 + 0x18383d) #7 0x000070f84fd1e228 n/a (/app/lib/libmpv.so.2.5.0 + 0x11e228) #8 0x000070f84fd2a40f n/a (/app/lib/libmpv.so.2.5.0 + 0x12a40f) #9 0x000070f84fd2f9bb n/a (/app/lib/libmpv.so.2.5.0 + 0x12f9bb) #10 0x000070f84fd3234f n/a (/app/lib/libmpv.so.2.5.0 + 0x13234f) #11 0x000070f84fd1fb06 n/a (/app/lib/libmpv.so.2.5.0 + 0x11fb06) #12 0x000070f84fd3cbf9 n/a (/app/lib/libmpv.so.2.5.0 + 0x13cbf9) #13 0x000070f8569666fe n/a (/app/lib/libMpvQt.so.1.0.1 + 0xd6fe) #14 0x000070f852d20c04 n/a (/usr/lib/x86_64-linux-gnu/libQt6Quick.so.6.9.0 + 0x520c04) #15 0x000070f850c0e220 n/a (/usr/lib/x86_64-linux-gnu/libQt6Core.so.6.9.0 + 0x20e220) #16 0x000070f852aee5c6 n/a (/usr/lib/x86_64-linux-gnu/libQt6Quick.so.6.9.0 + 0x2ee5c6) #17 0x000070f852d29bfd n/a (/usr/lib/x86_64-linux-gnu/libQt6Quick.so.6.9.0 + 0x529bfd) #18 0x000070f852d2b113 n/a (/usr/lib/x86_64-linux-gnu/libQt6Quick.so.6.9.0 + 0x52b113) #19 0x000070f850d75873 n/a (/usr/lib/x86_64-linux-gnu/libQt6Core.so.6.9.0 + 0x375873) #20 0x000070f850498ce1 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x97ce1) #21 0x000070f85051d7d4 n/a (/usr/lib/x86_64-linux-gnu/libc.so.6 + 0x11c7d4) ELF object binary architecture: AMD x86-64 GNU gdb (GDB) 16.3 Copyright (C) 2024 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... /app/bin/haruna: Arquivo ou diretório inexistente. I found the file, it's 74MB. https://mega.nz/file/TFJiFbZB#HuF5JNGSZgpIek-Q2kb0c3t-FSqpXXw124RYgh9ee5A Does it still happen with version 1.4? Updating status pending a response from the reporter, thanks! Yes. And that crash data is from version 1.4.0 (Flatpak) Does the video not pause when you press on the progress bar? Or do you release the mouse button after dragging all the way to the end and then it crashes? Also, the crash seems to happen in your driver. I'm also experiencing these crashes with very short (3~ seconds) videos on loop. it loops a couple of times then at one point the video reaches its end it crashes instead of looping. Bug 500127 seems to have solved the main issue, I can no longer trigger a replay by holding the pointer at the end of the progress bar then moving up and down. (In reply to John Kizer from comment #1) > If something crashed, we need a backtrace of it so we can figure out what's > going on. Can you please attach a backtrace of the crash using the > coredumpctl command-line program, as detailed in > https://community.kde.org/Guidelines_and_HOWTOs/Debugging/ > How_to_create_useful_crash_reports#Retrieving_a_backtrace_using_coredumpctl? > > Thanks! Late to say this. But you should instead ask the users to get the backtrace from drkonqi. |
Created attachment 177835 [details] This doesn't happen with small files. When having a heavy 4K/8K video playing, then dragging the progress bar into the last frame of the video; Haruna crashes.