/usr/bin/dc hangs
Paul Herman
pherman at frenchfries.net
Thu Nov 18 13:20:55 PST 2004
Hey guys,
Just saw this:
bash$ echo "e(1.9)" | bc -l
6.68589444227926941607
bash$ echo "e(2.0)" | bc -l
7.38905609893065022723
bash$ echo "e(2.1)" | bc -l
[...]
. ..and dc (that's with a 'd') just hangs consuming 100% of CPU.
Seems to be true for any number > 2.0. The older bc/dc work.
Tried gcc2 and gcc34, same results.
I built debug versions, but I couldn't even get started debuging bc
with gdb, I get a SIGTRAP.
I don't see any recent changes in OpenBSD's repo that may fix this.
Anyone know what's going on?
-Paul.
More information about the Bugs
mailing list