![]() |
|
|
#12 | |
|
Jun 2007
Moscow,Russia
100001012 Posts |
Quote:
18911778784739562144612741372843311631382033055424664965367805621. |
|
|
|
|
|
|
#13 |
|
Romulan Interpreter
Jun 2011
Thailand
7·1,373 Posts |
Is this linux-related?
I tried 40-50 times, both numbers, from inside the yafu and from outside (cmd line), no crash, numbers split by siqs every time in few seconds. Code:
SIQS elapsed time = 21.3591 seconds. Total factoring time = 33.6402 seconds PRP38 = 12862397506386155909354558787876349793 PRP30 = 407110435562715649819424326729 starting SIQS on c65: .... SIQS elapsed time = 13.1248 seconds. Total factoring time = 20.9216 seconds PRP30 = 602353664334842419891443250441 PRP35 = 31396470054885716002527004035803981 |
|
|
|
|
|
#14 | |
|
Jun 2007
Moscow,Russia
100001012 Posts |
Quote:
I have also TPC under the same OS on Core2Duo- T9300 and this problem is also occured. Last fiddled with by VolMike on 2012-03-28 at 09:47 |
|
|
|
|
|
|
#15 |
|
"Ben"
Feb 2007
3×1,171 Posts |
Thanks for the new test case. Although I guess I forgot to mention that I fixed the bug.... and it *was* a bug. It was some sort of VonNeumannbug, in that it only manifested itself on occasional random distributions of primes during the large prime bucket sort.
Valgrind ultimately was very helpful - it eventually pointed me toward the data structure that was overflowing. It just took quite a while to actually catch the vonneumannbug in Valgrind. I hope to have v1.31 out in the next couple weeks. |
|
|
|
|
|
#16 |
|
Sep 2009
97710 Posts |
Yeah, Valgrind is a great tool
![]() clang+AddressSanitizer cuts much of the large speed penalty of Valgrind, and can detect several memory errors that Valgrind cannot; but conversely, Valgrind can detect some errors that AddressSanitizer cannot detect. |
|
|
|
|
|
#17 |
|
Jun 2007
Moscow,Russia
8516 Posts |
...and one more "crashing" number: 21028701588210693904788721831286708149055869664064159654556833079
|
|
|
|
|
|
#18 |
|
Basketry That Evening!
"Bunslow the Bold"
Jun 2011
40<A<43 -89<O<-88
722110 Posts |
|
|
|
|
|
|
#19 |
|
"Ben"
Feb 2007
3·1,171 Posts |
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| checking very large number for primality. | WhoCares | Math | 51 | 2017-04-20 17:17 |
| Sieving a Large Number of k's | Dougal | Conjectures 'R Us | 1 | 2010-06-17 21:48 |
| How to compute a (large) Mersenne number | Unregistered | Math | 22 | 2007-01-05 09:52 |
| Large number of Exponents Assigned | dave_0273 | Data | 2 | 2004-03-11 16:15 |
| Is this a relatively large number? | MavsFan | Math | 3 | 2003-12-12 02:23 |