HydrogenAudio

Hosted Forums => foobar2000 => Support - (fb2k) => Topic started by: kription on 2003-05-28 19:16:10

Title: Audio CD Writer Crash
Post by: kription on 2003-05-28 19:16:10
Everytime I go to File.. Preferences... Audio CD Writer.. I get a blank window for 3 seconds then Foobar crashes.
I am using Nero v5.5.10.28 and Foobar2000 0.666 (burninate plug-in v1.0).


Anybody with any idea what the problem could be?

-Kription
Title: Audio CD Writer Crash
Post by: picmixer on 2003-05-28 19:50:43
Same thing here.  Can't explain it either.  Happens in all Foobar versions I've tried with it: 0.62 up to 0.666b11.

Win XP
Lite On CD-RW 40 * 12 *48
NERO 5.5.10.28
Title: Audio CD Writer Crash
Post by: CJC on 2003-05-28 20:40:34
Same.

Win XP Home
Lite-ON CDRW
Nero 5.5.9.9
Title: Audio CD Writer Crash
Post by: voltron on 2003-05-28 21:19:13
Delete or move your config file out of the directory and then try it again.

XP Pro SP1
Liteon 5224526S
5.5.10.28
0.666 Final
Audio CD Writer 1.0

Also, try grabbing the file again from the main download site.
Title: Audio CD Writer Crash
Post by: CJC on 2003-05-28 21:57:04
I just tried it again, and instead of ending "Not Responding" fb2k, I gave it 20 sec or so, and the pref window eventually comes clear and works fine..

So basically... BE PATIENT

Title: Audio CD Writer Crash
Post by: gonzotek on 2003-05-29 17:13:44
Same crash problem, although I get a memory could not be written error before Foobar disappears:

The instruction at "0x77f52109" referenced memory at "0x30327261".  The memory could not be "written".

Nero 5.5.10.28
XP Home
Dell Inspiron 8100 Laptop
Dell Combo CDRW/DVD drive
Fb2k .666, no third-party plugs, no other optional plugs.

-=Gonzotek=-
Title: Audio CD Writer Crash
Post by: Peter on 2003-05-29 17:26:51
Quote
Same crash problem, although I get a memory could not be written error before Foobar disappears:

The instruction at "0x77f52109" referenced memory at "0x30327261".  The memory could not be "written".

Nero 5.5.10.28
XP Home
Dell Inspiron 8100 Laptop
Dell Combo CDRW/DVD drive
Fb2k .666, no third-party plugs, no other optional plugs.

-=Gonzotek=-

