mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > YAFU

Reply
 
Thread Tools
Old 2021-08-24, 13:01   #177
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

2×17×103 Posts
Default

Quote:
Originally Posted by BudgieJane View Post
I'm having problems with version 2.06. It works OK on my new computer, running Windows 10 Pro, but it will not run on my old ones running Windows 7 Pro. It puts up the welcome message, waits something like half a minute, then quietly returns me to the command prompt
I also just tried v2.06 (from master.zip downloaded an hour ago) on my i7-3930K on Win7pro64 where yafu-x64.exe also fails. The first time I ran it it took a few (maybe 5) seconds before the crash dialog came up, subsquent runs in comes up near-immediately:
Code:
Problem signature:
  Problem Event Name:	APPCRASH
  Application Name:	yafu-x64.exe
  Application Version:	0.0.0.0
  Application Timestamp:	611c3335
  Fault Module Name:	yafu-x64.exe
  Fault Module Version:	0.0.0.0
  Fault Module Timestamp:	611c3335
  Exception Code:	c000001d
  Exception Offset:	0000000000001300
  OS Version:	6.1.7601.2.1.0.256.48
  Locale ID:	1033
  Additional Information 1:	e63c
  Additional Information 2:	e63cb477893153aa77789ca6de3c6a1b
  Additional Information 3:	b40b
  Additional Information 4:	b40bbb931625d5f5f8d166d47cac51f6
Dependency Walker shows the same list of missing DLLs that BudgieJane listed.
edit: this thread may contain relevant details.
Attached Thumbnails
Click image for larger version

Name:	yafu2.png
Views:	34
Size:	43.2 KB
ID:	25527   Click image for larger version

Name:	3930K.png
Views:	26
Size:	18.8 KB
ID:	25528   Click image for larger version

Name:	dependency-walker.png
Views:	23
Size:	3.8 KB
ID:	25529  

Last fiddled with by James Heinrich on 2021-08-24 at 13:16
James Heinrich is offline   Reply With Quote
Old 2021-08-24, 13:16   #178
bsquared
 
bsquared's Avatar
 
"Ben"
Feb 2007

2·1,789 Posts
Default

If there is a setting in visual studio 2019 where I can link these things statically then I'd do that, but I don't know how at the moment.

I don't have access to any win7 systems to test on.

Last fiddled with by bsquared on 2021-08-24 at 13:16
bsquared is offline   Reply With Quote
Old 2021-08-24, 14:52   #179
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

10338 Posts
Default

Here is a link to a zip file containing a statically linked YAFU x64 binary that might be worth a try:

https://drive.google.com/file/d/1RaZ...ew?usp=sharing

for those having DLL issues. I have to admit it seems unlikely to offer a solution.
Brian Gladman is offline   Reply With Quote
Old 2021-08-24, 15:08   #180
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

2·17·103 Posts
Default

Quote:
Originally Posted by Brian Gladman View Post
Here is a link to a zip file containing a statically linked YAFU x64 binary that might be worth a try ... for those having DLL issues. I have to admit it seems unlikely to offer a solution.
I tried it, it crashed the same way as the original.
James Heinrich is offline   Reply With Quote
Old 2021-08-24, 18:21   #181
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

72×11 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
I tried it, it crashed the same way as the original.
I am not surprised since my build (and I suspect all current YAFU builds) use Windows SDK v10.

To get a working Windows 7 version all of yafu, mpir, gmp-ecm, ggnfs, pthreads and its other dependencies would all have to be rebuilt using Windows SDK 8.1 and this would be considerable undertaking.
Brian Gladman is offline   Reply With Quote
Old 2021-08-24, 18:50   #182
BudgieJane
 
BudgieJane's Avatar
 
"Jane Sullivan"
Jan 2011
Beckenham, UK

277 Posts
Default

Version 2.01 works OK on my Win-7 machine.
BudgieJane is offline   Reply With Quote
Old 2021-08-24, 19:05   #183
WraithX
 
WraithX's Avatar
 
