-
-
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 segfaults when sending a midi message to a piece of hardware that has been removed #6646
Comments
Commented by: rryan Hi Daniel -- could you get a backtrace for the segfault? Mixxx indeed does not like it when you unplug USB devices. http://mixxx.org/wiki/doku.php/creating_backtraces Thanks! |
Commented by: wolfbiter
[Thread 0x7fffddc67700 (LWP 28254) exited]
Program received signal SIGSEGV, Segmentation fault.
Quit anyway? (y or n) y |
Commented by: rryan OK -- some good news. This is not a segfault but an unceremonious exit(-1) on the part of PortMidi. Basically whenever PortMIDI encounters an error while writing a short message or doing other things it exit(-1)'s if it was compiled with the PM_CHECK_ERRORS pre-processor flag. The bad news is that if you got the PortMIDI binary from a popular software repository (e.g. Ubuntu or Debian packages) then we have to get in contact with the maintainer and get them to build it without that symbol defined. Daniel -- how / where do you get your PortMIDI binaries from? Did you compile yourself or install from a package? We should double check we do not compile PortMIDI with this flag turned on for the Windows / Mac builders. Sean -- can you double-check on Windows and I will check the OS X builder? |
Commented by: rryan Hey Daniel -- any updates RE: my questions in post #3? |
Commented by: wolfbiter I used the command: sudo aptitude install portaudio19-dev Sorry for the long wait in response! |
Commented by: wolfbiter I'm about to install mixxx on a new debian environment - I'll let you know which package I use, and recreate the problem to see if it's still there. |
Commented by: wolfbiter After going through the above procedure on the fresh environment, the same -1 exit code occurred. I for sure installed the portaudio19-dev package. |
Commented by: rryan Good news -- the PortMIDI Debian maintainer is looking at fixing this. |
Duplicate of #6836 |
Reported by: wolfbiter
Date: 2012-09-27T19:27:27Z
Status: Confirmed
Importance: Critical
Launchpad Issue: lp1057715
this is for mixxx 1.11.0 beta
If I have my quneo plugged in and successfully controlling mixxx, then accidentally unplug the quneo, Mixxx will freeze and seg fault when it tries to send midi output to the quneo.
this is on linux debian, 64bit AMD processor, Xonar DX audio card
this segfault occurs very regularly with the quneo, although i have no other hardware with which to test it.
The text was updated successfully, but these errors were encountered: