-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
crash when changing effect unit routing #9331
Comments
Commented by: daschuer Does this still happen with Mixxx 2.3 alpha? |
Commented by: ehmic I think while creating mappings for my self-built controller I may have experienced the same, or at least a related issue/crash. Mixxx version in use is the latest 2.3 beta For each deck I created a button-mapping which does the following if pressed (here for Deck1):
For the sake of completeness - EffectRack1_EffectUnitX_Effect3 is an echo effect with the following same parameters for each deck: Time: 0.5 On releasing the button all changes are reverted:
The setup seemed to work fine, but after a while of just playing around (pressing the buttons for each deck randomly) Mixxx crashed due to a "segmentation fault" or "memory access violation" - the original german message is: Speicherzugriffsfehler (Speicherabzug geschrieben). This issue is reproducible, even without any tracks loaded (with empty decks) - start Mixxx and use the above-mentioned controller mapping. Usually after 10-100 button presses the crash happens. I was not able to observe a certain behaviour like "crash happens only if you press buttons for each deck simultaneously" or "if you press button long enough, for x seconds" or similar. Hope this helps to identify the problem! Happy Easter everyone! |
Commented by: ehmic
|
Commented by: daschuer Thank you very much. malloc(): unsorted double linked list corrupted Happens if you have writen over the borders of a memory region allocated on the heap but not pass the borders of the page, leading to a real "segmentation fault". The issue here is that the crash is a symptom of a access violation that has happened before. Can you install the debug symbols and try to reproduce a real segfault? If you are using our ppa, you can install it via Adding deb http://ppa.launchpad.net/mixxx/mixxxbetas/ubuntu YOUR_UBUNTU_VERSION_HERE main/debug to /etc/apt/sources.list.d/mixxx-ubuntu-mixxxbetas-YOUR_UBUNTU_VERSION_HERE.list sudo apt-get update Else you may build mixxx from source |
Commented by: ehmic You're welcome Ok, will try to help. Started mixxx manually (compiled it without installation) with 'gdb --args ./mixxx -debugAssertBreak' So now I got three debugger outputs and tried to make sense out of them, or to learn something. I was expecting that a certain problem would stand out / could be identified, or isolated by the debugger, but the output for each run seems to be slightly different. The last one even indicates that a file is missing? Hope that the 'segfault' does not stem from a misconfiguration here on my computer. I'm now posting three instead of just one compiler outputs. Hope that is ok. |
Commented by: daschuer gdb1.txt happens here:
This function is only accessing it's objects memory, a memory issue here is unlikely. So the whole object "m_low2" might be void here: https://github.com/mixxxdj/mixxx/blob/main/src/effects/builtin/lvmixeqbase.h#L189 It is stored here: mixxx/src/effects/effectprocessor.h Line 143 in 3085bbe
gdb2.txt is the same cause. An invalid group state. I will have a look. |
Commented by: daschuer This might be an idea: |
Commented by: ehmic I presume you mean it is a good idea to test whether the issue is still present in 'Be-ing:effects_refactoring'? 'git clone https://github.com/Be-ing/mixxx.git .' Then I checked the version under 'Help->About'. Switched interface from 'Shade' to 'Tango' and started experimenting. I had the impression that it took me way longer to reproduce, but finally can confirm that the (or an) issue still exists. |
Commented by: daschuer This was more like a remainder to myself. But testing is also a good idea. |
Commented by: daschuer This PR should lint the issue @SchleichMichel: please verify if it makes a difference to you. |
Commented by: uklotzde Merged |
Commented by: ehmic Sorry, I'm a little bit late here. E-Mail notifications were disabled, so I saw your request just yesterday. Checked version 2.3-beta-4120-g9e7e0c7066 today and, while this version seems to be more stable, I was unfortunately still able to crash Mixxx when experimenting with effects. The error seems to be different though. |
Commented by: daschuer I have no longer work in progress, sorry. |
This should be fixed here: #4707 |
Reported by: Be-ing
Date: 2018-06-07T03:00:55Z
Status: In Progress
Importance: Critical
Launchpad Issue: lp1775497
Attachments: gdb.txt, gdb1.txt, gdb2.txt, gdb3.txt, gdb.txt, gdb.txt
I experienced a crash disabling the routing switches for effect units. I am not sure what state I started Mixxx with. I think I might not have had any state saved in mixxx.cfg for the routing switches because Mixxx started with the default routings (deck 1 to effect unit 1, deck 2 to effect unit 2...). I haven't figured out how to reproduce this yet, but I'll keep trying to figure it out...
The text was updated successfully, but these errors were encountered: