changing skin or waveform renderer crashes on Ubuntu 20.04

Bug #1873367 reported by shaban
34
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Mixxx
Fix Released
High
Unassigned
2.3
Fix Released
High
Unassigned

Bug Description

ubuntu studio 20.04 (beta), mixxx crashing when i try to change skin in preferences (interface)

also when trying to change waveform overview type from rgb to filtered

Revision history for this message
shaban (shaban238) wrote :
description: updated
summary: - changing skin crash
+ changing skin/waveform overview crash
shaban (shaban238)
summary: - changing skin/waveform overview crash
+ changing skin or waveform overview crashes mixxx
Revision history for this message
ronso0 (ronso0) wrote : Re: changing skin or waveform overview crashes mixxx

Can you please try to reproduce the crash when 20.04 is officially released?

If the bug persists, please attach a backtrace here.
https://www.mixxx.org/wiki/doku.php/creating_backtraces?s[]=gdb#linux_mac_os_x_with_xcode_4x

Changed in mixxx:
status: New → Incomplete
Revision history for this message
shaban (shaban238) wrote :

tomorrow ubuntu studio will be released, i will try it again even though i dont think it will make such a difference at this point.

Revision history for this message
ronso0 (ronso0) wrote :

Can confirm this with a local build on Ubuntu Studio 20.04

Changed in mixxx:
status: Incomplete → Confirmed
milestone: none → 2.3.0
importance: Undecided → Critical
Revision history for this message
Daniel Schürmann (daschuer) wrote :

Is this the crash?
#0 0x0000000000000000 in ()

That's bad, because it is a pure QT call stack

Does it also happen if you start Mixxx with

--safeMode

Does Mixxx crash on startup if you manual edit the cfg file to a special skin or waveform setting?

Revision history for this message
ronso0 (ronso0) wrote :

Update:
it doesn't crash anymore after I set my wavefroms & overviews to RGB. From now on changing skins and overview/waveform types works flawlessly.

Revision history for this message
ronso0 (ronso0) wrote :

Yes, I did edit the cfg to LateNight Classic after it crashed a few times when changing away from Deere.
(changing the overview type also reloads the skin so that crash is just another symptom of the same cause)

I removed .mixxx/ and started over:
* initially there's no ResizableSkin line in the [Config] section anymore.
* Exiting Mixxx crashes it
* If I create that entry manually and set it to Deere it keeps crashing
* if I set it to any other skin, from the next start on Mixxx runs fine without any crashes whatsoever

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

OK, is there a single change that makes it crash again like changing to a GL type waveform?

Can you confirm that start Mixxx with a crashing setting works, and only changing the skin crashes Mixxx?

So maybe we have an issue when unloading and reloading a waveform.

Revision history for this message
ronso0 (ronso0) wrote :

...no, with --developer mode it starts crashing again when reloading the skin. I'll collect some more backtraces.

Revision history for this message
Jan Holthuis (holthuis-jan) wrote :

Can you check if this still happens with latest mesa 20.0.7? I cannot reproduce this anymore.

Changed in mixxx:
status: Confirmed → Incomplete
Revision history for this message
ronso0 (ronso0) wrote :

Unfortunately 20.0.7 is not yet available in Focal or Focal-backports repos.
Still crashing. I suggest we look closer why it is failing with Deere only.

Revision history for this message
ronso0 (ronso0) wrote :

I manually updated all mesa packages from 20.0.4 to 20.0.7 and rebuilt Mixxx with Qt 5.12.8 from Ubuntu repos.
Still crashing as soon as Deere gets involved.

Be (be.ing)
summary: - changing skin or waveform overview crashes mixxx
+ changing skin or waveform overview crashes mixxx on Linux
Be (be.ing)
summary: - changing skin or waveform overview crashes mixxx on Linux
+ changing skin or waveform renderer crash on Ubuntu 20.04
Changed in mixxx:
status: Incomplete → Confirmed
summary: - changing skin or waveform renderer crash on Ubuntu 20.04
+ changing skin or waveform renderer crashes on Ubuntu 20.04
Revision history for this message
patchtheuniform (gwarchive) wrote :

Two different, but similar backtraces changing from Deere to Tango and Deere to Shade. Attached to Tango. Shade was similar just with a different segfault reason.

Thread 1 "mixxx" received signal SIGSEGV, Segmentation fault.
0x00007ffff6f1f780 in QRegion::shared_empty () from /usr/lib/x86_64-linux-gnu/libQt5Gui.so.5

Revision history for this message
ronso0 (ronso0) wrote :

FWIW:
With RGB(GLSLS) waveforms, changing from Tango to LateNight and back works fine.

Revision history for this message
ronso0 (ronso0) wrote :

More findings:
With Shade it seems to crash when there's a Singleton created from waveform.xml. As soon as waveform.xml is loaded in deck.xml directly switching to LateNight or Tango works.
That would fix the situation for Shade, but in Deere we need the waveform in two places.

Revision history for this message
ronso0 (ronso0) wrote :

I can't verify a relation to the waveform renderer type. Sometimes reloading works with RGB, then it crashes again. It worked a once with Filtered, then it crashed.

Revision history for this message
ronso0 (ronso0) wrote :
Revision history for this message
ronso0 (ronso0) wrote :

considering #3144 just a workaroud so I won't assing this to me.
Maybe someone comes up with a fix for the root cause...

Revision history for this message
WhiteWind (temkaveter) wrote :

Ubuntu 20.04 (not Studio). The bug is the same here: all themes are not switching. But I can switch theme manually (for example, I changed in in config.xml to Tango and started mixxx again - the theme was Tango, but I have tried to switch back to Deere from Preferences - and it crushed again.
So, it only crashes when switching on the fly. Hope it can help.

Revision history for this message
WhiteWind (temkaveter) wrote :

Now I am back to Deere, switched through config.xml, working fine but waveform rendering is not working on Deere.

Revision history for this message
ronso0 (ronso0) wrote :

@WhiteWind
the affected skins are Deere and Shade.
Just to be sure: setting Tango and switching to LateNight and back to Tango works?

could yo try the skins from https://github.com/mixxxdj/mixxx/pull/3144 ?
Switching skins was reported to work fine for all skins with those.

Be (be.ing)
no longer affects: mixxx/2.2
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/9929

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.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.