mixxx crashes when (double)clicking on a folder in the library
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
High
|
RJ Skerry-Ryan |
Bug Description
I've dragged a directory into the mixxx library - when I double click on the entry mixxx segfaults.
valgrind output of the segfault (this is just a little part which seems relevant - I can provide the full output if needed):
Debug: [Main]: TrackDAO::getTrack QThread(0x6241190, name = "Main") "qt_sql_
Debug: [Main]: TrackInfoObject: emitting bpmUpdated signal!
Debug: [Main]: setCuePoints 0
==8304== Thread 2:
==8304== Conditional jump or move depends on uninitialised value(s)
==8304== at 0x818C132: SoundSourceProx
==8304== by 0x818B9B1: SoundSourceProx
==8304== by 0x80E60C9: CachingReader:
==8304== by 0x80E5D6B: CachingReader:
==8304== by 0x5603921: ??? (in /usr/lib/
==8304== by 0x580F8AB: start_thread (in /lib/libpthread
==8304== by 0x5A2901D: clone (in /lib/libc-
==8304==
==8304== Use of uninitialised value of size 4
==8304== at 0x818C141: SoundSourceProx
==8304== by 0x818B9B1: SoundSourceProx
==8304== by 0x80E60C9: CachingReader:
==8304== by 0x80E5D6B: CachingReader:
==8304== by 0x5603921: ??? (in /usr/lib/
==8304== by 0x580F8AB: start_thread (in /lib/libpthread
==8304== by 0x5A2901D: clone (in /lib/libc-
==8304==
==8304== Invalid read of size 4
==8304== at 0x818C141: SoundSourceProx
==8304== by 0x818B9B1: SoundSourceProx
==8304== by 0x80E60C9: CachingReader:
==8304== by 0x80E5D6B: CachingReader:
==8304== by 0x5603921: ??? (in /usr/lib/
==8304== by 0x580F8AB: start_thread (in /lib/libpthread
==8304== by 0x5A2901D: clone (in /lib/libc-
==8304== Address 0x1 is not stack'd, malloc'd or (recently) free'd
==8304==
==8304==
==8304== Process terminating with default action of signal 11 (SIGSEGV)
==8304== Access not within mapped region at address 0x1
==8304== at 0x818C141: SoundSourceProx
==8304== by 0x818B9B1: SoundSourceProx
==8304== by 0x80E60C9: CachingReader:
==8304== by 0x80E5D6B: CachingReader:
==8304== by 0x5603921: ??? (in /usr/lib/
==8304== by 0x580F8AB: start_thread (in /lib/libpthread
==8304== by 0x5A2901D: clone (in /lib/libc-
==8304== If you believe this happened as a result of a stack
==8304== overflow in your program's main thread (unlikely but
==8304== possible), you can try to increase the size of the
==8304== main thread stack using the --main-stacksize= flag.
==8304== The main thread stack size used in this run was 8388608.
==8304==
==8304== HEAP SUMMARY:
==8304== in use at exit: 47,343,467 bytes in 67,685 blocks
==8304== total heap usage: 413,300 allocs, 345,615 frees, 239,030,156 bytes allocated
==8304==
==8304== LEAK SUMMARY:
==8304== definitely lost: 11,052 bytes in 278 blocks
==8304== indirectly lost: 13,300 bytes in 623 blocks
==8304== possibly lost: 25,708,272 bytes in 52,867 blocks
==8304== still reachable: 21,610,843 bytes in 13,917 blocks
==8304== suppressed: 0 bytes in 0 blocks
==8304== Rerun with --leak-check=full to see details of leaked memory
==8304==
==8304== For counts of detected and suppressed errors, rerun with: -v
==8304== Use --track-origins=yes to see where uninitialised values come from
==8304== ERROR SUMMARY: 7394463 errors from 203 contexts (suppressed: 224 from 17)
Killed
Changed in mixxx: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → 1.8.0 |
Changed in mixxx: | |
status: | Triaged → Fix Committed |
summary: |
- mixxx crahes when (double)clicking on a folder in the library + mixxx crashes when (double)clicking on a folder in the library |
Changed in mixxx: | |
status: | Fix Committed → Fix Released |
Here is the backtrace:
(gdb) run tmp/mixxx/ mixxx/mixxx :getControl returning NULL for ( "[Mixer Profile]" , "LoEQFrequency" ) trackcollection .cpp DB status: true :upgradeToSchem aVersion already at version 1 :initialize QThread(0x83ec050, name = "Main") "qt_sql_ default_ connection" :initialize( ) default_ connection" iewer() actory :: Creating new visual waveform actory :: Making new GL context.
Starting program: /home/yves/
[Thread debugging using libthread_db enabled]
Debug: [Main]: Setting up plugin paths...
Debug: [Main]: ...done.
Debug: [Main]: Mixxx trunk "(bzr r2217; built on: Jan 7 2010 @ 09:36:31) " is starting...
Debug: [Main]: At current version trunk
Debug: [Main]: CachingReader using 4980736 bytes.
[New Thread 0xb2254b70 (LWP 8386)]
Debug: [Main]: CachingReader using 4980736 bytes.
[New Thread 0xb1304b70 (LWP 8387)]
Debug: [Main]: ControlObject:
[New Thread 0xb045fb70 (LWP 8388)]
Debug: [Main]: SampleRate 44100
Debug: [Main]: Latency 64
[New Thread 0xafb38b70 (LWP 8389)]
Debug: [Main]: ("QSQLITE", "QMYSQL3", "QMYSQL", "QODBC3", "QODBC", "QPSQL7", "QPSQL")
Debug: [Main]: src/library/
Debug: [Main]: QSqlError(-1, "", "")
Debug: [Main]: SchemaManager:
Debug: [Main]: TrackDAO:
Debug: [Main]: CrateDAO:
Debug: [Main]: CueDAO::initialize QThread(0x83ec050, name = "Main") "qt_sql_
Debug: [Main]: Created MissingTracksModel!
[New Thread 0xadf26b70 (LWP 8391)]
Debug: [Main]: createWaveformV
Debug: [Main]: WaveformViewerF
Debug: [Main]: WaveformViewerF
Debug: [Main]: Didn't get mark Color, using parent's MarkerColor: "#0000ff"
Debug: [Main]: Didn't get mark TextColor, using parent's BgColor: "#ffffff"
Debug: [Main]: Didn't get mark Color, using parent's MarkerColor: "#0000ff"
Debug: [Main]: Didn't get mark Color, using parent's MarkerColor: "#00ff00"
Debug: [Main]: Didn't get mark Color, using parent's MarkerColor: "#0000ff"
Debug: [Main...