Infinite loop WU ?

Message boards : Bug tracker : Infinite loop WU ?

To post messages, you must log in.

AuthorMessage
Profile Laurent Lyaudet

Send message
Joined: 22 Mar 23
Posts: 25
Credit: 89,848,093
RAC: 376,613
    
Message 1685 - Posted: 16 Jun 2023, 21:49:27 UTC

Hello,

Usually the open_mt tasks take between 1 hour 30 and 2 hours on my laptop.
But today, I had one that was stuck at 99,921 % for 3 hours.
I stopped boinc and restarted it, after a few seconds completion percent was down to 74 %.
I waited another hour and after 4 hours in total the task was stuck again at 99,921 %.
So I suspect there may be an infinite loop.
Here is the WU : https://sech.me/boinc/Amicable/workunit.php?wuid=27069146
Here is the task : https://sech.me/boinc/Amicable/result.php?resultid=62461556
Here is the PC : https://sech.me/boinc/Amicable/show_host_detail.php?hostid=201681
I can help reproduce it tomorrow in the end of afternoon.
Nothing fancy with my laptop, no overclocking, I'm using latest Ubuntu 23.04.
I hope we can find the bug soon and correct it :)

Best regards,
Laurent Lyaudet
ID: 1685 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Sergei Chernykh
Project administrator
Project developer

Send message
Joined: 5 Jan 17
Posts: 513
Credit: 72,451,573
RAC: 0
   
Message 1686 - Posted: 17 Jun 2023, 10:53:42 UTC - in response to Message 1685.  

I tested this WU on both Windows and Linux CPU versions, and it didn't get into an infinite loop.

Windows:
11:00:11 (7588): Can't open init data file - running in standalone mode
11:35:25 (7588): called boinc_finish(0)

Linux:

12:05:18 (2396): Can't open init data file - running in standalone mode
12:40:55 (2396): called boinc_finish(0)


It took around 35-36 minutes on 7950X, so it should take no more than 5-6 hours even on weaker CPU. It's one of those WUs that are better suited for GPU application.
ID: 1686 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Laurent Lyaudet

Send message
Joined: 22 Mar 23
Posts: 25
Credit: 89,848,093
RAC: 376,613
    
Message 1687 - Posted: 17 Jun 2023, 15:35:44 UTC - in response to Message 1686.  

Hello :)
Thanks for your answer.
Maybe it was not an infinite loop but I did get an error as is logged in the task:
<core_client_version>7.20.5</core_client_version>
<![CDATA[
<message>
process exited with code 193 (0xc1, -63)</message>
<stderr_txt>
Factorization '0' is incorrect: 0 is not a prime
SIGABRT: abort called
Stack trace (10 frames):
[0x437140]
[0x457be0]
[0x457ac9]
[0x52b2ea]
[0x405696]
[0x4067c0]
[0x4009a4]
[0x51ab66]
[0x51ad5a]
[0x426549]

Exiting...

</stderr_txt>
]]>
The error stopped the calculus 20 minutes ago after 4 heures 13 min 23 sec of computing.
I hope you will be able to tell if it is an error due to my laptop or if the code has a bug or a random error.
Thanks, best regards,
Laurent Lyaudet
ID: 1687 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Sergei Chernykh
Project administrator
Project developer

Send message
Joined: 5 Jan 17
Posts: 513
Credit: 72,451,573
RAC: 0
   
Message 1688 - Posted: 17 Jun 2023, 17:56:40 UTC - in response to Message 1687.  

Factorization '0' is incorrect: 0 is not a prime

This error means that your checkpoint file is corrupt. You should manually delete it from working folder - the file name is "amicable_checkpoint".
ID: 1688 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote
Profile Laurent Lyaudet

Send message
Joined: 22 Mar 23
Posts: 25
Credit: 89,848,093
RAC: 376,613
    
Message 1689 - Posted: 17 Jun 2023, 19:39:27 UTC - in response to Message 1688.  
Last modified: 17 Jun 2023, 19:40:07 UTC

Thanks :)
I'll know it if it happens again.
My laptop switched to another task after ending that one with error.
Just a reference for myself:
amicable_checkpoint file is found in two directories:
/var/lib/boinc/slots/0/
/var/lib/boinc/slots/1/
Best regards,
Laurent Lyaudet
ID: 1689 · Rating: 0 · rate: Rate + / Rate - Report as offensive    Reply Quote

Message boards : Bug tracker : Infinite loop WU ?


©2024 Sergei Chernykh