Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floating point exception with certain log files #2

Open
mattdperkins opened this issue May 18, 2021 · 4 comments
Open

Floating point exception with certain log files #2

mattdperkins opened this issue May 18, 2021 · 4 comments

Comments

@mattdperkins
Copy link

Certain log files are causing an error - others work fine.

I'm using Swar plot manager.

./chiaplotgraph /home/matt/swar_logs/wd1a_2021-05-18_02_11_33_379563.log
Opened /home/matt/swar_logs/wd1a_2021-05-18_02_11_33_379563.log
tmp dirname: /media/matt/wd1tb_1
frm dirname: /mnt/usb-External_USB3.0_DD56419883891-0:0-part1
Floating point exception (core dumped)

@stolk
Copy link
Owner

stolk commented May 18, 2021 via email

@Atompeng
Copy link

I receive the same error for a specific log file (a completed file). The log file has a start of 00:10 and an end of 08:20

Program received signal SIGFPE, Arithmetic exception.
0x00005555555574f4 in average_plot_time () at chiaplotgraph.c:359
359             return total / num;
(gdb) where
#0  0x00005555555574f4 in average_plot_time () at chiaplotgraph.c:359
#1  0x00005555555577c5 in update_drivespace_info () at chiaplotgraph.c:400
#2  0x0000555555557c40 in update_image () at chiaplotgraph.c:489
#3  0x0000555555557fa3 in main (argc=2, argv=0x7fffffffdbb8) at chiaplotgraph.c:561

stolk added a commit that referenced this issue May 18, 2021
@stolk
Copy link
Owner

stolk commented May 18, 2021

Thank you for reporting. This is now fixed. Run git pull to get latest, and then rebuild binary.

@mattdperkins
Copy link
Author

Confirmed :) Ran it against all files for yesterday, including the ones that were known to be an issue.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants