Torquil,

I am surprised the jpeg driver has stopped working for you. Nothing has
changed recently that should affect fonts. Have you ever had it working
for you from SVN? You might want to check that you have the required
fonts installed. By default plplot tries to use the Freefont truetype
fonts. Did the output from cmake complain about missing fonts? I assume
not, as otherwise it should have disabled freetype support. 

Does the png driver work? Both jpeg and png are actually produced by the
gd driver. If both fail then the problem is actually likely to be with
gd or the freetype support rather than libjpeg.

I have tried your sample program with svn and it works fine for me on
ubuntu gutsy. Can you try compiling with debugging and run it using 
gdb? This might give us a better idea where it is crashing.

Andrew

On Mon, Jan 21, 2008 at 10:43:19PM +0100, Torquil Macdonald S?rensen wrote:
> Hello, the JPG-output driver is no longer working for me using todays 
> SVN-version of plplot. I get a segmentation fault. The program makes just one 
> simple plot.I will include it below.
> 
> I have attached the strace output from my plplot-program when using the JPG 
> output driver that segfaults. It looks as though it segfaults when doing 
> something font-related. Using the "-drvopt text" option does not change this.
> 
> In addition, when trying to open the output file from the "<18> svg" driver 
> in 
> konqueror, it complains with "A legal svg document requires a <svg> root 
> element". The svgcairo driver however, makes files that can be opened in 
> konqueror.
> 
> I have Debian Sid with version 6b-14 of libjpeg62 and libjpeg62-dev. I 
> compiled by first installing all build-dependencies with apt-get build-dep 
> libplplot9, and then running the standard dpkg-buildpackage command (after 
> removing the patches that didn't apply correctly)
> 
> Best regards,
> Torquil S?rensen
> 
> #include <plplot/plplot.h>
> 
> using namespace std;
> 
> int main(int argc, const char *argv[]) {
>     double x[] = { 0.1, 0.5, 0.2, 0.4, 0.4 };
>     double y[] = { 0.5, 0.4, 0.4, 0.8, 0.9 };
> 
>     plparseopts(&argc, argv, PL_PARSE_FULL);
>     plsfnam("1.jpg");
>     plsdev("jpeg");
>     plinit();
>     plenv(0, 1, 0, 1, 1, -2);
> 
>     plbop();
>     plbox("bcinst", 0, 0, "bcinst", 0, 0);
>     plline(5, x, y);
>     pleop();
> 
>     plend();
> 
>     return(0);
> }
> 
> 

> execve("./plplot_graph.elf", ["plplot_graph.elf"], [/* 48 vars */]) = 0
> brk(0)                                  = 0x804a000
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> mmap2(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7f95000
> access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=102085, ...}) = 0
> mmap2(NULL, 102085, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f7c000
> close(3)                                = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/usr/lib/libplplotcxxd.so.9", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`e\0\000"..., 512) = 
> 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=59792, ...}) = 0
> mmap2(NULL, 58568, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7f6d000
> mmap2(0xb7f7b000, 4096, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe) = 0xb7f7b000
> close(3)                                = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/usr/lib/libstdc++.so.6", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\0:\4\000"..., 512) = 
> 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=938024, ...}) = 0
> mmap2(NULL, 964492, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7e81000
> mmap2(0xb7f62000, 20480, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xe0) = 0xb7f62000
> mmap2(0xb7f67000, 22412, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f67000
> close(3)                                = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/lib/i686/cmov/libm.so.6", O_RDONLY) = 3
> read(3, "[EMAIL PROTECTED]"..., 512) = 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=149328, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7e80000
> mmap2(NULL, 147584, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7e5b000
> mmap2(0xb7e7e000, 8192, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23) = 0xb7e7e000
> close(3)                                = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/lib/libgcc_s.so.1", O_RDONLY)    = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\34"..., 512) = 
> 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=49644, ...}) = 0
> mmap2(NULL, 52776, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7e4e000
> mmap2(0xb7e5a000, 4096, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xb) = 0xb7e5a000
> close(3)                                = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/lib/i686/cmov/libc.so.6", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260e\1"..., 512) = 
> 512
> fstat64(3, {st_mode=S_IFREG|0755, st_size=1356196, ...}) = 0
> mmap2(NULL, 1361520, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7d01000
> mmap2(0xb7e48000, 12288, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x147) = 0xb7e48000
> mmap2(0xb7e4b000, 9840, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e4b000
> close(3)                                = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/usr/lib/libplplotd.so.9", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300r\0"..., 512) = 
> 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=310436, ...}) = 0
> mmap2(NULL, 346672, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7cac000
> mmap2(0xb7cf7000, 8192, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4a) = 0xb7cf7000
> mmap2(0xb7cf9000, 31280, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7cf9000
> close(3)                                = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/usr/lib/libltdl.so.3", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\220\22"..., 512) = 
> 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=23468, ...}) = 0
> mmap2(NULL, 26432, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7ca5000
> mmap2(0xb7cab000, 4096, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0xb7cab000
> close(3)                                = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/lib/i686/cmov/libdl.so.2", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\n\0\000"..., 512) = 
> 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=9684, ...}) = 0
> mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7ca1000
> mmap2(0xb7ca3000, 8192, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7ca3000
> close(3)                                = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/usr/lib/libcsirocsa.so.0", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\n\0\000"..., 512) = 
> 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=27124, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7ca0000
> mmap2(NULL, 30096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7c98000
> mmap2(0xb7c9f000, 4096, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7c9f000
> close(3)                                = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/usr/lib/libcsironn.so.0", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\30"..., 512) = 
> 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=29452, ...}) = 0
> mmap2(NULL, 32428, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7c90000
> mmap2(0xb7c97000, 4096, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7c97000
> close(3)                                = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/usr/lib/libqhull.so.5", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000q\0\000"..., 512) 
> = 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=318364, ...}) = 0
> mmap2(NULL, 317384, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7c42000
> mmap2(0xb7c8f000, 4096, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x4d) = 0xb7c8f000
> close(3)                                = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/usr/lib/libfreetype.so.6", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340x\0"..., 512) = 
> 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=449240, ...}) = 0
> mmap2(NULL, 452152, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7bd3000
> mmap2(0xb7c3e000, 16384, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6a) = 0xb7c3e000
> close(3)                                = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/usr/lib/libz.so.1", O_RDONLY)    = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\300\30"..., 512) = 
> 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=81012, ...}) = 0
> mmap2(NULL, 83740, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7bbe000
> mmap2(0xb7bd2000, 4096, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0xb7bd2000
> close(3)                                = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7bbd000
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7bbc000
> set_thread_area({entry_number:-1 -> 6, base_addr:0xb7bbc6c0, limit:1048575, 
> seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, 
> seg_not_present:0, useable:1}) = 0
> mprotect(0xb7e48000, 4096, PROT_READ)   = 0
> mprotect(0xb7f62000, 12288, PROT_READ)  = 0
> munmap(0xb7f7c000, 102085)              = 0
> brk(0)                                  = 0x804a000
> brk(0x806b000)                          = 0x806b000
> stat64("/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
> gettimeofday({1200949382, 46068}, NULL) = 0
> getpid()                                = 5924
> open("/tmp/tmpfQVcsCz", O_RDWR|O_CREAT|O_EXCL, 0600) = 3
> unlink("/tmp/tmpfQVcsCz")               = 0
> fcntl64(3, F_GETFL)                     = 0x2 (flags O_RDWR)
> fstat64(3, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7f94000
> _llseek(3, 0, [0], SEEK_CUR)            = 0
> getcwd("/home/tmac/programming/visualization", 256) = 37
> chdir("/home/tmac/src/plplot/svn/plplot/debian/build_tmp") = 0
> getcwd("/home/tmac/src/plplot/svn/plplot/debian/build_tmp", 256) = 50
> chdir("/home/tmac/programming/visualization") = 0
> open("/usr/lib/plplot5.8.0/driversd", 
> O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 4
> fstat64(4, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
> fcntl64(4, F_GETFD)                     = 0x1 (flags FD_CLOEXEC)
> getdents(4, /* 30 entries */, 4096)     = 600
> open("/usr/lib/plplot5.8.0/driversd/cairo.rc", O_RDONLY) = 5
> fstat64(5, {st_mode=S_IFREG|0644, st_size=229, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7f93000
> read(5, "xcairo:Cairo X Windows Driver:1:"..., 4096) = 229
> read(5, "", 4096)                       = 0
> close(5)                                = 0
> munmap(0xb7f93000, 4096)                = 0
> open("/usr/lib/plplot5.8.0/driversd/hpgl.rc", O_RDONLY) = 5
> fstat64(5, {st_mode=S_IFREG|0644, st_size=200, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7f93000
> read(5, "hp7470:HP 7470 Plotter File (HPG"..., 4096) = 200
> read(5, "", 4096)                       = 0
> read(5, "", 4096)                       = 0
> close(5)                                = 0
> munmap(0xb7f93000, 4096)                = 0
> open("/usr/lib/plplot5.8.0/driversd/mem.rc", O_RDONLY) = 5
> fstat64(5, {st_mode=S_IFREG|0644, st_size=45, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7f93000
> read(5, "mem:User-supplied memory device:"..., 4096) = 45
> read(5, "", 4096)                       = 0
> read(5, "", 4096)                       = 0
> close(5)                                = 0
> munmap(0xb7f93000, 4096)                = 0
> open("/usr/lib/plplot5.8.0/driversd/null.rc", O_RDONLY) = 5
> fstat64(5, {st_mode=S_IFREG|0644, st_size=32, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7f93000
> read(5, "null:Null device:-1:null:42:null", 4096) = 32
> read(5, "", 4096)                       = 0
> read(5, "", 4096)                       = 0
> close(5)                                = 0
> munmap(0xb7f93000, 4096)                = 0
> open("/usr/lib/plplot5.8.0/driversd/pbm.rc", O_RDONLY) = 5
> fstat64(5, {st_mode=S_IFREG|0644, st_size=33, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7f93000
> read(5, "pbm:PDB (PPM) Driver:0:pbm:38:pb"..., 4096) = 33
> read(5, "", 4096)                       = 0
> read(5, "", 4096)                       = 0
> close(5)                                = 0
> munmap(0xb7f93000, 4096)                = 0
> open("/usr/lib/plplot5.8.0/driversd/ps.rc", O_RDONLY) = 5
> fstat64(5, {st_mode=S_IFREG|0644, st_size=83, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7f93000
> read(5, "ps:PostScript File (monochrome):"..., 4096) = 83
> read(5, "", 4096)                       = 0
> read(5, "", 4096)                       = 0
> close(5)                                = 0
> munmap(0xb7f93000, 4096)                = 0
> open("/usr/lib/plplot5.8.0/driversd/svg.rc", O_RDONLY) = 5
> fstat64(5, {st_mode=S_IFREG|0644, st_size=51, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7f93000
> read(5, "svg:Scalable Vector Graphics (SV"..., 4096) = 51
> read(5, "", 4096)                       = 0
> read(5, "", 4096)                       = 0
> close(5)                                = 0
> munmap(0xb7f93000, 4096)                = 0
> open("/usr/lib/plplot5.8.0/driversd/xfig.rc", O_RDONLY) = 5
> fstat64(5, {st_mode=S_IFREG|0644, st_size=28, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7f93000
> read(5, "xfig:Fig file:0:xfig:31:xfig", 4096) = 28
> read(5, "", 4096)                       = 0
> read(5, "", 4096)                       = 0
> close(5)                                = 0
> munmap(0xb7f93000, 4096)                = 0
> open("/usr/lib/plplot5.8.0/driversd/gcw.rc", O_RDONLY) = 5
> fstat64(5, {st_mode=S_IFREG|0644, st_size=36, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7f93000
> read(5, "gcw:Gnome Canvas Widget:1:gcw:10"..., 4096) = 36
> read(5, "", 4096)                       = 0
> read(5, "", 4096)                       = 0
> close(5)                                = 0
> munmap(0xb7f93000, 4096)                = 0
> open("/usr/lib/plplot5.8.0/driversd/xwin.rc", O_RDONLY) = 5
> fstat64(5, {st_mode=S_IFREG|0644, st_size=32, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7f93000
> read(5, "xwin:X-Window (Xlib):1:xwin:5:xw", 4096) = 32
> read(5, "", 4096)                       = 0
> read(5, "", 4096)                       = 0
> close(5)                                = 0
> munmap(0xb7f93000, 4096)                = 0
> open("/usr/lib/plplot5.8.0/driversd/wxwidgets.rc", O_RDONLY) = 5
> fstat64(5, {st_mode=S_IFREG|0644, st_size=47, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7f93000
> read(5, "wxwidgets:wxWidgets DC:1:wxwidge"..., 4096) = 47
> read(5, "", 4096)                       = 0
> read(5, "", 4096)                       = 0
> close(5)                                = 0
> munmap(0xb7f93000, 4096)                = 0
> open("/usr/lib/plplot5.8.0/driversd/gd.rc", O_RDONLY) = 5
> fstat64(5, {st_mode=S_IFREG|0644, st_size=77, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7f93000
> read(5, "png:PNG file:0:gd:39:png\njpeg:JP"..., 4096) = 77
> read(5, "", 4096)                       = 0
> read(5, "", 4096)                       = 0
> close(5)                                = 0
> munmap(0xb7f93000, 4096)                = 0
> open("/usr/lib/plplot5.8.0/driversd/tk.rc", O_RDONLY) = 5
> fstat64(5, {st_mode=S_IFREG|0644, st_size=26, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7f93000
> read(5, "tk:Tcl/TK Window:1:tk:7:tk", 4096) = 26
> read(5, "", 4096)                       = 0
> read(5, "", 4096)                       = 0
> close(5)                                = 0
> munmap(0xb7f93000, 4096)                = 0
> open("/usr/lib/plplot5.8.0/driversd/tkwin.rc", O_RDONLY) = 5
> fstat64(5, {st_mode=S_IFREG|0644, st_size=36, ...}) = 0
> mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
> 0xb7f93000
> read(5, "tkwin:New tk driver:1:tkwin:45:t"..., 4096) = 36
> read(5, "", 4096)                       = 0
> read(5, "", 4096)                       = 0
> close(5)                                = 0
> munmap(0xb7f93000, 4096)                = 0
> getdents(4, /* 0 entries */, 4096)      = 0
> write(3, "xcairo:Cairo X Windows Driver:1:"..., 968) = 968
> close(4)                                = 0
> _llseek(3, 0, [0], SEEK_SET)            = 0
> read(3, "xcairo:Cairo X Windows Driver:1:"..., 4096) = 968
> read(3, "", 4096)                       = 0
> close(3)                                = 0
> munmap(0xb7f94000, 4096)                = 0
> open("/usr/lib/plplot5.8.0/driversd/gd.la", O_RDONLY) = -1 ENOENT (No such 
> file or directory)
> open("/usr/lib/plplot5.8.0/driversd/gd.so", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\340\21"..., 512) = 
> 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=15316, ...}) = 0
> mmap2(NULL, 18260, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7f90000
> mmap2(0xb7f94000, 4096, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x3) = 0xb7f94000
> close(3)                                = 0
> open("/etc/ld.so.cache", O_RDONLY)      = 3
> fstat64(3, {st_mode=S_IFREG|0644, st_size=102085, ...}) = 0
> mmap2(NULL, 102085, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7ba3000
> close(3)                                = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/usr/lib/libgd.so.2", O_RDONLY)   = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0pX\0\000"..., 512) = 
> 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=242988, ...}) = 0
> mmap2(NULL, 258488, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7b63000
> mmap2(0xb7b7f000, 131072, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1c) = 0xb7b7f000
> mmap2(0xb7b9f000, 12728, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7b9f000
> close(3)                                = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/usr/lib/libpng12.so.0", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200=\0"..., 512) = 
> 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=139660, ...}) = 0
> mmap2(NULL, 142572, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7b40000
> mmap2(0xb7b62000, 4096, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x21) = 0xb7b62000
> close(3)                                = 0
> access("/etc/ld.so.nohwcap", F_OK)      = -1 ENOENT (No such file or 
> directory)
> open("/usr/lib/libjpeg.so.62", O_RDONLY) = 3
> read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0P&\0\000"..., 512) = 
> 512
> fstat64(3, {st_mode=S_IFREG|0644, st_size=125280, ...}) = 0
> mmap2(NULL, 124020, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 
> 0xb7b21000
> mmap2(0xb7b3f000, 4096, PROT_READ|PROT_WRITE, 
> MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1e) = 0xb7b3f000
> close(3)                                = 0
> munmap(0xb7ba3000, 102085)              = 0
> open("1.jpg", O_RDWR|O_CREAT|O_TRUNC, 0666) = 3
> open("/usr/share/fonts/truetype/freefont/FreeSans.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSerif.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeMono.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSerif.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSerif.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSansOblique.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSerifItalic.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeMonoOblique.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSerifItalic.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSerifItalic.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSansOblique.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSerifItalic.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeMonoOblique.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSerifItalic.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSerifItalic.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSansBold.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeMonoBold.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSerifBold.ttf", O_RDONLY) = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSansBoldOblique.ttf", O_RDONLY) 
> = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSerifBoldItalic.ttf", O_RDONLY) 
> = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeMonoBoldOblique.ttf", O_RDONLY) 
> = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSerifBoldItalic.ttf", O_RDONLY) 
> = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSerifBoldItalic.ttf", O_RDONLY) 
> = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSansBoldOblique.ttf", O_RDONLY) 
> = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSerifBoldItalic.ttf", O_RDONLY) 
> = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeMonoBoldOblique.ttf", O_RDONLY) 
> = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSerifBoldItalic.ttf", O_RDONLY) 
> = 4
> close(4)                                = 0
> open("/usr/share/fonts/truetype/freefont/FreeSerifBoldItalic.ttf", O_RDONLY) 
> = 4
> close(4)                                = 0
> --- SIGSEGV (Segmentation fault) @ 0 (0) ---
> +++ killed by SIGSEGV +++

> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2008.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> Plplot-general mailing list
> Plplot-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/plplot-general


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to