Assertion error using USB midi.

Hello,
I am trying the real time java for midi/sound. I am getting the following when I try to open my usb midi keyboard.
java: ../../../src/rawmidi/rawmidi.c:264: snd_rawmidi_open_conf: Assertion `err >= 0' failed.
Aborted (core dumped)
Setup is linux ubuntu 7.10 with the rt kernel
java version "1.5.0_13"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_13_JavaRTS-2.1_EA-nb021_RTSJ-1.0.2)
Java Real-Time System HotSpot(TM) Client VM (build 1.5.0_13, mixed mode)
Kernel 2.6.22-14-rt #1 SMP PREEMPT RT Tue Feb 12 03:54:33 UTC 2008 x86_64 GNU/Linux
Is this a bug ?
cheers Paul.

Hi David,
Thanks for your reply,
rawmidi.c is part of the alsa-lib .
I am using the latest alsa-lib-1.0.16 and alsa-driver-1.0.16
http://alsa.cvs.sourceforge.net/alsa/alsa-lib/src/rawmidi/rawmidi.c?view=markup
putting strace before the java command gives some more info.
[snip lots of stuff]
java: ../../../src/rawmidi/rawmidi.c:264: snd_rawmidi_open_conf: Assertion `err >= 0' failed.
) = ? ERESTART_RESTARTBLOCK (To be restarted)
+++ killed by SIGABRT (core dumped) +++
It happens when you try to open the midi input device.
The code works fine with a plain 64bit VM.
java -version
java version "1.6.0_03"
Java(TM) SE Runtime Environment (build 1.6.0_03-b05)
Java HotSpot(TM) 64-Bit Server VM (build 1.6.0_03-b05, mixed mode)
The java realtime works great for low latency audio (compared to plain java) it would be great to get my keyboard working!
cheers Paul.

Similar Messages

  • Does Mackie Control work with Final Cut 7 when using USB MIDI?

    I have a Mackie Control Universal Pro connected via USB to my mac and it works GREAT with Logic and all the complimentary Logic Studio software.
    The problem I am having is, when I try to use it with Final Cut, it wont work at all. I have read the post concerning this that was answered by Andy Mees but, I dont use a true MIDI connection, only USB.
    Any thoughts?

    Does Mackie Control work with Final Cut 7 when using USB MIDI?
    No one will know until FCP 7 is released.
    -DH

  • Audio Output Corruption when using USB MIDI keyboard controller

    recently, i'm getting intermittent corrupted audio output (short blips of distortion) while playing through my usb midi keyboard. i thought maybe some data got corrupted on the disk over time so i wiped the drive, reinstalled osx, installed all updates, hooked up usb keyboard and all worked fine. today, i plugged in the keyboard and the distortions have reappeared. i unplugged the keyboard and played with the Musical Typing- still distorted. i rebooted and tried Musical Typing- still distorted. I removed the usb midi keyboard device from Audio MIDI Setup, rebooted, and the distortions have disappeared when using Musical Typing. Connecting the keyboard causes the distortions to reappear. I'm at a loss.
    Any ideas?
    environment:
    macbook pro
    osx 10.4.11
    gb 4.1.2
    studiologic vmk188 plus

    UPDATE:
    I decided to try going through an Firewire Audio Interface instead. Keyboard-(MIDI)->MOTU Traveler-(Firewire)->MacBook Pro.
    Same corruption/hiccups/choppy playback.

  • Assertion error using weblogic.ejbc20

    I'm getting the following error message generating the jar file for my BimPspsAdjApp
    WL bean:
    [java] weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Couldn't
    find a WLBean called "BimPspAdjApp" ]
    [java] at weblogic.utils.Debug.assert(Debug.java:84)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.initialize60(CompositeMBeanDescriptor.java:218)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:159)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:152)
    [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:393)
    [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
    [java] at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
    [java] at weblogic.ejbc20.runBody(ejbc20.java:358)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
    [java] at weblogic.ejbc20.main(ejbc20.java:460)
    [java] Exception in thread "main" weblogic.utils.AssertionError: ***** ASSERTION
    FAILED *****[ Couldn't find a WLBean called "BimPspAdjApp" ]
    [java] at weblogic.utils.Debug.assert(Debug.java:84)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.initialize60(CompositeMBeanDescriptor.java:218)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:159)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:152)
    [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:393)
    [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
    [java] at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
    [java] at weblogic.ejbc20.runBody(ejbc20.java:358)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
    [java] at weblogic.ejbc20.main(ejbc20.java:460)
    [java] Java Result: 1
    My Ant command is:
    <target name = "intBimPsp">
         <mkdir dir="${ejbjartmp.dir}/webserviceBim/META-INF"/>
         <mkdir dir="${ejbjartmp.dir}/webserviceBim/fastway/runtime/intBimPsp"/>
         <copy file="${descriptors.dir}/BimPspAdjApp-ejb-jar.xml" tofile="${ejbjartmp.dir}/webserviceBim/META-INF/ejb-jar.xml"/>
         <copy file="${descriptors.dir}/BimPspAdjApp-weblogic-ejb-jar.xml" tofile="${ejbjartmp.dir}/webserviceBim/META-INF/weblogic-ejb-jar.xml"/>
    <copy todir="${ejbjartmp.dir}/webserviceBim/fastway/runtime/intBimPsp/">
    <fileset dir="${build.dir}/fastway/runtime/intBimPsp/"/>
    </copy>
         <jar jarfile="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"
         basedir="${ejbjartmp.dir}/webserviceBim"/>
    <java classname="weblogic.ejbc20" fork="yes" dir="${ejbjartmp.dir}">
         <arg line="$pre_BimPspAdjApp.jar $BimPspAdjApp.jar"/>
              <classpath>
                   <pathelement location="/apps/bea/wlserver6.1/lib/weblogic.jar"/>
                   <pathelement location="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"/>
              </classpath>
         </java>
    <delete dir="${ejbjartmp.dir}/webserviceBim/"/>
         <delete file="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"/>
    </target>
    Why does this assertion error occur?
    Thanks

    Are you trying to run a EJB 2.0 bean using a EJB 1.1 DTD?
    Gabriela Gonzalez wrote:
    I'm getting the following error message generating the jar file for my BimPspsAdjApp
    WL bean:
    [java] weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Couldn't
    find a WLBean called "BimPspAdjApp" ]
    [java] at weblogic.utils.Debug.assert(Debug.java:84)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.initialize60(CompositeMBeanDescriptor.java:218)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:159)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:152)
    [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:393)
    [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
    [java] at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
    [java] at weblogic.ejbc20.runBody(ejbc20.java:358)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
    [java] at weblogic.ejbc20.main(ejbc20.java:460)
    [java] Exception in thread "main" weblogic.utils.AssertionError: ***** ASSERTION
    FAILED *****[ Couldn't find a WLBean called "BimPspAdjApp" ]
    [java] at weblogic.utils.Debug.assert(Debug.java:84)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.initialize60(CompositeMBeanDescriptor.java:218)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.init(CompositeMBeanDescriptor.java:159)
    [java] at weblogic.ejb20.deployer.CompositeMBeanDescriptor.<init>(CompositeMBeanDescriptor.java:152)
    [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.initializeBeanInfos(MBeanDeploymentInfoImpl.java:393)
    [java] at weblogic.ejb20.deployer.MBeanDeploymentInfoImpl.<init>(MBeanDeploymentInfoImpl.java:126)
    [java] at weblogic.ejb20.ejbc.EJBCompiler.setupEJB(EJBCompiler.java:128)
    [java] at weblogic.ejbc20.runBody(ejbc20.java:358)
    [java] at weblogic.utils.compiler.Tool.run(Tool.java:79)
    [java] at weblogic.ejbc20.main(ejbc20.java:460)
    [java] Java Result: 1
    My Ant command is:
    <target name = "intBimPsp">
    <mkdir dir="${ejbjartmp.dir}/webserviceBim/META-INF"/>
    <mkdir dir="${ejbjartmp.dir}/webserviceBim/fastway/runtime/intBimPsp"/>
    <copy file="${descriptors.dir}/BimPspAdjApp-ejb-jar.xml" tofile="${ejbjartmp.dir}/webserviceBim/META-INF/ejb-jar.xml"/>
    <copy file="${descriptors.dir}/BimPspAdjApp-weblogic-ejb-jar.xml" tofile="${ejbjartmp.dir}/webserviceBim/META-INF/weblogic-ejb-jar.xml"/>
    <copy todir="${ejbjartmp.dir}/webserviceBim/fastway/runtime/intBimPsp/">
    <fileset dir="${build.dir}/fastway/runtime/intBimPsp/"/>
    </copy>
    <jar jarfile="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"
    basedir="${ejbjartmp.dir}/webserviceBim"/>
    <java classname="weblogic.ejbc20" fork="yes" dir="${ejbjartmp.dir}">
    <arg line="$pre_BimPspAdjApp.jar $BimPspAdjApp.jar"/>
    <classpath>
    <pathelement location="/apps/bea/wlserver6.1/lib/weblogic.jar"/>
    <pathelement location="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"/>
    </classpath>
    </java>
    <delete dir="${ejbjartmp.dir}/webserviceBim/"/>
    <delete file="${ejbjartmp.dir}/pre_BimPspAdjApp.jar"/>
    </target>
    Why does this assertion error occur?
    Thanks--
    Rajesh Mirchandani
    Developer Relations Engineer
    BEA Support

  • Critical error using USB cable - Nokia N8

    When I connect my N8 via USB in mass storage mode, a message is poping up "Already in Use" an the entire screen becomes white with red text  "A Critical Error Occured"?
    Nokia N9

    Yes even after rebooting, holding On/Off key for 8 seconds getting the three short vibrations as feedback.
    Nokia N9

  • Annoying Assertion errors using the DB2 Driver "com.inet.drda.DRDADriver"

    I am using the "com.inet.drda.DRDADriver" DB2 Driver.
    My query works fine and returns everything ok but I get these annoying Assertion failed errors on the console.
    Any Ideas how to stop these?
    I do not have assert enabled on JBuilder.
    Thanks ... J
    Assertion v1 == 0 failed: s.v1@ca=75
    Assertion v1 == 0 failed: s.v1@fb=250
    Assertion v1 == 0 failed: s.v1@128=75
    and so on

    Prior to using the JDBC:DB2 driver I was using the JDBC:ODBC driver and there were no such errors. So the errors are related to using the db2 driver.
    All that has changed is the lines you see commented out replaced by the new driver class.
    Nothing has changed in my Database interface layer.
        //Set up DB url using a JDBC:DB2 driver and get a connection
        String url = "jdbc:inetdb2:" + host + ":" + port + "?database="+tableOwner;
        String driverClass = "com.inet.drda.DRDADriver";
        //Set up DB url using a JDBC:ODBC driver and get a connection
        //String url = "jdbc:ODBC:"+tableOwner;
        //String driverClass = "sun.jdbc.odbc.JdbcOdbc";
    Connection connection = Tools.setUpConnectionToDB(driverClass, url,username,password);
    List appletsFound = Tools.processStatement(Query, connection);I did have Asserts enabled before this but they are not enabled now because I disabled it after I was happy all my JUnit tests were passing.

  • Need simple instructions to connect my piano to my mac using usb midi

    I purchased a midi in/out usb connection for my Yamaha piano (clavinova clp120) and GB sees a midi device connected (in preferences) but I cant figure out how to use it...
    I need simple step by step help.
    Thanks!

    ok, Let me get this correct...
    Your piano is already hooked up to the mac via USB and Garage band sees it? correct?
    Alright, now, when garageband starts it usually loads the profile for a grand piano or you can select "New Project" > "Piano". If everything goes well you should be able to select the "grand piano" profile and hit record, then you should be able to start playing , do you hear any sound??
    If you want to use the LTP lessons then have your piano plugged in and start a lesson. As soon as it loads try hitting a key, do you hear anything??

  • How to install windows 7 on my macbook pro mid 2009 using usb. right now aim using mavericks 10.9 can any one please help me. I tried to edit plist in boot camp but it went wrong please help me

    how to install windows 7 on my macbook pro mid 2009 using usb. right now iam using mavericks 10.9 can any one please help me. I tried to edit plist in boot camp but it went wrong please help me.
    Iam new to coding. please help me.

    try the solution posted by kunu here and report back
    https://discussions.apple.com/thread/5105056?tstart=0

  • How to use multiple midi controllers with Mac book pro (2 usb)?

    I have a newer macbook pro that has 2 USB ports, and a lightning port and a firewireport.
    On stage I will be using the firewire port connected to a Presonus Firestudio mobile to use as the interface to the house mixer.
    I will use 1 USB for my M-audio Axiom 61
    I will use the other for my Yamaha WX-5 Wind synth
    I'd like to be able to get the apogee midi foot controller to control the playback audio. For example I'll be using it to stay in a solo section, then step on it to move it forward ot the next section when I am done soloing
    I'd also like to use some sort of midi switch to turn on vocal effects of the mic.
    Anyway since I only have 2 USB ports, how should I connect the 3rd, or 4th USB midi controller?
    Will a USB hub work to do this? If so, will I always have to remember to use the same controler in the same exact hub input to make sure everything maps the same?
    I guess I'll also have to learn how to setup multiple controllers in Mainstage as well.
    Thanks
    Dan

    Hi there,
    is a question which many of us have spent ...
    I think the obvious answer is that yes you can use a hub and connect everything. however ....
    sincerely advise you to buy a good hub that is well feasible, the last thing you want on stage / rehearsal is one of midi controllers stop responding, or stay with hanged notes... etc., do not buy just because it is cheap it has to be stable and viable, some bring cable for connecting wall power just to not drain power from the USB port.
    Other things to try is to distribute as much equipment for USB / Midi.
    For example one of midi controllers connect via USB but not by Midi outside the Presonus Firestudio. Connecting Presonus Firestudio to a single USB port as it is a main equipment.
    but it really is an issue that greatly limits the use of USB devices.
    Try it and tell me how it went. Good luck
    (sorry for my english i´m Portuguese)

  • NB305-N440BL getting 0a-0224-0000 file transfer error message using USB Thumbdrive

    Doing total out of the box restore.
    First off, Toshiba, in their infinite wisdom sends a DVD Rom to you when you order a Recovery Media for a Netbook which has NO DVDROM.  I had to replace the HD after an accident and it is unreadable as a harddrive and had no backup.    As a result, the only thing I have left is to try and copy that to a Thumbdrive, because my backpack dvd writer is not recognized by the bios when booting.    I have a thumb drive big enough and have tried power iso with an extract to the thumbdrive, doing xcopy from the CD Rm as outlined here and other methods:
    http://www.wikihow.com/Install-Windows-from-a-USB-Flash-Drive
    I get the same error using the above two methods and could not get any further, I have tried to format the drive and delete the data, but I still get the message.....I am at my wits end.  Is there any software that will explode out the swm files on the DVD to what they are supposed to be so I can try to copy the raw files over and do a win to flash of version 7 with maybe some success????
    Any help would be appreciated. 

    I wouldn't try messing with transferring that data. You should call customer support and let them know about the mistake with the recovery media. It should have been sent on a USB stick.
    - Peter

  • Using USB to connect to itunes with iphone. Getting error OXE8000084 with pulsating tone. Have reset passowrd, authorized computer, & repaired itunes when reinstalled. Any suggestions on how to successfully connect?

    Using USB to connect to itunes with iphone.  Getting error OXE8000084 with pulsating tone. Have reset password, authorized computer, & repaired itunes when reinstalled it. Any suggestions on how to successfully connect to itunes and what this error message means?  Thanks

    0X is a Windows Error. Take the time to look over on the right under the "More Like This" and look for ones that have the green checkmark as being solved. You should find answers there.

  • Install Windows 7 on a Mid 2010 Mac mini using USB or SD media?

    Is is possible to install Windows 7 on a Mid 2010 Mac mini using USB or SD media?  I have not figured this out.  Here's what I have observed:
    I can install OS X Lion using USB or SD media. Both are detected in the boot menu, and will boot.
    An SD card with Windows 7 installation files formatted MBR/FAT32 using diskpart appears (with an SD card icon) in the boot menu but when selected as a boot device, the boot fails and the existing OS X instance on the Macintosh HD starts.  A USB stick formatted as described does not appear in th boot menu at all.
    An SD card or a USB stick formatted as described will boot on a Mid 2011 MacBook Air, and can be used to install Windows 7.
    Is this due to EFI differences between a Mid 2010 Mac mini and a Mid 2011 MacBook Air?
    Thanks.

    The Mac Mini Mid 2010 has a DVD player built in, you can startup and install from a Windows 7 DVD. The Mac Mini Mid 2011 does not have a DVD player built in. I am happy that in new computers I can make use of an USB-stick to install Windows 7. Windows 7 uses MBR and Mac OS X uses EFI and that is why it was not possible on a Mac Mini Mid 2010. I think the EFI on a Mac Mini Mid 2011 is different.
    I should like a firmware update on my Mac Mini Mid 2010 if possible. In that case I could choose between DVD or USB stick if I want to install Windows 7.
    I also have a FireWire CF Card Reader. I think it is not possible to install Windows 7 via FireWire too.
    I do have an external USB HD with 2 partitions: Mac OS X 10.6.8 and Windows 7, but is is not possible to start up Windows 7 from the external HD.  It is possible to start up Mac OS X 10.6.8 from the external HD on a Mac Mini Mid 2010.

  • When I plug in my iPhone to a USB port on the back of my computer I get the error "MTP USB Device driver was not successfully installed"   and of course there is no device that shows up either.  It would be great to download my photos!  I'm using Windows

    When I plug in my iPhone to a USB port on the back of my computer I get the error "MTP USB Device driver was not successfully installed"   and of course there is no device that shows up either.  It would be great to download my photos!  I'm using Windows

    Go through this support doc:
    OS: Device not recognised in iTunes
    Windows: http://support.apple.com/kb/TS1538

  • Req any examples of how to use a USB midi controller​/keyboards with Labview TIA

    Req any examples of how to use a USB midi controller/keyboards with Labview TIA

    Hi,
    To access the MIDI ports you will need to call the Windows SDK. To send MIDI commands is relatively easy, here is an example that shows you how to send data to a MIDI controller or keyboard.
    As far as input goes, this is the hard part. There are a series of functions that you need to call to open up the device, set some buffers and and possibly a callback to get notifications on the incoming data.
    Reading MIDI data will not be an easy task, your best bet will be to implement this in a DLL and call that DLL in LabVIEW, there should be some code available o the web.
    = "http://msdn.microsoft.com/library/default.asp?url​=/library/en-us/multimed/htm/_win32_multimedia_... is a link to the Windows multimedia functions that you could use for MIDI input.
    Let me know if you have any further questions.
    Regards,
    Juan Carlos
    N.I.

  • Troubles using EJBDeployment tool : perpetual assertion errors.

    I'm trying to deploy an EJB using the Weblogic 510 EJBDeployment tool.
    I've got a Remote interface, an EJB class and a home interface in a
    directory called
    d:\EJBDemos.
    The classes are not in packages.
    When I try to create the jar file, no matter where I try to create it, I get
    an assertion error on the console which says something along the lines of:
    File root of D:/EJBDemos is not a prefix for file
    d:/EJBDemos/RoleEJB.class ]
    (in this particular example, I was trying to create a d:\test.jar )
    and then throws a whole bunch of swing exceptions.
    I have also tried this on another Entity bean, and exactly the same thing
    happened.
    I got it to create the jar file the very first time I attempted it, but the
    classes were wrong, so I tried to create a new one and have had this problem
    every time. Any ideas?

    I'm trying to deploy an EJB using the Weblogic 510 EJBDeployment tool.
    I've got a Remote interface, an EJB class and a home interface in a
    directory called
    d:\EJBDemos.
    The classes are not in packages.
    When I try to create the jar file, no matter where I try to create it, I get
    an assertion error on the console which says something along the lines of:
    File root of D:/EJBDemos is not a prefix for file
    d:/EJBDemos/RoleEJB.class ]
    (in this particular example, I was trying to create a d:\test.jar )
    and then throws a whole bunch of swing exceptions.
    I have also tried this on another Entity bean, and exactly the same thing
    happened.
    I got it to create the jar file the very first time I attempted it, but the
    classes were wrong, so I tried to create a new one and have had this problem
    every time. Any ideas?

Maybe you are looking for