BSOD Help

Hello,

I had a BSOD, but I am not sure if it was caused by my driver.
I have run some WinDbg commands and sent below.

Can anyone help me understand if it was my drivers fault?
My driver’s name is NGSeri_1.

Thanks for any help.



0: kd> !analyze -v



Bugcheck Analysis





KERNEL_MODE_EXCEPTION_NOT_HANDLED (8e)
This is a very common bugcheck. Usually the exception address pinpoints
the driver/function that caused the problem. Always note this address
as well as the link date of the driver/image that contains this address.
Some common problems are exception code 0x80000003. This means a hard
coded breakpoint or assertion was hit, but this system was booted
/NODEBUG. This is not supposed to happen as developers should never have
hardcoded breakpoints in retail code, but …
If this happens, make sure a debugger gets connected, and the
system is booted /DEBUG. This will let us see why this breakpoint is
happening.
Arguments:
Arg1: c0000005, The exception code that was not handled
Arg2: 82cbc54d, The address that the exception occurred at
Arg3: 8a4bcc18, Trap Frame
Arg4: 00000000

Debugging Details:
------------------

Page 1ddd0 not present in the dump file. Type “.hh dbgerr004” for details

EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - A instru o no 0x%p referenciou a
mem ria no 0x%p. A mem ria n o p de ser %s.

FAULTING_IP:
nt!NtWriteFile+292
82cbc54d 8b730c mov esi,dword ptr [ebx+0Ch]

TRAP_FRAME: 8a4bcc18 – (.trap 0xffffffff8a4bcc18)
ErrCode = 00000000
eax=00000000 ebx=00000000 ecx=00000000 edx=746c6644 esi=00000000
edi=86fcd7c8
eip=82cbc54d esp=8a4bcc8c ebp=8a4bcd08 iopl=0 nv up ei pl nz na po
nc
cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000
efl=00010202
nt!NtWriteFile+0x292:
82cbc54d 8b730c mov esi,dword ptr [ebx+0Ch]
ds:0023:0000000c=???
Resetting default scope

DEFAULT_BUCKET_ID: WIN7_DRIVER_FAULT

BUGCHECK_STR: 0x8E

PROCESS_NAME: cbInterface.ex

CURRENT_IRQL: 0

ANALYSIS_VERSION: 6.3.9600.17237 (debuggers(dbg).140716-0327) x86fre

LAST_CONTROL_TRANSFER: from 82afd216 to 82b27b84

STACK_TEXT:
8a4bc784 82afd216 0000008e c0000005 82cbc54d nt!KeBugCheckEx+0x1e
8a4bcba8 82a865e6 8a4bcbc4 00000000 8a4bcc18 nt!KiDispatchException+0x1ac
8a4bcc10 82a8659a 8a4bcd08 82cbc54d badb0d00 nt!CommonDispatchException+0x4a
8a4bcc28 82c6da14 000001c4 87041ac0 82cbc201 nt!KiExceptionExit+0x192
8a4bcd08 82a85a06 875bc6c8 00000000 00000000 nt!ExMapHandleToPointerEx+0x1c
8a4bcd08 772c71b4 875bc6c8 00000000 00000000 nt!KiSystemServicePostCall
WARNING: Frame IP not in any known module. Following frames may be wrong.
031cfe9c 00000000 00000000 00000000 00000000 0x772c71b4

STACK_COMMAND: kb

FOLLOWUP_IP:
nt!NtWriteFile+292
82cbc54d 8b730c mov esi,dword ptr [ebx+0Ch]

SYMBOL_STACK_INDEX: 0

SYMBOL_NAME: nt!NtWriteFile+292

FOLLOWUP_NAME: MachineOwner

MODULE_NAME: nt

IMAGE_NAME: ntkrpamp.exe

DEBUG_FLR_IMAGE_TIMESTAMP: 5609efab

IMAGE_VERSION: 6.1.7601.19018

FAILURE_BUCKET_ID: 0x8E_nt!NtWriteFile+292

BUCKET_ID: 0x8E_nt!NtWriteFile+292

ANALYSIS_SOURCE: KM

FAILURE_ID_HASH_STRING: km:0x8e_nt!ntwritefile+292

FAILURE_ID_HASH: {0fbbc315-dc2b-585e-d176-69a781bff448}

Followup: MachineOwner
---------

0: kd> .trap 0xffffffff8a4bcc18
ErrCode = 00000000
eax=00000000 ebx=00000000 ecx=00000000 edx=746c6644 esi=00000000
edi=86fcd7c8
eip=82cbc54d esp=8a4bcc8c ebp=8a4bcd08 iopl=0 nv up ei pl nz na po
nc
cs=0008 ss=0010 ds=0023 es=0023 fs=0030 gs=0000
efl=00010202
nt!NtWriteFile+0x292:
82cbc54d 8b730c mov esi,dword ptr [ebx+0Ch]
ds:0023:0000000c=???
0: kd> kb
*** Stack trace for last set context - .thread/.cxr resets it
ChildEBP RetAddr Args to Child
8a4bcd08 82a85a06 875bc6c8 00000000 00000000 nt!NtWriteFile+0x292
8a4bcd08 772c71b4 875bc6c8 00000000 00000000 nt!KiSystemServicePostCall
WARNING: Frame IP not in any known module. Following frames may be wrong.
031cfe9c 00000000 00000000 00000000 00000000 0x772c71b4
0: kd> !object 875bc6c8
Object: 875bc6c8 Type: (84834f78) Device
ObjectHeader: 875bc6b0 (new version)
HandleCount: 0 PointerCount: 1
0: kd> !devobj 875bc6c8
Device object (875bc6c8) is for:
\Driver\NGSerialMonitor DriverObject 873ef878
Current Irp 00000000 RefCount 0 Type 00000011 Flags 00000004
DevExt 876fc818 DevObjExt 875bc788
ExtensionFlags (0x00000800) DOE_DEFAULT_SD_PRESENT
Characteristics (0000000000)
AttachedTo (Lower) 85b2ea80 \FileSystem\Npfs
Device queue is not busy.


-George