Your message dated Sat, 30 Jun 2012 22:58:06 +0200
with message-id
<CALF6qJ=m=ge0kexdljtj+3zymvtu3b70age9zvesnj2eqqn...@mail.gmail.com>
and subject line Closing the bug
has caused the Debian Bug report #587817,
regarding gnuplot hangs in write() with continuous plot
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
587817: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587817
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: gnuplot
Version: 4.4.0-1
Severity: normal
I tried to visualize a ping to google.de in the following way:
ping -n google.de | perl -nlE '$| = 1; my ($req, $ttl, $time) = ($_ =~
/icmp_req=([0-9.]+) ttl=([0-9.]+) time=([0-9.]+)/); say "$req $time"' | dd bs=1
of=/tmp/ping.dat
The gnuplot file now looks like this:
plot "/tmp/ping.dat" with lines
reread
When starting gnuplot with this file, it first works for some time
(not deterministic), then hangs. When running it in gdb and breaking
when it hangs, I get the following backtrace:
Backtrace:
gdb $ bt
#0 0x00007ffff578205d in write () at ../sysdeps/unix/syscall-template.S:82
#1 0x00000000004ea393 in wxt_exec_event (type=<value optimized out>, mx=0,
my=0,
par1=-1, par2=0, id=0) at ../../../src/wxterminal/wxt_gui.cpp:3029
#2 0x00000000004ec2c8 in wxt_text () at
../../../src/wxterminal/wxt_gui.cpp:1674
#3 0x00000000004d2472 in term_end_plot () at ../../../src/term.c:590
#4 0x000000000044ae7b in do_plot (plots=<value optimized out>,
pcount=<value optimized out>) at ../../../src/graphics.c:2118
#5 0x00000000004669c9 in eval_plots () at ../../../src/plot2d.c:2446
#6 0x0000000000420bd2 in command () at ../../../src/command.c:595
#7 do_line () at ../../../src/command.c:387
#8 0x000000000045c532 in load_file (fp=0x78e3c0, name=<value optimized out>,
can_do_args=<value optimized out>) at ../../../src/misc.c:277
#9 0x0000000000463e75 in main (argc=<value optimized out>, argv=0x7fffffffe990)
at ../../../src/plot.c:654
gdb $ frame 1
gdb $ list
3024 if (wxt_sendevent_fd<0) {
3025 FPRINTF((stderr,"not sending event,
wxt_sendevent_fd error\n"));
3026 return false;
3027 }
3028
3029 if (write(wxt_sendevent_fd, (char*) &event,
sizeof(event))<0) {
3030 wxt_sendevent_fd = -1;
3031 fprintf(stderr,"not sending event, write error
on wxt_sendevent_fd\n");
3032 return false;
3033 }
strace also says that it hangs when writing to a pipe (fd 9).
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (600, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.34-ck1-2 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages gnuplot depends on:
ii gnuplot-nox 4.4.0-1 A command-line driven interactive
ii gnuplot-x11 4.4.0-1 A command-line driven interactive
gnuplot recommends no packages.
Versions of packages gnuplot suggests:
ii gnuplot-doc 4.4.0-1 A command-line driven interactive
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi,
there was no answer to the moreinfo mail. That is why I'm closing
the bug. Please, feel free to reopen it if you think the bug is still there, or
fill a new bug.
Kind regards,
Anton
--- End Message ---