[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problems with "pslatex" terminal in gnuplot beta347 (pre3.6) in Debian Linux 2.0 (hamm) (fwd)



Hi all!
Last time I experienced several problems with gnuplot. It is very
important for me, because I generate with the gnuplot a lot of charts for
my PhD thesis.
I've reported it as a bug to the gnuplot team, but now I remind, that
similar problem (SIGSEGV after writing of 12288 bytes to the output
PostScript file) occured in Scilab 2.3 with Debian. Maybe this is
something Debian specific, so I've decided to forward it to this list too.
I would be very gratefull if someone test the attached data and answer me
if the problem occures in other hamm systems too.
If someone knows the solution, please let me know.

					Wojtek Zabolotny
					wzab@ipe.pw.edu.pl

---------- Forwarded message ----------
Date: Fri, 31 Jul 1998 12:24:30 +0200 (EEST)
From: Wojciech Zabolotny <wzab@ipe.pw.edu.pl>
To: bug-gnuplot@dartmouth.edu
Subject: Problems with "pslatex" terminal in gnuplot beta347 (pre3.6) in Debian Linux 2.0 (hamm)

Hello gnuplot developers!

I need to include some complicated plots generated by gnuplot into my
Latex document. However, when I try to use the "pslatex" terminal with
"auxfile" option, the gnuplot fails with SIGSEGV, after 12288 bytes of the
auxiliary PS file is written. I've stated, that this effect depends on the
length (?) and the contents (?!) of filenames (so probably there is
something wrong with memory management). Therefore I attach the
tgz file with sample gnuplot data, which cause the error. The "build" file
invokes the gnuplot with the appropriate parameters. The processing of
phd_w4_s3_l10_wzneur.nsts.gnuplot file causes the SIGSEGV, and the
processing of this_works.gnuplot file (which is just the symlink to the
phd_w4_s3_l10_wzneur.nsts.gnuplot) gives the correct results.

This the output of the gdb's "bt" command after the failure:
#0  0x40092cbf in free ()
#1  0x40092b31 in free ()
#2  0x806f89c in cp_free (cp=0x80e6028) at misc.c:174
#3  0x806f873 in cp_free (cp=0x80e3508) at misc.c:169
#4  0x806f873 in cp_free (cp=0x80e1c98) at misc.c:169
#5  0x80779fa in eval_plots () at plot2d.c:1348
#6  0x80743a7 in plotrequest () at plot2d.c:332
#7  0x804b84f in command () at command.c:539
#8  0x804afd1 in do_line () at command.c:287
#9  0x807209c in load_file (fp=0x80e0dc8,
    name=0xbffff96c "phd_w4_s3_l10_wzneur.nsts.gnuplot", can_do_args=0)
    at misc.c:1042
#10 0x804bd70 in command () at command.c:624
#11 0x804afd1 in do_line () at command.c:287
#12 0x804af4f in com_line () at command.c:262
#13 0x8073c25 in main (argc=1, argv=0xbffffda0) at plot.c:439

				Thanks for any help or advice
				Wojciech Zabolotny
				wzab@ipebio15.ipe.pw.edu.pl

PS1. Please answer to address wzab@ipebio15.ipe.pw.edu.pl
PS2. When I try to use "pslatex" terminal without the "auxfile" option, I
     get the Latex error message, because it does not understand the
     \special{" command (although there are no problems with the 
     \special{! command). What is the reason of it? 

Attachment: gnuplot.bug.tgz
Description: Sample data


Reply to: