Mixxx crashes on Ubuntu 20.04 when loading songs to first deck

Bug #1951808 reported by Aurelio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mixxx
New
Undecided
Unassigned

Bug Description

Sometimes, almost always, Mixxx crashes when loading songs to first desck. Sometimes, even using auto DJ. The parent process is pasuspender. Further information in attached picture file.

My system is: Kubuntu 20.04. KDE Plasma 5.18.5 ; tested on another computer with same OS and different graphical environment (MATE) and same issue.

Please, fix it. I'm quite interested on setting up my own radio station and this program is superb!

Revision history for this message
Aurelio (agrgal2) wrote :

Forget it! Mixxx version 2.3.1

Revision history for this message
Daniel Schürmann (daschuer) wrote :

Please upload you mixxx.log after a crash had happened. ~/.mixxx/mixxx.log

If you are able to reproduce that crash, a gdb backlog might be also helpfull:

https://github.com/mixxxdj/mixxx/wiki/Creating-Backtraces#linux--mac-os-x-with-xcode-4x

Are all files affected, or only one special file or a group of files?

Revision history for this message
Aurelio (agrgal2) wrote :
Download full text (16.0 KiB)

Ok. This is the content of mixxx.log file

Debug [Main]: SoundSourceProxy - Registering SoundSource providers
Debug [Main]: SoundSourceProxy - Registering platform and fallback SoundSource providers
Debug [Main]: SoundSourceProviderRegistry - Registering provider "FFmpeg"
Info [Main]: SoundSourceFFmpeg - Disabling untested input formats: aa, ac3, acm, act, adf, adp, ads, adx, aea, afc, aix, amr, amrnb, amrwb, anm, apc, ape, apng, aptx, aptx_hd, aqtitle, asf, asf_o, ass, ast, au, avi, avisynth, avr, avs, avs2, bethsoftvid, bfi, bin, bink, bit, bmv, bfstm, brstm, boa, c93, caf, cavsvideo, cdg, cdxl, cine, codec2, codec2raw, concat, dash, data, daud, dcstr, dfa, 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, g722, g723_1, g726, g726le, g729, gdv, genh, gif, gsm, gxf, h261, h263, h264, hcom, hevc, hls, hnm, ico, idcin, idf, iff, ifv, ilbc, image2, image2pipe, alias_pix, brender_pix, ingenient, ipmovie, ircam, iss, iv8, ivf, ivr, jacosub, jv, kux, lmlm4, loas, lrc, lvf, lxf, matroska,webm, mgsts, microdvd, mjpeg, mjpeg_2000, mlp, mlv, mm, mmf, mpc, mpc8, mpeg, mpegts, mpegtsraw, mpegvideo, mpjpeg, mpl2, mpsub, msf, msnwctcp, mtaf, mtv, musx, mv, mvi, mxf, mxg, nc, nistsphere, nsp, nsv, nut, nuv, 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, pva, pvf, qcp, r3d, rawvideo, realtext, redspark, rl2, rm, roq, rpl, rsd, rso, rtp, rtsp, s337m, sami, sap, sbc, sbg, scc, sdp, sdr2, sds, sdx, film_cpk, ser, shn, siff, sln, smk, smjpeg, smush, sol, sox, spdif, srt, psxstr, stl, subviewer1, subviewer, sup, svag, 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, wc3movie, webm_dash_manifest, webvtt, wsaud, wsd, wsvqa, wtv, wve, xa, xbin, xmv, xvag, xwma, yop, yuv4mpegpipe, bmp_pipe, dds_pipe, dpx_pipe, exr_pipe, gif_pipe, j2k_pipe, jpeg_pipe, jpegls_pipe, pam_pipe, pbm_pipe, pcx_pipe, pgmyuv_pipe, pgm_pipe, pictor_pipe, png_pipe, ppm_pipe, psd_pipe, qdraw_pipe, sgi_pipe, svg_pipe, sunrast_pipe, tiff_pipe, webp_pipe, xpm_pipe, xwd_pipe, libgme, libopenmpt
Debug [Main]: SoundSourceProviderRegistry - Registering file extension "aac" for provider "FFmpeg" with priority 1 (lowest)
Debug [Main]: SoundSourceProviderRegistry - Registering file extension "aif" for provider "FFmpeg" with priority 1 (lowest)
Debug [Main]: SoundSourceProviderRegistry - Registering file extension "aiff" for provider "FFmpeg" with priority 1 (lowest)
Debug [Main]: SoundSourceProviderRegistry - Registering file extension "m4v" for provider "FFmpeg" with priority 1 (lowest)
Debug [Main]: SoundSourceProviderRegistry - Registering file extension "mov" for provider "FFmpeg" with priority 1 (lowest)
Debug [Main]: SoundSourceProviderRegistry - Registering file extension "mp4" for provider "FFmpeg" with priority 1 (lowest)
Debug [Main]: SoundSourceProviderRegistry - Registering file extension "m4a" for provider "FFmpeg" with priority 1 (lowest)...

