Hi,
I tried to use gnuplot bug I get a strange SYGSEGV.
The problem is in command.c line 161.
the C line is:
input line = gp_malloc(MAX_LINE_LEN, "input_line);
Everything looks fine in gp_malloc where p = GP_FARMALLOC(size)
(alloc.c: 275) correctly allocates the request size, the pointer not
NULL) is returned and then, I get the SYGSEGV. I supposed that the
pointer is allocated out of the process by FARMALLOC() but how is it
possible???
Hi,
I tried to use gnuplot bug I get a strange SYGSEGV.
The problem is in command.c line 161.
the C line is:
input line = gp_malloc(MAX_LINE_LEN, "input_line);
Everything looks fine in gp_malloc where p = GP_FARMALLOC(size)
(alloc.c: 275) correctly allocates the request size, the pointer not
NULL) is returned and then, I get the SYGSEGV. I supposed that the
pointer is allocated out of the process by FARMALLOC() but how is it
possible???
Hmm, how very odd. What is it that you are trying to plot?
I don’t see this bug here, but it is likely that I am not
running the same plots as you. Could it be possible that
your line is larger than 1024 characters?
In fact I just try to see what happen when I call gnuplot demo/1.dat but
as I don’t know gnuplot, maybe I’m not supposed to do that!
So, I looked for some infos on the web and I found http://www.cs.uni.edu/Help/gnuplot.
According to the first paragraph, I tried to just start gnuplot to get
its prompt, but the result is the same!
Hi,
I tried to use gnuplot bug I get a strange SYGSEGV.
The problem is in command.c line 161.
the C line is:
input line = gp_malloc(MAX_LINE_LEN, "input_line);
Everything looks fine in gp_malloc where p = GP_FARMALLOC(size)
(alloc.c: 275) correctly allocates the request size, the pointer not
NULL) is returned and then, I get the SYGSEGV. I supposed that the
pointer is allocated out of the process by FARMALLOC() but how is it
possible???
Hmm, how very odd. What is it that you are trying to plot?
I don’t see this bug here, but it is likely that I am not
running the same plots as you. Could it be possible that
your line is larger than 1024 characters?