[Gridflow-dev] gridflow crashes pd

David Plans Casal main at davidcasal.com
Thu Oct 6 11:42:26 EDT 2005


Heya

As a result of the #ifdef hack for OSX:

#ifdef __APPLE__
static inline void *memalign (size_t a, size_t n) {return malloc(n);}
#else
#include <malloc.h>
#endif

GridFlow is now crashing pd on opening example patches like 
mechanics.pd in examples/  , with:

Program received signal EXC_BAD_ACCESS, Could not access memory.
void default_pack<int>(BitPacking*, int, Pt<int>, Pt<unsigned char>) 
(self=0x0, n=476, in={p = 0x1840400}, out={p = 0x0}) at 
base/grid.h.fcs:456
456     EACH_NUMBER_TYPE(FOO)

Have 0 idea why, but I guess there's a problem with the memalign hack 
there, and memory allocation.

Any clues?

d

--
# David Plans Casal

problem.each { |day|
	assert_nil(spoon)
}



More information about the Gridflow-dev mailing list