| |||||||
| Commercial message | |
| | |
|
![]() |
| | Thread Tools |
| | #1 (permalink) |
| New on Forum Join Date: Nov 2004
Posts: 5
| nero sdk crashing if CPU usage of the machine is more than 85% Hi All, I have been using this NERO SDK in my application. Recently I am facing one issue, if my machine's CPU usage by someother program is more than 85% then NERO SDK crashes. It gets initialized, but later any call to the nero sdk fails. Also when i commented the neroinit() function the crash doesnot come up. Can anyone please help me on this asap, I have a deadline on this. Thanks in advance. |
| | |
| | #2 (permalink) |
| Nero Developer Join Date: Oct 2003
Posts: 605
| I assume you are using NeroAPI? What is the version of you NeroSDK? What is your NeroAPI verison? What exactly are you doing? Burning or getting disc info or something else? You say that "any call fails". What exactly is "any call"? Does this happen if the CPU usage is up before NeroInit() or after? You may try raising your thread/process priorities and see if that helps. |
| | |
| | #3 (permalink) |
| New on Forum Join Date: Nov 2004
Posts: 5
| Re: nero sdk crashing if CPU usage of the machine is more than 85% thanks for the quick reply, i am using 5.5.10.15 , this is the version number in my NeroApi.h file. i dont know how to find actual sdk version I am using the code for finding freespace in cd. I am doing realtime video encoding(doesnot use Nero) in another process. i have set the priority of video encoding process to "BELOW_NORMAL",then crash frequency is reduced, i can reduce it's priority even further, but i would prefer not to. that's my last option. when it started crashing at high CPU loads, i commented all my code except the following lines if (!NeroAPIGlueConnect(NULL)) { MessageBox("Cannot connect to NeroAPI","Viewer"); return (1); } NERO_SETTINGS NeroSettings = { "NeroFiles", /* look for DLLs in sub directory */ NULL,NULL, "Nero.txt", { NULL, NULL }, { NULL, NULL } }; NEROAPI_INIT_ERROR initErr=NeroInit (&NeroSettings,NULL); if(initErr != NEROAPI_INIT_OK) { MessageBox("InitFail! here~~","Viewer"); NeroAPIGlueDone(); return 0; } NeroDone(); NeroAPIGlueDone(); i am checking return value for neroInit also and it's returning success. this code fragment still crashes at high CPU load, the manual says userdialog callback should not be NULL, so i have tried giving proper callback instead of NULL, but still it crashes, so i guess it doesnot matter when I comment out neroinit() and nerodone() my app does not crash at all, at 100% CPU also. crash behaviour the crash happens only when CPU consumption is 99% to 100% error message is "access violation: the instruction at 0x13006d0d could not read memory at 13006d0d" the crash happens about 2 seconds after NeroAPIGlueDone returns. i looked at stacktrace and it shows just kernel32 and some other function in kernel32, it's executing "call [EBP + 8]" and [ebp+8] has 0x13006d0d but this memory location is not in my process address space at all. also strange thing is this crash memory location is always the same "13006d0d", i have tested in different machines with different memory configurations, but the crash address is always the same. should i change my code to use latest Nero SDK? do you think change to new version is easy? have you heard of this kind of error before? thanks |
| | |
| | #4 (permalink) |
| Nero Developer Join Date: Oct 2003
Posts: 605
| This is indeed all strange although there are a few things you might want to try. You should make your NeroSettings variable global so that it does not go out of scope to early. It is needed between NeroInit() and NeroDone() calls. Also, check if setting nstVendor and nstSoftware fields of NERO_SETTINGS changes anything. NeroAPI.h says nothing but I am not sure if they are meant to be NULL. If this doesn't help, there is a possibility that an incompatibility exists between an ancient NeroSDK and a recent NeroAPI but this is just a guess. The easiest remedy might be to use a more recent NeroSDK, possibly the latest - 1.05. If you handle everything correctly in terms of NeroAPI calls and structures, there should be no problem at all to migrate to a better NeroSDK than the one you are currently using. The only requirement might be to change your code to stop using some of the deprecated functions but this should be trivial to adapt. |
| | |
| | #5 (permalink) |
| New on Forum Join Date: Nov 2004
Posts: 5
| Re: nero sdk crashing if CPU usage of the machine is more than 85% Hi, What is the number I can contact Nero for help on SDK? Sri Prabu Vontlin General Solutions Ltd 5902 Sovereign Houston, TX 77036 Voice: 713-333-4900 Ext. 334 Direct: 281-404-5334 Fax: 713-333-4925 Toll Free: 1-800-968-3606 Ext. 334 www.generalsolutions.net sriprabu@generalsolutions.net |
| | |
| | #6 (permalink) |
| Nero Developer Join Date: Oct 2003
Posts: 605
| I don't think there is a dedicated NeroSDK support phone number. You can try to find the appropriate one from what you find on http://www.nero.com/en/Contact_Ahead.html. This forum is the exact place for help on NeroSDK issues. Did you try any of my suggestions? |
| | |
| |
| |
![]() |
| If you can't find where you are looking for, then become a member and get an answer fast! We have thousands of people online every moment of the day to help you! Click here |
| Bookmarks |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How is the ram/CPU usage with Nero 6.6.1.15a? | WiltonParmenter | Nero & InCD | 0 | 12-07-2007 11:00 |
| DigitalMax DRW-5S163 + Nero + AMD X2 5200+ Crashing Machine | wrwetzel1 | General Hardware Forum | 6 | 06-03-2007 03:58 |
| High cpu usage with Nero? | SpaceGoblin | NEC / Optiarc Burner | 9 | 21-05-2004 09:36 |
| Nero reports 100% CPU usage at 8x | GatoEnFuego | CD and DVD Burners | 13 | 30-01-2004 07:38 |
| liteon 24102B and nero 100% cpu usage please help :( | CyByte | Burning Software | 2 | 19-05-2003 04:49 |