Closed GoogleCodeExporter closed 8 years ago
Looks like a null pointer dereference to me.
Original comment by jcoffl...@gmail.com
on 23 Mar 2011 at 11:55
This is a problem with 64bit computers. ( I don't have a 64 bit computer ).
The problem is that I am using a cast memory point of my HeeksObj objects, as a
"name" for the OpenGL picking.
See this line in HeeksCAD/src/MarkedList.cpp:
HeeksObj *object = (HeeksObj *)(data[pos]);
The problem is that the "name" data, that it is casting back from, is probably
only 32-bit, so we are getting a bad memory pointer.
or maybe it's a problem that I am casting using "unsigned long" and that is
messing up the 64-bit pointer.
( see this code in src/HeeksCAD.cpp :
if(select)glPushName((unsigned long)object)
Original comment by danhe...@gmail.com
on 23 Mar 2011 at 12:04
Original issue reported on code.google.com by
jcoffl...@gmail.com
on 23 Mar 2011 at 11:54