Mar 2006

2·35 Posts
Default

I am missing the same dll files as Budgie and James, but yafu 2.06 works fine on my Windows 7 Pro x64 computer.

I tried yafu-x64.exe from https://github.com/bbuhrow/yafu
I tried yafu-x64.exe from master.zip from https://github.com/bbuhrow/yafu/arch...ads/master.zip
I tried the statically linked yafu-x64.exe that Brian shared

All of them work for me.

I was going to guess a possible instruction set issue, but I see that Budgie's i7-4710MQ has the same extensions as my E5-2687W v4. (except mine has TSX which is missing from Budgie's, but I wouldn't guess that's important here)

James's C000001D could make sense since his processor doesn't support as many instruction sets as Budgie's or mine. His processor is missing AVX2 and FMA3 (and TSX). Maybe this is contributing?

I found this online about C000001D. I'm not sure if this narrows down what might be going wrong, but maybe it can help with troubleshooting.
C000001D STATUS_ILLEGAL_INSTRUCTION EXCEPTION_ILLEGAL_INSTRUCTION

Budgie, can you run yafu-x64.exe and then after it crashes/stops, can you check your Windows Event Viewer -> Windows Logs -> Application log (or maybe System log) to see if the error is recorded in there? Maybe that will give us more information on what's going wrong?
Attached Thumbnails
Click image for larger version

Name:	cpuz.png
Views:	22
Size:	32.8 KB
ID:	25533  

Last fiddled with by WraithX on 2021-08-24 at 19:06
WraithX is offline   Reply With Quote
Old 2021-08-24, 20:51   #184
BudgieJane
 
BudgieJane's Avatar
 
"Jane Sullivan"
Jan 2011
Beckenham, UK

11516 Posts
Default

Log Name: Application
Source: Application Error
Date: 24/08/2021 21:45:39
Event ID: 1005
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: JaneLT3
Description:
Windows cannot access the file for one of the following reasons: there is a problem with the network connection, the disk that the file is stored on, or the storage drivers installed on this computer; or the disk is missing. Windows closed the program yafu-x64.exe because of this error.

Program: yafu-x64.exe
File:

The error value is listed in the Additional Data section.
User Action
1. Open the file again. This situation might be a temporary problem that corrects itself when the program runs again.
2. If the file still cannot be accessed and
- It is on the network, your network administrator should verify that there is not a problem with the network and that the server can be contacted.
- It is on a removable disk, for example, a floppy disk or CD-ROM, verify that the disk is fully inserted into the computer.
3. Check and repair the file system by running CHKDSK. To run CHKDSK, click Start, click Run, type CMD, and then click OK. At the command prompt, type CHKDSK /F, and then press ENTER.
4. If the problem persists, restore the file from a backup copy.
5. Determine whether other files on the same disk can be opened. If not, the disk might be damaged. If it is a hard disk, contact your administrator or computer hardware vendor for further assistance.

Additional Data
Error value: 00000000
Disk type: 0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="49152">1005</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2021-08-24T20:45:39.000000000Z" />
<EventRecordID>664519</EventRecordID>
<Channel>Application</Channel>
<Computer>JaneLT3</Computer>
<Security />
</System>
<EventData>
<Data>
</Data>
<Data>yafu-x64.exe</Data>
<Data>00000000</Data>
<Data>0</Data>
</EventData>
</Event>

