Quoting Xavier Hienne <[EMAIL PROTECTED]>: > r=calloc(sizeof(*r),0); > > should be > > r=calloc(1, sizeof(*r)); shame on me! > It's really strange that a call to calloc with a 0 argument returns a > valid value (i.e. not NULL)... This call corrupts your heap and it makes > [cm]alloc segfault some time later during ggiOpen. libc bug ? No, I should have checked errno value instead of return value... And above all, I should have read the man with opened eyes! Anyway thanks...
