mixxxdj / mixxx

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

Mixxx 2.6-alpha-105-g5f1a710870 crashes on startup #13746

Open spotlesscoder opened 1 month ago

spotlesscoder commented 1 month ago

Bug Description

image

Logfile:

20:27:33.074 Debug [Main] Skipping loading of translations because the locale is 'en' or 'en_US'.
20:27:33.074 Debug [Main] Loading resources from  "/Applications/Mixxx.app/Contents/Resources/"
20:27:33.074 Debug [Main] Found and will use default keyboard mapping "/Applications/Mixxx.app/Contents/Resources/keyboard/de_DE.kbd.cfg"
20:27:33.074 Debug [Main] Loading resources from  "/Applications/Mixxx.app/Contents/Resources/"
20:27:33.076 Warning [Main]      $ createMenuBar
20:27:33.103 Warning [Main]      $ initializeWindow
20:27:33.315 Debug [Main] SoundSourceProxy - Registering SoundSource providers
20:27:33.315 Debug [Main] SoundSourceProxy - Registering platform and fallback SoundSource providers
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering provider "Apple CoreAudio Version 15.0.1 (Build 24A348)"
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "aac" for provider "Apple CoreAudio Version 15.0.1 (Build 24A348)" with priority 4 (higher)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "m4a" for provider "Apple CoreAudio Version 15.0.1 (Build 24A348)" with priority 4 (higher)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "mp4" for provider "Apple CoreAudio Version 15.0.1 (Build 24A348)" with priority 4 (higher)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "mp3" for provider "Apple CoreAudio Version 15.0.1 (Build 24A348)" with priority 4 (higher)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "mp2" for provider "Apple CoreAudio Version 15.0.1 (Build 24A348)" with priority 4 (higher)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering provider "FFmpeg 6.0"
20:27:33.316 Info [Main] SoundSourceFFmpeg - Disabling untested input formats: aa, aax, ac3, ace, acm, act, adf, adp, ads, adx, aea, afc, aix, alp, amr, amrnb, amrwb, anm, apac, apc, ape, apm, apng, aptx, aptx_hd, aqtitle, argo_asf, argo_brp, argo_cvg, asf, asf_o, ass, ast, au, av1, avi, avr, avs, avs2, avs3, bethsoftvid, bfi, bin, bink, binka, bit, bitpacked, bmv, bfstm, brstm, boa, bonk, c93, caf, cavsvideo, cdg, cdxl, cine, codec2, codec2raw, concat, data, daud, dcstr, derf, dfa, dfpwm, dhav, dirac, dnxhd, dsf, dsicin, dss, dts, dtshd, dv, dvbsub, dvbtxt, dxa, ea, ea_cdata, eac3, epaf, ffmetadata, filmstrip, fits, flac, flic, flv, live_flv, 4xm, frm, fsb, fwse, g722, g723_1, g726, g726le, g729, gdv, genh, gif, gsm, gxf, h261, h263, h264, hca, hcom, hevc, hls, hnm, ico, idcin, idf, iff, ifv, ilbc, image2, image2pipe, alias_pix, brender_pix, ingenient, ipmovie, ipu, ircam, iss, iv8, ivf, ivr, jacosub, jv, kux, kvag, laf, lmlm4, loas, luodat, lrc, lvf, lxf, mca, mcc, matroska,webm, mgsts, microdvd, mjpeg, mjpeg_2000, mlp, mlv, mm, mmf, mods, moflex, mpc, mpc8, mpeg, mpegts, mpegtsraw, mpegvideo, mpjpeg, mpl2, mpsub, msf, msnwctcp, msp, mtaf, mtv, musx, mv, mvi, mxf, mxg, nc, nistsphere, nsp, nsv, nut, nuv, obu, ogg, oma, paf, alaw, mulaw, vidc, f64be, f64le, f32be, f32le, s32be, s32le, s24be, s24le, s16be, s16le, s8, u32be, u32le, u24be, u24le, u16be, u16le, u8, pjs, pmp, pp_bnk, pva, pvf, qcp, r3d, rawvideo, realtext, redspark, rka, rl2, rm, roq, rpl, rsd, rso, rtp, rtsp, s337m, sami, sap, sbc, sbg, scc, scd, sdns, sdp, sdr2, sds, sdx, film_cpk, ser, sga, shn, siff, simbiosis_imx, sln, smk, smjpeg, smush, sol, sox, spdif, srt, psxstr, stl, subviewer1, subviewer, sup, svag, svs, swf, tak, tedcaptions, thp, 3dostr, tiertexseq, tmv, truehd, tta, txd, tty, ty, v210, v210x, vag, vc1, vc1test, vividas, vivo, vmd, vobsub, voc, vpk, vplayer, vqf, w64, wady, wavarc, wc3movie, webm_dash_manifest, webvtt, wsaud, wsd, wsvqa, wtv, wve, xa, xbin, xmd, xmv, xvag, xwma, yop, yuv4mpegpipe, bmp_pipe, cri_pipe, dds_pipe, dpx_pipe, exr_pipe, gem_pipe, gif_pipe, hdr_pipe, j2k_pipe, jpeg_pipe, jpegls_pipe, jpegxl_pipe, pam_pipe, pbm_pipe, pcx_pipe, pfm_pipe, pgmyuv_pipe, pgm_pipe, pgx_pipe, phm_pipe, photocd_pipe, pictor_pipe, png_pipe, ppm_pipe, psd_pipe, qdraw_pipe, qoi_pipe, sgi_pipe, svg_pipe, sunrast_pipe, tiff_pipe, vbn_pipe, webp_pipe, xbm_pipe, xpm_pipe, xwd_pipe
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "aac" for provider "FFmpeg 6.0" with priority 1 (lowest)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "aiff" for provider "FFmpeg 6.0" with priority 1 (lowest)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "mp4" for provider "FFmpeg 6.0" with priority 1 (lowest)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "mov" for provider "FFmpeg 6.0" with priority 1 (lowest)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "mp4" for provider "FFmpeg 6.0" with priority 1 (lowest)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "m4a" for provider "FFmpeg 6.0" with priority 1 (lowest)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "3gp" for provider "FFmpeg 6.0" with priority 1 (lowest)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "3g2" for provider "FFmpeg 6.0" with priority 1 (lowest)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "mj2" for provider "FFmpeg 6.0" with priority 1 (lowest)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "mp3" for provider "FFmpeg 6.0" with priority 1 (lowest)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "wav" for provider "FFmpeg 6.0" with priority 1 (lowest)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "wv" for provider "FFmpeg 6.0" with priority 1 (lowest)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering provider "MODPlug"
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "mod" for provider "MODPlug" with priority 3 (default)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "okt" for provider "MODPlug" with priority 3 (default)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "s3m" for provider "MODPlug" with priority 3 (default)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "stm" for provider "MODPlug" with priority 3 (default)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "xm" for provider "MODPlug" with priority 3 (default)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "it" for provider "MODPlug" with priority 3 (default)
20:27:33.316 Info [Main] SoundSourceSndFile - Disabling OGG decoding for "libsndfile-1.2.2"
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering provider "libsndfile"
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "aiff" for provider "libsndfile" with priority 3 (default)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "caf" for provider "libsndfile" with priority 2 (lower)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "flac" for provider "libsndfile" with priority 2 (lower)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "wav" for provider "libsndfile" with priority 3 (default)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering provider "STEM with FFmpeg 6.0"
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "stem.mp4" for provider "STEM with FFmpeg 6.0" with priority 4 (higher)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "stem.m4a" for provider "STEM with FFmpeg 6.0" with priority 4 (higher)
20:27:33.316 Debug [Main] SoundSourceProxy - Registering reference SoundSource providers
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering provider "Xiph.org libFLAC"
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "flac" for provider "Xiph.org libFLAC" with priority 4 (higher)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering provider "Xiph.org OggVorbis"
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "ogg" for provider "Xiph.org OggVorbis" with priority 4 (higher)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering provider "Xiph.org libopusfile"
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "opus" for provider "Xiph.org libopusfile" with priority 4 (higher)
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering provider "WavPack"
20:27:33.316 Debug [Main] SoundSourceProviderRegistry - Registering file type "wv" for provider "WavPack" with priority 4 (higher)
20:27:33.316 Debug [Main] QMimeType("video/3gpp2") "3g2"
20:27:33.316 Debug [Main] QMimeType("video/3gpp") "3gp"
20:27:33.316 Debug [Main] QMimeType("audio/aac") "aac"
20:27:33.316 Debug [Main] QMimeType("audio/x-aiff") "aiff"
20:27:33.317 Debug [Main] QMimeType("audio/flac") "flac"
20:27:33.317 Debug [Main] QMimeType("audio/x-it") "it"
20:27:33.317 Debug [Main] QMimeType("audio/mp4") "m4a"
20:27:33.317 Debug [Main] QMimeType("video/mj2") "mj2"
20:27:33.317 Debug [Main] QMimeType("audio/x-mod") "mod"
20:27:33.317 Debug [Main] QMimeType("video/quicktime") "mov"
20:27:33.317 Debug [Main] QMimeType("audio/mp2") "mp2"
20:27:33.317 Debug [Main] QMimeType("video/mpeg") "mp2"
20:27:33.317 Debug [Main] QMimeType("audio/mpeg") "mp3"
20:27:33.317 Debug [Main] QMimeType("video/mp4") "mp4"
20:27:33.317 Debug [Main] QMimeType("audio/ogg") "ogg"
20:27:33.317 Debug [Main] QMimeType("audio/x-flac+ogg") "ogg"
20:27:33.317 Debug [Main] QMimeType("audio/x-speex+ogg") "ogg"
20:27:33.317 Debug [Main] QMimeType("audio/x-vorbis+ogg") "ogg"
20:27:33.317 Debug [Main] QMimeType("video/ogg") "ogg"
20:27:33.317 Debug [Main] QMimeType("video/x-theora+ogg") "ogg"
20:27:33.317 Debug [Main] QMimeType("audio/x-opus+ogg") "opus"
20:27:33.317 Debug [Main] QMimeType("audio/x-s3m") "s3m"
20:27:33.317 Debug [Main] QMimeType("audio/x-stm") "stm"
20:27:33.317 Debug [Main] QMimeType("audio/x-wav") "wav"
20:27:33.317 Debug [Main] QMimeType("audio/x-wavpack") "wv"
20:27:33.317 Debug [Main] QMimeType("audio/x-xm") "xm"
20:27:33.318 Debug [Main] Mixxx 2.6.0-alpha (git 2.6-alpha-105-g5f1a710870 (HEAD); built on: Oct  9 2024 @ 11:09:57; flags: -pipe;-ffast-math;-funroll-loops;-O3;-fomit-frame-pointer;-fobjc-arc;-Wall;-Wextra;$<$<COMPILE_LANGUAGE:CXX>:-Woverloaded-virtual>;-Wfloat-conversion;-Werror=return-type;-Wformat=2;-Wformat-security;-Wvla;-Wundef;-fmacro-prefix-map=/Users/runner/work/mixxx/mixxx=.;-Werror) is starting...
20:27:33.318 Debug [Main] Compile time library versions:
20:27:33.318 Debug [Main] Qt: 6.5.3
20:27:33.318 Debug [Main] libshout: 2.4.1
20:27:33.318 Debug [Main] PortAudio: 1246976 PortAudio V19.7.0-devel, revision unknown
20:27:33.318 Debug [Main] RubberBand: 3.3.0
20:27:33.318 Debug [Main] SoundTouch: 2.3.2
20:27:33.318 Debug [Main] TagLib: 1.13.1
20:27:33.318 Debug [Main] ChromaPrint: 1.5.1
20:27:33.318 Debug [Main] libebur128: 1.2.6
20:27:33.318 Debug [Main] Vorbis: Xiph.Org libVorbis 1.3.7
20:27:33.318 Debug [Main] libsndfile: libsndfile-1.2.2
20:27:33.318 Debug [Main] FLAC: 1.4.3
20:27:33.318 Debug [Main] libmp3lame: 3.100
20:27:33.318 Debug [Main] QStandardPaths::writableLocation(HomeLocation): "/Users/user/Library/Containers/org.mixxx.mixxx/Data"
20:27:33.318 Debug [Main] QStandardPaths::writableLocation(AppDataLocation): "/Users/user/Library/Containers/org.mixxx.mixxx/Data/Library/Application Support/Mixxx"
20:27:33.318 Debug [Main] QCoreApplication::applicationDirPath() "/Applications/Mixxx.app/Contents/MacOS"
20:27:33.318 Debug [Main] Loading resources from  "/Applications/Mixxx.app/Contents/Resources/"
20:27:33.318 Debug [Main] ConfigObject: Could not read "/Users/user/Library/Containers/org.mixxx.mixxx/Data/Library/Application Support/Mixxx/sandbox.cfg"
20:27:33.318 Debug [Main] ConfigObject: Could not read "/Users/user/Library/Containers/org.mixxx.mixxx/Data/Library/Application Support/Mixxx/sandbox.cfg"
20:27:33.338 Info [Main] DbConnection - Available drivers for database connections: QList("QPSQL", "QSQLITE")
20:27:33.339 Info [Main] DbConnectionPool - Cloned thread-local database connection "MIXXX-1" QSqlDatabase(driver="QSQLITE", database="file:///Users/user/Library/Containers/org.mixxx.mixxx/Data/Library/Application Support/Mixxx/mixxxdb.sqlite", host="", port=-1, user="mixxx", open=true)
20:27:33.339 Info [Main] CoreServices - Connecting to database
20:27:33.339 Info [Main] CoreServices - Initializing or upgrading database schema
20:27:33.340 Info [Main] SettingsDAO - Failed to prepare query: Returning default value "" for "mixxx.schema.version"
20:27:33.340 Info [Main] SettingsDAO - Failed to prepare query: Returning default value "" for "mixxx.schema.last_used_version"
20:27:33.340 Info [Main] SettingsDAO - Failed to prepare query: Returning default value "" for "mixxx.schema.version"
20:27:33.340 Info [Main] SchemaManager - Upgrading database schema from version 0 to version 39
20:27:33.340 Info [Main] SchemaManager - Upgrading database schema to version 1 : "The base schema for the Mixxx SQLITE database."
20:27:33.341 Info [Main] SchemaManager - Upgraded database schema to version 1
20:27:33.341 Info [Main] SchemaManager - Upgrading database schema to version 2 : "Add a header_parsed integer column to the library to indicate when a\n      track's tags have been parsed."
20:27:33.342 Info [Main] SchemaManager - Upgraded database schema to version 2
20:27:33.342 Info [Main] SchemaManager - Upgrading database schema to version 3 : "Change the location column to be a an integer. Change comment to be\n      varchar(256) and album/artist/title to be varchar(64)."
20:27:33.343 Info [Main] SchemaManager - Upgraded database schema to version 3
20:27:33.344 Info [Main] SchemaManager - Upgrading database schema to version 4 : "Add file type column."
20:27:33.344 Info [Main] SchemaManager - Upgraded database schema to version 4
20:27:33.344 Info [Main] SchemaManager - Upgrading database schema to version 5 : "Add needs_verification column to library hashes table."
20:27:33.344 Info [Main] SchemaManager - Upgraded database schema to version 5
20:27:33.345 Info [Main] SchemaManager - Upgrading database schema to version 6 : "Added a ReplayGain Column."
20:27:33.345 Info [Main] SchemaManager - Upgraded database schema to version 6
20:27:33.345 Info [Main] SchemaManager - Upgrading database schema to version 7 : "Add timesplayed and rating column. Reset header state."
20:27:33.346 Info [Main] SchemaManager - Upgraded database schema to version 7
20:27:33.346 Info [Main] SchemaManager - Upgrading database schema to version 8 : "Added iTunes tables"
20:27:33.346 Info [Main] SchemaManager - Upgraded database schema to version 8
20:27:33.347 Info [Main] SchemaManager - Upgrading database schema to version 9 : "Tables for Traktor library feature"
20:27:33.347 Info [Main] SchemaManager - Upgraded database schema to version 9
20:27:33.347 Info [Main] SchemaManager - Upgrading database schema to version 10 : "Playlist and crate locks"
20:27:33.348 Info [Main] SchemaManager - Upgraded database schema to version 10
20:27:33.348 Info [Main] SchemaManager - Upgrading database schema to version 11 : "Tables for Rhythmbox library feature"
20:27:33.349 Info [Main] SchemaManager - Upgraded database schema to version 11
20:27:33.349 Info [Main] SchemaManager - Upgrading database schema to version 12 : "Add beats column to library table."
20:27:33.350 Info [Main] SchemaManager - Upgraded database schema to version 12
20:27:33.350 Info [Main] SchemaManager - Upgrading database schema to version 13 : "Add position column to Rhythmbox, iTunes, and Traktor playlist tables."
20:27:33.350 Info [Main] SchemaManager - Upgraded database schema to version 13
20:27:33.351 Info [Main] SchemaManager - Upgrading database schema to version 14 : "Add composer column to library table."
20:27:33.351 Info [Main] SchemaManager - Upgraded database schema to version 14
20:27:33.351 Info [Main] SchemaManager - Upgrading database schema to version 15 : "Add datetime_added to playlists tracks."
20:27:33.352 Info [Main] SchemaManager - Upgraded database schema to version 15

