[Psi-devel] Fwd: QPipeDevice null pointer exception

Justin Karneges justin-psi2 at affinix.com
Sun Oct 22 13:00:28 PDT 2006


Norman's not a subscriber to Delta (which is the right place to discuss this).  
Forwarding now.

-Justin

----------  Forwarded Message  ----------

Subject: [Psi-devel] QPipeDevice null pointer exception
Date: Sunday 22 October 2006 12:11 pm
From: "Norman Rasmussen" <norman at rasmussen.co.za>
To: "Psi Development" <psi-devel at lists.affinix.com>, delta at lists.affinix.com

in third-party/qca/support/qpipe.cpp, in QPipeDevice::read, line 745:

		// readAhead was enough data for the caller?
		if(size == 0)
		{
			if(wasBlocked)
				d->pipeReader->resume();
			return offset;
		}

for some reason d->pipeReader is null at that point.

pipeReader is set during: enable and reset.  So my guess that either
read is hitting before enable (unlikely), or after reset (possible).

--
- Norman Rasmussen
 - Email: norman at rasmussen.co.za
 - Home page: http://norman.rasmussen.co.za/
_______________________________________________
psi-devel mailing list
psi-devel at lists.affinix.com
http://lists.affinix.com/listinfo.cgi/psi-devel-affinix.com

-------------------------------------------------------


More information about the psi-devel mailing list