Bug 476841 - Audiotube crashes on search
Summary: Audiotube crashes on search
Status: RESOLVED FIXED
Alias: None
Product: audiotube
Classification: Applications
Component: general (show other bugs)
Version: 24.01.75
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Jonah Brüchert
URL:
Keywords: drkonqi, qt6
Depends on:
Blocks:
 
Reported: 2023-11-11 14:12 UTC by ratijas
Modified: 2023-11-11 23:39 UTC (History)
0 users

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 ratijas 2023-11-11 14:12:32 UTC
Application: audiotube (24.01.75)
 (Compiled from sources)
Qt Version: 6.6.0
Frameworks Version: 5.245.0
Operating System: Linux 6.6.1-arch1-1 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.81.0 [KCrashBackend]

-- Information about the crash:
Launch the app, focus the search field, hit Enter, — and it crashes deep in QCoro.

There's not much information to provide. I built the app and the rest of KDE packages from source, and installed some fresh dependencies from Arch Linux repos to compile it.

The crash can be reproduced every time.

-- Backtrace:
Application: AudioTube (audiotube), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = 0x0}
[KCrash Handler]
#5  QtPrivate::ResultIteratorBase::pointer<std::vector<std::variant<search::Video, search::Playlist, search::Song, search::Album, search::Artist, search::TopResult>, std::allocator<std::variant<search::Video, search::Playlist, search::Song, search::Album, search::Artist, search::TopResult> > > >() const (this=<optimized out>) at /usr/include/qt6/QtCore/qresultstore.h:32
#6  QtPrivate::ResultIteratorBase::pointer<std::vector<std::variant<search::Video, search::Playlist, search::Song, search::Album, search::Artist, search::TopResult>, std::allocator<std::variant<search::Video, search::Playlist, search::Song, search::Album, search::Artist, search::TopResult> > > >() (this=<optimized out>) at /usr/include/qt6/QtCore/qresultstore.h:74
#7  QtPrivate::ResultIteratorBase::value<std::vector<std::variant<search::Video, search::Playlist, search::Song, search::Album, search::Artist, search::TopResult>, std::allocator<std::variant<search::Video, search::Playlist, search::Song, search::Album, search::Artist, search::TopResult> > > >() (this=<optimized out>) at /usr/include/qt6/QtCore/qresultstore.h:68
#8  QFutureInterface<std::vector<std::variant<search::Video, search::Playlist, search::Song, search::Album, search::Artist, search::TopResult>, std::allocator<std::variant<search::Video, search::Playlist, search::Song, search::Album, search::Artist, search::TopResult> > > >::resultReference(int) const (index=0, this=0x555f61aefc00) at /usr/include/qt6/QtCore/qfutureinterface.h:384
#9  QFuture<std::vector<std::variant<search::Video, search::Playlist, search::Song, search::Album, search::Artist, search::TopResult>, std::allocator<std::variant<search::Video, search::Playlist, search::Song, search::Album, search::Artist, search::TopResult> > > >::result<std::vector<std::variant<search::Video, search::Playlist, search::Song, search::Album, search::Artist, search::TopResult>, std::allocator<std::variant<search::Video, search::Playlist, search::Song, search::Album, search::Artist, search::TopResult> > >, void>() const (this=this@entry=0x555f61aefc00) at /usr/include/qt6/QtCore/qfuture.h:308
#10 0x0000555f5f67be65 in QCoro::detail::QCoroFuture<std::vector<std::variant<search::Video, search::Playlist, search::Song, search::Album, search::Artist, search::TopResult>, std::allocator<std::variant<search::Video, search::Playlist, search::Song, search::Album, search::Artist, search::TopResult> > > >::WaitForFinishedOperationImplT::await_resume() const (this=0x555f61aefc00) at /usr/local/kde6/include/qcoro6/qcoro/qcorofuture.h:51
#11 QCoro::detail::toTask(_ZN5QCoro6detail6toTaskI7QFutureISt6vectorISt7variantIJN6search5VideoENS5_8PlaylistENS5_4SongENS5_5AlbumENS5_6ArtistENS5_9TopResultEEESaISC_EEEEENS_4TaskINS0_21awaitable_return_typeIDTcldtclL_ZSt7declvalINS0_15TaskPromiseBaseEEDTcl9__declvalIT_ELi0EEEvEE15await_transformcvSK__EEEE4typeEEEOSK_.Frame *) (frame_ptr=0x555f61aefb80) at /usr/local/kde6/include/qcoro6/qcoro/impl/waitfor.h:25
#12 0x00007fbb7ffb9a59 in  () at /usr/lib/libQt6Core.so.6
#13 0x00007fbb800d7514 in QFutureWatcherBase::event(QEvent*) () at /usr/lib/libQt6Core.so.6
#14 0x00007fbb8197318b in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt6Widgets.so.6
#15 0x00007fbb7ff626d8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt6Core.so.6
#16 0x00007fbb7ff62a5b in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/libQt6Core.so.6
#17 0x00007fbb80199d24 in  () at /usr/lib/libQt6Core.so.6
#18 0x00007fbb7f12bf69 in  () at /usr/lib/libglib-2.0.so.0
#19 0x00007fbb7f18a327 in  () at /usr/lib/libglib-2.0.so.0
#20 0x00007fbb7f12a162 in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#21 0x00007fbb80197934 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#22 0x00007fbb7ff6cc5e in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt6Core.so.6
#23 0x00007fbb7ff65178 in QCoreApplication::exec() () at /usr/lib/libQt6Core.so.6
#24 0x0000555f5f6406f3 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /home/ratijas/kde/src6/audiotube/src/main.cpp:141
[Inferior 1 (process 399641) detached]

Reported using DrKonqi
Comment 1 Jonah Brüchert 2023-11-11 15:57:16 UTC
Is this reproducible in the nightly flatpak on your machine?

I can't reproduce it on mine.