Go Back   Club CDFreaks - Knowledge is Power > International Chat: Software related > Nero SDK Discussion Forum


Commercial message



Nero SDK Discussion Forum Discuss, NeroBurn crash in geniso.dll [1101b7b7] at International Chat: Software related forum; I have a very weird problem. I have written a c++ application with the SDK that runs fine in debug mode, but in release mode crashes in geniso.dll at address [1101b7b7]. I have gone back and triple checked that all memory is zeroed out and still get the crash.


Reply
 
Thread Tools
Old 23-07-2004   #1 (permalink)
New on Forum
 
Join Date: Jul 2004
Posts: 29
NeroBurn crash in geniso.dll [1101b7b7]

I have a very weird problem. I have written a c++ application with the SDK that runs fine in debug mode, but in release mode crashes in geniso.dll at address [1101b7b7]. I have gone back and triple checked that all memory is zeroed out and still get the crash. I have compared memory of both a simple 1 file NERO_ISO_ITEM object and a NERO_WRITE_CD object against both debug mode and release mode of the sample application, and everything is the same. Anyone seen any problems like this? Attached is a snipet of my code:

NERO_ISO_ITEM currentItem2;
ZeroMemory ( &currentItem2, sizeof(NERO_ISO_ITEM) );

// Record the name, path...
strncpy( currentItem2.fileName, "Thumbs.db", 9);
strncpy( currentItem2.sourceFilePath, "C:\\Docs\\Thumbs.db", 17 );
currentItem2.isDirectory = FALSE;
currentItem2.isReference = FALSE;
currentItem2.nextItem = NULL;

pIsoTrack = NeroCreateIsoTrackEx( &currentItem2, "Software", NCITEF_CREATE_ISO_FS|NCITEF_USE_JOLIET);

NERO_WRITE_CD neroSessionInfo;

if ( pIsoTrack ) {
// Set the current session information
ZeroMemory ( &neroSessionInfo, sizeof( neroSessionInfo ) );
neroSessionInfo.nwcdArtist = NULL;
neroSessionInfo.nwcdTitle = NULL;
neroSessionInfo.nwcdIsoTrack = pIsoTrack;
neroSessionInfo.nwcdNumTracks = 0; neroSessionInfo.nwcdMediaType = GetDiscType();
neroSessionInfo.nwcdCDExtra = FALSE;
ZeroMemory ( &neroSessionInfo.nwcdReserved, 32 );
neroSessionInfo.nwcdpCDStamp = NULL;

// Verify?
if ( bVerify ) m_dwBurnFlags |= NBF_VERIFY;

// Burn the disc
dwStatus = NeroBurn(*m_pSelectedDriveHandle,
NERO_ISO_AUDIO_CD,
&neroSessionInfo,
m_dwBurnFlags,
0, // Maximum speed
&m_neroProgress);
bdeep is offline   Reply With Quote
Old 23-07-2004   #2 (permalink)
New on Forum
 
Join Date: Jul 2004
Posts: 29
Re: NeroBurn crash in geniso.dll [1101b7b7]

IDA Pro gives me the error "A new guard page for the stack cannot be created (stack overflow)". Not exactly sure why that is caused, but usually by some huge memory allocation. Any thoughts??
bdeep is offline   Reply With Quote
Old 24-07-2004   #3 (permalink)
Nero Developer
 
Join Date: Oct 2003
Posts: 605
You might want to try changing the compiler's optimization settings from "Maximize speed" to "Minimize size" if you are using VC6. This can be a common problem in Release builds due to bugs in the compiler's optimizer.

Also, why not create NERO_ISO_ITEMs by the means of NeroCreateIsoItem? This API function prepares the structure on your behalf. The one problem I can see is that you are not initializing itemSize field of NERO_ISO_ITEM.

Try making these changes and see if it helps.
alexp is offline   Reply With Quote
Old 26-07-2004   #4 (permalink)
New on Forum
 
Join Date: Jul 2004
Posts: 29
Re: NeroBurn crash in geniso.dll [1101b7b7]

Thanks for the suggestions. I am actaully using vc7 and didn't have any optimization turned on. I turned on optimization with minimize speed, but still crash in the same spot.

I guess the sample I gave was a little flawed. In my project, I do as you suggest and use NeroCreateIsoItem. Once the problem arose, I got rid of everything except for the above code. I have since switched back to using NeroCreateIsoItem. With either method of coding, I still crash in the same spot.
bdeep is offline   Reply With Quote
Old 26-07-2004   #5 (permalink)
New on Forum
 
Join Date: Jul 2004
Posts: 29
Re: NeroBurn crash in geniso.dll [1101b7b7]

In addition, I have a parallel case when trying to burn a DVD. I burn fine in debug mode, but consistently crash in GenUDF.dll at address [0x14027627] when trying to burn a DVD in release mode.
bdeep is offline   Reply With Quote
Old 27-07-2004   #6 (permalink)
New on Forum
 
Join Date: Jul 2004
Posts: 29
Re: NeroBurn crash in geniso.dll [1101b7b7]

Thanks for your help Alex. Since your suggestion, I have gone over my project settings with a fine-tooth comb and there was a combination of project settings causing memory offset problems >argh<.
bdeep is offline   Reply With Quote
Old 02-05-2008   #7 (permalink)
New on Forum
 
Join Date: Apr 2008
Posts: 4
Re: NeroBurn crash in geniso.dll [1101b7b7]

hi everybody.
I have a parallel case when burning diffrent folder in four DVD-ROMs,
when one of the DVD-ROW complete burning, the application crash.

the log is:
Faulting application dvr_backup.exe, version 1.0.0.0, stamp 481556df, faulting module geniso.dll, version 7.9.6.0, stamp 4644c2e7, debug? 0, fault address 0x00007edd.

i am sorry for my poor english.
thanks.
Cola is offline   Reply With Quote
 
Reply


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
NeroBurn crash - the solution Odin_70 Nero SDK Discussion Forum 0 21-03-2007 13:46
NeroBurn Crash during DVD disc verification twl826 Nero SDK Discussion Forum 1 28-11-2006 12:11
crash when load neroAPI.dll KhaNguyen Nero SDK Discussion Forum 11 25-08-2005 05:37
NeroBurn failed and next burning causes app's crash Hong Nero SDK Discussion Forum 4 15-05-2005 22:07
NeroBurn crash simwall Nero SDK Discussion Forum 0 17-02-2004 18:35


All times are GMT +2. The time now is 21:10.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.1.0