Interesting, I think I've located where the problem happens (assuming that my ntdll.dll is identical), I'll look into it, thanks.
Title: Audio CD Writer Crash
Post by: Peter on 2003-05-29 19:15:09
Looks like bad memory access somewhere (not in my code apparently, but I can't be 100% sure).
I've uploaded a debug build (http://foobar2000.hydrogenaudio.org/foo_burn_test.zip), it will blow a whole lot of debug messageboxes, I want to know what's the last message before it crashes.
Title: Audio CD Writer Crash
Post by: picmixer on 2003-05-29 19:51:16
Basically I get three error messages before the thing crashes.

NeroAPIGlueConnect
NeroInit
NeroGetAvailableDrivesEX



NeroGetAvailableDrivesEX beeing the last one before the crash.
Title: Audio CD Writer Crash
Post by: gonzotek on 2003-05-29 22:26:48
Quote
Basically I get three error messages before the thing crashes.

NeroAPIGlueConnect
NeroInit
NeroGetAvailableDrivesEX



NeroGetAvailableDrivesEX beeing the last one before the crash.

Same result, and also same "memory not written" message and addresses.
Title: Audio CD Writer Crash
Post by: Peter on 2003-05-29 22:57:00
OK, thanks for info, 1 more debug build coming: http://foobar2000.hydrogenaudio.org/foo_burn_test2.zip (http://foobar2000.hydrogenaudio.org/foo_burn_test2.zip) - added 1 more error return handler (was too lazy to add that before, but if this ever triggers, foo_burninate.dll would refuse to work on that system anyway) and more callback handlers (which are supposedly optional according to Nero headers).
Anyway, this looks like something seriously wrong with Nero libraries (uninitialized variables ? that would explain why it happens only on some system and doesn't happen with main Nero app)
Title: Audio CD Writer Crash
Post by: picmixer on 2003-05-30 00:02:04
Now I get the following in this order,

NeroAPIGlueConnect
NeroInit
NeroInit failed
NeroAPIGlueDone
NeroAPIGlueDone returned

Then the preferences window shows up and Foobar does not crash anymore.

Also I only get these error messages only for every instance Foobar starts up.  Ie. when I go back to the write Audio CD preferences without restarting Foobar, after receiving those messages once everything is fine.  If I do restart Foobar I will get them again.

Haven't tried burnig yet, but will give it a try.  Guess another CD wasted doesn't hurt that much.

[EDIT]

No doesn't work.  Foobar will prepare the writes for writing to disk and then crash after pressing ok to write them

[EDIT]
Title: Audio CD Writer Crash
Post by: Peter on 2003-05-30 00:14:45
OK, that explains it, Nero libraries somehow fail to initialize (so it is a problem on their side).
I can legally handle it (and not crash), but nothing can be done about getting foo_burninate to actually do anything useful on those systems for now.
[edit] foo_burninate.zip updated, shouldn't crash anymore, but won't work either
Title: Audio CD Writer Crash
Post by: Peter on 2003-05-30 00:52:26
One question: would any of you getting this problem happen to be running registered version of Nero ? There's always a possibility that Nero API always fails to initialize on systems with demo version of Nero installed (and I can't think of a better explaination of what we've got here). If that's the problem, I'll probably look into alternative solutions not involving commercial software.
Title: Audio CD Writer Crash
Post by: picmixer on 2003-05-30 00:54:29
Got a registered version of Nero with my Lite On Drive.  So the problem does not only appear with the demo version.
Title: Audio CD Writer Crash
Post by: Peter on 2003-05-30 01:02:52
Updated foo_burninate.zip (http://foobar2000.org/foo_burninate.zip) once again, should now show error code; I'd like to know what values you get.
Title: Audio CD Writer Crash
Post by: picmixer on 2003-05-30 01:13:14
In case this is what you where looking for, here you go:

INFO (CORE) : startup time: 782 ms
WARNING (CORE) : Clipping detected.
WARNING (CORE) : Clipping detected.
ERROR (foo_burninate) : Unable to initialize Nero libraries.



No error messages during accessing Audio CD writer in the preferences. (Guess you've removed them)
Title: Audio CD Writer Crash
Post by: Peter on 2003-05-30 01:40:30
Should show "Error initializing Nero (%u)." in preferences.
Title: Audio CD Writer Crash
Post by: picmixer on 2003-05-30 01:44:50
Sorry, yes I forgot to mention that one.

Error Initializing Nero (3)


Meant there where no more "pop up's"
Title: Audio CD Writer Crash
Post by: Peter on 2003-05-30 09:35:22
OK, thanks, that's what I wanted to know.
Title: Audio CD Writer Crash
Post by: Peter on 2003-05-30 10:02:05
yup...
Quote
typedef enum
{
    NEROAPI_INIT_OK=0,
    NEROAPI_INIT_INVALID_ARGS,
    NEROAPI_INIT_UNSPECIFIED_ERROR,     // Unspecified error
    NEROAPI_INIT_INVALID_SERIAL_NUM,
    NEROAPI_INIT_DEMOVERSION_EXPIRED,
    NEROAPI_INIT_ALREADY_INITIALISED,   
    NEROAPI_INIT_CANNOT_LOCK     
} NEROAPI_INIT_ERROR;

Title: Audio CD Writer Crash
Post by: picmixer on 2003-05-30 10:54:50
Allright to make the explanation comlpete.  My Lite On came with a registered version of Nero.  During reinstalling my System I couldn't find my Serial Number.  Beeing annoyed at that I got one from "dubious" origin.

Nero works absolutely fine though and withought restrictions on my System.

If you raelly want me to I'll go look for my old "official" Serial and try again.  It might only take me a while to find it.  So don't expect anything till tomorrow.

My apologies for this misconception.
Title: Audio CD Writer Crash
Post by: Peter on 2003-05-30 11:03:24
Well, it was a bug on my side after all, and it's now fixed, thanks for info again. I'll try to put more informative error messages.
Title: Audio CD Writer Crash
Post by: Melomane on 2003-05-30 11:05:29
small problem
if not cd or cd full foobar open cd tray WHITHOUT display error message.
if i insere recordable cd foobar start burning.
but if i choose "cancel" foobar freeze.

foobar 0.666
latest burninate dll
win98
nero 10.28
Title: Audio CD Writer Crash
Post by: picmixer on 2003-05-30 11:25:31
You're welcome.  Thanks a lot for such a nice Player.

Will try the newest version later.(burninate, not foobar)
Title: Audio CD Writer Crash
Post by: picmixer on 2003-05-30 16:19:08
Quote
Well, it was a bug on my side after all, and it's now fixed, thanks for info again.


Still does not work for me.
Title: Audio CD Writer Crash
Post by: Peter on 2003-05-30 16:59:56
Well, I'd suggest entering the right serial number... It appears that Nero libaries claim that your serial number is invalid, and I'm afraid that I can't help you any further (you might want to download Nero SDK and check if included sample applications work for you).
Title: Audio CD Writer Crash
Post by: picmixer on 2003-05-30 17:04:14
Thanks! 
No problem, will just go on a long hunt through my room to find that serial.  I know it's somewhere.
Well at least we know know that it won't work for those that don't have Nero illegally.

[EDIT] spelling, ups
Title: Audio CD Writer Crash
Post by: kription on 2003-05-31 01:43:54
ok.. I get the error (3) - BUT... I have a valid (legal) serial number for a fully function nero..

strange strange strange..
Title: Audio CD Writer Crash
Post by: Peter on 2003-05-31 02:18:36
I'll point this problem to some people from Ahead then.
Title: Audio CD Writer Crash
Post by: kription on 2003-05-31 05:09:11
Well, the updated news..
5.5.10.35 doesn't correct the problem...
Title: Audio CD Writer Crash
Post by: macdaddy on 2003-05-31 19:40:00
any chance of getting this to work with burnatonce..?