portmidi and alsa midi issues

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

portmidi and alsa midi issues

menno
Hello Andres,

it may be on my system only, but when QuteCsound crashes it's mostly to do with the midi input connection. I find it hard to pinpoint the problem - if you have an idea how to do that i will try that.
After QC has crashed, i restart it but have to go to the Configure window to alter the midi settings. I use alsa midi because Portmidi does not work. (When i change from Alsa midi to Portmidi QC hangs and i have to kill QC ) So i have to change hw1,0 to hw0,0 and things work for a while.
I do not notice this problem with other midi related programs.

bye,
Menno
Reply | Threaded
Open this post in threaded view
|

Re: [Qutecsound-users] portmidi and alsa midi issues

Andres Cabrera
Administrator
HI Menno,

These kind of errors are hard to pin down. Can you run QuteCsound in
the debugger, and send me the back trace when it crashes?

Cheers,
Andrés

On Sun, Jul 4, 2010 at 12:22 PM, menno <[hidden email]> wrote:

>
> Hello Andres,
>
> it may be on my system only, but when QuteCsound crashes it's mostly to do
> with the midi input connection. I find it hard to pinpoint the problem - if
> you have an idea how to do that i will try that.
> After QC has crashed, i restart it but have to go to the Configure window to
> alter the midi settings. I use alsa midi because Portmidi does not work.
> (When i change from Alsa midi to Portmidi QC hangs and i have to kill QC )
> So i have to change hw1,0 to hw0,0 and things work for a while.
> I do not notice this problem with other midi related programs.
>
> bye,
> Menno
> --
> View this message in context: http://qutecsound-users.829572.n3.nabble.com/portmidi-and-alsa-midi-issues-tp942059p942059.html
> Sent from the QuteCsound Users mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by Sprint
> What will you do first with EVO, the first 4G phone?
> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
> _______________________________________________
> Qutecsound-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/qutecsound-users
>



--


Andrés

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Qutecsound-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/qutecsound-users
Reply | Threaded
Open this post in threaded view
|

Re: [Qutecsound-users] portmidi and alsa midi issues

menno
an example of a problem with midi is (but there are others..)

menno@ubuntu:~$ gdb /usr/local/bin/qutecsound/bin/qutecsound-d
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/bin/qutecsound/bin/qutecsound-d...done.
(gdb) run
Starting program: /usr/local/bin/qutecsound/bin/qutecsound-d
[Thread debugging using libthread_db enabled]
QuteCsound using Csound Version:  5126
WidgetLayout::WidgetLayout  WidgetLayout(0x12044f0)  updateTimer  QTimer(0x1204680)
DocumentPage::getMacOptions() Option Options:  not found!
qutecsound::loadFile Writing backup file: "/home/menno/CVS/manual/examples/pchbend.csd.old-format"
WidgetLayout::WidgetLayout  WidgetLayout(0x140e850)  updateTimer  QTimer(0x140e9e0)
WidgetLayout::WidgetLayout  WidgetLayout(0x1567190)  updateTimer  QTimer(0x1567320)
<MacOptions> loaded.
<MacGUI> loaded.
WidgetLayout::WidgetLayout  WidgetLayout(0x1511a20)  updateTimer  QTimer(0x1511bb0)
DocumentPage::getMacOptions() Option Options:  not found!
qutecsound::loadFile Writing backup file: "/home/menno/CVS/manual/examples/octmidi.csd.old-format"
qutecsound::qutecsound()
time resolution is 1000.000 ns
WidgetLayout::setContained QRubberBand(0x1511520)
qutecsound::setWidgetPanelGeometry() Warning: width invalid.
qutecsound::setWidgetPanelGeometry() Warning: height invalid.
WidgetLayout::WidgetLayout  WidgetLayout(0x1f9e780)  updateTimer  QTimer(0x1f9e910)
DocumentPage::getMacOptions() Option Options:  not found!
WidgetLayout::setContained QRubberBand(0x1fcf990)
qutecsound::setWidgetPanelGeometry() Warning: height invalid.
qutecsound::setWidgetPanelGeometry() Warning: X position invalid.
qutecsound::setWidgetPanelGeometry() Warning: Y position invalid.
DocumentPage::getMacOptions() Option Options:  not found!
WidgetLayout::setContained QRubberBand(0x11dc1f0)
qutecsound::setWidgetPanelGeometry() Warning: width invalid.
qutecsound::setWidgetPanelGeometry() Warning: height invalid.
qutecsound::setWidgetPanelGeometry() Warning: X position invalid.
qutecsound::setWidgetPanelGeometry() Warning: Y position invalid.
WidgetLayout::setContained QRubberBand(0x1fcf990)
WidgetLayout::setContained QRubberBand(0x1511520)
WidgetLayout::setContained QRubberBand(0x1511520)
WidgetLayout::setContained QRubberBand(0x11dc1f0)
[New Thread 0x7fffe4781710 (LWP 1872)]
[New Thread 0x7fffe3f80710 (LWP 1873)]
[New Thread 0x7fffe2bce710 (LWP 1874)]
[Thread 0x7fffe3f80710 (LWP 1873) exited]
[New Thread 0x7fffe3f80710 (LWP 1875)]
[Thread 0x7fffe3f80710 (LWP 1875) exited]
[Thread 0x7fffe4781710 (LWP 1872) exited]
[New Thread 0x7fffe4781710 (LWP 1876)]
[New Thread 0x7fffe3f80710 (LWP 1877)]
[New Thread 0x7fffe23cd710 (LWP 1878)]
[Thread 0x7fffe4781710 (LWP 1876) exited]
[Thread 0x7fffe23cd710 (LWP 1878) exited]
[New Thread 0x7fffe23cd710 (LWP 1882)]
[Thread 0x7fffe3f80710 (LWP 1877) exited]
[Thread 0x7fffe23cd710 (LWP 1882) exited]
WidgetLayout::setContained QRubberBand(0x140e2c0)
WidgetLayout::setContained QRubberBand(0x156cef0)
WidgetLayout::setContained QRubberBand(0x1511520)
[New Thread 0x7fffe23cd710 (LWP 1898)]
[New Thread 0x7fffe3f80710 (LWP 1899)]
[New Thread 0x7fffe4781710 (LWP 1900)]
[New Thread 0x7fffe1bcc710 (LWP 1901)]
[New Thread 0x7fffe13cb710 (LWP 1902)]
[New Thread 0x7fffe0bca710 (LWP 1903)]
[New Thread 0x7fffd7ffe710 (LWP 1904)]
[New Thread 0x7fffd77fd710 (LWP 1905)]
[Thread 0x7fffe23cd710 (LWP 1898) exited]
[Thread 0x7fffe1bcc710 (LWP 1901) exited]
[Thread 0x7fffe4781710 (LWP 1900) exited]
[Thread 0x7fffd7ffe710 (LWP 1904) exited]
[Thread 0x7fffe0bca710 (LWP 1903) exited]
[Thread 0x7fffe13cb710 (LWP 1902) exited]
[Thread 0x7fffd77fd710 (LWP 1905) exited]
WidgetLayout::WidgetLayout  WidgetLayout(0x1af11d0)  updateTimer  QTimer(0x1af1360)
DocumentPage::getMacOptions() Option Options:  not found!
qutecsound::loadFile Writing backup file: "/media/LAC/improved examples/niks/maca.csd.old-format"
WidgetLayout::setContained QRubberBand(0x1f84a10)
WidgetLayout::setContained QRubberBand(0x11dc1f0)
[Thread 0x7fffe3f80710 (LWP 1899) exited]
WidgetLayout::setContained QRubberBand(0x1f84a10)
WidgetLayout::setContained QRubberBand(0x11dc1f0)
ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC1D0 failed: No such file or directory
ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC1D0 failed: No such file or directory
Csound compile failed!  -1
csound
-b32
-B128
-+rtaudio=portaudio
-odac
-+rtmidi=alsa
-Mhw:1,0
-Qhw:1,0
--env:CSNOSTOP=yes
/media/LAC/improved examples/niks/partials.csd
ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC1D0 failed: No such file or directory
ALSA lib rawmidi_hw.c:233:(snd_rawmidi_hw_open) open /dev/snd/midiC1D0 failed: No such file or directory
Csound compile failed!  -1
csound
-b32
-B128
-+rtaudio=portaudio
-odac
-+rtmidi=alsa
-Mhw:1,0
-Qhw:1,0
--env:CSNOSTOP=yes
/media/LAC/improved examples/niks/partials.csd
[New Thread 0x7fffe3f80710 (LWP 1906)]
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
[New Thread 0x7fffd77fd710 (LWP 1909)]
[Thread 0x7fffd77fd710 (LWP 1909) exited]
[New Thread 0x7fffd77fd710 (LWP 1910)]
[Thread 0x7fffd77fd710 (LWP 1910) exited]
[New Thread 0x7fffd77fd710 (LWP 1911)]
[Thread 0x7fffd77fd710 (LWP 1911) exited]
[New Thread 0x7fffd77fd710 (LWP 1912)]
[Thread 0x7fffd77fd710 (LWP 1912) exited]
[New Thread 0x7fffd77fd710 (LWP 1913)]
[Thread 0x7fffd77fd710 (LWP 1913) exited]
[New Thread 0x7fffd77fd710 (LWP 1916)]
[New Thread 0x7fffe13cb710 (LWP 1917)]
[New Thread 0x7fffe0bca710 (LWP 1918)]
[Thread 0x7fffd77fd710 (LWP 1916) exited]
[Thread 0x7fffe13cb710 (LWP 1917) exited]
[Thread 0x7fffe0bca710 (LWP 1918) exited]
CsoundEngine::stopCsound() stopped
CsoundEngine::stopCsound() joined
WidgetLayout::setContained QRubberBand(0x1f84a10)
WidgetLayout::setContained QRubberBand(0x11dc1f0)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
[New Thread 0x7fffe0bca710 (LWP 1919)]
[Thread 0x7fffe0bca710 (LWP 1919) exited]
[New Thread 0x7fffe0bca710 (LWP 1920)]
[Thread 0x7fffe0bca710 (LWP 1920) exited]
[New Thread 0x7fffe0bca710 (LWP 1921)]
[Thread 0x7fffe0bca710 (LWP 1921) exited]
[New Thread 0x7fffe0bca710 (LWP 1922)]
[Thread 0x7fffe0bca710 (LWP 1922) exited]
[New Thread 0x7fffe0bca710 (LWP 1923)]
[Thread 0x7fffe0bca710 (LWP 1923) exited]
[New Thread 0x7fffe0bca710 (LWP 1926)]
[New Thread 0x7fffe13cb710 (LWP 1927)]
[New Thread 0x7fffd77fd710 (LWP 1928)]
CsoundEngine::stopCsound() stopped
[Thread 0x7fffe0bca710 (LWP 1926) exited]
[Thread 0x7fffe13cb710 (LWP 1927) exited]
[Thread 0x7fffd77fd710 (LWP 1928) exited]
CsoundEngine::stopCsound() joined
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
bt_audio_service_open: connect() failed: Connection refused (111)
[New Thread 0x7fffd77fd710 (LWP 1929)]
[Thread 0x7fffd77fd710 (LWP 1929) exited]
[New Thread 0x7fffd77fd710 (LWP 1930)]
[Thread 0x7fffd77fd710 (LWP 1930) exited]
[New Thread 0x7fffd77fd710 (LWP 1931)]
[Thread 0x7fffd77fd710 (LWP 1931) exited]
[New Thread 0x7fffd77fd710 (LWP 1932)]
[Thread 0x7fffd77fd710 (LWP 1932) exited]
[New Thread 0x7fffd77fd710 (LWP 1933)]
[Thread 0x7fffd77fd710 (LWP 1933) exited]
[New Thread 0x7fffd77fd710 (LWP 1936)]
[New Thread 0x7fffe13cb710 (LWP 1937)]
[New Thread 0x7fffe0bca710 (LWP 1938)]
[Thread 0x7fffd77fd710 (LWP 1936) exited]
[Thread 0x7fffe13cb710 (LWP 1937) exited]
[Thread 0x7fffe0bca710 (LWP 1938) exited]
CsoundEngine::stopCsound() stopped
CsoundEngine::stopCsound() joined


i switched the alsa midi off and then i could proceed running my file.