Thanks for replaying
But I've checked that, the eventQueue's ptr is 0x01513b28 and have a size of
two.
Btw, when the unhandled exception window pops up, the top of the call stack
is the insert function of the list.

I've searched the osg mailing list archive, and found that someone else have
the similar problem but had no solutions. Somebody said it might be the
scopelock before the insert of the evenqueue that causes this exception. But
I don't quite understand.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
[EMAIL PROTECTED]
Sent: Friday, September 15, 2006 11:46 PM
To: osg users
Subject: Re: [osg-users] qt4osg exception

That looks like you have a null pointer somewhere. Looking at the line of 
code, I'd imagine getEventQueue() is returning null, so that'd be the 
first thing I'd look at.

John Donovan
Sony Computer Entertainment Europe
http://www.scee.com


[EMAIL PROTECTED] wrote on 15/09/2006 16:52:41:

> Hi, everyone
> I've been working on creating OSG scenegraph on QT window using the 
> osgqt4 example for several days.
> Well, I still can not figure out how to solve this exception.
> 
> Whenever it runs to the following statement:
> 
> getEventQueue()->takeEvents(events);
> 
> the Unhandled exception
> "Unhandled exception at 0x003baf39 in QTWindow.exe: 0xC0000005: 
> Access violation reading location 0x00000003." Happens
> 
> Could anyone give me some 
clue._______________________________________________
> osg-users mailing list
> [email protected]
> http://openscenegraph.net/mailman/listinfo/osg-users
> http://www.openscenegraph.org/

**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
[EMAIL PROTECTED]

This footnote also confirms that this email message has been checked
for all known viruses.

**********************************************************************
Sony Computer Entertainment Europe


_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to