#1 Burning Software

It is currently Fri Apr 19, 2024 11:42 am

All times are UTC




Post new topic Reply to topic  [ 11 posts ] 
Author Message
 Post subject: StarBurn_ISO9660JolietFileTree_Add Hang
PostPosted: Fri Nov 11, 2005 4:18 pm 
Offline

Joined: Fri Mar 18, 2005 7:02 pm
Posts: 13
Location: Delaware, USA
I am calling StarBurn_ISO9660JolietFileTree_Add and it is causing the program to hang.

Below is the function I am using to make the call
Code:
BOOL CStarBurnGrabber::AddISO9660JolietFile(LPCTSTR szFile)
{
   int nError;
   CHAR szJolietFile[MAX_PATH];
   CHAR szNewRootName[MAX_PATH];
   void* pNewChild = NULL;

   if (!m_pISO9660JolietFileTree)
      return FALSE;
   StringCchCopy(szJolietFile, MAX_PATH, szFile);
   StringCchCopy(szNewRootName, MAX_PATH, PathFindFileName(szFile));
   nError = StarBurn_ISO9660JolietFileTree_Add(m_pISO9660JolietFileTree,
      (PCHAR)m_szExceptionText,
      sizeof(m_szExceptionText),
      &m_ulSystemError,
      (PCHAR)szJolietFile,
      szNewRootName,
      FILE_TIME_LAST_WRITE,
      NULL,
      &pNewChild);
   return nError == EN_SUCCESS;
}


m_pISO9660JolietFileTree is a valid file tree created with StarBurn_ISO9660JolietFileTree_Create
m_szExceptionText is declared: PCHAR m_szExceptionText[1024];
m_ulSystemError is declared: ULONG m_ulSystemError;

Any idea what I am doing wrong?


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 11, 2005 7:03 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
You seems to do everything correctly. Are you sure it's not a very big folder and the app just takes time to create it? Are you processing tree progress callbacks? If it's really "hang" I'd like to get exact names you're passing to StarBurn calls. If this would not help I'll issue you with special StarBurn build with extra level of logging enabled and we'll find out what makes the code hang. Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 11, 2005 7:09 pm 
Offline

Joined: Fri Mar 18, 2005 7:02 pm
Posts: 13
Location: Delaware, USA
Thanks

I will try and see if I can narrow down the problem and then get back to you.


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 11, 2005 7:23 pm 
Offline

Joined: Fri Mar 18, 2005 7:02 pm
Posts: 13
Location: Delaware, USA
The program hangs with the following exception:

Code:
Unhandled exception at 0x00390822 in ZipBackup.exe: 0xC0000005: Access violation reading location 0x00000000.


The function is using the following variables:

szJolietFile: C:\Temp\2005315141625\zb-test-X.txt
szNewRootName: zb-test-X.txt
m_szExceptionText: is valid and filled with 0s


Top
 Profile  
 
 Post subject:
PostPosted: Fri Nov 11, 2005 7:37 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Oh, so it's CRASH and not HANG :)

Good. I'm checking out this issue right now...


Top
 Profile  
 
 Post subject:
PostPosted: Sat Nov 12, 2005 8:59 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
I've reproduced the problem and working on a fix. Would be ready during this weekend. Sorry for this delay! :( Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 13, 2005 12:09 am 
Offline

Joined: Fri Mar 18, 2005 7:02 pm
Posts: 13
Location: Delaware, USA
Thank You!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 13, 2005 3:37 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
OK. This one has been fixed. You have a choice - either pass non-NULL value (correct pointer to tree root you'll get from GetRoot(...) API call) or drop me a message to anton@rocketdivision.com and I'll issue you with new build which does tolerate NULL pointer as valid "please use root" mark. Thanks!

richs wrote:
Thank You!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 13, 2005 6:51 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Actually SDK become GOLD. I mean new version 5.11.14 (available from download section) already has this problem fixed. Please give it a try and let me know. Thanks!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 13, 2005 8:59 pm 
Offline

Joined: Fri Mar 18, 2005 7:02 pm
Posts: 13
Location: Delaware, USA
Thanks!

I will upgrade in the next couple of days and confirm the changes.

You guys are incredibly responsive!


Top
 Profile  
 
 Post subject:
PostPosted: Sun Nov 13, 2005 9:10 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
1) NP! Take your time!

2) I guess it's what we're paid for :)

richs wrote:
Thanks!

I will upgrade in the next couple of days and confirm the changes.

You guys are incredibly responsive!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 11 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group