Tialis - 2013-07-11

I'm trying to integrate plplot into a Qt application. Everything seems to work with the standard drivers. However, I can't seem to use the Qt drivers without the application crashing when plend() is called. Here is a simple example:

plsdev("bmpqt");
plsfnam("test.bmp");
plsexit(&plplotError);
plinit();
plenv(0.0f, 1.0f, 0.0f, 1.0f, 0, 0);
plend();

The bitmap file is actually created correctly, but the application aborts with:

Error in `./digital-stain': munmap_chunk(): invalid pointer: 0x00007ffff08a1ec0