Segmentation faults on Linux

Bob Cowdery bob at bobcowdery.plus.com
Sat Dec 18 09:15:32 PST 2010


Hi

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.

Regards
bob


More information about the Digitalmars-d-learn mailing list