Bug 393056 - Segmentation fault during search
Summary: Segmentation fault during search
Status: RESOLVED WORKSFORME
Alias: None
Product: amarok
Classification: Applications
Component: Collection Browser (show other bugs)
Version: kf5
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Amarok Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-12 17:57 UTC by peer.griebel
Modified: 2020-12-18 21:33 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description peer.griebel 2018-04-12 17:57:16 UTC
I'm on git master (838e52b555a1c2f6b0708101707a9e890f255375).
Amarok crashes reproducibly changing the search string.
The first line (#0  0x0000000000000000 in ?? ()) differs from call to call.
 

Thread 1 "amarok" received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) where
#0  0x0000000000000000 in ?? ()
#1  0x00007fffb74af182 in Collections::SqlQueryMaker::abortQuery() ()
   from /usr/lib64/libamarok-sqlcollection.so.1
#2  0x00007fffb74b42ba in Collections::SqlQueryMaker::~SqlQueryMaker() ()
   from /usr/lib64/libamarok-sqlcollection.so.1
#3  0x00007fffb74b4509 in Collections::SqlQueryMaker::~SqlQueryMaker() ()
   from /usr/lib64/libamarok-sqlcollection.so.1
#4  0x00007ffff5750da0 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ffff6a550b4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib64/libQt5Widgets.so.5
#6  0x00007ffff6a5c962 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib64/libQt5Widgets.so.5
#7  0x00007ffff5727641 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib64/libQt5Core.so.5
#8  0x00007ffff572a243 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007ffff57780f3 in ?? () from /usr/lib64/libQt5Core.so.5
#10 0x00007fffeb5834a6 in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#11 0x00007fffeb583715 in ?? () from /usr/lib64/libglib-2.0.so.0
#12 0x00007fffeb5837d4 in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
#13 0x00007ffff5777edf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#14 0x00007ffff572630a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib64/libQt5Core.so.5
#15 0x00007ffff572e7f2 in QCoreApplication::exec() ()
   from /usr/lib64/libQt5Core.so.5
#16 0x000055555555c630 in ?? ()
#17 0x00007ffff4d58541 in __libc_start_main () from /lib64/libc.so.6
#18 0x000055555555c7ca in ?? ()
Comment 1 Myriam Schweingruber 2018-04-12 20:34:11 UTC
You need to activate debugging symbols, else we do not get line numbers in backtraces (in Gentoo this means compiling with debugging enabled for Amarok and its dependencies).
Comment 2 peer.griebel 2018-04-13 15:25:37 UTC
Here it goes:

#0  0x0000007300660067 in ?? ()
#1  0x00007fffb74af182 in Collections::SqlQueryMaker::abortQuery (
    this=0x5555578619c0)
    at /var/tmp/portage/media-sound/amarok-9999/work/amarok-9999/src/core-impl/collections/db/sql/SqlQueryMaker.cpp:172
#2  0x00007fffb74b42ba in Collections::SqlQueryMaker::~SqlQueryMaker (
    this=0x5555578619c0, __in_chrg=<optimized out>)
    at /var/tmp/portage/media-sound/amarok-9999/work/amarok-9999/src/core-impl/collections/db/sql/SqlQueryMaker.cpp:159
#3  0x00007fffb74b4509 in Collections::SqlQueryMaker::~SqlQueryMaker (
    this=0x5555578619c0, __in_chrg=<optimized out>)
    at /var/tmp/portage/media-sound/amarok-9999/work/amarok-9999/src/core-impl/collections/db/sql/SqlQueryMaker.cpp:165
#4  0x00007ffff5750da0 in QObject::event(QEvent*) () from /usr/lib64/libQt5Core.so.5
#5  0x00007ffff6a550b4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib64/libQt5Widgets.so.5
#6  0x00007ffff6a5c962 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib64/libQt5Widgets.so.5
#7  0x00007ffff5727641 in QCoreApplication::notifyInternal2(QObject*, QEvent*) ()
   from /usr/lib64/libQt5Core.so.5
#8  0x00007ffff572a243 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/libQt5Core.so.5
#9  0x00007ffff57780f3 in ?? () from /usr/lib64/libQt5Core.so.5
#10 0x00007fffeb5834a6 in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#11 0x00007fffeb583715 in ?? () from /usr/lib64/libglib-2.0.so.0
#12 0x00007fffeb5837d4 in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
#13 0x00007ffff5777edf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Core.so.5
#14 0x00007ffff572630a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
   from /usr/lib64/libQt5Core.so.5
#15 0x00007ffff572e7f2 in QCoreApplication::exec() ()
   from /usr/lib64/libQt5Core.so.5
#16 0x000055555555c630 in main (argc=<optimized out>, argv=<optimized out>)
    at /var/tmp/portage/media-sound/amarok-9999/work/amarok-9999/src/main.cpp:351
Comment 3 Myriam Schweingruber 2018-04-13 20:29:59 UTC
Perfect, thank you
Comment 4 Justin Zobel 2020-12-17 05:35:28 UTC
Thank you for the crash report.

As it has been a while since this was reported, can you please test and confirm if this issue is still occurring or if this bug report can be marked as resolved.

I have set the bug status to "needsinfo" pending your response, please change back to "reported" or "resolved/worksforme" when you respond, thank you.
Comment 5 peer.griebel 2020-12-18 21:33:05 UTC
I haven't been able to reproduce the problem for some time now. Setting it to "resolved/worksforme". Thanks.