Bug 422493 - JuK 20.04 crashes when text is typed into the search bar on Debian Bullseye
Summary: JuK 20.04 crashes when text is typed into the search bar on Debian Bullseye
Status: RESOLVED FIXED
Alias: None
Product: juk
Classification: Applications
Component: general (other bugs)
Version First Reported In: 20.04
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Scott Wheeler
URL:
Keywords:
: 423225 (view as bug list)
Depends on:
Blocks:
 
Reported: 2020-06-05 16:02 UTC by Marko Zajc
Modified: 2022-12-16 09:02 UTC (History)
5 users (show)

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


Attachments
Backtrace that occurs when reproducing the issue, from GDB (3.67 KB, text/plain)
2020-06-05 16:02 UTC, Marko Zajc
Details
New crash information added by DrKonqi (6.59 KB, text/plain)
2021-01-23 07:26 UTC, Joachim Mairböck
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marko Zajc 2020-06-05 16:02:12 UTC
Created attachment 129079 [details]
Backtrace that occurs when reproducing the issue, from GDB

SUMMARY
JuK seems to crash (due to a sigsegv) whenever I input 

STEPS TO REPRODUCE
1. Open JuK
2. Click the search bar
3. Type any character
4. JuK always* crashes

OBSERVED RESULT
JuK crashes due to a segmentation .

EXPECTED RESULT
The list of tracks would get filtered by the entered text.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Debian Bullseye (testing), latest packages at the time of writing
(available in About System)
KDE Plasma Version: 5.17.5
KDE Frameworks Version: 5.70.0
Qt Version: 5.12.5

ADDITIONAL INFORMATION
- The issue only occurs on Debian Bullseye's JuK (20.04), but not on Debian Buster's (18.08.1). Downgrading it (without the need to also downgrade any other libraries along with it) fixes the issue.
- The issue also occurs if you click on either the author or album name of the playing track (either of the clickable links on the top that appear below the playing track's title)

* Does not crash if the collection is empty. Always crashes otherwise.
Comment 1 Christoph Feck 2020-07-01 15:33:06 UTC
*** Bug 423225 has been marked as a duplicate of this bug. ***
Comment 2 Joachim Mairböck 2021-01-23 07:26:55 UTC
Created attachment 135086 [details]
New crash information added by DrKonqi

juk (20.04.2) using Qt 5.12.7

- What I was doing when the application crashed:
The same as in the bug description above. This has a more complete backtrace.

-- Backtrace (Reduced):
#4  QTreeWidgetItem::setHidden (this=0x0, ahide=ahide@entry=false) at itemviews/qtreewidget.cpp:1017
#5  0x0000559f4f9667dd in Playlist::setItemsVisible (this=this@entry=0x559f503bf8d0, indexes=..., visible=visible@entry=true) at /usr/src/debug/juk-20.04.2-lp152.1.1.x86_64/playlist.cpp:374
#6  0x0000559f4f96746c in Playlist::setSearch (this=this@entry=0x559f503bf8d0, s=0x559f508d83e0) at /usr/src/debug/juk-20.04.2-lp152.1.1.x86_64/playlist.cpp:386
#7  0x0000559f4f98e8e9 in PlaylistSplitter::slotShowSearchResults (this=0x559f4ffe1c90) at /usr/src/debug/juk-20.04.2-lp152.1.1.x86_64/playlistsplitter.cpp:302
#8  0x0000559f4f8fe165 in PlaylistSplitter::qt_static_metacall (_o=<optimized out>, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/juk-20.04.2-lp152.1.1.x86_64/build/juk_autogen/EWIEGA46WW/moc_playlistsplitter.cpp:116
Comment 3 Justin Zobel 2022-12-01 05:22:07 UTC
Thank you for reporting this issue in KDE software. As it was reported on an older version, can we please ask you to see if you can reproduce the issue with a more recent software version?  
  
If you can confirm this issue still exists in a recent version, please change the version field and the status to "REPORTED" when replying. Thank you!
Comment 4 Marko Zajc 2022-12-01 09:59:32 UTC
The issue no longer seems to occur on JuK 22.04.3, Plasma 5.26.3, Frameworks 5.100.0, Debian 12/testing. Note that I have changed my library quite a bit since last using JuK, so there's a slight chance that's why the issue no longer occurs.
Comment 5 Bug Janitor Service 2022-12-16 05:14:53 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 6 Joachim Mairböck 2022-12-16 09:02:32 UTC
I now have version 21.12.3 and this seems to be fixed.