FAQKaraoke    FAQFAQ   SearchSearch   ProfileProfile   Log inLog in   RegisterRegister 

Workaround to Access Violation Error

 
Post new topic   Reply to topic    KaraFun karaoke Forum Index -> Bug report
View previous topic :: View next topic  
Author Message
dave18



Joined: 15 Feb 2007
Posts: 8

PostPosted: Thu Feb 15, 2007 10:13 pm    Post subject: Workaround to Access Violation Error Reply with quote

Hello all!

I'm not sure if this is the right place to post this, but it's where I came looking for a solution, so here goes...

I'm currently running Windows Server 2003 Enterprise Edition SP1. I think KaraFun is the *best* Karaoke player out there, so my heart was crushed when I kept getting this error every time I tried to play a CDG file:

"Access violation at address xxxxxxxx. Write of address xxxxxxxx."

I only play CDG files... actually, they are ZIP files containing a CDG file and an MP3 file. Anyhow, I found a workaround, and here it is:

1. Open KaraFun and drag a CDG file (or ZIP file) into the playlist (in the Karaoke Library window).

2. Right click on the song in the playlist and select "View file info..."

3. Click the "Preset and background tab"

4. Uncheck all the .KFP checkboxes.

5. Have fun! Smile

NOTE: I also installed the Visual Basic Runtime Library, so if the workaround doesn't work for you, you may need to install the VB RTL as well. I don't even know if it is related, but I mention it in case you are pulling your hair out like I was pulling out mine. Smile

It appears that those background clouds, etc. were causing some soft of problem on my system. For me, I didn't want the background stuff anyhow, so this workaround is fine. I'm running KaraFun version 1.15, I do have DirectX 9.0c installed and Direct3D Acceleration is enabled.

I hope this helps someone else out there. To the KaraFun developers... *outstanding* product! Smile

Cheers!
Back to top
View user's profile
Art60



Joined: 01 Nov 2006
Posts: 81
Location: France

PostPosted: Fri Feb 16, 2007 7:38 am    Post subject: Reply with quote

Hi !
I had problems with milkdrop effects on some kfp too, it was an issue with my ATI vidéo card.
It's been solved between 1.10a and 1.15.

If you have issues with milkdropped kfp, you souldn't have any with "clouds" one that doesn't use any milkdrop, juste standard pan on jpgs.

Check for the most recent drivers for your hardware, too.

Regards,
Art.
_________________
Chaque problème a sa solution. S'il n'y a pas de solution, c'est que le problème est mal posé.
Back to top
View user's profile
dave18



Joined: 15 Feb 2007
Posts: 8

PostPosted: Fri Feb 16, 2007 8:55 am    Post subject: Reply with quote

Hey Art,

Thanks for the reply. I too have an ATI video card... it's an All In Wonder Radeon 7200. I downloaded the latest drivers from ATI just a few days ago.

Art60 wrote:

If you have issues with milkdropped kfp, you souldn't have any with "clouds" one that doesn't use any milkdrop, juste standard pan on jpgs.


Under "About..." the version is "1.15 - Freeware". In the "Preset and background tab", the "Use default presets" radio button is selected and there are four check boxes:

CLOUDS.KFP
DEPTHS.KFP
FIRE.KFP
HORIZON.KFP

If I check any of them, the program gets that error. But I did try using a standard jpg like you mentioned... it worked fine. Not only that, but after that, I could use CLOUDS.KFP and it worked! I don't know why, but it did. But not for long... after a few songs, it broke again, and I couldn't get it working. The static jpg still works, though. Anyhow, I don't suspect it's a driver issue because all my other Direct3D programs seem to work fine. But who knows... it sounds like it has to be the driver or the OS, or the combo of the two.

Oh well... if a fix is ever found, I'd love to hear about it. Smile Until then, black backgrounds for me... but that's OK, I think they are less distracting anyhow. Smile

Cheers!
Back to top
View user's profile
Art60



Joined: 01 Nov 2006
Posts: 81
Location: France

PostPosted: Fri Feb 16, 2007 4:56 pm    Post subject: Reply with quote

dave18 wrote:
I too have an ATI video card... it's an All In Wonder Radeon 7200.

Hi Dave,
I didn't presisely mention I use an ATI All In Wonder 7500, but it looks like we are using a fairly same hardware Smile

Did you update to the latest Catalyst control center too ?
Mine is version 1.2.2314.20337

I think you should launch it:
First switch back to any default setting (there should be a button for this close to the right bottom corner)
Then test clouds kfps and other ones ...

If I continues to fail, click on 3D in the left treeview :
There'll be sliders on the right that switch between performance and quality:
Just toggle them, one at a time (SMOOTHVISION and so on ...)
Apply, retest then get back to defaults as you're up with each slider / checkbox.

Feel free to ask me more if you need to.

Hope you can read my english.

Good luck !

Regards,
Art.
_________________
Chaque problème a sa solution. S'il n'y a pas de solution, c'est que le problème est mal posé.
Back to top
View user's profile
dave18



Joined: 15 Feb 2007
Posts: 8

PostPosted: Sat Feb 17, 2007 9:06 pm    Post subject: Reply with quote

Hello again Art!

Art60 wrote:

I didn't presisely mention I use an ATI All In Wonder 7500, but it looks like we are using a fairly same hardware Smile


