|   Registered Member   
 | 
							Hi. I'm using Eigen to develop my own graphics engine (http://code.google.com/p/ufb/), and have a problem. One of my test segfaults (without assertion error and it segfaults with the first call of glCreateProgram() function). If I disable Eigen alignment (defining EIGEN_DONT_ALIGN) the test works. Now I tried almost everything, and the thing still crashes (unless I add a qDebug() << "output" to a problematic class's method) and I am wondering if somebody knows for a direction to look into. And also, I have a class Object, which has fixed-sized vector. This class Object is then subclassed (Camera, Light, ParticleEmitter) and I'm wondering if that could be the problem? Best regards. | 
|   Moderator   
 | 
							have you tried in "debug mode" ? i.e., without defining NDEBUG.  Anyway, you have to take special cares at your class Object, have a look at this page: http://eigen.tuxfamily.org/dox/Unaligne ... ssert.html | 
|   Registered Member   
 | 
							NDEBUG is not defined (if I define it, it doesn't crash   ). I've been looking at those special cases, and tried them out, but nothing worked. I also included the QtAlignedMalloc, and it still doesn't work. | 
|   Registered Member   
 | 
							This information might help: Valgrind says this upon crash: 
 Also note, that one function call is missing (between bind and ??? ). | 
Registered users: Bing [Bot], Google [Bot], Sogou [Bot]
 
		 
		 
		 
		