libportmidi0 package is compiled in 'debug' mode
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
portmidi (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Ubuntu Version:
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Package Information:
libportmidi0:
Installed: 1:200-0ubuntu3
Candidate: 1:200-0ubuntu3
Version table:
*** 1:200-0ubuntu3 0
500 http://
100 /var/lib/
My Setup:
I use libportmidi0 to interface with Hardware USB-MIDI Controllers.
I use 'try:'/ 'except:' clauses in my statements, so that when MIDI Hardware is disconnected my programs do not crash.
What Happened:
I installed libportmidi0 from the Ubuntu 14.04 repository, and ran my program, and then unplugged the controller, and then asked the software to 'Close the Port', which always generates a 'PmHostError'.
When the 'PmHostError' occurred the libportmidi0 library printed the error message to screen and forced me to 'Press Enter to Continue', and my program stalled out.
What I expected to Happen:
- I expected my 'Except:' clause to run, without any noticeable response from libportmidi0. I expected my program to keep going in spite of the error.
What fixed the issue for me temporarily:
- I compiled the libportmidi myself using the portmidi repository, and used
ln -sf PATH_TO_COMPILED /usr/lib/
to overwrite libportmidi.so.0 ( in /usr/lib )
I am attaching the two versions of the libportmidi.so.0 file for your reference.
Ubuntu Compile (with debugging enabled)
My Compile (without debugging enabled)
Sincerely,
Justin