mixxxdj / mixxx

Mixxx is Free DJ software that gives you everything you need to perform live mixes.
http://mixxx.org
Other
4.52k stars 1.28k forks source link

2.3.0-alpha-pre: SEGV on startup #9816

Closed mixxxbot closed 2 years ago

mixxxbot commented 2 years ago

Reported by: rashidsunnywinter Date: 2019-11-29T11:02:51Z Status: Invalid Importance: Undecided Launchpad Issue: lp1854482


Suse tumbleweed (20191127) uname -a: Linux tranquility 5.3.12-1-vanilla #⁠1 SMP Thu Nov 21 07:21:43 UTC 2019 (a6f6081) x86_64 x86_64 x86_64 GNU/Linux running on del Latitude e7470 Intel® Core™ i5-6300U CPU @ 2.40GHz × 4 Intel® HD Graphics 520 (Skylake GT2)

Compiled successfully with: CC=clang CXX=clang++ LDFLAGS="-L/usr/local/lib64 -L/usr/lib64" scons -j 4 build=debug debug_assertions_fatal=1 color=1 asan=1 faad=1

Run with: pasuspender -- ./mixxx --developer --controllerDebug --logLevel trace --safeMode --resourcePath res/ --settingsPath rsw_settings

Produces following output:

Info [Main]: LibFaadLoader - Successfully loaded library "libfaad.so"
Info [Main]: SoundSourceProxy - SoundSource providers for file extension "aif"
Info [Main]: SoundSourceProxy -   2 : "libsndfile"
Info [Main]: SoundSourceProxy - SoundSource providers for file extension "aiff"
Info [Main]: SoundSourceProxy -   2 : "libsndfile"
Info [Main]: SoundSourceProxy - SoundSource providers for file extension "caf"
Info [Main]: SoundSourceProxy -   1 : "libsndfile"
Info [Main]: SoundSourceProxy - SoundSource providers for file extension "flac"
Info [Main]: SoundSourceProxy -   3 : "Xiph.org libFLAC"
Info [Main]: SoundSourceProxy -   1 : "libsndfile"
Info [Main]: SoundSourceProxy - SoundSource providers for file extension "m4a"
Info [Main]: SoundSourceProxy -   2 : "Nero FAAD2"
Info [Main]: SoundSourceProxy - SoundSource providers for file extension "mp3"
Info [Main]: SoundSourceProxy -   2 : "MAD: MPEG Audio Decoder"
Info [Main]: SoundSourceProxy - SoundSource providers for file extension "mp4"
Info [Main]: SoundSourceProxy -   2 : "Nero FAAD2"
Info [Main]: SoundSourceProxy - SoundSource providers for file extension "ogg"
Info [Main]: SoundSourceProxy -   3 : "Xiph.org OggVorbis"
Info [Main]: SoundSourceProxy -   1 : "libsndfile"
Info [Main]: SoundSourceProxy - SoundSource providers for file extension "wav"
Info [Main]: SoundSourceProxy -   2 : "libsndfile"
Debug [Main]: "Mixxx" "2.3.0-alpha-pre" "(git master r7016; built on: Nov 29 2019 @ 08:07:38; flags: asan=1 battery=1 buildtime=1 bulk=1 color=1 coreaudio=0 faad=1 ffmpeg=0 hid=1 hss1394=0 lilv=1 localecompare=1 macappstore=0 mad=1 mediafoundation=0 modplug=0 optimize=native opus=0 perftools=0 perftools_profiler=0 profiling=0 qt_sqlite_plugin=0 qtkeychain=0 shoutcast=1 test=False tsan=0 ubsan=0 verbose=1 vinylcontrol=1 wv=0)" is starting...
Debug [Main]: Compile time library versions:
Debug [Main]: Qt: 5.13.1
Debug [Main]: libshout: 2.4.3
Debug [Main]: PortAudio: 1246720 PortAudio V19.6.0-devel, revision 396fe4b6699ae929d3a685b3ef8a7e97396139a4
Debug [Main]: RubberBand: 1.8.1
Debug [Main]: SoundTouch: 2.1.2
Debug [Main]: TagLib: 1.11.2
Debug [Main]: ChromaPrint: 1.4.3
Debug [Main]: Vorbis: Xiph.Org libVorbis 1.3.6
Debug [Main]: libsndfile: libsndfile-1.0.28-exp
Debug [Main]: FLAC: 1.3.3
Debug [Main]: libmp3lame: 3.100
Debug [Main]: QStandardPaths::writableLocation(HomeLocation): "/home/rashid"
Debug [Main]: QStandardPaths::writableLocation(DataLocation): "/home/rashid/.local/share/Mixxx"
Debug [Main]: QCoreApplication::applicationDirPath() "/media/rashid/admin/Dev/mixxx/mixxx"
Debug [Main]: Loading resources from  "res/"
Debug [Main]: ConfigObject: Could not read "rsw_settings/mixxx.cfg"
Debug [StatsManager]: StatsManager thread starting up.
Debug [Main]: No version number in configuration file. Setting to 2.3.0-alpha-pre
Info [Main]: BroadcastSettings - Found 1 profile(s)
Debug [Main]: Loading resources from  "res/"
Debug [Main]: Found and will use default keyboard preset "res/keyboard/en_US.kbd.cfg"
Debug [Main]: Loading resources from  "res/"
Debug [Main]: Loading translations for locale "en_GB" from translations folder "res/translations/" : success
Debug [Main]: Loading resources from  "res/"
Debug [Main]: ConfigObject: Could not read "/media/rashid/admin/Dev/mixxx/mixxx/rsw_settings/sandbox.cfg"
Debug [Main]: FONT LOADED family: "Open Sans" style: "SemiBold" point sizes: "6,7,8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72"
Debug [Main]: FONT LOADED family: "Open Sans" style: "Regular" point sizes: "6,7,8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72"
Debug [Main]: FONT LOADED family: "Open Sans" style: "SemiBold Italic" point sizes: "6,7,8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72"
Debug [Main]: FONT LOADED family: "Open Sans" style: "Light Italic" point sizes: "6,7,8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72"
Debug [Main]: FONT LOADED family: "Open Sans" style: "Italic" point sizes: "6,7,8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72"
Debug [Main]: FONT LOADED family: "Open Sans" style: "Bold Italic" point sizes: "6,7,8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72"
Debug [Main]: FONT LOADED family: "Open Sans" style: "ExtraBold" point sizes: "6,7,8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72"
Debug [Main]: FONT LOADED family: "Open Sans" style: "Light" point sizes: "6,7,8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72"
Debug [Main]: FONT LOADED family: "Open Sans" style: "Bold" point sizes: "6,7,8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72"
Debug [Main]: FONT LOADED family: "Open Sans" style: "ExtraBold Italic" point sizes: "6,7,8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72"
Debug [Main]: FONT LOADED family: "Ubuntu" style: "Bold" point sizes: "6,7,8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72"
Debug [Main]: FONT LOADED family: "Ubuntu" style: "Bold" point sizes: "6,7,8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72"
Debug [Main]: FONT LOADED family: "Ubuntu" style: "Regular" point sizes: "6,7,8,9,10,11,12,14,16,18,20,22,24,26,28,36,48,72"
Debug [Main]: Compressor attack per frame:  0.000408163 decay per frame:  4.08163e-05
Debug [Main]: JACK client name set
ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2564:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_route.c:869:(find_matching_chmap) Found no matching channel map
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
ALSA lib pcm_usb_stream.c:486:(_snd_pcm_usb_stream_open) Invalid type for card
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
Debug [Main]: EngineNetworkStream - addWorker: worker added
Debug [Main]: EngineNetworkStream - worker slots used: "1 out of 16"
Debug [Main]: BroadcastManager - addConnection: created connection for profile "Connection 1"
Warning [Main]: ControlDoublePrivate::getControl returning NULL for ( "[AutoDJ]" , "enabled" )
Debug [Main]: WARNING: AudioInput already registered!
Debug [Main]: WARNING: AudioInput already registered!
Info [Main]: DbConnection - Available drivers for database connections: ("QSQLITE", "QSQLITE3", "QMYSQL", "QMYSQL3")
Debug [Main]: DbConnection - Opening database connection "MIXXX-1" QSqlDatabase(driver="QSQLITE", database="/media/rashid/admin/Dev/mixxx/mixxx/rsw_settings/mixxxdb.sqlite", host="localhost", port=-1, user="mixxx", open=false)
Info [Main]: DbConnectionPool - Cloned thread-local database connection "MIXXX-1" QSqlDatabase(driver="QSQLITE", database="/media/rashid/admin/Dev/mixxx/mixxx/rsw_settings/mixxxdb.sqlite", host="localhost", port=-1, user="mixxx", open=true)
Info [Main]: MixxxMainWindow - Connecting to database
Debug [Main]: DbConnectionPooled - Found thread-local database connection "MIXXX-1" QSqlDatabase(driver="QSQLITE", database="/media/rashid/admin/Dev/mixxx/mixxx/rsw_settings/mixxxdb.sqlite", host="localhost", port=-1, user="mixxx", open=true)
Info [Main]: MixxxMainWindow - Initializing or upgrading database schema
Info [Main]: SchemaManager - Database schema is up-to-date at version 30
Debug [Main]: LibraryScanner - Starting thread
Debug [Main]: DbConnectionPooled - Found thread-local database connection "MIXXX-1" QSqlDatabase(driver="QSQLITE", database="/media/rashid/admin/Dev/mixxx/mixxx/rsw_settings/mixxxdb.sqlite", host="localhost", port=-1, user="mixxx", open=true)
Info [Main]: Library - Connecting database
Debug [LibraryScanner 1]: LibraryScanner - Entering thread
Debug [LibraryScanner 1]: DbConnection - Opening database connection "MIXXX-2" QSqlDatabase(driver="QSQLITE", database="/media/rashid/admin/Dev/mixxx/mixxx/rsw_settings/mixxxdb.sqlite", host="localhost", port=-1, user="mixxx", open=false)
Debug [Main]: FwdSqlQuery - Preparing "CREATE TEMPORARY VIEW IF NOT EXISTS crate_summary AS SELECT crates.*,COUNT(CASE library.mixxx_deleted WHEN 0 THEN 1 ELSE NULL END) AS track_count,SUM(CASE library.mixxx_deleted WHEN 0 THEN library.duration ELSE 0 END) AS track_duration FROM crates LEFT JOIN crate_tracks ON crate_tracks.crate_id=crates.id LEFT JOIN library ON library.id=crate_tracks.track_id GROUP BY crates.id" took 378 us
Info [LibraryScanner 1]: DbConnectionPool - Cloned thread-local database connection "MIXXX-2" QSqlDatabase(driver="QSQLITE", database="/media/rashid/admin/Dev/mixxx/mixxx/rsw_settings/mixxxdb.sqlite", host="localhost", port=-1, user="mixxx", open=true)
Debug [LibraryScanner 1]: DbConnectionPooled - Found thread-local database connection "MIXXX-2" QSqlDatabase(driver="QSQLITE", database="/media/rashid/admin/Dev/mixxx/mixxx/rsw_settings/mixxxdb.sqlite", host="localhost", port=-1, user="mixxx", open=true)
Info [LibraryScanner 1]: LibraryScanner - Cleaning up database...
Debug [Main]: FwdSqlQuery - Executing "CREATE TEMPORARY VIEW IF NOT EXISTS crate_summary AS SELECT crates.*,COUNT(CASE library.mixxx_deleted WHEN 0 THEN 1 ELSE NULL END) AS track_count,SUM(CASE library.mixxx_deleted WHEN 0 THEN library.duration ELSE 0 END) AS track_duration FROM crates LEFT JOIN crate_tracks ON crate_tracks.crate_id=crates.id LEFT JOIN library ON library.id=crate_tracks.track_id GROUP BY crates.id" took 245 us
Debug [LibraryScanner 1]: FwdSqlQuery - Preparing "delete from LibraryHashes where hash <> 0 and directory_path not in (select directory from track_locations)" took 905 us
Debug [LibraryScanner 1]: FwdSqlQuery - Executing "delete from LibraryHashes where hash <> 0 and directory_path not in (select directory from track_locations)" took 55 us
Info [LibraryScanner 1]: LibraryScanner - Finished database cleanup: 1 ms
Debug [LibraryScanner 1]: LibraryScanner - Event loop starting
Debug [Main]: Committing transaction on "MIXXX-1" result: true
Debug [Main]: FwdSqlQuery - Preparing "SELECT * FROM crates WHERE autodj_source=:autoDjSource ORDER BY name COLLATE mixxxLexicographicalCollationFunc" took 262 us
Debug [Main]: FwdSqlQuery - Executing "SELECT * FROM crates WHERE autodj_source=:autoDjSource ORDER BY name COLLATE mixxxLexicographicalCollationFunc" took 285 us
Debug [Main]: CrateFeature::rebuildChildModel() -1
Debug [Main]: FwdSqlQuery - Preparing "SELECT COUNT(*) FROM crates" took 80 us
Debug [Main]: FwdSqlQuery - Executing "SELECT COUNT(*) FROM crates" took 103 us
Debug [Main]: FwdSqlQuery - Preparing "SELECT * FROM crate_summary ORDER BY name COLLATE mixxxLexicographicalCollationFunc" took 427 us
Debug [Main]: FwdSqlQuery - Executing "SELECT * FROM crate_summary ORDER BY name COLLATE mixxxLexicographicalCollationFunc" took 169 us
Debug [Main]: Default quick links: ("/home/rashid/Music/", "/home/rashid/Downloads/", "/home/rashid/Desktop/", "/home/rashid/Documents/")
Debug [Main]: Appending Quick Link:  "Music" --- "/home/rashid/Music/"
Debug [Main]: Appending Quick Link:  "Downloads" --- "/home/rashid/Downloads/"
Debug [Main]: Appending Quick Link:  "Desktop" --- "/home/rashid/Desktop/"
Debug [Main]: Appending Quick Link:  "Documents" --- "/home/rashid/Documents/"
Debug [Main]: Committing transaction on "MIXXX-1" result: true
Debug [Main]: Traktor Library Location=[ "/home/rashid/collection.nml" ]
Debug [Main]: Rekordbox table entries of ' "rekordbox_playlist_tracks" ' have been cleared.
Debug [Main]: Rekordbox table entries of ' "rekordbox_library" ' have been cleared.
Debug [Main]: Rekordbox table entries of ' "rekordbox_playlists" ' have been cleared.
Debug [Main]: Committing transaction on "MIXXX-1" result: true
Debug [Main]: Checking for access to user's library directories:
Debug [Main]: Checking for access to "/home/rashid/Music" : true
Debug [Main]: TrackAnalysisScheduler - Starting 2 worker threads
Debug [AnalyzerThread 0 mixxxdj/mixxx#4910]: AnalyzerThread 0 - Running
Debug [AnalyzerThread 0 mixxxdj/mixxx#4910]: DbConnection - Opening database connection "MIXXX-3" QSqlDatabase(driver="QSQLITE", database="/media/rashid/admin/Dev/mixxx/mixxx/rsw_settings/mixxxdb.sqlite", host="localhost", port=-1, user="mixxx", open=false)
Debug [AnalyzerThread 1 mixxxdj/mixxx#4911]: AnalyzerThread 1 - Running
Debug [AnalyzerThread 1 mixxxdj/mixxx#4911]: DbConnection - Opening database connection "MIXXX-4" QSqlDatabase(driver="QSQLITE", database="/media/rashid/admin/Dev/mixxx/mixxx/rsw_settings/mixxxdb.sqlite", host="localhost", port=-1, user="mixxx", open=false)
Info [AnalyzerThread 0 mixxxdj/mixxx#4910]: DbConnectionPool - Cloned thread-local database connection "MIXXX-3" QSqlDatabase(driver="QSQLITE", database="/media/rashid/admin/Dev/mixxx/mixxx/rsw_settings/mixxxdb.sqlite", host="localhost", port=-1, user="mixxx", open=true)
Debug [Main]: Creating ControllerManager
Debug [AnalyzerThread 0 mixxxdj/mixxx#4910]: DbConnectionPooled - Found thread-local database connection "MIXXX-3" QSqlDatabase(driver="QSQLITE", database="/media/rashid/admin/Dev/mixxx/mixxx/rsw_settings/mixxxdb.sqlite", host="localhost", port=-1, user="mixxx", open=true)
Debug [AnalyzerThread 0 mixxxdj/mixxx#4910]: AnalyzerThread - Activated 5 analyzers
Info [AnalyzerThread 1 mixxxdj/mixxx#4911]: DbConnectionPool - Cloned thread-local database connection "MIXXX-4" QSqlDatabase(driver="QSQLITE", database="/media/rashid/admin/Dev/mixxx/mixxx/rsw_settings/mixxxdb.sqlite", host="localhost", port=-1, user="mixxx", open=true)
Debug [AnalyzerThread 1 mixxxdj/mixxx#4911]: DbConnectionPooled - Found thread-local database connection "MIXXX-4" QSqlDatabase(driver="QSQLITE", database="/media/rashid/admin/Dev/mixxx/mixxx/rsw_settings/mixxxdb.sqlite", host="localhost", port=-1, user="mixxx", open=true)
Debug [Controller]: ControllerManager:slotInitialize
Debug [AnalyzerThread 1 mixxxdj/mixxx#4911]: AnalyzerThread - Activated 5 analyzers
Debug [Main]: TrackAnalysisScheduler - onWorkerThreadProgress 0 1 -1 -1
Debug [Main]: TrackAnalysisScheduler - onWorkerThreadProgress 1 1 -1 -1
Debug [Main]: DBus screensaver  org.freedesktop.ScreenSaver  inhibited
Debug [Main]: RLimit Cur  99
Debug [Main]: RLimit Max  99
Debug [Main]: ControllerManager::getControllerList
Debug [Main]: schemeName = ""
Debug [Main]: DbConnectionPooled - Found thread-local database connection "MIXXX-1" QSqlDatabase(driver="QSQLITE", database="/media/rashid/admin/Dev/mixxx/mixxx/rsw_settings/mixxxdb.sqlite", host="localhost", port=-1, user="mixxx", open=true)
Debug [Main]: Key plugin ID: ""
Debug [Main]: LegacySkinParser loading skin: "/media/rashid/admin/Dev/mixxx/mixxx/res/skins/Deere"
AddressSanitizer:DEADLYSIGNAL
=================================================================
==14105==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x000000000000 bp 0x000000000001 sp 0x7fffd6f28048 T0)
==14105==Hint: pc points to the zero page.
==14105==The signal is caused by a READ memory access.
==14105==Hint: address points to the zero page.

AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (<unknown module>) 
==14105==ABORTING

I have no idea where to start looking! Is there anything in this trace that helps?

Many thanks

Rashid

mixxxbot commented 2 years ago

Commented by: uklotzde Date: 2019-11-29T11:29:14Z


Try to disable asan for the build.

The Wiki contains a description on how to create backtraces within the debugger: https://www.mixxx.org/wiki/doku.php/creating_backtraces

mixxxbot commented 2 years ago

Commented by: rashidsunnywinter Date: 2019-11-29T14:11:41Z


Thanks Uwe, that worked fine.

Many thanks

Rashid

mixxxbot commented 2 years ago

Issue closed with status Invalid.