Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segmentation fault in QtPrivate::QPropertyBindingData::~QPropertyBindingData() #1605

Open
3 tasks done
AllKind opened this issue Nov 18, 2024 · 7 comments
Open
3 tasks done
Labels

Comments

@AllKind
Copy link

AllKind commented Nov 18, 2024

  • I have checked the FAQ for answers.
  • I have checked the Changelog that the issue is not already fixed.
  • I believe this issue is a bug, and not a general technical issue, question or feature requests that can be discussed on the forum.

Describe the bug
I was playing a song, then skipped back a couple of times to re-listen. Then I gave the song a 3 star rating. At this point strawberry crashed.
The attached file contains what was logged to syslog and the crash report from the system reports program.

This is the first time it happend. I just thought better to report...

System Information:

  • Operating system: Linux Mint 22
  • Strawberry Version: 1.2.1-rc1
  • QT version 6.4.2

strawberry_crash_2024.11.18.txt

@jonaski jonaski changed the title 1.2.1-rc1 crash report Segmentation fault in QtPrivate::QPropertyBindingData::~QPropertyBindingData() Nov 19, 2024
@jonaski
Copy link
Member

jonaski commented Nov 19, 2024

This is a Qt bug, probably this: https://bugreports.qt.io/browse/QTBUG-110877, looks to be fixed in Qt 6.4.3

@AllKind
Copy link
Author

AllKind commented Nov 21, 2024

While I can't remember that ever happened on older versions, 1.2.1-rc seems to trigger this problem more frequently. I experienced two more crashes since.

@jonaski
Copy link
Member

jonaski commented Nov 21, 2024

Check if the other crashes are the same, or different. I found a bug that causes crashes when saving playcounts, ratings or album cover to tags, fixed now a26066d.

@AllKind
Copy link
Author

AllKind commented Nov 21, 2024

As far as I can tell they are indeed different.
Nonetheless I am attaching the core dumps of the three crashes I had.
I searched them for PropertyBindingData, which yielded zero results.

I just installed version 1.2.1 and will keep you updated in case of crashes.

strawberry_crash_2024.11.20.txt
strawberry_crash_2024.11.21-1.txt
strawberry_crash_2024.11.21-2.txt

@jonaski
Copy link
Member

jonaski commented Nov 22, 2024

The first one from 2024.11.20 is hard to tell, since it's just an abort with missing debug symbols.

Core was generated by `/usr/bin/strawberry'.
Program terminated with signal SIGABRT, Aborted.
#0  0x00007fac8182db1c in ?? ()
[Current thread is 1 (LWP 1055827)]

The other 2 crashes look more Qt related too:

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/strawberry'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007f038c66e3ce in QObject::~QObject() () from /lib/x86_64-linux-gnu/libQt6Core.so.6
[Current thread is 1 (Thread 0x7f0387cb6cc0 (LWP 296607))]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
Core was generated by `/usr/bin/strawberry'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x00007fca0aa6d3ad in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt6Widgets.so.6
[Current thread is 1 (Thread 0x7fca042dacc0 (LWP 297743))]
#0  0x00007fca0aa6d3ad in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt6Widgets.so.6
#1  0x00007fca08c50448 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#2  0x00007fca08c50635 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#3  0x00007fca08e4ba8f in ??? () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#4  0x00007fca092185b5 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fca09277717 in ??? () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#6  0x00007fca09217a53 in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007fca08e495ef in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#8  0x00007fca08c5a9a3 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#9  0x00007fca08c5335e in QCoreApplication::exec() () at /lib/x86_64-linux-gnu/libQt6Core.so.6
#10 0x00005610d1d2c238 in main ()

@jonaski
Copy link
Member

jonaski commented Nov 22, 2024

Actually, I suspect the QApplicationPrivate::notify_helper and the QObject::~QObject segmentation fault could be caused by the bug I fixed (a26066d) which is part of the 1.2.1 release.
If you still have the issue with 1.2.1 then it would be nice if there is a way to consistently reproduce the crash.

@AllKind
Copy link
Author

AllKind commented Nov 22, 2024

All the crashes happened at rating a song.
I'll keep you up to date how things are with 1.2.1.

@jonaski jonaski removed the upstream label Nov 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants