← Back to team overview

openjdk team mailing list archive

[Bug 937245] Re: Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1cork: Assertion `operation' failed

 

** Also affects: openjdk-6 (Debian)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of OpenJDK,
which is subscribed to openjdk-6 in Ubuntu.
https://bugs.launchpad.net/bugs/937245

Title:
  Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1cork:
  Assertion `operation' failed

Status in “openjdk-6” package in Ubuntu:
  New
Status in “openjdk-6” package in Debian:
  New

Bug description:
  When I run the game mojam from humblebundle.com I get the following
  error message. The error occours after several seconds after start.
  The game definitly works under windows, so I guess it is a bug between
  openjdk and pulseaudio.

  Note, this happens with openjdk 6 and openjdk7
  openjdk-6-jre 6b24-1.11.1-0ubuntu1
  openjdk-7-jre 7~b147-2.0-1ubuntu2
  Ubuntu 12.04

  java -jar mojam.jar

  ** WARNING **: Couldn't connect to accessibility bus: Failed to
  connect to socket /tmp/dbus-YopiIO8uxv: Connection refused

  Starting up SoundSystem...
  Initializing Java Sound
      (The Java Sound API.  For more information, see http://java.sun.com/products/java-media/sound/)
  JavaSound initialized.

  Error in class 'SourceJava Sound'
      Channel null in method 'stop'
  Error in class 'ChannelJava Sound'
      Unable to attach buffer to clip in method 'attachBuffer'
      ERROR MESSAGE:
          unable to prepare stream
      STACK TRACE:
          org.classpath.icedtea.pulseaudio.PulseAudioDataLine.connect(PulseAudioDataLine.java:278)
          org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:101)
          org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:283)
          org.classpath.icedtea.pulseaudio.PulseAudioClip.open(PulseAudioClip.java:402)
          paulscode.sound.libraries.ChannelJavaSound.attachBuffer(ChannelJavaSound.java:278)
          paulscode.sound.libraries.SourceJavaSound.play(SourceJavaSound.java:311)
          paulscode.sound.Library.play(Library.java:706)
          paulscode.sound.Library.play(Library.java:675)
          paulscode.sound.SoundSystem.CommandPlay(SoundSystem.java:2076)
          paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2599)
          paulscode.sound.CommandThread.run(CommandThread.java:121)
  Error in class 'SourceJava Sound'
      Channel null in method 'stop'
  Error in class 'ChannelJava Sound'
      Unable to attach buffer to clip in method 'attachBuffer'
      ERROR MESSAGE:
          unable to prepare stream
      STACK TRACE:
          org.classpath.icedtea.pulseaudio.PulseAudioDataLine.connect(PulseAudioDataLine.java:278)
          org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:101)
          org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:283)
          org.classpath.icedtea.pulseaudio.PulseAudioClip.open(PulseAudioClip.java:402)
          paulscode.sound.libraries.ChannelJavaSound.attachBuffer(ChannelJavaSound.java:278)
          paulscode.sound.libraries.SourceJavaSound.play(SourceJavaSound.java:311)
          paulscode.sound.Library.play(Library.java:706)
          paulscode.sound.Library.play(Library.java:675)
          paulscode.sound.SoundSystem.CommandPlay(SoundSystem.java:2076)
          paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2599)
          paulscode.sound.CommandThread.run(CommandThread.java:121)
  Error in class 'SourceJava Sound'
      Channel null in method 'stop'
  Error in class 'ChannelJava Sound'
      Unable to attach buffer to clip in method 'attachBuffer'
      ERROR MESSAGE:
          unable to prepare stream
      STACK TRACE:
          org.classpath.icedtea.pulseaudio.PulseAudioDataLine.connect(PulseAudioDataLine.java:278)
          org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:101)
          org.classpath.icedtea.pulseaudio.PulseAudioDataLine.open(PulseAudioDataLine.java:283)
          org.classpath.icedtea.pulseaudio.PulseAudioClip.open(PulseAudioClip.java:402)
          paulscode.sound.libraries.ChannelJavaSound.attachBuffer(ChannelJavaSound.java:278)
          paulscode.sound.libraries.SourceJavaSound.play(SourceJavaSound.java:311)
          paulscode.sound.Library.play(Library.java:706)
          paulscode.sound.Library.play(Library.java:675)
          paulscode.sound.SoundSystem.CommandPlay(SoundSystem.java:2076)
          paulscode.sound.SoundSystem.CommandQueue(SoundSystem.java:2599)
          paulscode.sound.CommandThread.run(CommandThread.java:121)
  java: /build/buildd/openjdk-6-6b24-1.11.1/build/../pulseaudio/src/native/org_classpath_icedtea_pulseaudio_Stream.c:726: Java_org_classpath_icedtea_pulseaudio_Stream_native_1pa_1stream_1cork: Assertion `operation' failed.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/937245/+subscriptions



References