I’m writing a database program for CDs in VB6. I just converted all my CDs into OGG files and the whole system is set up and ready to go. I started the program and played a song. Wonderful, it all worked. Happy me! Since I also pretend to be a ‘stupid’ user I moved the position slider (to move forwards and backwards in a piece of music) rapidly into different positions. What happend was that the program crashed. Not just once, no, I could repeat it over and over again. Now that was very strange. I’ve already used FMOD before with Blitzbasic and never came across this problem. I thought it might be because I’ve stored the OGG files on an external HD. So I did the same actions again, this time with the volume button at 0 so that I could hear the HD. If it would make lots of noise it might be the cause of the problem. However, this was not the case. Anyway, I think USB 2.0 should be fast enough to stream an OGG file leaving the HD not the be the cause. The next step was checking the OGG file. I tested this with WinAmp with the same fast slider (position) movement as I did with my own music player. WinAmp did not crash. Not even the slightest ‘I might have a problem’. Time to look at my code, perhaps I made an error. I couldn’t find any problem with the code but I did set the buffer size to 600, still assuming that the external HD (file access) was the cause of the problem. This seemed to work but at the end of the testing the program still crashed… and crashed. Now, the only thing different on my system is that I installed an Intel thingy, not so long ago, to enable Hyper-Threading. The funny thing was that each time I checked My Computer/Properties the system sometimes reported a system speed of 1.01 GHZ instead of the 3.06 GHZ. I looked on the internet on how to disable HT and so I disabled HT in the boot menu. Now the computer reports 3.06 GHZ (no more 1.01) and I can move the slider of my music player without any crashes. My remark/question: Is FMOD having problems with Hyper-Threading? (Or is my system just set-up badly :D)
- RFBcsa asked 12 years ago
To see if I could reproduce it I (re-)enabled HT. It took some extra time but after Windows booted I started my program. Started a song that I know fails easily (don’t ask me why, I created it just like the rest) and I quickly moved the slider and yes, the program crashed again. Bummer.
I thought about making an EXE for you but I’m not sure if that would be any help. The same program runs fine without HT and I’m almost sure that no two systems are the same. Therefore I recommend you log into my computer and see for yourself. It also gives you the opportunity to check out any system settings. PM me about it.
As you wish. I compiled an EXE and included data needed to reproduce the problem. I have PMed you the URL. Let me know when you have finished downloading it so I can remove the archive from my site.
Instructions: Unpack the archive. Double click MFS.exe. Next select File/Open and open MFS.mdb. You will see one title. Double click it. You will view the contents. Double click one of the two songs with a checkmark to play. You will see a slider below “Position”. Rapidly move the slider. Don’t hasitate to switch to the other song while the music is playing.
Have fun… 8)
Please login first to submit.