#1 Burning Software

It is currently Wed Dec 18, 2024 10:16 pm

All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: Imageburner issue
PostPosted: Mon May 03, 2010 10:30 am 
Offline

Joined: Mon May 03, 2010 10:24 am
Posts: 20
Hi there.
I try to burn an image (most code adapted from the SDK samples) and get the following failure:

props->LastErrorMsg {"Device disconnected:
Device [Vendor:HL-DT-ST, Product:DVD-RAM GH22NP20, Revision:1.02] was changed or disconnected" (1)}

after a call to : ActiveImageBurner->Burn(props->IsTestMode);

pDrivePtr.Attach(pDrive); before the call works so Iam a bit confused..
I must admit I took out most of the callbacks GUI related code since my testcode doesnt show any dialog but I guess that cannot
cause this problem.

Also the weird thing is that (my adapted) ValidateData validates the usual stuff on the drive without any problems.
Can someone give me a hint what goes wrong here?

Thanks in advance.


Top
 Profile  
 
 Post subject: Re: Imageburner issue
PostPosted: Tue May 04, 2010 8:10 am 
Offline

Joined: Thu Dec 13, 2007 8:44 am
Posts: 609
Hello, Mark

Could you please:

- turn on the StarBurn logging;
- try to reproduce this error again;
- sent the generated log file to us!


Regards,

Dmitry


Top
 Profile  
 
 Post subject: Re: Imageburner issue
PostPosted: Tue May 04, 2010 11:58 am 
Offline

Joined: Mon May 03, 2010 10:24 am
Posts: 20
When ActiveImageBurner->Burn(props->IsTestMode); gets executed I get a
StarBurn:StarBurn_CdvdBurnerGrabber_CreateEx(): EXITing with failure, was not initialized

I have a full log and can submit it.
Send it directly to some email-address?

Thanks in advance.


Top
 Profile  
 
 Post subject: Re: Imageburner issue
PostPosted: Tue May 04, 2010 12:47 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Embedd it here or send to support@rocketdivision.com with your comments. Either way works fine. Thank you very much for cooperation.


Top
 Profile  
 
 Post subject: Re: Imageburner issue
PostPosted: Wed May 05, 2010 5:39 am 
Offline

Joined: Mon May 03, 2010 10:24 am
Posts: 20
I have submitted the file to support@rocketdivision.com, thanks Anton.


Top
 Profile  
 
 Post subject: Re: Imageburner issue
PostPosted: Wed May 05, 2010 11:01 am 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Mark, we did not get anything so far :( Did you get spamarrest confirmation?


Top
 Profile  
 
 Post subject: Re: Imageburner issue
PostPosted: Wed May 05, 2010 11:55 am 
Offline

Joined: Mon May 03, 2010 10:24 am
Posts: 20
No, I havent..

I will just attach the lower part of the log here then.



CStarBurn_CdvdBurnerGrabber::CStarBurn_CdvdBurnerGrabber_SharedConstructor(): Cache size updated to 4194304 UCHARs

CStarBurn_CdvdBurnerGrabber::CStarBurn_CdvdBurnerGrabber_SharedConstructor(): Cache size is 1 MBs, 4194304 UCHARs

+++ StarBurn:StarBurn_CdvdBurnerGrabber_CreateEx(): EXITing with success, burner/grabber at 0x017C0048, device name is 'CdRom0'

CStarBurn_CdvdBurnerGrabber::GetMediaTrayStatus(): ENTERed for 0x0012F57F, 0x0012F57E

CStarBurn_CdvdBurnerGrabber::GetMediaTrayStatus(): Event Data Length 0x0006
CStarBurn_CdvdBurnerGrabber::GetMediaTrayStatus(): Notification Class: 4, Reserved1: 0x00
CStarBurn_CdvdBurnerGrabber::GetMediaTrayStatus(): NEA: 0, SupportedEventClasses: 0x5E
CStarBurn_CdvdBurnerGrabber::GetMediaTrayStatus(): MediaEvent: 0, Reserved2: 0x00
CStarBurn_CdvdBurnerGrabber::GetMediaTrayStatus(): IsDoorOrTrayOpen: 0, IsMediaPresent: 1
CStarBurn_CdvdBurnerGrabber::GetMediaTrayStatus(): Reserved3: 0x00, StartSlot: 0x00, EndSlot: 0x00

CStarBurn_CdvdBurnerGrabber::GetMediaTrayStatus(): EXITing with success

CStarBurn_CdvdBurnerGrabber::Release(): ENTERed

CStarBurn_CdvdBurnerGrabber::Release(): EXITing with success

--- StarBurn:StarBurn_Destroy(): About to destroy burner/grabber at 0x017C0048


CStarBurn_ScsiTransportSPTI::CStarBurn_ScsiTransportSPTI(): WARNING! CreateFile( '\\.\StarOpen', 0xc0000000, 3, 0x00000000, 3, 0, 0x00000000 ) failed, status 2 ( 0x2 )

CStarBurn_ScsiTransportSPTI::CStarBurn_ScsiTransportSPTI(): Device '\\.\CdRom0' has SCSI address of 1:0:0:0

SCSI Capabilites Dump:
Length: 24 UCHAR(s), Maximum Transfer Lenght: 131072 UCHAR(s)
Maximum Physical Page(s) Per Data Buffer: 32, Supported Asynchronous Event(s): 0, Alignment Mask: 1
Tagged Command Queueing Supported: No, Adapter Scans Down for BIOS Device(s): No, Adapter Uses Programmed I/O: Yes

SCSI Device Inquiry Data Dump:
Device Type: 0x05, Removable: Yes
SCSI Version: 0, Soft Reset Supported: No
Command Queue Supported: No, Linked Commands Supported: No
Sync Transfer Supported: No, 16-bit bus: No
32-bit bus: No, Relative Addressing Supported: No
Vendor ID: 'HL-DT-ST', Product ID: 'DVD-RAM GH22NP20', Revision Level: '1.02'


CStarBurn_ScsiDeviceGeneric::CStarBurn_ScsiDeviceGeneric_SharedConstructor(): 'HL-DT-ST' - 'DVD-RAM GH22NP20' - '1.02' sits at 1:0:0:0

CD/DVD Capabilities Page Dump:
Page Code: 0x2A, Reserved1: 0x00, PSBit (Page Savable): 0
Page Size in UCHARs: 54 UCHARs, CD-R Read: Yes, CD-E Read: Yes
DVD-ROM Read: Yes, DVD-R Read: Yes, DVD-RAM Read: Yes, Reserved2: 0x00
CD-R Write: Yes, CD-E Write: Yes, Test Write: Yes
Reserved3: 0x00, DVD-R Write: Yes, DVD-RAM Write: Yes
Reserved4: 0x00, Audio Play: Yes, Composite: No
Digital Port One: No, Digital Port Two: No
MODE2 Form1: Yes, MODE2 Form2: Yes
Is Multi Session: Yes, CDDA: Yes, CDDAAccurate: Yes
BUP (Buffer Underrun Protection) Supported: Yes
RW Supported: No, RW Deinterleaved: No, C2Pointers: No
ISRC: Yes, UPC: Yes, Read Bar Code Capable: No
Lock: Yes, LockState: 0, Prevent Jumper: No
Reserved5: 0x00, Eject: Yes, Loading Mechanism Type: 0x01
Separate Volume: Yes, Separate Channel Mute: Yes
Supports Disc Present: No, SW Slot Selection: No
Side Change Capable: No, RW InLeadIn Readable: Yes, Reserved6: 0x00
Maximum Read Speed: 8468 KBps
Number Of Volume Level(s): 255, Buffer Size in KBs: 2048
Current Read Speed: 22160 KBps
Reserved7: 0x00
BCK: No, RCK: No, LSBF: No, Length: 0x00
Reserved8: 0x00
Maximum Write Speed: 22160 KBps
Current Write Speed: 22160 KBps
Reserved9: 0x0001


CStarBurn_CdvdBurnerGrabber::CStarBurn_CdvdBurnerGrabber_SharedConstructor(): Cache size updated to 4194304 UCHARs

CStarBurn_CdvdBurnerGrabber::CStarBurn_CdvdBurnerGrabber_SharedConstructor(): Cache size is 1 MBs, 4194304 UCHARs

+++ StarBurn:StarBurn_CdvdBurnerGrabber_CreateEx(): EXITing with success, burner/grabber at 0x017C0048, device name is 'CdRom0'

CStarBurn_CdvdBurnerGrabber::TestUnitReady(): ENTERed for 10 second(s), is fast exit: 1

CStarBurn_CdvdBurnerGrabber::TestUnitReady(): EXITing with success

StarBurn:StarBurn_GetFastReadTOC(): ENTERed and EXITing with success, about to return 0

CStarBurn_CdvdBurnerGrabber::GetInsertedDiscType(): ENTERed

CStarBurn_CdvdBurnerGrabber::GetInsertedDiscType(): EXITing with success, disc type == 0x00000005 ( 5 )

CStarBurn_CdvdBurnerGrabber::GetDVDProtectionSystem(): ENTERed

CStarBurn_CdvdBurnerGrabber::GetDVDProtectionSystem(): EXITing with success, protection system is 0x00

CStarBurn_CdvdBurnerGrabber::GetDVDRegionMask(): ENTERed for 0x016452B1

CStarBurn_CdvdBurnerGrabber::GetDVDRegionMask(): EXITing with success

CStarBurn_CdvdBurnerGrabber::GetInsertedDiscType(): ENTERed

CStarBurn_CdvdBurnerGrabber::GetInsertedDiscType(): EXITing with success, disc type == 0x00000005 ( 5 )

StarBurn:StarBurn_CdvdBurnerGrabber_GetDiscFileSystem(): ENTERed for 0x017C0048, 0x0012F574, 1024, 0x0012F978, 0x0012F534, 0x0012D01C

CStarBurn_ScsiTransportSPTI::ExecuteCDB(): Command failed

SCSI Status: 0x02, CDB Length: 10, CDB Dump: 0x28 0x00 0x00 0x00 0x00 0x10 0x00 0x00 0x10 0x00 0x00 0x00 0x00 0x00 0x00 0x00

SCSI sense data dump:
Error Code: 0x70, Is Sense Valid: No, Segment Number: 0x00 (0)
Sense Key: 0x05, Reserved: 0x00, Incorrect Length: No
End Of Media: No, File Mark: No, Information: 0x00 0x00 0x00 0x00
Additional Sense Length: 0x0A (10)
Command Specific Information: 0x00 0x00 0x00 0x00
Additional Sense Code (ASC): 0x64, Additional Sense Code Qualifier (ASCQ): 0x00

First-chance exception at 0x7c812aeb in tool.exe: Microsoft C++ exception: CStarBurn_Exception at memory location 0x00124af4..

CStarBurn:StarBurn_CdvdBurnerGrabber_GetDiscFileSystem(): EXITing with failure, status 8 ( 0x8 )

CStarBurn_CdvdBurnerGrabber::ReadTOC(): ENTERed for 0x0012D18C

CStarBurn_CdvdBurnerGrabber::ReadTOCForDVDOrBD(): Processing media in 'read track info' mode...

CStarBurn_DumpAndParseTrackInformation(): WARNING! Length 34 less then 40!

Track Information Dump:
Track Number: 1, Session Number: 1
Track Mode: 0x04, Copy: No, Damage: No
Data Mode: 0x01, FP (Fixed Packet): No, Packet: No, Blank: Yes
RT (Reserved Track): No, NWA_V (Next Writable Address Valid): Yes
Track Start Address (LBA): 0, Next Writable Address (LBA): 0
Free Logical Block(s): 2297888, Fixed Packet Size: 16 LB(s)
Track Size In LBs: 2297888, Last Recorded Address: 0


CStarBurn_CdvdBurnerGrabber::ReadTOC(): EXITing with success

StarBurn:StarBurn_CdvdBurnerGrabber_GetTrackInformation(): ENTERed for track number 0xFF

StarBurn_DumpCdvdWriteParametersPage(): WARNING! Size 50 less then 56!

Write Parameters Page Dump:
Page Code: 0x05, PSBit (Page Saveable): 0
Page Length: 50 UCHARs, Write Type: 0x01, Test Write: No, Reserved2_1: 0x00
BUP (Buffer Underrun Protection) Enabled: No
Track Mode: 0x04, Copy Allowed: No, FP (Is Fixed Packet): No
Next Session: 0x00, Data Block Type: 0x08, Reserved4: 0x00
Host Application Code: 0x00, Session Format: 0x00
Packet Size: 32, Audio Pause Length: 150
Media Catalog Number: 0x00000000000000000000000000000000
ISRC: 0x00000000000000000000000000000000
SubHeaderUCHAR0: 0x00, SubHeaderUCHAR1: 0x00
SubHeaderUCHAR2: 0x00, SubHeaderUCHAR3: 0x00
Vendor Specific: 0x00 0x00 0x00 0x00


StarBurn_DumpCdvdWriteParametersPage(): WARNING! Size 50 less then 56!

Write Parameters Page Dump:
Page Code: 0x05, PSBit (Page Saveable): 0
Page Length: 50 UCHARs, Write Type: 0x01, Test Write: No, Reserved2_1: 0x00
BUP (Buffer Underrun Protection) Enabled: No
Track Mode: 0x04, Copy Allowed: No, FP (Is Fixed Packet): No
Next Session: 0x00, Data Block Type: 0x08, Reserved4: 0x00
Host Application Code: 0x00, Session Format: 0x00
Packet Size: 32, Audio Pause Length: 150
Media Catalog Number: 0x00000000000000000000000000000000
ISRC: 0x00000000000000000000000000000000
SubHeaderUCHAR0: 0x00, SubHeaderUCHAR1: 0x00
SubHeaderUCHAR2: 0x00, SubHeaderUCHAR3: 0x00
Vendor Specific: 0x00 0x00 0x00 0x00


StarBurn_DumpCdvdWriteParametersPage(): WARNING! Size 50 less then 56!

Write Parameters Page Dump:
Page Code: 0x05, PSBit (Page Saveable): 0
Page Length: 50 UCHARs, Write Type: 0x01, Test Write: No, Reserved2_1: 0x00
BUP (Buffer Underrun Protection) Enabled: No
Track Mode: 0x04, Copy Allowed: No, FP (Is Fixed Packet): No
Next Session: 0x00, Data Block Type: 0x08, Reserved4: 0x00
Host Application Code: 0x00, Session Format: 0x00
Packet Size: 32, Audio Pause Length: 150
Media Catalog Number: 0x00000000000000000000000000000000
ISRC: 0x00000000000000000000000000000000
SubHeaderUCHAR0: 0x00, SubHeaderUCHAR1: 0x00
SubHeaderUCHAR2: 0x00, SubHeaderUCHAR3: 0x00
Vendor Specific: 0x00 0x00 0x00 0x00


CStarBurn_CdvdBurnerGrabber::ReadTrackInformation(): Current track number is 0x01 ( 0xFF passed, 0x01 stored )

CStarBurn_DumpAndParseTrackInformation(): WARNING! Length 34 less then 40!

Track Information Dump:
Track Number: 1, Session Number: 1
Track Mode: 0x04, Copy: No, Damage: No
Data Mode: 0x01, FP (Fixed Packet): No, Packet: No, Blank: Yes
RT (Reserved Track): No, NWA_V (Next Writable Address Valid): Yes
Track Start Address (LBA): 0, Next Writable Address (LBA): 0
Free Logical Block(s): 2297888, Fixed Packet Size: 16 LB(s)
Track Size In LBs: 2297888, Last Recorded Address: 0


StarBurn:StarBurn_CdvdBurnerGrabber_IsDiscBlank(): ENTERed for 0x017C0048, 0x0012C870, 0x00000400, 0x0012CC78, 0x0012C830, 0x0012C823

CStarBurn_CdvdBurnerGrabber::GetInsertedDiscType(): ENTERed

CStarBurn_CdvdBurnerGrabber::GetInsertedDiscType(): EXITing with success, disc type == 0x00000005 ( 5 )

StarBurn:StarBurn_CdvdBurnerGrabber_GetTrackInformation(): ENTERed for track number 0xFF

StarBurn_DumpCdvdWriteParametersPage(): WARNING! Size 50 less then 56!

Write Parameters Page Dump:
Page Code: 0x05, PSBit (Page Saveable): 0
Page Length: 50 UCHARs, Write Type: 0x01, Test Write: No, Reserved2_1: 0x00
BUP (Buffer Underrun Protection) Enabled: No
Track Mode: 0x04, Copy Allowed: No, FP (Is Fixed Packet): No
Next Session: 0x00, Data Block Type: 0x08, Reserved4: 0x00
Host Application Code: 0x00, Session Format: 0x00
Packet Size: 32, Audio Pause Length: 150
Media Catalog Number: 0x00000000000000000000000000000000
ISRC: 0x00000000000000000000000000000000
SubHeaderUCHAR0: 0x00, SubHeaderUCHAR1: 0x00
SubHeaderUCHAR2: 0x00, SubHeaderUCHAR3: 0x00
Vendor Specific: 0x00 0x00 0x00 0x00


StarBurn_DumpCdvdWriteParametersPage(): WARNING! Size 50 less then 56!

Write Parameters Page Dump:
Page Code: 0x05, PSBit (Page Saveable): 0
Page Length: 50 UCHARs, Write Type: 0x01, Test Write: No, Reserved2_1: 0x00
BUP (Buffer Underrun Protection) Enabled: No
Track Mode: 0x04, Copy Allowed: No, FP (Is Fixed Packet): No
Next Session: 0x00, Data Block Type: 0x08, Reserved4: 0x00
Host Application Code: 0x00, Session Format: 0x00
Packet Size: 32, Audio Pause Length: 150
Media Catalog Number: 0x00000000000000000000000000000000
ISRC: 0x00000000000000000000000000000000
SubHeaderUCHAR0: 0x00, SubHeaderUCHAR1: 0x00
SubHeaderUCHAR2: 0x00, SubHeaderUCHAR3: 0x00
Vendor Specific: 0x00 0x00 0x00 0x00


StarBurn_DumpCdvdWriteParametersPage(): WARNING! Size 50 less then 56!

Write Parameters Page Dump:
Page Code: 0x05, PSBit (Page Saveable): 0
Page Length: 50 UCHARs, Write Type: 0x01, Test Write: No, Reserved2_1: 0x00
BUP (Buffer Underrun Protection) Enabled: No
Track Mode: 0x04, Copy Allowed: No, FP (Is Fixed Packet): No
Next Session: 0x00, Data Block Type: 0x08, Reserved4: 0x00
Host Application Code: 0x00, Session Format: 0x00
Packet Size: 32, Audio Pause Length: 150
Media Catalog Number: 0x00000000000000000000000000000000
ISRC: 0x00000000000000000000000000000000
SubHeaderUCHAR0: 0x00, SubHeaderUCHAR1: 0x00
SubHeaderUCHAR2: 0x00, SubHeaderUCHAR3: 0x00
Vendor Specific: 0x00 0x00 0x00 0x00


CStarBurn_CdvdBurnerGrabber::ReadTrackInformation(): Current track number is 0x01 ( 0xFF passed, 0x01 stored )

CStarBurn_DumpAndParseTrackInformation(): WARNING! Length 34 less then 40!

Track Information Dump:
Track Number: 1, Session Number: 1
Track Mode: 0x04, Copy: No, Damage: No
Data Mode: 0x01, FP (Fixed Packet): No, Packet: No, Blank: Yes
RT (Reserved Track): No, NWA_V (Next Writable Address Valid): Yes
Track Start Address (LBA): 0, Next Writable Address (LBA): 0
Free Logical Block(s): 2297888, Fixed Packet Size: 16 LB(s)
Track Size In LBs: 2297888, Last Recorded Address: 0


CStarBurn_CdvdBurnerGrabber::Release(): ENTERed

CStarBurn_CdvdBurnerGrabber::Release(): EXITing with success

--- StarBurn:StarBurn_Destroy(): About to destroy burner/grabber at 0x017C0048


StarBurn:StarBurn_CdvdBurnerGrabber_CreateEx(): EXITing with failure, was not initialized
First-chance exception at 0x7c812aeb in tool.exe: Microsoft C++ exception: _com_error at memory location 0x019bfbc8..


^^^The _CreateEx() issue is what I get when I finally want to burn the image using ActiveImageBurner->Burn(props->IsTestMode);

Thanks in advance.


Top
 Profile  
 
 Post subject: Re: Imageburner issue
PostPosted: Wed May 05, 2010 12:01 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
You did not initialize StarBurn SDK core I guess.


Top
 Profile  
 
 Post subject: Re: Imageburner issue
PostPosted: Wed May 05, 2010 12:38 pm 
Offline

Joined: Mon May 03, 2010 10:24 am
Posts: 20
Dear Anton,
I initialized it as shown in one of the samples.
I to try create a multithreaded app (DoBurning will be executed in a seperate thread) could that be a problem at all?


Top
 Profile  
 
 Post subject: Re: Imageburner issue
PostPosted: Wed May 05, 2010 12:49 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
I need full log and not stripped down version to know what you do wrong.

Mark Tels wrote:
Dear Anton,
I initialized it as shown in one of the samples.
I to try create a multithreaded app (DoBurning will be executed in a seperate thread) could that be a problem at all?


Top
 Profile  
 
 Post subject: Re: Imageburner issue
PostPosted: Wed May 05, 2010 1:43 pm 
Offline

Joined: Mon May 03, 2010 10:24 am
Posts: 20
I have fixed it.
Indeed (due to the multithread realisation) the object was destroyed right after I initiated the Burn.
So thanks for pointing me into the right direction ;)


Top
 Profile  
 
 Post subject: Re: Imageburner issue
PostPosted: Wed May 05, 2010 1:54 pm 
Offline
Site Admin

Joined: Fri Jun 18, 2004 12:03 am
Posts: 4089
Location: British Virgin Islands
Good :) Thanks for keeping us updated :)

Mark Tels wrote:
I have fixed it.
Indeed (due to the multithread realisation) the object was destroyed right after I initiated the Burn.
So thanks for pointing me into the right direction ;)


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 21 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:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group