Version

2.6-alpha-105-g5f1a710870

OS

macOS 15.0.1 (M1)

ronso0 commented 1 month ago

This is the arm64 version, right?

This happened with the CI build of #13741, could you please try the alpha of the main branch? https://downloads.mixxx.org/snapshots/main/mixxx-2.6-alpha-99-gcff6de731a-macosarm.dmg from https://downloads.mixxx.org/snapshots/main/

spotlesscoder commented 1 month ago

Yes, it's arm64 The version you linked does work :)

ronso0 commented 1 month ago

Okay, thanks.

I think it's highly unlikely that changes of #13741 would cause this, so I guess I just based my branch on some old, broken commit in main (0c00f15543a8d9c6aff9ccc51e72331549e98fb3). I'll rebase #13741 on main now.

We could simply walk on, who cares, it's been fixed. Or shall we git bisect to identify the culprit? @mixxxdj/developers Are you by any chance familiar with git?

spotlesscoder commented 1 month ago

yes, I am but I won't find the time in the near future

fwcd commented 1 month ago

I wrote a Python script for bisecting over binary snapshots of Mixxx a while back, which you could use if you don't want to bisect with Git and build everything manually: https://github.com/fwcd/mixxx-bisect

ronso0 commented 1 month ago

And a gdb backtrace of the crashing¹ version would be nice. Instructions are here https://github.com/mixxxdj/mixxx/wiki/Creating-Backtraces#linux--mac-os-x-with-xcode-4x

¹it's not actually crashing, right? It's macOS stopping Mixxx because it thinks some 'plugin' is missing?

ronso0 commented 1 month ago

you may also test the most recent 2.5-beta build, maybe we can isolate it to a specific version. https://downloads.mixxx.org/snapshots/2.5/mixxx-2.5-beta-60-g240033666f-macosarm.dmg

fwcd commented 1 month ago

Posted this on Zulip already, but reposting it here for completeness too:

The issue might actually be a bug in the macOS daemon ScopedBookmarkAgent on macOS 15 and 15.0.1, which can hang if launched before the user keychain was unlocked. The bug seems to be fixed in macOS 15.1, but until then, a workaround is to kill ScopedBookmarkAgent manually and relaunch Mixxx.

If that workaround fixes it for you (or the issue occurs on stable Mixxx too), it's probably not a Mixxx issue.

spotlesscoder commented 1 month ago

you may also test the most recent 2.5-beta build, maybe we can isolate it to a specific version. https://downloads.mixxx.org/snapshots/2.5/mixxx-2.5-beta-60-g240033666f-macosarm.dmg

That version works 👍