← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1097286] Re: PortMIDI is compiled in debug mode which calls exit() instead of handling errors gracefully

 

** Changed in: mixxx
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1097286

Title:
  PortMIDI is compiled in debug mode which calls exit() instead of
  handling errors gracefully

Status in Mixxx:
  Fix Released
Status in Pygame:
  New
Status in portmidi package in Ubuntu:
  Fix Released
Status in portmidi source package in Xenial:
  Confirmed
Status in portmidi source package in Yakkety:
  Confirmed
Status in portmidi package in Debian:
  Fix Released

Bug description:
  Hi,
  I installed the MIDI driver for the hercules consoles and tried to work with them with the beta2 (r3623). When I go the options menu it seems to detect the controller because I can choose it. Then I click the checkbox "Aktivieren" (activate) and the the "ok" button. It crashes immediately. Heres is the output of the terminal.

  Xubuntu 12.04

  Debug [Main]: Mixxx 1.11.0-beta2 "(bzr r3632; built on: Dec 14 2012 @ 16:54:19; flags: bulk hid hifieq mad optimize=9 qdebug shoutcast vamp verbose vinylcontrol)" is starting...
  Debug [Main]: Qt version is: 4.8.1
  Warning [Main]: Configuration file is at version "1.11.0" instead of the current 1.11.0-beta2
  Debug [Main]: Loading translations for locale "de_DE" from translations folder "/usr/share/mixxx/translations/" : success
  Debug [Main]: ConfigObject: Could not read ""
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Channel1]" , "vinylcontrol_mode" )
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Channel2]" , "vinylcontrol_mode" )
  Debug [Main]: JACK client name set
  ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear
  ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe
  ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side
  ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71
  ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
  ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi
  ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.ATIIXP.pcm.modem.0:CARD=0'
  ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: Datei oder Verzeichnis nicht gefunden
  ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: Datei oder Verzeichnis nicht gefunden
  ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0
  ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.ATIIXP.pcm.modem.0:CARD=0'
  ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: Datei oder Verzeichnis nicht gefunden
  ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: Datei oder Verzeichnis nicht gefunden
  ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline:CARD=0,DEV=0
  ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.ATIIXP.pcm.modem.0:CARD=0'
  ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: Datei oder Verzeichnis nicht gefunden
  ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: Datei oder Verzeichnis nicht gefunden
  ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM phoneline
  ALSA lib confmisc.c:1286:(snd_func_refer) Unable to find definition 'cards.ATIIXP.pcm.modem.0:CARD=0'
  ALSA lib conf.c:4241:(_snd_config_evaluate) function snd_func_refer returned error: Datei oder Verzeichnis nicht gefunden
  ALSA lib conf.c:4720:(snd_config_expand) Evaluate error: Datei oder Verzeichnis nicht gefunden
  ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM phoneline
  ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Eingabe-/Ausgabefehler(5)
  ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Eingabe-/Ausgabefehler(5)
  ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Eingabe-/Ausgabefehler(5)
  ALSA lib audio/pcm_bluetooth.c:1614:(audioservice_expect) BT_GET_CAPABILITIES failed : Eingabe-/Ausgabefehler(5)
  ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only playback stream
  Cannot connect to server socket err = Datei oder Verzeichnis nicht gefunden
  Cannot connect to server socket
  jack server is not running or cannot be started
  Debug [Main]: AnalyserWaveform::AnalyserWaveform()
  Debug [Main]: Setting VAMP_PATH to:  "/usr/lib/mixxx/plugins/vamp:/home/marcus/.mixxx/plugins/vamp/:/usr/bin/lin32_build/vamp-plugins:/usr/bin/lin64_build/vamp-plugins"
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Flanger]" , "lfoDepth" )
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Flanger]" , "lfoDelay" )
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Flanger]" , "lfoPeriod" )
  Warning [Main]: Object::connect: No such slot AnalyserQueue::queueAnalyseTrack(TrackPointer) in src/playermanager.cpp:230
  Warning [Main]: Object::connect:  (receiver name: 'AnalyserQueue 1')
  Debug [Main]: Available QtSQL drivers: ("QSQLITE", "QMYSQL3", "QMYSQL", "QPSQL7", "QPSQL")
  Debug [Main]: DB status: "/home/marcus/.mixxx/mixxxdb.sqlite" = true
  Debug [Main]: SchemaManager::upgradeToSchemaVersion already at version 17
  Debug [Main]: TrackDAO::initialize QThread(0x89d0098, name = "Main") "qt_sql_default_connection"
  Debug [Main]: CrateDAO::initialize()
  Debug [Main]: CueDAO::initialize QThread(0x89d0098, name = "Main") "qt_sql_default_connection"
  Debug [Main]: Promo dir: "/usr/share/mixxx/promo/1.8.0/index.html"
  Debug [Main]: Default quick links: ("/media/7EF8B26FF8B22575/Musik/", "/home/marcus/Musik/", "/home/marcus/Downloads/", "/home/marcus/Arbeitsfläche/", "/home/marcus/Dokumente/")
  Debug [Main]: Appending Quick Link:  "Musik" --- "/media/7EF8B26FF8B22575/Musik/"
  Debug [Main]: Appending Quick Link:  "Musik" --- "/home/marcus/Musik/"
  Debug [Main]: Appending Quick Link:  "Downloads" --- "/home/marcus/Downloads/"
  Debug [Main]: Appending Quick Link:  "Arbeitsfläche" --- "/home/marcus/Arbeitsfläche/"
  Debug [Main]: Appending Quick Link:  "Dokumente" --- "/home/marcus/Dokumente/"
  Debug [Main]: Creating session history playlist name: "2013-01-08 (8)"
  Debug [Main]: Committing transaction on "qt_sql_default_connection" result: true
  Debug [Main]: Traktor Library Location=[ "/home/marcus/collection.nml" ]
  Debug [Main]: Creating ControllerManager
  Debug [Main]: Extension ".bulk.xml" total 1 presets
  Debug [Main]: Extension ".hid.xml" total 6 presets
  Debug [Main]: Extension ".midi.xml" total 62 presets
  Debug [Main]: Promo dir: "/usr/share/mixxx/promo/1.8.0/index.html"
  Debug [Main]: Setting VAMP_PATH to:  "/usr/lib/mixxx/plugins/vamp:/home/marcus/.mixxx/plugins/vamp/:/usr/bin/lin32_build/vamp-plugins:/usr/bin/lin64_build/vamp-plugins:/usr/lib/mixxx/plugins/vamp:/home/marcus/.mixxx/plugins/vamp/:/usr/bin/lin32_build/vamp-plugins:/usr/bin/lin64_build/vamp-plugins"
  Debug [Main]: VampPluginLoader::listPlugins() returned 2 plugins
  Debug [Main]: Plugin output displayname: "qm-barbeattracker:0" "Bar and Beat Tracker"
  Debug [Main]: Plugin output displayname: "qm-barbeattracker:1" "Bar and Beat Tracker"
  Debug [Main]: Plugin output displayname: "qm-barbeattracker:2" "Bar and Beat Tracker"
  Debug [Main]: Plugin output displayname: "qm-barbeattracker:3" "Bar and Beat Tracker"
  Debug [Main]: Plugin output displayname: "qm-tempotracker:0" "Queen Mary Tempo and Beat Tracker"
  Debug [Main]: Plugin output displayname: "qm-tempotracker:1" "Queen Mary Tempo and Beat Tracker"
  Debug [Main]: Plugin output displayname: "qm-tempotracker:2" "Queen Mary Tempo and Beat Tracker"
  Debug [Main]: ControllerManager::getControllerList
  Debug [Main]: SoundManager::setupDevices()
  Debug [Main]: SoundDevicePortAudio::open() "0, ATI IXP: ATI IXP AC97 (hw:0,0)"
  Debug [Main]: framesPerBuffer: 1024
  Debug [Main]: Requested sample rate:  48000 Hz, latency: 21.3333 ms
  Debug [Main]: Output channels: 2 | Input channels: 0
  Debug [Main]: Opening stream with id 0
  Debug [Main]: Opened PortAudio stream successfully... starting
  Debug [Main]: Dynamically loaded PortAudio library
  Debug [Main]: PortAudio: Started stream successfully
  Debug [Main]:    Actual sample rate:  48000 Hz, latency: 42.6667 ms
  Debug [Main]: Using "ATI IXP: ATI IXP AC97 (hw:0,0)" as output sound device clock reference
  Debug [Main]: 1 output sound devices opened
  Debug [Main]: 0 input  sound devices opened
  Debug [Main]: Set root GL Context widget valid: QGLWidget(0x936f978) true
  Debug [Main]: Created root GL Context valid: 0x936fba8 true
  Debug [Main]: Root GL Context format:
  Debug [Main]: Double Buffering: true
  Debug [Main]: Swap interval: 0
  Debug [Main]: Depth buffer: true
  Debug [Main]: Direct rendering: true
  Debug [Main]: Has overlay: false
  Debug [Main]: RGBA: true
  Debug [Main]: Sample buffers: false
  Debug [Main]: Stencil buffers: true
  Debug [Main]: Stereo: false
  Debug [Main]: Invalid node name in skin: "manifest"
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Samplers]" , "show_samplers" )
  Warning [Main]: Requested control does not exist: "[Samplers],show_samplers" Creating it.
  Debug [Main]: Making property binder for "visible"
  Warning [Main]: Object::connect: No such slot QGroupBox::setProperty(const char*, const QVariant&) in src/skin/propertybinder.cpp:15
  Warning [Main]: Object::connect:  (receiver name: 'WidgetGroup')
  Warning [Main]: WaveformSignalColors::fallBackFromSignalColor - skin do not provide low/mid/high signal colors
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Sampler1]" , "" )
  Warning [Main]: WaveformSignalColors::fallBackFromSignalColor - skin do not provide low/mid/high signal colors
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Sampler2]" , "" )
  Warning [Main]: WaveformSignalColors::fallBackFromSignalColor - skin do not provide low/mid/high signal colors
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Sampler3]" , "" )
  Warning [Main]: WaveformSignalColors::fallBackFromSignalColor - skin do not provide low/mid/high signal colors
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Sampler4]" , "" )
  Debug [Main]: Recordings folder set to "/media/7EF8B26FF8B22575/Musik/Mixxx/Recordings"
  Debug [Main]: BaseTrackCache(0x902ea28) updateIndexWithQuery took 319 ms
  Debug [Main]: PrepareLibraryTableModel(0x980fea8) select() took 593 ms
  Debug [Main]: PrepareLibraryTableModel(0x980fea8) select() took 273 ms
  Debug [Main]: DlgPrepare(0x97e0a18, name = "DlgPrepare") analysisActive false
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Microphone]" , "show_microphone" )
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Microphone]" , "show_microphone" )
  Warning [Main]: Requested control does not exist: "[Microphone],show_microphone" Creating it.
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Vinylcontrol]" , "show_vinylcontrol" )
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Vinylcontrol]" , "show_vinylcontrol" )
  Warning [Main]: Requested control does not exist: "[Vinylcontrol],show_vinylcontrol" Creating it.
  Debug [Main]: Created QGLWidget. Context Valid: true Sharing: true
  Warning [Main]: WaveformSignalColors::fallBackFromSignalColor - skin do not provide low/mid/high signal colors
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Channel1]" , "" )
  Debug [Main]: WaveformWidgetFactory::setWaveformWidget - waveform widget added in factory, index 0
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Spinny1]" , "show_spinny" )
  Warning [Main]: Requested control does not exist: "[Spinny1],show_spinny" Creating it.
  Debug [Main]: Making property binder for "visible"
  Warning [Main]: Object::connect: No such slot QGroupBox::setProperty(const char*, const QVariant&) in src/skin/propertybinder.cpp:15
  Warning [Main]: Object::connect:  (receiver name: 'WidgetGroup')
  Debug [Main]: Created QGLWidget. Context Valid: true Sharing: true
  Debug [Main]: Making property binder for "visible"
  Warning [Main]: Object::connect: No such slot QGroupBox::setProperty(const char*, const QVariant&) in src/skin/propertybinder.cpp:15
  Warning [Main]: Object::connect:  (receiver name: 'WidgetGroup')
  Warning [Main]: WaveformSignalColors::fallBackFromSignalColor - skin do not provide low/mid/high signal colors
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Channel1]" , "" )
  Debug [Main]: Created QGLWidget. Context Valid: true Sharing: true
  Warning [Main]: WaveformSignalColors::fallBackFromSignalColor - skin do not provide low/mid/high signal colors
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Channel2]" , "" )
  Debug [Main]: WaveformWidgetFactory::setWaveformWidget - waveform widget added in factory, index 1
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Spinny2]" , "show_spinny" )
  Warning [Main]: Requested control does not exist: "[Spinny2],show_spinny" Creating it.
  Debug [Main]: Making property binder for "visible"
  Warning [Main]: Object::connect: No such slot QGroupBox::setProperty(const char*, const QVariant&) in src/skin/propertybinder.cpp:15
  Warning [Main]: Object::connect:  (receiver name: 'WidgetGroup')
  Debug [Main]: Created QGLWidget. Context Valid: true Sharing: true
  Debug [Main]: Making property binder for "visible"
  Warning [Main]: Object::connect: No such slot QGroupBox::setProperty(const char*, const QVariant&) in src/skin/propertybinder.cpp:15
  Warning [Main]: Object::connect:  (receiver name: 'WidgetGroup')
  Warning [Main]: WaveformSignalColors::fallBackFromSignalColor - skin do not provide low/mid/high signal colors
  Warning [Main]: ControlObject::getControl returning NULL for ( "[Channel2]" , "" )
  Debug [Main]: Making property binder for "visible"
  Warning [Main]: Object::connect: No such slot QGroupBox::setProperty(const char*, const QVariant&) in src/skin/propertybinder.cpp:15
  Warning [Main]: Object::connect:  (receiver name: 'WidgetGroup')
  Warning [Main]: ControlObject::getControl returning NULL for ( "[PreviewDeck]" , "show_previewdeck" )
  Debug [Main]: MixxxLibraryFeature::activate()
  Debug [Main]: LibraryTableModel(0x9041ed8) select() took 217 ms
  Debug [Main]: WSearchLineEdit::restoreSearch( "" )
  Debug [Controller]: ControllerManager: Setting up devices
  Debug [Controller]: Scanning PortMIDI devices:
  Debug [Controller]:  Found output device # 0 Midi Through Port-0
  Debug [Controller]:  Found output device # 2 Hercules DJ Control MP3 e2 MIDI
  Debug [Controller]:  Found input device # 1 Midi Through Port-0
  Debug [Controller]:     Linking to output device # 0 "Midi Through Port-0"
  Debug [Controller]:  Found input device # 3 Hercules DJ Control MP3 e2 MIDI
  Debug [Controller]:     Linking to output device # 2 "Hercules DJ Control MP3 e2 MIDI"
  Debug [Controller]: Scanning USB Bulk devices:
  Debug [Controller]: Error opening a device
  Debug [Controller]: Scanning HID devices:
  Debug [Main]: Constructed LibraryScanner
  Debug [Main]: iTunes Album Art path is: ""
  Debug [Main]: Displaying mixxx
  Debug [Controller]: ControllerManager::getControllerList
  Debug [Controller]: Loading controller preset from "/home/marcus/.mixxx/controllers/Midi_Through_Port-0.midi.xml"
  Debug [Controller]: "Midi" settings found
  Debug [Controller]: MidiControllerPresetFileHandler: Input mapping parsing complete.
  Debug [Controller]: MidiPresetFileHandler: Output mapping parsing complete.
  Debug [Controller]: Loading controller preset from "/home/marcus/.mixxx/controllers/Hercules_DJ_Control_MP3_e2_MIDI.midi.xml"
  Debug [Controller]: "Hercules" settings found
  Debug [Controller]: MidiControllerPresetFileHandler: Input mapping parsing complete.
  Debug [Controller]: MidiPresetFileHandler: Output mapping parsing complete.
  Debug [Controller]: Controller polling stopped.
  Debug [Main]: resize QSize(1024, 745)
  Debug [Main]: Running Mixxx
  Debug [Main]: ControllerManager::getControllerList
  Warning [Main]: WaveformRenderBackground::generatePixmap - no background file
  Warning [Main]: WaveformRenderBackground::generatePixmap - no background file
  Debug [Main]: guess the size of the window decoration
  Debug [Main]: DlgPrefVinyl::Apply
  Debug [Main]: in VinylGainSlotApply() with gain: 1
  Debug [Controller]: ControllerManager::getControllerList
  Debug [Controller]: Saving preset for "Midi Through Port-0" to "/home/marcus/.mixxx/controllers/Midi_Through_Port-0.midi.xml"
  Debug [Controller]:   writing script block for "common-bulk-midi.js"
  Debug [Controller]:   writing script block for "Hercules DJ Control MP3 e2-scripts.js"
  Debug [Controller]:   writing script block for "Hercules-mp3e2-compat.js"
  Debug [Controller]: Saving preset for "Hercules DJ Control MP3 e2 MIDI" to "/home/marcus/.mixxx/controllers/Hercules_DJ_Control_MP3_e2_MIDI.midi.xml"
  Debug [Controller]:   writing script block for "common-bulk-midi.js"
  Debug [Controller]:   writing script block for "Hercules DJ Control MP3 e2-scripts.js"
  Debug [Controller]:   writing script block for "Hercules-mp3e2-compat.js"
  Debug [Controller]: Controller in script engine is: "Hercules DJ Control MP3 e2 MIDI"
  Debug [Controller]: Controller polling started.
  Debug [Controller]: Applying controller preset...
  Debug [Controller]: ControllerEngine: Loading & evaluating all script code
  Debug [Controller]: ControllerEngine: Watching JS File: "/usr/share/mixxx/controllers/common-controller-scripts.js"
  Debug [Controller]: ControllerEngine: Loading "/usr/share/mixxx/controllers/common-controller-scripts.js"
  Debug [Controller]: ControllerEngine: Watching JS File: "/usr/share/mixxx/controllers/common-bulk-midi.js"
  Debug [Controller]: ControllerEngine: Loading "/usr/share/mixxx/controllers/common-bulk-midi.js"
  Debug [Controller]: ControllerEngine: Watching JS File: "/usr/share/mixxx/controllers/Hercules DJ Control MP3 e2-scripts.js"
  Debug [Controller]: ControllerEngine: Loading "/usr/share/mixxx/controllers/Hercules DJ Control MP3 e2-scripts.js"
  Debug [Controller]: ControllerEngine: Watching JS File: "/usr/share/mixxx/controllers/Hercules-mp3e2-compat.js"
  Debug [Controller]: ControllerEngine: Loading "/usr/share/mixxx/controllers/Hercules-mp3e2-compat.js"
  Warning [Controller]: ControllerEngine: No "" object in script
  Warning [Controller]: ControllerEngine: No "" object in script
  Warning [Controller]: ControllerEngine: No "" object in script
  PortMidi call failed...
    PortMidi: `Invalid MIDI message Data'
  type ENTER...
  Speicherzugriffsfehler (Speicherabzug geschrieben)

  Thanks in advance!

To manage notifications about this bug go to:
https://bugs.launchpad.net/mixxx/+bug/1097286/+subscriptions