+
Skip to content

corrupted siqs.dat leads to segmentation fault #61

@user202729

Description

@user202729

to reproduce:

rm factor.log factor.json session.log
printf 'N 0x80000000000000000000000000000046800000000000000000000000000008f7\nA 0x7f343be8fb6fd65a69d2bde39e49\nR 163ef 1 2c 4e 5f d7 1cd 2662 5500 7344 L 1 8525cb\nR 29c2d 1 31 3c 4f f3 42d c08 3941 77a7 L 1 141f49\nR 30cd6 1 57 78 79 132 2e4' > siqs.dat
echo 'factor(3351951982485649274893506249551461534627981888895711889290423167940493974710190013582638075598280156206200387201406946734092392938070873150538883477422699)' | yafu

such a corrupted siqs.dat may be caused by yafu being uncleanly killed, for example

N=3351951982485649274893506249551461534627981888895711889290423167940493974710190013582638075598280156206200387201406946734092392938070873150538883477422699
rm factor.log factor.json session.log siqs.dat
echo "factor($N)" | timeout -s9 30s yafu  # kill it in the middle of siqs (on my machine 30s is sufficient)
echo "factor($N)" | yafu  # this one will load siqs.dat and segmentation fault

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载