mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   YAFU (https://www.mersenneforum.org/forumdisplay.php?f=96)
-   -   yafu bugs (https://www.mersenneforum.org/showthread.php?t=16667)

wombatman 2014-10-15 17:44

I can't get it to run on Windows 64 using cmd.exe, so I can't try to reproduce the error. Sorry.

swellman 2014-10-15 17:50

:tu:


No worries wombatman. Thanks for the effort.

bsquared 2014-10-15 17:52

Running under gdb in MSYS, bt reports that the crash occurs in the function "dickman", which appears to be a part of msieve.

wombatman 2014-10-15 17:56

Ok. I have the latest and greatest MSieve, built with VS2012. Maybe that has to do with why mine works?

bsquared 2014-10-15 18:03

[QUOTE=wombatman;385271]Ok. I have the latest and greatest MSieve, built with VS2012. Maybe that has to do with why mine works?[/QUOTE]

If you built yourself, then yes, since there are some fixes to that function in the latest msieve svn that do not appear in my local copy.

Looks like the fix is to incorporate the latest msieve!

jasonp 2014-10-15 20:22

dickman() hasn't changed since 2009; what changes do you mean?

bsquared 2014-10-15 20:31

My bad - I didn't do a 'diff', just scanned by eye and thought there was a change.

Do you have any idea why there might be a segfault in this function?

swellman 2014-10-15 23:35

[QUOTE=skan;385262]Hello.

I've tried and I also get an error.

The error happens with version 1.34.5 x64 for Windows.
With 1.33 is OK.

I've tried with different ggnfs and it doesn't make any difference, the problem should be yafu.

I attach the logs and error.
I haven“t included the binary because it's bigger than 1MB even compressed.[/QUOTE]

Sorry I didn't see this post earlier - thank you for confirming the bug.

swellman 2014-10-21 21:09

[QUOTE=bsquared;385282]My bad - I didn't do a 'diff', just scanned by eye and thought there was a change.

Do you have any idea why there might be a segfault in this function?[/QUOTE]

Any insights into this issue? Sorry I cannot help much, just had enough (bad) luck to crash Yafu/msieve.

bsquared 2014-10-22 13:38

[QUOTE=swellman;385708]Any insights into this issue? Sorry I cannot help much, just had enough (bad) luck to crash Yafu/msieve.[/QUOTE]

Not yet, but I'm wondering if it is related to [URL="http://www.mersenneforum.org/showpost.php?p=385612&postcount=15"]this recently discovered bug[/URL]; i.e., it may be a problem somehow with how msieve/yafu/gmp are linked together.

swellman 2014-10-26 01:34

Same bug?
 
I just got a new box and a twist on this bug has appeared.

When I run the snfs() command, yafu starts to run then gives an error of "can't open log file" and crashes.

The error is repeatable, though the place at which it crashes seems semi-random. Sometimes it crashes at the first poly, sometimes after quite a few. Changing number of threads seems to help, though I don't know why (doesn't the snfs() command only use 1 thread?). But the snfs() command never gets to the test sieving step, just crashes in the poly generation phase.

The number I am running is C158_136_134 from the xyyx project.
[code]
84311455579199090648493230576403161968451360234506586342094132063229517346160992903240099249802174895769891679510634920540783201237119607493881630083817780573
[/code]

System

AMD E2-6110 APU with AMD Radeon R2 Graphics 1.50 GHz
RAM is 4.00 Gb
Win 81. 64-bit with x64-based processor

Anyway, another data point.


All times are UTC. The time now is 22:03.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.