Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 5986251
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T22:38:43+00:00 2026-05-22T22:38:43+00:00

I get an error when I run my application which utilizes the OpenSL ES

  • 0

I get an error when I run my application which utilizes the OpenSL ES API for Android. When I run the application, I get the following error:

05-23 16:18:19.355: ERROR/AudioHardwareALSA(84): ALSALib device/samsung/GT-I9000/alsa-lib/src/pcm/pcm.c:7244:(snd_pcm_recover) overrun occured.

However, I haven’t been able to find the cause. Maybe that this debug message has something to do with it?

05-23 16:18:19.339: DEBUG/dalvikvm(1409): JIT unchain all for threadid=11

I suspect that the first is caused by the second. But how can I prevent this then? I also see several GC_EXPLICIT and GC_CONCURRENT debug messages in my logs.

Anyway, I use OpenSL ES to record and play audio data. The data is sent and/or received over WiFi via the Java layer. But for this to go fluently, I don’t want the GC to come and interfere… Is there any way to prevent the VM to limit the use of the GC?


Edit

I have found out that the JIT unchain all for threadid=11 isn’t the issue. I have run the application on a new, clean phone, and the error doesn’t show at first, but the DEBUG message still shows. It has no influence on the performance then. However, after several days, the error starts to show up, and I get little hick-ups in my Audio data.

I’ve tried increasing the number of buffers allocated to my recorder, which is now 4, but this doesn’t help aswell. I’ve looked through the source code of pcm.c, but that doesn’t help me any further with the issue. Does anybody have an idea about this issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-22T22:38:44+00:00Added an answer on May 22, 2026 at 10:38 pm

    It seems I had another issue running which caused this problem. It seems I had another Thread consuming to much cycles due to a bad code clause. This caused the Thread to skip most of the code and effectively do nothing. As the Thread became busy with waiting, the Audio got suppressed and I got the errors mentioned above.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I get the following error when I try to run my application in Visual
In our application we've run into an error numerous times where we get error
I get the following error when trying to run the latest Cygwin version of
I get this error on an update panel within a popupControlExtender which is within
I have an Android application which handles a particular type of file. It registers
I get the above error when trying to run my .net app as it
I need to solve the following question which i can't get to work by
I get this error: Can't locate Foo.pm in @INC Is there an easier way
I get this error when I do an svn update : Working copy XXXXXXXX
I get this error:- You have an error in your SQL syntax; check the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.