From: Torquil M. <to...@gm...> - 2008-01-22 15:56:09
|
Hello again, any ideas as to what is causing example1 (x01c.c) to crash when it is suppo= sed=20 to save to file? I also had some segmentation fault problems when using=20 plcpstrm() to save to file in my other program, and it seems that some=20 examples also do not work correctly for me (example 1 and 20). I have tried= =20 changing the code to save to jpeg and png instead of psc, but neither worke= d.=20 I still get a segmentation fault. I ran the examples as e.g. ./x01c -save=20 1.jpg and selected xwin for the screen display of the example. When pressin= g=20 <Enter> after the screen display, it segfaults instead of writing a useful= =20 file. It seems to write a well-defined image file, but with no contents. I am using yesterdays SVN-version of PLPlot, and gcc (GCC) 4.2.3 20080114=20 (prerelease) (Debian 4.2.2-7) Best regards, Torquil S=F8rensen |