19 Jun '13 - 21:38 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
 
   Home   Help Search Login Register  
Pages: [1]
  Reply  |  Print  
Author Topic: BASS_ERROR_UNKNOWN after running for a few days  (Read 1954 times)
HarryHar
Posts: 135


« on: 16 Jul '08 - 08:38 »
Reply with quoteQuote

Hi,

After running my application for multiple days I keep getting BASS_ERROR_UNKNOWN errors. This doesn't occur for all files, but for certain files I keep getting this error. If I restart my application these "problem" files play without any problem.

As soon as the program starts giving me the BASS_ERROR_UNKNOWN errors, all "problem" files fail to load.

Any ideas on what might cause these BASS_ERROR_UNKNOWN tot appear after a few days?

gr. Harold
Logged
Ian @ un4seen
Administrator
Posts: 15366


« Reply #1 on: 16 Jul '08 - 13:58 »
Reply with quoteQuote

Which function(s) are you getting the UNKNOWN error from? Please also upload an example of a file that is affected by it and a file that is unaffected...

   ftp.un4seen.com/incoming/
Logged
HarryHar
Posts: 135


« Reply #2 on: 16 Jul '08 - 14:56 »
Reply with quoteQuote

The function used is BASS_StreamCreateFile.

I'm loading the files from a memory buffer.

gr. Harold
Logged
Ian @ un4seen
Administrator
Posts: 15366


« Reply #3 on: 17 Jul '08 - 15:48 »
Reply with quoteQuote

It appears that you have uploaded a troublesome file? ("Problem file.mp3") ... For comparison, can you please also provide a file (preferably of the same format) that is unaffected by the problem?

Does the problem only affect MP3 files? If so, are you using the "mp3-free" BASS.DLL version?
Logged
HarryHar
Posts: 135


« Reply #4 on: 18 Jul '08 - 08:24 »
Reply with quoteQuote

Hi,

I've uploaded a "No Problem.mp3" and "Another Problem.mp3". Both files are encoded with the same type of compressor.

I've also uploaded a "Problem.Ogg" file.

I am using the Bass mp3-free DLL.

gr. Harold
Logged
Ian @ un4seen
Administrator
Posts: 15366


« Reply #5 on: 19 Jul '08 - 16:02 »
Reply with quoteQuote

Looking at the code, the only reason I can see for BASS_StreamCreateFile to give an UNKNOWN error is when DirectSound buffer creation fails for some unknown reason; I don't see any file related cause for it. I was wondering if it could be dependant on the sample format, but your "problem" and "no problem" files are both stereo 44100hz, so it's puzzling that one should be affected while the other isn't. Are you certain that's the case, ie. are the "no problem" files still fine once the problem begins to affect the "problem" files? Also, to see if it could be something particular to your system, have you tried to reproduce the problem on another system?

Anyway, I think I'll have to send you a debug version to get some clues about what's happening.
Logged
HarryHar
Posts: 135


« Reply #6 on: 20 Jul '08 - 15:06 »
Reply with quoteQuote

The problem is that it takes some time (read days) to get the problem. I will collect some more problem/no problem when it shows up again. That should be in a few days. After that I could try a debug version.

I will post more info if the problem occurs again.

gr. Harold
Logged
Emile Bassil
Guest
« Reply #7 on: 6 Mar '11 - 05:12 »
Reply with quoteQuote

Hi Ian and Harry,

I have faced this exact problem a few days ago, playing mp3 files with the non mp3-free version of bass.dll. I have also tried with the mp3-free version.

There is no specific file on which this happens but after the first occurrence of BASS_ERROR_UNKNOWN, all subsequent calls to BASS_StreamCreateFile fail with the same error.

Nothing seems to resolve this issue except restarting the application.

I am using the latest bass.dll.

Have you been able to identify the cause?

What can I try to identify the cause?


Best regards,

Emile
Logged
Ian @ un4seen
Administrator
Posts: 15366


« Reply #8 on: 7 Mar '11 - 15:36 »
Reply with quoteQuote

I don't recall what happened in Harold's case (it's quite a while ago Smiley), but in your case, if you are able to reproduce the problem, I can send you a debug version to get some information on what is going on.
Logged
Pages: [1]
  Reply  |  Print  
 
Jump to:  

Powered by SMF 1.1.18 | SMF © 2013, Simple Machines