It seems it is the "-l" option which gives the segmentation fault:

$ echo "800000/8" | bc -l
Segmentation fault (core dump creato)

$ echo "800000/8" | bc
100000

Il 18/02/2017 19:53, Alexey Pavlov ha scritto:
>
>> 18 февр. 2017 г., в 21:49, Angelo Graziosi <angelo.grazi...@alice.it> 
>> написал(а):
>>
>> Last upgrade for bc does not work:
>
> Update is just rebuild with libreadline7 so maybe issue with using new 
> readline.
>
>>
>> $ echo "800000/8" | bc -l
>> Segmentation fault (core dump creato)
>>
>> $ cat bc.exe.stackdump
>> Exception: STATUS_ACCESS_VIOLATION at rip=001004059B3
>> rax=00000001004162E8 rbx=000000060C4722D0 rcx=000000000000004B
>> rdx=0000000100405E00 rsi=0000000000416308 rdi=00000000FFFFC2B0
>> r8 =0000000100411184 r9 =8080808080808080 r10=FEFEFEFEFEFEFEFF
>> r11=0000000000000000 r12=00000001004162E8 r13=0000000000000001
>> r14=00000001004162E8 r15=000000010040E820
>> rbp=000000000000004B rsp=00000000FFFFC150
>> program=C:\msys64\usr\bin\bc.exe, pid 5532, thread main
>> cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
>>
>> ------------------------------------------------------------------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Msys2-users mailing list
>> Msys2-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/msys2-users
>

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users

Reply via email to