Segfault starting library scanner
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
Critical
|
Daniel Schürmann |
Bug Description
This happens not reliable with Mixxx 1.12 alpha Apr 9 2015 from Nicos repro. (Has no version)
Still trying to fins a schema.
Debug [LibraryScanner 1]: LibraryHashDAO:
Debug [LibraryScanner 1]: CueDAO::initialize LibraryScanner(
Debug [LibraryScanner 1]: TrackDAO:
Debug [LibraryScanner 1]: DirectoryDAO:
Debug [LibraryScanner 1]: LibraryScanner event loop starting.
Debug [Controller]: Found 0x0 0x0 "r4368" S/N 0x0 "Interface 0"
Warning [Controller]: USB permissions problem (or device error.) Your account needs write access to USB HID controllers.
[New Thread 0x7fff6f58a700 (LWP 8174)]
Debug [Controller]: Found 0x0 0x0 "r256" S/N 0x0 "Interface 0"
Warning [Controller]: USB permissions problem (or device error.) Your account needs write access to USB HID controllers.
Debug [Controller]: ControllerManag
Debug [Controller]: Controller polling stopped.
Debug [Main]: Opened PortAudio stream successfully... starting
Debug [Main]: Dynamically loaded PortAudio library
[New Thread 0x7fff6ed89700 (LWP 8175)]
Debug [Main]: PortAudio: Started stream successfully
Debug []: SSE: Enabling denormals to zero mode
Debug [Main]: Actual sample rate: 44100 Hz, latency: 278.639 ms
Debug []: SSE: Enabling flush to zero mode
Debug [Main]: Using "pulse" as output sound device clock reference
Debug [Main]: 1 output sound devices opened
Debug [Main]: 0 input sound devices opened
Debug [Main]: Displaying mixxx
Debug [Main]: Running Mixxx
Debug [Main]: Registered event listener change listener: true
[New Thread 0x7fff6db88700 (LWP 8177)]
Debug [Main]: LibraryTableMod
Warning [Main]: QSpiAccessible:
Warning [Main]: QSpiAccessible:
Warning [Main]: QSpiAccessible:
Warning [Main]: QSpiAccessible:
Warning [Main]: QSpiAccessible:
Warning [Main]: QSpiAccessible:
Debug [LibraryScanner 1]: LibraryScanner:
Debug [LibraryScanner 1]: upgrade filename is "/home/
Debug [LibraryScanner 1]: Committing transaction on "LIBRARY_SCANNER" result: true
Debug [LibraryScanner 1]: Legacy importer took 0 ms
Debug [LibraryScanner 1]: Recursively scanning library.
[New Thread 0x7fff6d387700 (LWP 8178)]
Debug [LibraryScanner 1]: LibraryScanner:
Debug [LibraryScanner 1]: Recursive scanning finished cleanly.
Debug [LibraryScanner 1]: Committing transaction on "LIBRARY_SCANNER" result: true
Debug [LibraryScanner 1]: Marking tracks in changed directories as verified
Debug [LibraryScanner 1]: Marking unchanged directories and tracks as verified
Debug [LibraryScanner 1]: Checking remaining unverified tracks.
Debug [LibraryScanner 1]: Marking unverified tracks as deleted.
Debug [LibraryScanner 1]: Marking unverified directories as deleted.
Debug [LibraryScanner 1]: Detecting moved files.
Debug [LibraryScanner 1]: Committing transaction on "LIBRARY_SCANNER" result: true
Debug [LibraryScanner 1]: Detecting cover art for unscanned files.
Debug [LibraryScanner 1]: Scan finished cleanly
Debug [LibraryScanner 1]: Scan took: 34500477 ns. 0 unchanged directories. 1 changed/added directories. 14 tracks verified from changed/added directories. 0 new tracks.
Debug [Main]: LibraryTableMod
Debug [Main]: MissingTableMod
Debug [Main]: HiddenTableMode
Debug [Main]: AnalysisLibrary
Debug [Main]: LibraryTableMod
Warning [Main]: QSpiAccessible:
Warning [Main]: QSpiAccessible:
Debug [LibraryScanner 1]: LibraryScanner:
Debug [LibraryScanner 1]: upgrade filename is "/home/
Debug [LibraryScanner 1]: Committing transaction on "LIBRARY_SCANNER" result: true
Debug [LibraryScanner 1]: Legacy importer took 0 ms
Debug [LibraryScanner 1]: Recursively scanning library.
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff6fd8b700 (LWP 8173)]
0x00007ffff550c674 in QObject::metaObject (this=0x7fff680
at .moc/release-
95 .moc/release-
(gdb) bt
#0 0x00007ffff550c674 in QObject::metaObject (this=0x7fff680
at .moc/release-
#1 0x00007ffff5502769 in QMetaObject::cast (this=0xda96e0, obj=0x7fff6803b280)
at kernel/
#2 0x00000000009b15b5 in ScannerTask:
_c=<optimized out>, _id=2, _a=0x7fff4c016fe0)
at lin64_build/
#3 0x00007ffff5515446 in QObject::event (this=0x7fff680
e=<optimized out>) at kernel/
#4 0x00007ffff5ebf894 in notify_helper (e=0x7fff4c018270,
receiver=
#5 QApplicationPri
receiver=
#6 0x00007ffff5ec4713 in QApplication:
receiver=
#7 0x0000000000a095d7 in MixxxApplicatio
target=
at src/mixxxapplic
#8 0x00007ffff54fbe9c in QCoreApplicatio
0x7fffffffdd30, receiver=
at kernel/
---Type <return> to continue, or q <return> to quit---
#9 0x00007ffff54ffc6a in sendEvent (event=
receiver=
at ../../include/
#10 QCoreApplicatio
data=0x4371e70) at kernel/
#11 0x00007ffff552af93 in sendPostedEvents ()
at ../../include/
#12 postEventSource
at kernel/
#13 0x00007ffff00d1d13 in g_main_dispatch (context=
at /build/
#14 g_main_
at /build/
#15 0x00007ffff00d2060 in g_main_
block=
at /build/
#16 g_main_
dispatch=1, self=<optimized out>)
at /build/
#17 0x00007ffff00d2124 in g_main_
may_block=1) at /build/
---Type <return> to continue, or q <return> to quit---
#18 0x00007ffff552b3bf in QEventDispatche
0x7fff680008c0, flags=...) at kernel/
#19 0x00007ffff54fac82 in QEventLoop:
flags=...) at kernel/
#20 0x00007ffff54faed7 in QEventLoop::exec (this=0x7fff6fd
at kernel/
#21 0x00007ffff53f9fa7 in QThread::exec (this=<optimized out>)
at thread/
#22 0x00000000009a3f58 in LibraryScanner::run (this=0x3a509a0)
at src/library/
#23 0x00007ffff53fcfcb in QThreadPrivate:
at thread/
#24 0x00007ffff31e2e9a in start_thread (arg=0x7fff6fd8
at pthread_
#25 0x00007ffff18b438d in clone ()
at ../sysdeps/
#26 0x0000000000000000 in ?? ()
Changed in mixxx: | |
status: | In Progress → Fix Released |
[New Thread 0x7fff6db88700 (LWP 8423)] el(0x2e519e0) select() took 2 ms 14 :accessibleEven t not handled: "6" obj: QMenu(0x38faf90) "" :accessibleEven t not handled: "7" obj: QMenu(0x38faf90) "" :slotStartScan dschuermann/ .mixxx/ DBUPGRADED"
Debug [Main]: LibraryTableMod
Warning [Main]: QSpiAccessible:
Warning [Main]: QSpiAccessible:
Debug [LibraryScanner 1]: LibraryScanner:
Debug [LibraryScanner 1]: upgrade filename is "/home/
Debug [LibraryScanner 1]: Committing transaction on "LIBRARY_SCANNER" result: true
Debug [LibraryScanner 1]: Legacy importer took 0 ms
Debug [LibraryScanner 1]: Recursively scanning library.
[New Thread 0x7fff6d372700 (LWP 8424)]
Program received signal SIGSEGV, Segmentation fault. nPrivate: :sendThroughObj ectEventFilters (this=<optimized out>, 0x7fff68041be0, event=0x7fff4c0 17850) qcoreapplicatio n.cpp:978 qcoreapplicatio n.cpp: Datei oder Verzeichnis nicht gefunden.
[Switching to Thread 0x7fff6fd8b700 (LWP 8418)]
QCoreApplicatio
receiver=
at kernel/
978 kernel/
(gdb) thread apply all bt
Thread 29 (Thread 0x7fff6d372700 (LWP 8424)): unix/syscall- template. S:82 buildd/ glib2.0- 2.32.4/ ./glib/ gwakeup. c:235 n::postEvent (receiver= 0x3a6b4f0, 0x7fff4c013680, priority=<optimized out>) qcoreapplicatio n.cpp:1322 71af0, 149c0, signal=9, sender= 0x7fff4c002190) qobject. cpp:3431 :activate (sender= 0x7fff4c002190, m=<optimized out>, signal_ index=< optimized out>, argv=0x7fff6d37 1af0) qobject. cpp:3507 :trackExists (this=<optimized out>, library/ scanner/ moc_scannertask .cc:160 ::run (this=0x7fff4c0 02190) scanner/ importfilestask .cpp:42 ad::run (this=0x7fff680 41950) qthreadpool. cpp:107 :start (arg=0x7fff6804 1950) qthread_ unix.cpp: 298 2700) create. c:308 unix/sysv/ linux/x86_ 64/clone. S:112
#0 0x00007ffff31e9ccd in write () at ../sysdeps/
#1 0x00007ffff010c951 in g_wakeup_signal (wakeup=<optimized out>)
at /build/
#2 0x00007ffff54ff6dc in QCoreApplicatio
event=
at kernel/
#3 0x00007ffff55105e4 in queued_activate (argv=0x7fff6d3
c=0x7fff4c0
at kernel/
#4 QMetaObject:
local_
at kernel/
#5 0x00000000009b1ab3 in ScannerTask:
_t1=...) at lin64_build/
#6 0x00000000009a20a4 in ImportFilesTask
at src/library/
#7 0x00007ffff53f04f2 in QThreadPoolThre
at concurrent/
#8 0x00007ffff53fcfcb in QThreadPrivate:
at thread/
#9 0x00007ffff31e2e9a in start_thread (arg=0x7fff6d37
at pthread_
#10 0x00007ffff18b438d in clone ()
at ../sysdeps/
#11 0x0000000000000000 in ?? ()
Thread 28 (Thread 0x7fff6db88700 (LWP 8423)): cond_timedwait@ @GLIBC_ 2.3.2 () sysdeps/ unix/sysv/ linux/x86_ 64/pthread_ cond_timedwait. S:215 qwaitcondition_ unix.cpp: 84 :wait (this=<optimized out>, mutex=0x4a75868, time=30000) qwaitcondition_ unix.cpp: 158 ad::run (this=0x4b7a460) qthreadpool. cpp:141 :start (arg=0x4b7a460) qthread_ unix.cpp: 298 8700) create. c:308 unix/sysv/ linux/x86_ 64/c...
#0 pthread_
at ../nptl/
#1 0x00007ffff53fd43f in wait (time=30000, this=0x4a6c190)
at thread/
#2 QWaitCondition:
at thread/
#3 0x00007ffff53f05bf in QThreadPoolThre
at concurrent/
#4 0x00007ffff53fcfcb in QThreadPrivate:
at thread/
#5 0x00007ffff31e2e9a in start_thread (arg=0x7fff6db8
at pthread_
#6 0x00007ffff18b438d in clone ()
at ../sysdeps/