Bug 445684 - Elisa randomly crashes at startup or when playing new file
Summary: Elisa randomly crashes at startup or when playing new file
Status: REPORTED
Alias: None
Product: Elisa
Classification: Applications
Component: general (show other bugs)
Version: 20.12.0
Platform: Mageia RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Matthieu Gallien
URL:
Keywords:
: 458137 (view as bug list)
Depends on:
Blocks:
 
Reported: 2021-11-18 10:39 UTC by cyril.yuusha
Modified: 2022-08-23 05:55 UTC (History)
2 users (show)

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


Attachments
Backtrace from gdb (40.72 KB, text/plain)
2021-11-18 10:39 UTC, cyril.yuusha
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cyril.yuusha 2021-11-18 10:39:10 UTC
Created attachment 143685 [details]
Backtrace from gdb

SUMMARY
Elisa randomly crashes with segmentation fault at startup or when playing a new song on an album. Some investigation seems to point out a problem with metadata. Attached is the backtrace for the last crash at startup.


STEPS TO REPRODUCE
1. Launch Elisa

OBSERVED RESULT
Segmentation fault

EXPECTED RESULT
Elisa properly launch and plays music

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 5.10.78-desktop-1.mga8 #1 SMP Sat Nov 6 13:40:04 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
(available in About System)
KDE Plasma Version: 5.20.4
KDE Frameworks Version: 5.76.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Seems related to metadata. 
All songs are located in an automated mounted NTFS partition (in media/win/). This partition is indexed by baloo.
Part of the songs titles, albums and artists are Japanese characters in them.
Comment 1 Fushan Wen 2021-11-18 11:01:10 UTC
#0  FileScanner::scanProperties (this=this@entry=0xdb29b0, localFileName=..., trackData=...) at /usr/src/debug/elisa-20.12.0-1.mga8.x86_64/src/filescanner.cpp:199
        key = 3489721536
        rangeEnd = {i = {i = <optimized out>}}
        distance = <optimized out>
        translatedKey = <optimized out>
        rangeBegin = {i = {i = 0x7fffd000ec58}}
        value = {d = {data = {c = -32 '\340', uc = 224 '\340', s = -5664, sc = -32 '\340', us = 59872, i = -805246496, u = 3489720800, l = 140736683108832, ul = 140736683108832, b = 224, d = 6.9533160233719936e-310, 
              f = -8.65124352e+09, real = 6.9533160233719936e-310, ll = 140736683108832, ull = 140736683108832, o = 0x7fffd000e9e0, ptr = 0x7fffd000e9e0, shared = 0x7fffd000e9e0}, type = 10, is_shared = 0, is_null = 0}}
        fileData = <incomplete type>
        comment = <optimized out>
        rating = <optimized out>
Comment 2 Nate Graham 2022-08-23 05:55:31 UTC
*** Bug 458137 has been marked as a duplicate of this bug. ***