Revision history for this message
Aurelio (agrgal2) wrote :
Download full text (5.7 KiB)

And the process using gdb doesn't really stop. I can't apply the command "thread apply all bt full"

Something relative to permissions? It seemed to work right under root account.

The output of gdb in terminal so far (normal user, not root ) is:
============================================================================

GNU gdb (Ubuntu 9.2-0ubuntu1~20.04) 9.2
Copyright (C) 2020 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
    <http://www.gnu.org/software/gdb/documentation/>.

For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from mixxx...
Reading symbols from /usr/lib/debug/.build-id/d2/c8c93f6ff924612ae525d4c6800958b0ae3448.debug...
(gdb) set height 0
(gdb) run
Starting program: /usr/bin/mixxx
[Depuración de hilo usando libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Nuevo Thread 0x7fffea9d9700 (LWP 3264)]
[Nuevo Thread 0x7fffe3fff700 (LWP 3265)]
[Nuevo Thread 0x7fffe1522700 (LWP 3266)]
[Nuevo Thread 0x7fffe0d21700 (LWP 3267)]
[Nuevo Thread 0x7fffd6849700 (LWP 3268)]
[Nuevo Thread 0x7fffd6048700 (LWP 3269)]
[Nuevo Thread 0x7fffd5847700 (LWP 3270)]
[Nuevo Thread 0x7fffc7fff700 (LWP 3271)]
[Nuevo Thread 0x7fffc7279700 (LWP 3272)]
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
ALSA lib pcm.c:2642:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
ALSA lib pcm.c:2642:(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
[Nuevo Thread 0x7fffc5cec700 (LWP 3274)]
Cannot connect to server socket err = No existe el archivo o el directorio
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
[Thread 0x7fffc5cec700 (LWP 3274) terminado]
[Nuevo Thread 0x7fffc5cec700 (LWP 3275)]
Cannot connect to server socket err = No existe el archivo o el directorio
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
[Thread 0x7fffc5cec700 (LWP 3275) terminado]
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_open) Unknown field port
ALSA lib pcm_oss.c:377:(_snd_pcm_oss_op...

Read more...

Revision history for this message
Uwe Klotz (uklotzde-deactivatedaccount) wrote :

You have probably messed up your file permissions while running Mixxx as root. You didn't mention this before. This could be the cause of the crash.

Revision history for this message
Daniel Schürmann (daschuer) wrote :

From your initial post, I assume Mixxx immediately quits when crashing, right?
This should also stop the debugger for creating a back trace.

If this no longer happens, I suggested to use Mixxx as usually under GDB and wait for such a crash.

In case the issue is different, please describe what Mixxx does and what it should do instead when the issue occours.

Revision history for this message
Aurelio (agrgal2) wrote :

Excuse me u both Daniel and Uwe. I read in Troubleshooting that Mixxx doesn't work under pulse in Linux. Even, it runs pasuspender to block it when running. I was trying to use "pulse" as output and input hardware to test the program.

Think that that was the problem. Congratulations to the programmers. Program is superb! Thanks. :-)

Revision history for this message
Daniel Schürmann (daschuer) wrote :

Thank you for you investigations.

For casual listening you can use the pulse device.
In order to that you need to start Mixxx without pasuspender.
This works, but has no good latency for scratching.

I must admit that this is not a good UX.

https://bugs.launchpad.net/mixxx/+bug/1414456

Is a bug already tracking the problem.
I think we can make this a duplicate.
If you have other issues, please file a new bug.

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/10607

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.