![]() |
![]() |
#1 |
Oct 2006
Berlin, Germany
22×32×17 Posts |
![]()
Hello,
some of my Boinc useres have crashing gmp-ecm on Windows 32 bit systems. This mostly happens on systems with less memory e.g. 3GB and high ecm predicted memory, e.g. 2GB. It happend already with GMP-ECM 6.2.1. Here is an example result: http://www.rechenkraft.net/yoyo/resu...sultid=3052022 on this host: http://www.rechenkraft.net/yoyo/show...p?hostid=12108 The predicted RAM was 2GB. Exactly the same happend here: http://www.rechenkraft.net/yoyo/resu...sultid=3030183 host: http://www.rechenkraft.net/yoyo/show...p?hostid=27840 Both crashed after 1,7h of runtime, I think in phase2. The user posted also a stack where it crashed: http://www.rechenkraft.net/phpBB/vie...105109#p105109 maybe it helps. yoyo |
![]() |
![]() |
![]() |
#2 |
Jun 2003
Ottawa, Canada
22248 Posts |
![]()
Which binary are you using a MingW32 or the MSVC (my) binary?
Jeff. |
![]() |
![]() |
![]() |
#3 |
Oct 2006
Berlin, Germany
22×32×17 Posts |
![]()
Your binary.
|
![]() |
![]() |
![]() |
#4 |
Jun 2003
Ottawa, Canada
49416 Posts |
![]()
Unfortunately I don't have a Windows 32bit OS with enough memory to actually do any tests on. Hopefully Alex can take a look at that stack dump and maybe see something that points to the problem or recognize the error code.
It is hitting both a Core2 and AMD system so doesn't seem to be an architecture specific bug. Is that repeatable for them? Maybe you can get them to try one of Yamato's Mingw32 win32 binaries (with muldrec asm): http://www.kay-schoenberger.de/eng/m...m623_win32.zip or (no muldrec asm) http://www.kay-schoenberger.de/eng/m...23_win32_2.zip Jeff. |
![]() |
![]() |
![]() |
#5 |
Nov 2008
91216 Posts |
![]()
Doesn't Win32 only allow 2GB per process?
|
![]() |
![]() |
![]() |
#6 |
"Nancy"
Aug 2002
Alexandria
9A316 Posts |
![]()
The stack trace does not tell much... looks like it tried to dereference the value in eax which happened to be 0. This might be an out-of-memory situation in the Schönhage-Strassen code. Is the output from the aborted run available, preferably with -v? How much memory does GMP-ECM think it'll need, and how much is actually getting allocated? If it needs more than 2GB, does the machine allow more than 2GB VM size per process?
Alex |
![]() |
![]() |
![]() |
#7 |
Oct 2006
Berlin, Germany
22×32×17 Posts |
![]()
If 2GB is a limit on 32bit windows (also on 32 bit Linux), is it than possible to run it with -maxmem 2000000?
yoyo |
![]() |
![]() |
![]() |
#8 |
"Nancy"
Aug 2002
Alexandria
2,467 Posts |
![]()
I'm not sure how accurate the memory estimation is under Windows, better try first. If the estimates aren't too far off, then you could use -maxmem 2000 (the unit is megabytes!) or maybe 1800 or so to leave a safety margin.
Alex |
![]() |
![]() |
![]() |
#9 |
Oct 2006
Berlin, Germany
61210 Posts |
![]()
This is the output before the crash:
Code:
GMP-ECM 6.2.3 [powered by GMP 4.2.1_MPIR_1.1.1] [ECM] Input number is 9498541323...7059673777 (1210 digits) [Tue Apr 28 18:31:26 2009] Using special division for factor of 2^4253+1 Using B1=43000000, B2=198654756318, polynomial Dickson(12), sigma=4258974300 dF=92160, k=2, d=1021020, d2=19, i0=24 Expected number of curves to find a factor of n digits: 20 25 30 35 40 45 50 55 60 65 2 5 15 56 253 1323 7837 51385 373591 2960912 Step 1 took 8725000ms Estimated memory usage: 2494M Initializing tables of differences for F took 2312ms Computing roots of F took 191547ms |
![]() |
![]() |
![]() |
#10 |
Mar 2007
Germany
10816 Posts |
![]()
To increase the Limit from 32bit Windows you can try this in the comand prompt as admin. But thats without guarantee!
This German link http://www.pc-experience.de/wbb2/thr...threadid=24883 have more Informations about this (only German). bcdedit /set IncreaseUserVA 3072 |
![]() |
![]() |
![]() |
#11 |
Oct 2006
Berlin, Germany
22×32×17 Posts |
![]()
What would be the better option for win32 if I think it will require more than 2GB:
-k 8 or -maxmem 1800 ? yoyo Last fiddled with by yoyo on 2009-04-29 at 12:27 |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Prime95 and 0xc0000005 error | akutare1984 | Information & Answers | 4 | 2016-08-09 16:08 |
GMP-ECM 6.2.1 exit with 0xc00000fd | yoyo | GMP-ECM | 13 | 2009-03-31 21:29 |
Crash on exit | rbarreira | Software | 0 | 2003-11-30 03:28 |
Will a forced exit loose work ? | dsouza123 | NFSNET Discussion | 1 | 2003-08-15 02:56 |