Wow, we are using very similar hardware!

Art60 wrote:

Did you update to the latest Catalyst control center too ?
Mine is version 1.2.2314.20337


Yeah, that's the exact version I'm using as well.

Art60 wrote:

I think you should launch it:
First switch back to any default setting (there should be a button for this close to the right bottom corner)
Then test clouds kfps and other ones ...


That's a good idea... I gave that a try, but no luck. The CLOUDS.KFP works sometimes, regardless of the settings, but I can't get any of the other 3 to work ever. I tried a lot of different combos, but none worked. I even turned down my video card hardware acceleration little by little until I lost Direct3D altogether, but even that didn't do anything.

I'd love to figure this out. Since they're using Direct3D calls and I have DirectX 9.0c, it seems like it shouldn't matter that I'm running Windows 2003 instead of XP. Maybe the KaraFun application is trying to utilize something that is not supported by my video card? For instance, some apps try to use version 2.0 of the Pixel Shader, but my card does not support that. I don't know...

Art60 wrote:

Hope you can read my english.


LOL! No problem, your english is good.

Art60 wrote:

Good luck !


Thanks. If I find a solution, I'll post back here. I might be upgrading my OS to the next release soon. Who knows, maybe it will work then.

Anyhow, thanks for the suggestions!
Dave
Back to top
View user's profile
Art60



Joined: 01 Nov 2006
Posts: 81
Location: France

PostPosted: Sun Feb 18, 2007 10:23 am    Post subject: Reply with quote

dave18 wrote:
I'm running Windows 2003 instead of XP

I'm running XP Home (2002) SP2.

I never heard about Windows 2003 ... But anyway, the fact you're experiencing problems some times only makes me think you may have a conflictual hardware / software.

Or is KaraFun buggy on this very Windows version ?

Hope you find the solution soon !

Regards,
Art.
_________________
Chaque problème a sa solution. S'il n'y a pas de solution, c'est que le problème est mal posé.
Back to top
View user's profile
dave18



Joined: 15 Feb 2007
Posts: 8

PostPosted: Fri Mar 02, 2007 10:50 pm    Post subject: Reply with quote

Hello again Art!

Well, I just wanted to give you an update... I got it working! I just tried a dozen or so KFP files (they have some cool ones to download!), and they all worked fine. I'm pretty sure the problem was a virus. Anyhow, I've still got some residual problems from the virus, so I'm going to do a clean reinstall now. If this still works after that, then it was definitely the virus. If not, well, then I'll let you know what it was after all.

Art60 wrote:

I never heard about Windows 2003


The full name of the OS is Windows Server 2003 Enterprise Edition SP1. I think it's used mainly for web servers, database servers, media streaming servers... apps like that. Probably not for karaoke. Smile

Anyhow, thanks for all your help and suggestions. I'll post back after my reinstall.

Cheers!
Dave
Back to top
View user's profile
Rapidkiller



Joined: 01 May 2005
Posts: 128

PostPosted: Mon Mar 05, 2007 12:53 pm    Post subject: Reply with quote

dave18 wrote:

The full name of the OS is Windows Server 2003 Enterprise Edition SP1. I think it's used mainly for web servers, database servers, media streaming servers... apps like that. Probably not for karaoke. Smile
Anyhow, thanks for all your help and suggestions. I'll post back after my reinstall.

Dave I think you're right, not sure that Windows 2003 server is karaoké ready Confused
Win 2003 have Direct X ? (I don't remember Sad )
Back to top
View user's profile
dave18



Joined: 15 Feb 2007
Posts: 8

PostPosted: Thu Mar 08, 2007 5:38 pm    Post subject: Reply with quote

Hey guys... just reporting back, I have it figured out. The problem was not a virus. Yes, I did have a virus (which is now thankfully gone), but that wasn't the problem. The problem was something called "Data Execution Prevention" (DEP) and it's a "feature" available in Windows XP SP2, 2003 SP1, and all the 64-bit versions. Anyhow, for whatever reason, when I used KFP files, KaraFun would try to write to an area of memory that DEP did not think it should be using. So it wouldn't let it and I would get an access violation. Since I know (I think...) that KaraFun is not malicious, I turned off DEP for KaraFun and voilla! It works!

I think I'll post a message in the main board for anyone else who might come across this problem.

Anyhow, thanks for all the input given here. It's helpful to compare experiences/setups in order to narrow things down. I'm glad to have this issue resolved! Smile

Rapidkiller wrote:

Dave I think you're right, not sure that Windows 2003 server is karaoké ready Confused
Win 2003 have Direct X ? (I don't remember Sad )


Hey rapidkiller. Yes, Win 2003 does have Direct X. It's actually very similar to XP, but it has some additional services for business use and is a little less home user friendly. Almost everything that runs on XP runs on 2003. If you visit a commercial website that's using windows to serve up its web pages, chances are its 2003. If you visit a website that streams Windows Media, chances are its 2003. It's very popular, but behind the scenes. Smile

Thanks again!
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    KaraFun karaoke Forum Index -> Bug report
Page 1 of 1

 
Jump to:  
Karaoke Download KaraFun Free karaoke Karaoke Version : Karaoke Download Karaoke software


Powered by phpBB © 2001, 2002 phpBB Group