[Bug 311236] [NEW] gnuplot locks up plotting log(x**0.5)/log(x)

njh njh at njhurst.com
Wed Dec 24 19:25:27 UTC 2008


Public bug reported:

Binary package hint: gnuplot-nox

steps to recreate:
run gnuplot
plot  [2:4] log(x**0.5)/log(x) 
gnuplot goes into an infinite loop (can be control-C'd out).

There is nothing special about this function, it's clear that it can be reduced to simply:
plot [2:4] 0.5
as far as I know, there are no infinities, nans or other mysteries lurking in the function.  The domain is well away from the poles around 0.  Any simpler combination plots instantly (sqrt, log(x), log(x)/log(x), log(x*x)/log(x) etc all work fine)

$ apt-cache policy gnuplot-nox
gnuplot-nox:
  Installed: 4.2.3-1
  Candidate: 4.2.3-1
  Version table:
 *** 4.2.3-1 0
        500 http://us.archive.ubuntu.com intrepid/universe Packages
        100 /var/lib/dpkg/status

Description:	Ubuntu 8.10
Release:	8.10

** Affects: gnuplot (Ubuntu)
     Importance: Undecided
         Status: New

-- 
gnuplot locks up plotting log(x**0.5)/log(x)
https://bugs.launchpad.net/bugs/311236
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list