mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Software

Reply
 
Thread Tools
Old 2009-12-02, 05:19   #1
Graff
 
Graff's Avatar
 
Jul 2006
USA (UT-5) via UK (UT)

22·59 Posts
Default Segfault in mprime v25.11 build 2

This has now happened a couple of times: an mprime job running under
64-bit Linux has segfaulted. The problem seems to always occur immediately
after a factor is found via P-1 factoring.

[Worker #7 Dec 1 14:36] M51409019 stage 2 complete. 633806 transforms. Time: 33.
[Worker #7 Dec 1 14:36] Starting stage 2 GCD - please be patient.
[Worker #7 Dec 1 14:39] Stage 2 GCD complete. Time: 150.078 sec.
[Worker #7 Dec 1 14:39] P-1 found a factor in stage #2, B1=610000, B2=17842500.
[Worker #7 Dec 1 14:39] M51409019 has a factor: 374449412920910477112607
Segmentation fault

The system is a quad-core Xeon E5520. The version of mprime is v25.11
build 2. I don't recall seeing other reports of segfaults.

Gareth
Graff is offline   Reply With Quote
Old 2009-12-02, 12:13   #2
ckdo
 
ckdo's Avatar
 
Dec 2007
Cleves, Germany

2·5·53 Posts
Default

There was one here (v25.6 back then). Dunno if anything was done about it since...
ckdo is offline   Reply With Quote
Old 2009-12-02, 17:22   #3
lycorn
 
lycorn's Avatar
 
"GIMFS"
Sep 2002
Oeiras, Portugal

2×5×157 Posts
Default

That also happened with one of my machines a couple of weeks ago, immediately after finding a factor in P-1 Stage 1.
It was a Windows system, though. Prime95 version 9.
lycorn is offline   Reply With Quote
Old 2009-12-02, 22:01   #4
harlee
 
harlee's Avatar
 
Sep 2006
Odenton, MD, USA

BF16 Posts
Default

Also runnng P-1 factor to low limits (4M range) on an XP 32-bit system and the program crashed the last three times a factor was found. This happened with both 25.11 and 25.9.
harlee is offline   Reply With Quote
Old 2009-12-06, 05:41   #5
Graff
 
Graff's Avatar
 
Jul 2006
USA (UT-5) via UK (UT)

22·59 Posts
Default

Another segfault, another factor found by P-1.

Gareth
Graff is offline   Reply With Quote
Old 2009-12-24, 03:47   #6
Graff
 
Graff's Avatar
 
Jul 2006
USA (UT-5) via UK (UT)

22×59 Posts
Default

Quote:
Originally Posted by Graff View Post
Another segfault, another factor found by P-1.

Gareth
Several more factors > 2^64 found by P-1 and every time mprime crashes.
Graff is offline   Reply With Quote
Old 2009-12-24, 16:33   #7
RichD
 
RichD's Avatar
 
Sep 2008
Kansas

22·3·317 Posts
Default P-1 on Mac

Code:
[Worker #1 Dec 21 20:08] Starting stage 1 GCD - please be patient.
[Worker #1 Dec 21 20:11] Stage 1 GCD complete. Time: 193.497 sec.
[Worker #1 Dec 21 20:11] P-1 found a factor in stage #1, B1=610000.
[Worker #1 Dec 21 20:11] M51476981 has a factor: 1318460442877998352872047
mprime(4342,0x100787000) malloc: *** error for object 0x100516110: incorrect checksum for freed object - object was probably modified after being freed.
*** set a breakpoint in malloc_error_break to debug
Segmentation fault
I've seen it too on a 64-bit Mac system. At least it reports the factor before barfing. Then again, it shuts down all workers until to look at the progress of mprime which may be days.
RichD is offline   Reply With Quote
Old 2009-12-24, 17:11   #8
sdbardwick
 
sdbardwick's Avatar
 
Aug 2002
North San Diego County

22×3×67 Posts
Default

Prime95 Win64 v25.9b4 exhibited the same problem (find factor via P-1, report factor, crash) at least once on my i5-750, Win7 64 bit system.

Last fiddled with by sdbardwick on 2009-12-24 at 17:12
sdbardwick is online now   Reply With Quote
Old 2009-12-26, 22:51   #9
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

2×557 Posts
Default

I have noticed these segfaults asweel.

Linux, mprime x86-64 25.9b2, one worker thread, one CPU-core:
mprime segfaulted after P-1 factor was found and BEFORE the result was sent.

Found 146 P-1 factors on these machines (some were found with earlier versions of mprime (v25.7/v25.8)), at least two segfaults occured after a factor was found.
TheJudger is offline   Reply With Quote
Old 2010-01-04, 21:51   #10
harlee
 
harlee's Avatar
 
Sep 2006
Odenton, MD, USA

191 Posts
Default

Had two more crashes today on my XP 32-bit system. First time, it crashed after (or during) reporting the factor and the second crashed before reporting the factor.Both times, the results.txt file was update and the system still had the prime.spl. Verified the v5 server did get the first factor but it doesn't show the second one. Here are the entries for the prime log.

First crash:

PrimeNet success code with additional info:
CPU credit is 0.0291 GHz-days.
[Mon Jan 04 06:06:25 2010 - ver 25.11]
Code:
Sending result to server: UID: Squeeky_Squirrel/P4_2600, M5421019 has a factor: 1215446653308321070783, AID: 7A270AF99B44BC1BC4644B855805F220

URL: http://v5.mersenne.org/v5server/?v=0.95&px=GIMPS&t=ar&g=A25D8726F0C63524FDFC4CFFA33B40D5&k=7A270AF99B44BC1BC4644B855805F220&m=UID:+Squeeky_Squirrel/P4_2600,+M5421019+has+a+factor:+1215446653308321070783,+AID:+7A270AF99B44BC1BC4644B855805F220%0A&r=2&d=1&A=1&b=2&n=5421019&c=-1&B1=60000&B2=1035000&f=1215446653308321070783&fftlen=327680&ss=41&sh=6219FD505B4B07EA416E37E813A92E70
There is nothing in the prime.log file about sending info for the second factor.
harlee is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
[Patch] CPU affinity prompt problem in mprime Linux / OS X build Explorer09 Software 1 2017-03-01 02:34
msieve QS segfault when given large worktodo.ini fivemack Msieve 2 2011-10-25 20:11
segfault junky NFSNET Discussion 0 2006-07-06 03:25
segfault with large input on Opteron sean GMP-ECM 2 2005-08-15 09:59
PRP3 segfault with big numbers. Washuu Software 6 2005-04-07 17:08

All times are UTC. The time now is 07:28.


Tue Jan 31 07:28:19 UTC 2023 up 166 days, 4:56, 0 users, load averages: 1.56, 1.42, 1.20

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, 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.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