Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

Monthly Seminars at OSR Headquarters

East Coast USA
Windows Internals and SW Drivers, Dulles (Sterling) VA, 13 November 2017

Kernel Debugging & Crash Analysis for Windows, Nashua (Amherst) NH, 4 December 2017

Writing WDF Drivers I: Core Concepts, Nashua (Amherst) NH, 8 January 2018

WDF Drivers II: Advanced Implementation Techniques, Nashua (Amherst) NH, 15 January 2018


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 2  
10 Jul 17 13:32
Arad Gavra
xxxxxx@kayhut.com
Join Date: 10 Jul 2017
Posts To This List: 1
Winsock Kernel Access Violation

Hi, I am developing a kernel mode driver that should send data to a server. I read about WSK and also found the following examples: - Microsoft's "WSK TCP Echo Server": github.com/Microsoft/Windows-driver-samples/tree/master/network/wsk/echosrv - wskudp: code.google.com/archive/p/wskudp I tries to use wsktcp but I WskProvier.Dispatch->WskSocket causes BSOD because an access violation. I obviously made the relevant initialization as in WSKStartup (WskRegiser and WskCaptureProviderNPI) and InitWskData works fine. Although there might be a better approach to implement the requirements, I still want to try the socket solution. Bugcheck info: BugCheck 0x7E, {c0000005, 95564a59, 8919a304, 89199ee0}
  Message 2 of 2  
12 Jul 17 10:20
Mark Roddy
xxxxxx@gmail.com
Join Date: 25 Feb 2000
Posts To This List: 4019
Winsock Kernel Access Violation

You have to provide more information. Specifically you need to get the crash dump into windbg, make sure you have symbols set up correctly for both windows and your driver, and then run the windbg command "!analyze -v" and copy all of the output from that here. Mark Roddy On Mon, Jul 10, 2017 at 1:32 PM, xxxxx@kayhut.com <xxxxx@lists.osr.com> wrote: > Hi, > I am developing a kernel mode driver that should send data to a server. > I read about WSK and also found the following examples: > - Microsoft's "WSK TCP Echo Server": github.com/Microsoft/Windows- > driver-samples/tree/master/network/wsk/echosrv > - wskudp: code.google.com/archive/p/wskudp > > I tries to use wsktcp but I WskProvier.Dispatch->WskSocket causes BSOD > because an access violation. > <...excess quoted lines suppressed...> --
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 08:09.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license