Segmentation fault during "reload metada from file" on multiple tracks

Bug #1541068 reported by Jean Claveau
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
Undecided
Unassigned

Bug Description

+ I have approximately 50 tracks in my autodj playlist
+ I press ctrl+a
+ I right click + reload metadata from file
=> crash

+ It doesn't occur with one track selected.
+ It doesn't occur in a crate

Debug [Main]: SoundSourceProvider "MAD: MPEG Audio Decoder" created a SoundSource for file QUrl( "file:///media/jean/Jean/Musique/morceaux/Deep Tech House/White Brothers - Again Soul (Original Mix).mp3" ) of type "mp3"
Debug [Main]: Skip parsing of track metadata from file QUrl( "file:///media/jean/Jean/Musique/morceaux/Deep Tech House/White Brothers - Again Soul (Original Mix).mp3" )
Debug [Main]: SoundSourceProvider "MAD: MPEG Audio Decoder" created a SoundSource for file QUrl( "file:///media/jean/Jean/Musique/morceaux/Deep Tech House/White Brothers - Again Soul (Original Mix).mp3" ) of type "mp3"
Debug [Main]: Reading tags from file "/media/jean/Jean/Musique/morceaux/Deep Tech House/White Brothers - Again Soul (Original Mix).mp3" of type "mp3" : parsing track metadata , ignoring cover art
Debug [Main]: Successfully deserialized BeatGrid
Debug [Main]: Successfully deserialized KeyMap
Warning [Main]: Unsupported file type: "file:"
Warning [Main]: No SoundSourceProvider for file QUrl( "file:" )
Debug [Main]: Skip parsing of track metadata from file QUrl( "file:" )
Warning [Main]: Unsupported file type: "file:"
Warning [Main]: No SoundSourceProvider for file QUrl( "file:" )

Program received signal SIGSEGV, Segmentation fault.
0x0000000000b79afb in SoundSourceProxy::loadTrackMetadataAndCoverArt (this=this@entry=0x7fffffffcd50, withCoverArt=withCoverArt@entry=false, reloadFromFile=reloadFromFile@entry=true)
    at src/soundsourceproxy.cpp:425
425 if (m_pSoundSource->parseTrackMetadataAndCoverArt(&trackMetadata, pCoverImg) == OK) {
(gdb) bt
#0 0x0000000000b79afb in SoundSourceProxy::loadTrackMetadataAndCoverArt (this=this@entry=0x7fffffffcd50, withCoverArt=withCoverArt@entry=false, reloadFromFile=reloadFromFile@entry=true)
    at src/soundsourceproxy.cpp:425
#1 0x0000000000c8d177 in SoundSourceProxy::loadTrackMetadata (reloadFromFile=true, this=0x7fffffffcd50) at src/soundsourceproxy.h:50
#2 WTrackTableView::slotReloadTrackMetadata (this=this@entry=0x3f7f2aa0) at src/widget/wtracktableview.cpp:1318
#3 0x0000000000c3a840 in WTrackTableView::qt_static_metacall (_o=0x3f7f2aa0, _c=<optimized out>, _id=17, _a=0x7fffffffcf00) at lin64_build/widget/moc_wtracktableview.cc:118
#4 0x00007ffff4f51f60 in QMetaObject::activate (sender=sender@entry=0x3f861350, m=m@entry=0x7ffff6421dc0 <QAction::staticMetaObject>, local_signal_index=local_signal_index@entry=1,
    argv=argv@entry=0x7fffffffcf00) at kernel/qobject.cpp:3567
#5 0x00007ffff5927a42 in QAction::triggered (this=this@entry=0x3f861350, _t1=false) at .moc/release-shared/moc_qaction.cpp:276
#6 0x00007ffff5928da3 in QAction::activate (this=this@entry=0x3f861350, event=event@entry=QAction::Trigger) at kernel/qaction.cpp:1257
#7 0x00007ffff5d8842d in QMenuPrivate::activateCausedStack (this=this@entry=0x3f85ad80, causedStack=..., action=action@entry=0x3f861350, action_e=action_e@entry=QAction::Trigger, self=self@entry=true)
    at widgets/qmenu.cpp:1037
#8 0x00007ffff5d8c829 in QMenuPrivate::activateAction (this=0x3f85ad80, action=0x3f861350, action_e=QAction::Trigger, self=<optimized out>) at widgets/qmenu.cpp:1129
#9 0x00007ffff5981e20 in QWidget::event (this=this@entry=0x3f85ad50, event=event@entry=0x7fffffffd690) at kernel/qwidget.cpp:8775
#10 0x00007ffff5d90a9b in QMenu::event (this=0x3f85ad50, e=0x7fffffffd690) at widgets/qmenu.cpp:2480
#11 0x00007ffff592dcdc in QApplicationPrivate::notify_helper (this=this@entry=0x12b0b10, receiver=receiver@entry=0x3f85ad50, e=e@entry=0x7fffffffd690) at kernel/qapplication.cpp:4570
#12 0x00007ffff5934dd6 in QApplication::notify (this=this@entry=0x7fffffffde70, receiver=0x3f85ad50, e=0x7fffffffd690) at kernel/qapplication.cpp:4113
#13 0x0000000000a28cbf in MixxxApplication::notify (this=0x7fffffffde70, target=<optimized out>, event=0x7fffffffd690) at src/mixxxapplication.cpp:115
#14 0x00007ffff4f3d85d in QCoreApplication::notifyInternal (this=0x7fffffffde70, receiver=receiver@entry=0x3f85ad50, event=event@entry=0x7fffffffd690) at kernel/qcoreapplication.cpp:955
#15 0x00007ffff59343dd in QCoreApplication::sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#16 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x3f85ad50, event=event@entry=0x7fffffffd690, alienWidget=alienWidget@entry=0x0, nativeWidget=nativeWidget@entry=0x3f85ad50,
    buttonDown=buttonDown@entry=0x7ffff6456318 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#17 0x00007ffff59b03a2 in QETWidget::translateMouseEvent (this=this@entry=0x3f85ad50, event=event@entry=0x7fffffffd9c0) at kernel/qapplication_x11.cpp:4566
#18 0x00007ffff59af223 in QApplication::x11ProcessEvent (this=0x7fffffffde70, event=event@entry=0x7fffffffd9c0) at kernel/qapplication_x11.cpp:3626
#19 0x00007ffff59d8b52 in x11EventSourceDispatch (s=0x12b3140, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#20 0x00007fffefcdfff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fffefce0250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fffefce02fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#23 0x00007ffff4f6e20e in QEventDispatcherGlib::processEvents (this=0x12b1c90, flags=...) at kernel/qeventdispatcher_glib.cpp:452
#24 0x00007ffff59d8c26 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#25 0x00007ffff4f3c0d1 in QEventLoop::processEvents (this=this@entry=0x7fffffffdda0, flags=...) at kernel/qeventloop.cpp:149
#26 0x00007ffff4f3c445 in QEventLoop::exec (this=this@entry=0x7fffffffdda0, flags=...) at kernel/qeventloop.cpp:204
#27 0x00007ffff4f42429 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#28 0x00007ffff592bf2c in QApplication::exec () at kernel/qapplication.cpp:3828
#29 0x0000000000485be7 in main (argc=4, argv=<optimized out>) at src/main.cpp:116
(gdb)

Changed in mixxx:
assignee: nobody → Uwe Klotz (uklotzde)
Revision history for this message
Uwe Klotz (uklotzde-deactivatedaccount) wrote :

Some of the selected tracks must have been missing or inaccessible.

Fix comitted: https://github.com/mixxxdj/mixxx/pull/888

Changed in mixxx:
status: New → In Progress
Changed in mixxx:
status: In Progress → Fix Committed
Changed in mixxx:
milestone: none → 2.1.0
Changed in mixxx:
status: Fix Committed → Fix Released
Revision history for this message
Swiftb0y (swiftb0y) wrote :

Mixxx now uses GitHub for bug tracking. This bug has been migrated to:
https://github.com/mixxxdj/mixxx/issues/8462

lock status: Metadata changes locked and limited to project staff
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.