Bug 431528

Summary: Elisa Segmentation Fault
Product: [Applications] Elisa Reporter: Mitch <cleancucumber420>
Component: generalAssignee: Matthieu Gallien <matthieu_gallien>
Status: RESOLVED UPSTREAM    
Severity: crash CC: nate
Priority: NOR    
Version First Reported In: 20.08.3   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Mitch 2021-01-13 07:33:20 UTC
SUMMARY

Open Elisa play a song, click "Now Playing" and Elisa crashes.


STEPS TO REPRODUCE
1. Open Elisa
2. Play Song
3. CLick "Now Playing"

OBSERVED RESULT
Elisa Crashes 

EXPECTED RESULT
View "Now Playing" pannel.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Gentoo / Linux x86_64 / Plasma 5.19.5
KDE Plasma Version: 5.19.5
KDE Frameworks Version: 5.77.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

Please see pastebin https://pastebin.com/u06BkTtt

For Log
Comment 1 Nate Graham 2021-01-13 19:35:41 UTC
Can you please attach a backtrace of the crash? See https://community.kde.org/Get_Involved/Issue_Reporting#Crash_reports_must_include_backtraces
Comment 2 Mitch 2021-01-14 09:33:29 UTC
(In reply to Nate Graham from comment #1)
> Can you please attach a backtrace of the crash? See
> https://community.kde.org/Get_Involved/
> Issue_Reporting#Crash_reports_must_include_backtraces

(In reply to Mitch from comment #0)
> SUMMARY
> 
> Open Elisa play a song, click "Now Playing" and Elisa crashes.
> 
> 
> STEPS TO REPRODUCE
> 1. Open Elisa
> 2. Play Song
> 3. CLick "Now Playing"
> 
> OBSERVED RESULT
> Elisa Crashes 
> 
> EXPECTED RESULT
> View "Now Playing" pannel.
> 
> SOFTWARE/OS VERSIONS
> Linux/KDE Plasma: Gentoo / Linux x86_64 / Plasma 5.19.5
> KDE Plasma Version: 5.19.5
> KDE Frameworks Version: 5.77.0
> Qt Version: 5.15.2
> 
> ADDITIONAL INFORMATION
> 
> Please see pastebin https://pastebin.com/u06BkTtt
> 
> For Log

Please forgive my ignorance... I have the backtrace

(In reply to Mitch from comment #0)
> SUMMARY
> 
> Open Elisa play a song, click "Now Playing" and Elisa crashes.
> 
> 
> STEPS TO REPRODUCE
> 1. Open Elisa
> 2. Play Song
> 3. CLick "Now Playing"
> 
> OBSERVED RESULT
> Elisa Crashes 
> 
> EXPECTED RESULT
> View "Now Playing" pannel.
> 
> SOFTWARE/OS VERSIONS
> Linux/KDE Plasma: Gentoo / Linux x86_64 / Plasma 5.19.5
> KDE Plasma Version: 5.19.5
> KDE Frameworks Version: 5.77.0
> Qt Version: 5.15.2
> 
> ADDITIONAL INFORMATION
> 
> Please see pastebin https://pastebin.com/u06BkTtt
> 
> For Log

(In reply to Nate Graham from comment #1)
> Can you please attach a backtrace of the crash? See
> https://community.kde.org/Get_Involved/
> Issue_Reporting#Crash_reports_must_include_backtraces

Please forgive my ignorance. Here is the backtrace https://pastebin.com/3k0agGeg
Comment 3 Nate Graham 2021-01-14 17:22:10 UTC
When it crashes in gdb, you want to run `backtrace`, not `kill`. Then paste the output that appears in the terminal window.
Comment 4 Mitch 2021-01-14 22:52:25 UTC
(In reply to Nate Graham from comment #3)
> When it crashes in gdb, you want to run `backtrace`, not `kill`. Then paste
> the output that appears in the terminal window.

Thread 1 "elisa" received signal SIGSEGV, Segmentation fault.
0x00007ffff71ec924 in QTextEngine::itemize() const () from /usr/lib64/libQt5Gui.so.5
(gdb) backtrace
#0  0x00007ffff71ec924 in QTextEngine::itemize() const () from /usr/lib64/libQt5Gui.so.5
#1  0x00007ffff71f4eac in QTextLayout::beginLayout() () from /usr/lib64/libQt5Gui.so.5
#2  0x00007ffff53f9648 in QQuickTextPrivate::setupTextLayout(double*) () from /usr/lib64/libQt5Quick.so.5
#3  0x00007ffff53fbbc1 in QQuickTextPrivate::updateSize() () from /usr/lib64/libQt5Quick.so.5
#4  0x00007ffff53ffc98 in QQuickText::geometryChanged(QRectF const&, QRectF const&) () from /usr/lib64/libQt5Quick.so.5
#5  0x00007ffff50a459a in QQuickLabel::geometryChanged(QRectF const&, QRectF const&) () from /usr/lib64/libQt5QuickTemplates2.so.5
#6  0x00007ffff53c3412 in QQuickItem::setSize(QSizeF const&) () from /usr/lib64/libQt5Quick.so.5
#7  0x00007ffff00598ca in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#8  0x00007ffff73f575b in QGridLayoutEngine::setGeometries(QRectF const&, QAbstractLayoutStyleInfo const*) () from /usr/lib64/libQt5Gui.so.5
#9  0x00007ffff00579cb in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#10 0x00007ffff005526a in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#11 0x00007ffff53c2628 in QQuickItem::setY(double) () from /usr/lib64/libQt5Quick.so.5
#12 0x00007ffff53b3d65 in ?? () from /usr/lib64/libQt5Quick.so.5
#13 0x00007ffff53c8fad in QQuickItem::geometryChanged(QRectF const&, QRectF const&) () from /usr/lib64/libQt5Quick.so.5
#14 0x00007ffff0055090 in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#15 0x00007ffff53c308a in QQuickItem::setImplicitSize(double, double) () from /usr/lib64/libQt5Quick.so.5
#16 0x00007ffff005208e in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#17 0x00007ffff00578fd in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#18 0x00007ffff005526a in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#19 0x00007ffff53c308a in QQuickItem::setImplicitSize(double, double) () from /usr/lib64/libQt5Quick.so.5
#20 0x00007ffff005208e in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#21 0x00007ffff00578fd in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#22 0x00007ffff005526a in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#23 0x00007ffff53c308a in QQuickItem::setImplicitSize(double, double) () from /usr/lib64/libQt5Quick.so.5
#24 0x00007ffff005208e in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#25 0x00007ffff00578fd in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#26 0x00007ffff005526a in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#27 0x00007ffff53c308a in QQuickItem::setImplicitSize(double, double) () from /usr/lib64/libQt5Quick.so.5
#28 0x00007ffff005208e in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#29 0x00007ffff00578fd in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#30 0x00007ffff005526a in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#31 0x00007ffff53c308a in QQuickItem::setImplicitSize(double, double) () from /usr/lib64/libQt5Quick.so.5
#32 0x00007ffff005208e in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#33 0x00007ffff00578fd in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#34 0x00007ffff005526a in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#35 0x00007ffff53c308a in QQuickItem::setImplicitSize(double, double) () from /usr/lib64/libQt5Quick.so.5
#36 0x00007ffff005208e in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#37 0x00007ffff00578fd in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#38 0x00007ffff005526a in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#39 0x00007ffff53c308a in QQuickItem::setImplicitSize(double, double) () from /usr/lib64/libQt5Quick.so.5
#40 0x00007ffff005208e in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#41 0x00007ffff00578fd in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#42 0x00007ffff005526a in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#43 0x00007ffff53c308a in QQuickItem::setImplicitSize(double, double) () from /usr/lib64/libQt5Quick.so.5
#44 0x00007ffff005208e in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#45 0x00007ffff00578fd in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#46 0x00007ffff005526a in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#47 0x00007ffff53c308a in QQuickItem::setImplicitSize(double, double) () from /usr/lib64/libQt5Quick.so.5
#48 0x00007ffff005208e in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#49 0x00007ffff00578fd in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#50 0x00007ffff005526a in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#51 0x00007ffff53c308a in QQuickItem::setImplicitSize(double, double) () from /usr/lib64/libQt5Quick.so.5
#52 0x00007ffff005208e in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#53 0x00007ffff00578fd in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#54 0x00007ffff005526a in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#55 0x00007ffff53c308a in QQuickItem::setImplicitSize(double, double) () from /usr/lib64/libQt5Quick.so.5
#56 0x00007ffff005208e in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#57 0x00007ffff00578fd in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#58 0x00007ffff005526a in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#59 0x00007ffff53c308a in QQuickItem::setImplicitSize(double, double) () from /usr/lib64/libQt5Quick.so.5
#60 0x00007ffff005208e in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#61 0x00007ffff00578fd in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#62 0x00007ffff005526a in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#63 0x00007ffff53c308a in QQuickItem::setImplicitSize(double, double) () from /usr/lib64/libQt5Quick.so.5
#64 0x00007ffff005208e in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
#65 0x00007ffff00578fd in ?? () from /usr/lib64/qt5/qml/QtQuick/Layouts/libqquicklayoutsplugin.so
--Type <RET> for more, q to quit, c to continue without paging--
Comment 5 Nate Graham 2021-01-14 23:00:01 UTC
Thanks. However the backtrace is truncated. You need to keep hitting the return key to show more, and paste the whole thing. :)

Also it looks like you're missing debug symbols. See the following document to learn how to generate useful backtraces on Gentoo: https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
Comment 6 Mitch 2021-01-15 04:10:40 UTC
(In reply to Nate Graham from comment #5)
> Thanks. However the backtrace is truncated. You need to keep hitting the
> return key to show more, and paste the whole thing. :)
> 
> Also it looks like you're missing debug symbols. See the following document
> to learn how to generate useful backtraces on Gentoo:
> https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces

Yes I have re-emerged elisa with USE="debug", added CFLAG/CXXFLAG="-ggdb" and FEATURE="nostrip"

The elisa binary increase from 931K to 2.6M so I belive its not stripped. However the backtrace seems to be the same as before. https://pastebin.com/3bba1m7q

Please let me know if I can try anything else.
Comment 7 Mitch 2021-01-18 08:45:54 UTC
(In reply to Nate Graham from comment #5)
> Thanks. However the backtrace is truncated. You need to keep hitting the
> return key to show more, and paste the whole thing. :)
> 
> Also it looks like you're missing debug symbols. See the following document
> to learn how to generate useful backtraces on Gentoo:
> https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces

I can ensure im not missing debug symblos anymore. Ive dumped everything I can think of from gdb into this huge 14M .txt file https://gofile.io/d/lkvYNt

If this does not suffice please close the issue. Im not sure what else I can do.

Best Regards,
Mitch
Comment 8 Nate Graham 2021-01-19 16:53:06 UTC
Yeah looks like you still don't have debug symbols. You might want to ask fellow Gentoo users how to get this working.
Comment 9 Mitch 2021-01-20 02:29:42 UTC
(In reply to Nate Graham from comment #8)
> Yeah looks like you still don't have debug symbols. You might want to ask
> fellow Gentoo users how to get this working.

Im sure theyre there...

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/elisa...
Reading symbols from /usr/lib/debug//usr/bin/elisa.debug...
(gdb)

Its just odd because the backtrace looks the same as before I compiled with them.
Comment 10 Nate Graham 2021-01-20 17:29:38 UTC
Hmm, well the problem seems to be that the crash is entirely in Qt. So you have Elisa debug symbols, but it's not crashing in any Elisa code.

I guess if you want to install Qt debug symbols you can report this to Qt, but TBH it would probably be a waste of time due to the situation with Qt 5.15.x right now. :/

Sorry.