Bc segmentation fault.

Ag Hatzim zkom.xl at gmail.com
Fri Mar 17 10:45:28 PST 2006

Hi all.

There is a problem with bc when is invoked with the "-l" switch.

Some examples.
[631](~)echo "scale=3; 13 / 12" |bc 
[632](~)echo "scale=3; 13 / 12" |bc -l 
zsh: done                echo "scale=3; 13 / 12" | 
zsh: segmentation fault  bc -l
Same thing in interactive mode.

This happens with or without readline support.

Looking back today in previous builds,the problem went back to the last
November build.
Strangely enough,it doesn't occur in a build of the alphabetical branch
(last Decembers's build).Actually it was then when i had to use the "-l"
switch for some calculations i had to do in a script.

After that,in all the three builds i made,bc segmentation faults.

I have to ask for confirmation first before opening a bug.

Attached is the built log.

-------------- next part --------------

More information about the blfs-support mailing list