libportmidi0 package is compiled in 'debug' mode

Bug #1452355 reported by WunNation
6
This bug affects 1 person
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://us.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
        100 /var/lib/dpkg/status

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/libportmidi.so.0
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

Revision history for this message
WunNation (wunnation) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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