Is this a bug?

Alex via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 4 02:42:16 PDT 2014


Hello,

I am trying to use the std.log module that is here:

https://github.com/linkrope/log.d

And I encountered a segmentation fault using dmd 2.065 on a Linux 
64 platform. The reduced test case is this:

//============================================================================
import std.stdio;
import std.log;

private class CHello {
	
	~this() {
		info("info - destructor"); //info, warning, error segfault; 
however, writefln works
	}
}

void main(string[] args) { CHello chello = new CHello(); }
//============================================================================

Is this a bug?


More information about the Digitalmars-d-learn mailing list