Go Back > Great Internet Mersenne Prime Search > Math

Thread Tools
Old 2016-01-29, 15:07   #34
Just call me Henry
henryzz's Avatar
Sep 2007
Cambridge (GMT/BST)

3×1,951 Posts

Originally Posted by rogue View Post
I'm not familiar with that feature of gwnum.

I have good news and bad news. The good news is that I have been able to reproduce the problem on Windows. The bad news is that the bug is causing memory to be overwritten so the call stack is lost. It says the memcpy is to blame, but it is not one of the many calls to memcpy in the application. I suspect that an assignment is calling memcpy under the covers. This will take a lot more work to debug. Ugh!
I think it might be as simple as calling gwset_num_threads before gwsetup. This information is in gwnum.h
henryzz is online now   Reply With Quote
Old 2016-04-07, 16:29   #35
rogue's Avatar
Apr 2003
Between here and the

142048 Posts

Does anyone need this to be fixed on Windows? I finally have some time to look into it, but knowing that this will be painful to debug, I'm not overly excited about looking into it. I suspect this is a problem with heap space needed by GMP.
rogue is offline   Reply With Quote

Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
Is this new formula for Perfect Numbers useful? mahbel Miscellaneous Math 20 2017-03-01 22:41
How to generate base10 representation of Mersenne-prime perfect numbers? James Heinrich Miscellaneous Math 10 2012-03-08 07:20
Odd Perfect Numbers davar55 Miscellaneous Math 16 2011-01-29 01:53
Perfect Numbers MajUSAFRet Math 3 2003-12-13 03:55
Odd Perfect Numbers Zeta-Flux Math 1 2003-05-28 19:41

All times are UTC. The time now is 16:30.

Mon Apr 12 16:30:45 UTC 2021 up 4 days, 11:11, 1 user, load averages: 2.07, 1.95, 2.03

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.