Music app segfaults when scanning large collections of Music
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Music App |
Fix Released
|
Critical
|
Unassigned |
Bug Description
When testing the Music app with a relatively large collection of music (~30Gb), it ends up segfaulting. Here's an extract of the terminal output:
[...]
Debug: Scanner fileDelegate onComplete
Debug: Scanner fileDelegate onComplete
Debug: Scanner fileDelegate onComplete
Debug: Scanner fileDelegate onComplete
Debug: Scanner fileDelegate onComplete
Debug: Scanner fileDelegate onComplete
Debug: Scanner fileDelegate onComplete
Debug: Scanner fileDelegate onComplete
Debug: Scanner fileDelegate onComplete
Debug: Scanner fileDelegate onComplete
Segmentation fault (core dumped)
I'm not sure where the segmentation fault actually happens, but I can reproduce it every time. One thing I noticed is that I also got the segfault when scanning deep directory hierarchies (e.g. more than 2 directories deep) with Music on smaller collections. However, the latest branch with scanning optimizations seemed to fix that later case.
Related branches
- Ubuntu Phone Apps Jenkins Bot: Approve (continuous-integration)
- Daniel Holm: Approve
- David Planella: Needs Information
-
Diff: 678 lines (+173/-188)11 files modifiedLoginLastFM.qml (+0/-1)
MusicAlbums.qml (+5/-2)
MusicArtists.qml (+7/-5)
MusicNowPlaying.qml (+1/-1)
MusicPlaylists.qml (+1/-2)
MusicStart.qml (+90/-101)
MusicTracks.qml (+2/-2)
MusicaddtoPlaylist.qml (+2/-2)
debian/control (+1/-1)
music-app.qml (+63/-66)
playlists.js (+1/-5)
Changed in music-app: | |
status: | New → Triaged |
importance: | Undecided → Critical |
Changed in music-app: | |
status: | Incomplete → Confirmed |
summary: |
- Music app segfaults upon start + Music app segfaults when scanning large collections of Music |
Changed in music-app: | |
status: | Fix Committed → Fix Released |
Does it produce a core file? If so, could you either use gdb to get a stack trace or attach the core so someone else can analyze?