Re: DeviceIoControl causes crash on XP machine
nospam_at_cristalink.com
Date: 10/03/04
- Next message: Mark Roddy: "Re: Interrupt Handling"
- Previous message: RickL: "DeviceIoControl causes crash on XP machine"
- In reply to: RickL: "DeviceIoControl causes crash on XP machine"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 4 Oct 2004 09:30:50 +1300
> size. But I'm a newbie when it comes to device
> drivers and I'm not sure what the problem is or
> how to debug it.
Then it's a good idea to hire an expert.
Usually, you run the WinDbg kernel debugger on a crash dump (Ctrl+D), type
"!analyze -v" and see the source line of your driver which caused the crash,
provided you have the driver's .pdb file.
"RickL" <zlingle@nospam.com> wrote in message
news:%ZY7d.2812$z04.1083@twister.socal.rr.com...
> Problem:
> Call to DeviceIoControl causes system reboot on an
> XP machine. The error indicated before XP tells me
> to shutdown is DEVICE_IRQL_NOT_LESS_OR_EQUAL.
>
> Details:
> I have an application that communicates with an
> 8-bit monochrome camera through a 3rd-party DLL
> and 1394 device driver. The camera is DCAM
> compliant and provides 2 modes of operation,
> Format 0 (640x480) and Format 7 ( variable
> height). The application and camera work
> correctly in all cases except one as desribed
> below.
>
> In Format 7 mode, the user can adjust the the
> number of vertical lines in increments of 6 lines
> up to the maximum height of 480 lines. (Note: the
> camera sends image data in chunks that are 6 lines
> by 640 pixels = 3840 bytes). For example, the
> user could configure the camera to start at line 1
> with an image height of 48 lines. In this case,
> the size of the image would be 640x48 = 30720
> bytes. Likewise, if the height was set to 12
> lines, the image size would be 7680 bytes. Both of
> these cases work fine.
>
> The problem occurs when I set the height to 6
> lines. Now the image size is 640x6 = 3840 bytes.
> As it turns out, this size is equal to the
> camera's bytes-per-packet size which is also 3840
> bytes. I have the source code for the DLL and
> device driver and found by stepping, that the
> crash occurs in the call to DeviceIoControl. My
> guess is that the problem is caused by the
> bytes-per-packet size being equal to the image
> size. But I'm a newbie when it comes to device
> drivers and I'm not sure what the problem is or
> how to debug it.
>
> Thanks for any suggestions?
>
> RickL
>
>
>
>
>
>
>
- Next message: Mark Roddy: "Re: Interrupt Handling"
- Previous message: RickL: "DeviceIoControl causes crash on XP machine"
- In reply to: RickL: "DeviceIoControl causes crash on XP machine"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|