SUMMARY When I scroll in tokodon it crashes after some scrolling. STEPS TO REPRODUCE 1. Open tokodon 2. Scroll down a few times 3. Segfault OBSERVED RESULT The app crashes. EXPECTED RESULT The app works. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.3.5 KDE Frameworks Version: 6.14.0 Qt Version: 6.9.0 Kernel Version: 6.14.6-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i7-8550U CPU @ 1.80GHz Memory: 15.4 GiB of RAM Graphics Processor: Intel® UHD Graphics 620 ADDITIONAL INFORMATION tokodon crashes when I scroll on my touchpad, on my touchscreen and when using 'page down'. These are the last few lines from gdb: Thread 1 "tokodon" received signal SIGSEGV, Segmentation fault. Downloading 9.04 K source file /usr/src/debug/tokodon/tokodon-25.04.1/src/timeline/timelinemodel.cpp operator()<Post*> (timelinePost=@0x555556308160: 0x555556c9ddd0, __closure=<synthetic pointer>) at /usr/src/debug/tokodon/tokodon-25.04.1/src/timeline/timelinemodel.cpp:97 97 return post->postId() == timelinePost->postId();
Please post the entire backtrace and not just the last 5 lines
Created attachment 181315 [details] The entire gdb log Sorry, I am a bit new to all that gdb thing. Here is (what I hope) the full log.
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME. For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging. Thank you for helping us make KDE software even better for everyone!
Sooo... i dug around a bit and figured out, that I can avoid crashes, when I read current posts on another device with other software. Then the "Last read on $date" thingy is on top of my timeline in tokodon and I can scroll however I like.
(In reply to kde from comment #4) > Sooo... i dug around a bit and figured out, that I can avoid crashes, when I > read current posts on another device with other software. Then the "Last > read on $date" thingy is on top of my timeline in tokodon and I can scroll > however I like. That's good to know!
Hi, I get this issue too. I don't know if this is related, but I get a similar crash if I click "Load More" at the top of the screen. SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 6.3.5 KDE Frameworks Version: 6.14.0 Qt Version: Using 6.9.1 built against 6.9.0 Kernel Version: 6.14.10-arch1-1 (64-bit) Graphics Platform: Wayland Processors: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz Memory: 15.3 GiB of RAM Graphics Processor: Intel TigerLake-LP GT2 [Iris Xe Graphics] I'll upload the gdb log on my end, hope that helps
(In reply to brib from comment #6) > Hi, I get this issue too. I don't know if this is related, but I get a > similar crash if I click "Load More" at the top of the screen. > > SOFTWARE/OS VERSIONS > Operating System: Arch Linux > KDE Plasma Version: 6.3.5 > KDE Frameworks Version: 6.14.0 > Qt Version: Using 6.9.1 built against 6.9.0 > Kernel Version: 6.14.10-arch1-1 (64-bit) > Graphics Platform: Wayland > Processors: 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz > Memory: 15.3 GiB of RAM > Graphics Processor: Intel TigerLake-LP GT2 [Iris Xe Graphics] > > I'll upload the gdb log on my end, hope that helps I can't, however, replicate the fix of reading the other posts with another software. I have tried to do this with the Mastodon web client, but I still get the software crash
Created attachment 182085 [details] GDB log on my machine
A possibly relevant merge request was started @ https://invent.kde.org/network/tokodon/-/merge_requests/752
(In reply to Bug Janitor Service from comment #9) > A possibly relevant merge request was started @ > https://invent.kde.org/network/tokodon/-/merge_requests/752 Hey, I can confirm that this fixes the issue on my machine 😄
Git commit da024d8a55193d996d514dd0691808a3a71ad157 by Joshua Goins. Committed on 14/06/2025 at 14:17. Pushed by redstrate into branch 'master'. Prevent a null access in certain timelines I don't know why this happens exactly, but I have a hunch. It's possible for us to end up with null pointers because of the post->hidden() check and that's not really checked in the erasure. I added an early enough check in there to hopefully stop that from happening. M +6 -3 src/timeline/timelinemodel.cpp https://invent.kde.org/network/tokodon/-/commit/da024d8a55193d996d514dd0691808a3a71ad157
(In reply to Joshua Goins from comment #11) > Git commit da024d8a55193d996d514dd0691808a3a71ad157 by Joshua Goins. > Committed on 14/06/2025 at 14:17. > Pushed by redstrate into branch 'master'. > > Prevent a null access in certain timelines > > I don't know why this happens exactly, but I have a hunch. It's possible > for us to end up with null pointers because of the post->hidden() check > and that's not really checked in the erasure. I added an early enough > check in there to hopefully stop that from happening. > > M +6 -3 src/timeline/timelinemodel.cpp > > https://invent.kde.org/network/tokodon/-/commit/ > da024d8a55193d996d514dd0691808a3a71ad157 Thank you! 😄 I look forward to the next Tokodon release 🙂
Git commit 717807843d5cb0f973016b429869a144835f2c61 by Joshua Goins. Committed on 15/06/2025 at 01:53. Pushed by redstrate into branch 'release/25.04'. Prevent a null access in certain timelines I don't know why this happens exactly, but I have a hunch. It's possible for us to end up with null pointers because of the post->hidden() check and that's not really checked in the erasure. I added an early enough check in there to hopefully stop that from happening. (cherry picked from commit da024d8a55193d996d514dd0691808a3a71ad157) Co-authored-by: Joshua Goins <josh@redstrate.com> M +6 -3 src/timeline/timelinemodel.cpp https://invent.kde.org/network/tokodon/-/commit/717807843d5cb0f973016b429869a144835f2c61
Just installed the latest release on Arch and so far I had no crashes. Will report back if that changes. Thank you for your effort :)
Created attachment 182969 [details] the crash dump, copied from KDE's "Report a bug" thingi It seems as if this did not fix all of the scrolling bugs with me. $ tokodon --version tokodon 25.04.3 Here's the crash dump, copied from KDE's "Report a bug" thingi