Crash in Console while using queuing a work item

  • Thread starter Thread starter ajay
  • Start date Start date
A

ajay

Guest
Hi All,

I have a usb driver running in Windows ME but when i type something in
console prompt then either system crashes or console crashes. Exact
steps are given below.

1) Plug in a usb modem.
2) Go to start->Run->Type command->Enter
3) Command prompt opens. Type something in command prompt. 4) Either
system crashes or console crashes.

I have come to know that crash occurs near the function where i queues
a work item in a system worker thread. I am using the standard
functions "IoAllocateWorkItem()","IoQueueWorkItem()" and
"IoFreeWorkItem()" functions to queue the work item. The function
which queues the work item is running at DISPATCH LEVEL and obviously
the callback function is running at PASSIVE LEVEL.

How can i queue the work item without the console crash?

Any help will be greatly appreciated.

Thanks a lot,
Ajay
 
Re: Crash in Console while using queuing a work item

Could be wrong, but sounds like a conflict with the modem to me.
Any better ideas welcome.

Harry.


"ajay" <erajaysharma@gmail.com> wrote in message
news:1189952088.359717.158420@o80g2000hse.googlegroups.com...
> Hi All,
>
> I have a usb driver running in Windows ME but when i type something in
> console prompt then either system crashes or console crashes. Exact
> steps are given below.
>
> 1) Plug in a usb modem.
> 2) Go to start->Run->Type command->Enter
> 3) Command prompt opens. Type something in command prompt. 4) Either
> system crashes or console crashes.
>
> I have come to know that crash occurs near the function where i queues
> a work item in a system worker thread. I am using the standard
> functions "IoAllocateWorkItem()","IoQueueWorkItem()" and
> "IoFreeWorkItem()" functions to queue the work item. The function
> which queues the work item is running at DISPATCH LEVEL and obviously
> the callback function is running at PASSIVE LEVEL.
>
> How can i queue the work item without the console crash?
>
> Any help will be greatly appreciated.
>
> Thanks a lot,
> Ajay
>
 
Re: Crash in Console while using queuing a work item


"ajay" <erajaysharma@gmail.com> wrote in message
news:1189952088.359717.158420@o80g2000hse.googlegroups.com...
> Hi All,
>
> I have a usb driver running in Windows ME but when i type something in
> console prompt then either system crashes or console crashes. Exact
> steps are given below.
>
> 1) Plug in a usb modem.
> 2) Go to start->Run->Type command->Enter
> 3) Command prompt opens. Type something in command prompt. 4) Either
> system crashes or console crashes.
>
> I have come to know that crash occurs near the function where i queues
> a work item in a system worker thread. I am using the standard
> functions "IoAllocateWorkItem()","IoQueueWorkItem()" and
> "IoFreeWorkItem()" functions to queue the work item. The function
> which queues the work item is running at DISPATCH LEVEL and obviously
> the callback function is running at PASSIVE LEVEL.
>
> How can i queue the work item without the console crash?
>
> Any help will be greatly appreciated.
>
> Thanks a lot,
> Ajay
>


I'm going to show my ignorance and say I haven't a clue!

Godfrey
 
Back
Top