Package: gri
Version: 2.12.11-1
Severity: normal

If I run gri when I have an existing ~/tmp/ directory, gri sucks up huge
amounts of cpu and memory and does not give a result. If I delete the tmp
directory then it works fine. Here's the output from a sample run with an
existing tmp directory:

[EMAIL PROTECTED]:~$ gri -t -d simple.gri simple.ps
| \xmin = "0"
| \xmax = "10"
| \xinc = "1"
| \function = "x"
| set x axis \xmin \xmax
| create columns from function
sh: tmp: Is a directory

After the last line it sits there in some sort of infinite loop using more
and more memory and cpu. I finally killed it after 10 minutes. Removing the
tmp directory fixes everything:

[EMAIL PROTECTED]:~$ rmdir tmp
[EMAIL PROTECTED]:~$ gri -t -d simple.gri simple.ps
| \xmin = "0"
| \xmax = "10"
| \xinc = "1"
| \function = "x"
| set x axis \xmin \xmax
| create columns from function
| Read 11 data points into columns.
| draw curve

Takes less than a tenth of a second.

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-k7
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages gri depends on:
ii  libc6                         2.3.6-15   GNU C Library: Shared libraries
ii  libgcc1                       1:4.1.1-5  GCC support library
ii  libnetcdf3                    3.6.1-0.1  An interface for scientific data a
ii  libstdc++6                    4.1.1-5    The GNU Standard C++ Library v3

gri recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to