Log Name: Application
Source: Application Error
Date: 24/08/2021 21:45:39
Event ID: 1000
Task Category: (100)
Level: Error
Keywords: Classic
User: N/A
Computer: JaneLT3
Description:
Faulting application name: yafu-x64.exe, version: 0.0.0.0, time stamp: 0x611c3335
Faulting module name: yafu-x64.exe, version: 0.0.0.0, time stamp: 0x611c3335
Exception code: 0xc000001d
Fault offset: 0x0000000000002403
Faulting process id: 0x4d4
Faulting application start time: 0x01d79928fdf3fa53
Faulting application path: C:\Users\Jane\Documents\Maths\yafu\Versions\yafu-2.06\yafu-x64.exe
Faulting module path: C:\Users\Jane\Documents\Maths\yafu\Versions\yafu-2.06\yafu-x64.exe
Report Id: 3d352f22-051c-11ec-8f66-0cd292d9c1cc
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
<System>
<Provider Name="Application Error" />
<EventID Qualifiers="0">1000</EventID>
<Level>2</Level>
<Task>100</Task>
<Keywords>0x80000000000000</Keywords>
<TimeCreated SystemTime="2021-08-24T20:45:39.000000000Z" />
<EventRecordID>664518</EventRecordID>
<Channel>Application</Channel>
<Computer>JaneLT3</Computer>
<Security />
</System>
<EventData>
<Data>yafu-x64.exe</Data>
<Data>0.0.0.0</Data>
<Data>611c3335</Data>
<Data>yafu-x64.exe</Data>
<Data>0.0.0.0</Data>
<Data>611c3335</Data>
<Data>c000001d</Data>
<Data>0000000000002403</Data>
<Data>4d4</Data>
<Data>01d79928fdf3fa53</Data>
<Data>C:\Users\Jane\Documents\Maths\yafu\Versions\yafu-2.06\yafu-x64.exe</Data>
<Data>C:\Users\Jane\Documents\Maths\yafu\Versions\yafu-2.06\yafu-x64.exe</Data>
<Data>3d352f22-051c-11ec-8f66-0cd292d9c1cc</Data>
</EventData>
</Event>
BudgieJane is offline   Reply With Quote
Old 2021-08-24, 21:34   #185
BudgieJane
 
BudgieJane's Avatar
 
"Jane Sullivan"
Jan 2011
Beckenham, UK

277 Posts
Default

Don't know if you want to see this also:
Attached Thumbnails
Click image for larger version

Name:	JaneLT3.png
Views:	31
Size:	64.3 KB
ID:	25534  
BudgieJane is offline   Reply With Quote
Old 2021-08-24, 21:45   #186
BudgieJane
 
BudgieJane's Avatar
 
"Jane Sullivan"
Jan 2011
Beckenham, UK

277 Posts
Default

Quote:
Originally Posted by Brian Gladman View Post
Here is a link to a zip file containing a statically linked YAFU x64 binary that might be worth a try:

https://drive.google.com/file/d/1RaZ...ew?usp=sharing

for those having DLL issues. I have to admit it seems unlikely to offer a solution.
I got a system error: The program can't start because nvcuda.dll is missing from your computer. Try reinstalling the program to fix this problem.
BudgieJane is offline   Reply With Quote
Old 2021-08-25, 08:25   #187
Brian Gladman
 
Brian Gladman's Avatar
 
May 2008
Worcester, United Kingdom

72×11 Posts
Default

Quote:
Originally Posted by BudgieJane View Post
I got a system error: The program can't start because nvcuda.dll is missing from your computer. Try reinstalling the program to fix this problem.
It seems that I have missed a DLL dependency in the build.

I have run through all the library dependencies again to check they are static and rebuilt it here:

https://drive.google.com/file/d/1L9S...ew?usp=sharing

There are so many dependencies in building YAFU so its still possible that I have still missed a DLL dependency somewhere (in this case it should work if CUDA 11.4 is installed on your host since the DLL dependency would then be found).
Brian Gladman is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
yafu ignoring yafu.ini chris2be8 YAFU 6 2019-10-17 16:22
Running YAFU via Aliqueit doesn't find yafu.ini EdH YAFU 8 2018-03-14 17:22
YAFU-1.34 bsquared YAFU 119 2015-11-05 16:24
Yafu bug. storflyt32 YAFU 2 2015-06-29 05:19
yafu 1.32 bsquared YAFU 28 2012-07-20 16:17

All times are UTC. The time now is 09:01.


Mon Oct 18 09:01:32 UTC 2021 up 87 days, 3:30, 0 users, load averages: 1.28, 1.53, 1.47

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

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.