www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - Segmentation faults on Linux


I'm in the middle of porting a working D with C application from Windows
to Linux (Ubuntu 10.04). I've been tracking down segmentation faults and
it seems that any pointer reference from C back to D is causing a crash.
Even passing the address of an int causes a segmentation fault when the
data is written back. Before I build some small examples to see exactly
what is going on does anyone know what might be causing this.

Dec 18 2010