-
-
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
Mixxx crashes at scratching -> floating point exception #7238
Comments
Commented by: rryan Thanks for the report -- there are a variety of things that could have caused this. I can't reproduce this, though. Could you please get a backtrace? |
Commented by: esbrandt Crash confirmed, exactly as described, even if Pitch is at +-0.00%.
|
Commented by: freier-radikaler Here are the last lines of my gdb output after the bug occures:
Program received signal SIGFPE, Arithmetic exception. As "jus" described it, it isn't necessaray to pitch. Keylock on and scratching is enough. It seems to be a problem how calculateIncrements(unsigned long&, unsigned long&, bool&) is called. I assume that the unsigned long values are called with a float or someting!? I'm not that deeply into the code... |
Commented by: rryan What version of librubberband are you using? I am on 1.8.1 and cannot reproduce with the steps you included. |
Commented by: rryan
|
Commented by: esbrandt @RJ Instantly crashes with "Floating point exception: 8" |
Commented by: freier-radikaler
I used the same version as "jus". |
Commented by: freier-radikaler My operating system is Sabayon Linux (Gentoo based) with a 3.9.0 kernel and rubberband 1.8.1, qtcore 4.8.5, gdb 7.5.1, scons 2.3.0, git 1.8.3.3, gcc 4.6.4 and python 2.6.8-r1 & 3.3.2-r2. Do you need any further informations? |
Commented by: ywwg what sound settings are you using, ie sample rate and latency? |
Commented by: ywwg herp derp wrong bug, not fixed |
Commented by: rryan Ah, right click scratch! I still see no crash but I see this warning from rubberband. Do you see it? WARNING: reconfigure(): window allocation (size 8192) required in RT mode |
Commented by: rryan Ah! I am using rubberband tip which is 3 commits past 1.8.1. This seems to be fixed in tip. I downgraded to the 1.8.1 tag and it crashed right away. I'll look for a workaround. |
Commented by: rryan Oops, it's not actually fixed in RB tip. I just didn't know how to reproduce it fully.
It looks like speeds of less than 0.00390625 (1/256) crash librubberband because it causes the input-increment variable to be 0 and there are a bunch of places in librubberband that code divided by the input increment. We had a similar MIN_SEEK_SPEED in SoundTouch so I could just add that workaround in. I'll also report this upstream. |
Commented by: rryan Bug filed upstream: |
Commented by: freier-radikaler I just testet r3820 hardly which contains your fix. I can't get it to crash. So the fix seems to work. |
Issue closed with status Fix Released. |
Reported by: freier-radikaler
Date: 2013-12-20T21:34:49Z
Status: Fix Released
Importance: Critical
Launchpad Issue: lp1263233
Attachments: backtrace.txt
The current git version of mixxx (commit 18b314a) crashes if a track is loaded, key lock is on and then scratching a few times while deck is or isn't playing. The terminal says floating point exception. The bug is good reproduceable. Specially if you use a midi controller like Reloop Terminal Mix 4.
This bug should be relatively new because this kind of behaviour i haven't seen before. So some of the last commits should have triggered it...
The text was updated successfully, but these errors were encountered: