Marc Weber wrote: > You're right: ur itself is not writing to the memory. There is still a > segfault. What's wrong ? Should I be using malloc only? > Yes, no callback should touch any uw_malloc()ed memory.