Printer Driver behaving abnormaly

Tech-Archive recommends: Fix windows errors by optimizing your registry



Hi All,
I have written a unidrv based printer driver for a USB printer. I have
implemented rendering and UI plug ins.
Sometimes the driver behaves abnormally sometimes-
1. Occasional "striped text" or text that appears to be halftoned.
2. PC side crashes of Windows "Generic Host Services"(svchost.exe).
3. Missing or "Black Out" objects on the printed page - Most non-text
graphical objects, including images, are not visible on a printed page.
(This happens always).

Is it a result of stack corruption in my driver?
If so what are the things that corrupts the stack and how can i
increase the stack size for my driver?

If somebody knows it, please reply...

Thanks,
Nitin

.



Relevant Pages

  • Re: [PATCH 0/3] New firewire stack
    ... My main point about ohci1394 (the old stacks PCI driver) is, ... The big problems in the ohci1394 drivers is the irq_handler, bus reset ... reset, so there is no need to complicate the core stack with this extra state, ... interfaces have slightly disjoint feature sets and can't really be phased out. ...
    (Linux-Kernel)
  • Re: [PATCH 0/3] New firewire stack
    ... My main point about ohci1394 (the old stacks PCI driver) is, ... The big problems in the ohci1394 drivers is the irq_handler, bus reset ... reset, so there is no need to complicate the core stack with this extra state, ... interfaces have slightly disjoint feature sets and can't really be phased out. ...
    (Linux-Kernel)
  • [crash] BUG: unable to handle kernel NULL pointer dereference at (null), last sysfs file: /sys/devic
    ... Stack: ... Call Trace: ... # SCSI device support ... # You can enable one or both FireWire driver stacks. ...
    (Linux-Kernel)
  • Re: Driver getting Page Fault 0Eh Fault=0000, only when 2 PCI cards present in system
    ... There certainly are stack limits that a poorly designed function can exceed, ... > Is there a size issue on the size of a subroutine in a driver? ... With only one of our PCI cards ... >> area in Memory Space and also uses 1 PCI interrupt. ...
    (microsoft.public.development.device.drivers)
  • Re: how to test RAM?
    ... Driver Verifier. ... REPEAT THE LAST TABLE O N L Y) or match the fault address to the driver. ... Memory corruption, other hardware ... A kernel stack overflow. ...
    (microsoft.public.windowsxp.general)