PortMIDI is compiled in debug mode which calls exit() instead of handling errors gracefully
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mixxx |
Fix Released
|
Critical
|
RJ Skerry-Ryan | ||
Pygame |
New
|
Undecided
|
Unassigned | ||
portmidi (Debian) |
Fix Released
|
Unknown
|
|||
portmidi (Ubuntu) |
Fix Released
|
High
|
Alessio Treglia | ||
Xenial |
Confirmed
|
High
|
Unassigned | ||
Yakkety |
Confirmed
|
High
|
Unassigned |
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/
Debug [Main]: ConfigObject: Could not read ""
Warning [Main]: ControlObject:
Warning [Main]: ControlObject:
Debug [Main]: JACK client name set
ALSA lib pcm.c:2217:
ALSA lib pcm.c:2217:
ALSA lib pcm.c:2217:
ALSA lib pcm.c:2217:
ALSA lib pcm.c:2217:
ALSA lib pcm.c:2217:
ALSA lib confmisc.
ALSA lib conf.c:
ALSA lib conf.c:
ALSA lib pcm.c:2217:
ALSA lib confmisc.
ALSA lib conf.c:
ALSA lib conf.c:
ALSA lib pcm.c:2217:
ALSA lib confmisc.
ALSA lib conf.c:
ALSA lib conf.c:
ALSA lib pcm.c:2217:
ALSA lib confmisc.
ALSA lib conf.c:
ALSA lib conf.c:
ALSA lib pcm.c:2217:
ALSA lib audio/pcm_
ALSA lib audio/pcm_
ALSA lib audio/pcm_
ALSA lib audio/pcm_
ALSA lib pcm_dmix.
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]: AnalyserWavefor
Debug [Main]: Setting VAMP_PATH to: "/usr/lib/
Warning [Main]: ControlObject:
Warning [Main]: ControlObject:
Warning [Main]: ControlObject:
Warning [Main]: Object::connect: No such slot AnalyserQueue:
Warning [Main]: Object::connect: (receiver name: 'AnalyserQueue 1')
Debug [Main]: Available QtSQL drivers: ("QSQLITE", "QMYSQL3", "QMYSQL", "QPSQL7", "QPSQL")
Debug [Main]: DB status: "/home/
Debug [Main]: SchemaManager:
Debug [Main]: TrackDAO:
Debug [Main]: CrateDAO:
Debug [Main]: CueDAO::initialize QThread(0x89d0098, name = "Main") "qt_sql_
Debug [Main]: Promo dir: "/usr/share/
Debug [Main]: Default quick links: ("/media/
Debug [Main]: Appending Quick Link: "Musik" --- "/media/
Debug [Main]: Appending Quick Link: "Musik" --- "/home/
Debug [Main]: Appending Quick Link: "Downloads" --- "/home/
Debug [Main]: Appending Quick Link: "Arbeitsfläche" --- "/home/
Debug [Main]: Appending Quick Link: "Dokumente" --- "/home/
Debug [Main]: Creating session history playlist name: "2013-01-08 (8)"
Debug [Main]: Committing transaction on "qt_sql_
Debug [Main]: Traktor Library Location=[ "/home/
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/
Debug [Main]: Setting VAMP_PATH to: "/usr/lib/
Debug [Main]: VampPluginLoade
Debug [Main]: Plugin output displayname: "qm-barbeattrac
Debug [Main]: Plugin output displayname: "qm-barbeattrac
Debug [Main]: Plugin output displayname: "qm-barbeattrac
Debug [Main]: Plugin output displayname: "qm-barbeattrac
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]: ControllerManag
Debug [Main]: SoundManager:
Debug [Main]: SoundDevicePort
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(
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:
Warning [Main]: Requested control does not exist: "[Samplers]
Debug [Main]: Making property binder for "visible"
Warning [Main]: Object::connect: No such slot QGroupBox:
Warning [Main]: Object::connect: (receiver name: 'WidgetGroup')
Warning [Main]: WaveformSignalC
Warning [Main]: ControlObject:
Warning [Main]: WaveformSignalC
Warning [Main]: ControlObject:
Warning [Main]: WaveformSignalC
Warning [Main]: ControlObject:
Warning [Main]: WaveformSignalC
Warning [Main]: ControlObject:
Debug [Main]: Recordings folder set to "/media/
Debug [Main]: BaseTrackCache(
Debug [Main]: PrepareLibraryT
Debug [Main]: PrepareLibraryT
Debug [Main]: DlgPrepare(
Warning [Main]: ControlObject:
Warning [Main]: ControlObject:
Warning [Main]: Requested control does not exist: "[Microphone]
Warning [Main]: ControlObject:
Warning [Main]: ControlObject:
Warning [Main]: Requested control does not exist: "[Vinylcontrol]
Debug [Main]: Created QGLWidget. Context Valid: true Sharing: true
Warning [Main]: WaveformSignalC
Warning [Main]: ControlObject:
Debug [Main]: WaveformWidgetF
Warning [Main]: ControlObject:
Warning [Main]: Requested control does not exist: "[Spinny1]
Debug [Main]: Making property binder for "visible"
Warning [Main]: Object::connect: No such slot QGroupBox:
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:
Warning [Main]: Object::connect: (receiver name: 'WidgetGroup')
Warning [Main]: WaveformSignalC
Warning [Main]: ControlObject:
Debug [Main]: Created QGLWidget. Context Valid: true Sharing: true
Warning [Main]: WaveformSignalC
Warning [Main]: ControlObject:
Debug [Main]: WaveformWidgetF
Warning [Main]: ControlObject:
Warning [Main]: Requested control does not exist: "[Spinny2]
Debug [Main]: Making property binder for "visible"
Warning [Main]: Object::connect: No such slot QGroupBox:
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:
Warning [Main]: Object::connect: (receiver name: 'WidgetGroup')
Warning [Main]: WaveformSignalC
Warning [Main]: ControlObject:
Debug [Main]: Making property binder for "visible"
Warning [Main]: Object::connect: No such slot QGroupBox:
Warning [Main]: Object::connect: (receiver name: 'WidgetGroup')
Warning [Main]: ControlObject:
Debug [Main]: MixxxLibraryFea
Debug [Main]: LibraryTableMod
Debug [Main]: WSearchLineEdit
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]: ControllerManag
Debug [Controller]: Loading controller preset from "/home/
Debug [Controller]: "Midi" settings found
Debug [Controller]: MidiControllerP
Debug [Controller]: MidiPresetFileH
Debug [Controller]: Loading controller preset from "/home/
Debug [Controller]: "Hercules" settings found
Debug [Controller]: MidiControllerP
Debug [Controller]: MidiPresetFileH
Debug [Controller]: Controller polling stopped.
Debug [Main]: resize QSize(1024, 745)
Debug [Main]: Running Mixxx
Debug [Main]: ControllerManag
Warning [Main]: WaveformRenderB
Warning [Main]: WaveformRenderB
Debug [Main]: guess the size of the window decoration
Debug [Main]: DlgPrefVinyl::Apply
Debug [Main]: in VinylGainSlotAp
Debug [Controller]: ControllerManag
Debug [Controller]: Saving preset for "Midi Through Port-0" to "/home/
Debug [Controller]: writing script block for "common-
Debug [Controller]: writing script block for "Hercules DJ Control MP3 e2-scripts.js"
Debug [Controller]: writing script block for "Hercules-
Debug [Controller]: Saving preset for "Hercules DJ Control MP3 e2 MIDI" to "/home/
Debug [Controller]: writing script block for "common-
Debug [Controller]: writing script block for "Hercules DJ Control MP3 e2-scripts.js"
Debug [Controller]: writing script block for "Hercules-
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/
Debug [Controller]: ControllerEngine: Loading "/usr/share/
Debug [Controller]: ControllerEngine: Watching JS File: "/usr/share/
Debug [Controller]: ControllerEngine: Loading "/usr/share/
Debug [Controller]: ControllerEngine: Watching JS File: "/usr/share/
Debug [Controller]: ControllerEngine: Loading "/usr/share/
Debug [Controller]: ControllerEngine: Watching JS File: "/usr/share/
Debug [Controller]: ControllerEngine: Loading "/usr/share/
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...
Speicherzugriff
Thanks in advance!
description: | updated |
tags: | added: crash linux |
Changed in portmidi (Ubuntu): | |
status: | New → Confirmed |
Changed in portmidi (Debian): | |
status: | Unknown → New |
Changed in portmidi (Debian): | |
status: | New → Fix Committed |
Changed in portmidi (Debian): | |
status: | Fix Committed → Fix Released |
summary: |
PortMIDI is compiled in debug mode which calls exit() instead of - handling errors gracefully. + handling errors gracefully |
Changed in mixxx: | |
status: | In Progress → Fix Released |
Could you please create a backtrace as descriped here
http:// www.mixxx. org/wiki/ doku.php/ creating_ backtraces