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 #1

Open
tansy opened this issue Jan 27, 2020 · 0 comments
Open

Floating point exception #1

tansy opened this issue Jan 27, 2020 · 0 comments

Comments

@tansy
Copy link

tansy commented Jan 27, 2020

When I tried it it reported error 'Floating point exception'.
Strace didn't give much either.

(...) // preparing program to start, bla, bla, bla
munmap(0xb7774000, 36413)               = 0
open("prashants__fibmap.c", O_RDONLY)   = 3
ioctl(3, FIGETBSZ, 0xbf87f084)          = 0
fstat64(3, {st_mode=S_IFREG|0644, st_size=1401, ...}) = 0
--- SIGFPE {si_signo=SIGFPE, si_code=FPE_INTDIV, si_addr=0x4d15db} ---
+++ killed by SIGFPE +++

Do you know what is going on here?

PS. To compile it, it requires #include <sys/ioctl.h>.

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

1 participant