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

Can this library be adapted to fortran application #1

Open
wkisme opened this issue May 16, 2024 · 0 comments
Open

Can this library be adapted to fortran application #1

wkisme opened this issue May 16, 2024 · 0 comments

Comments

@wkisme
Copy link

wkisme commented May 16, 2024

I have tried a simple fortran application, and it seems that this library can't track down fortran crash.

prometheus@courage-machine:~/module-test/fortran$ ~/install/libfault/bin/libfault ./a.out

Program received signal SIGFPE: Floating-point exception - erroneous arithmetic operation.

Backtrace for this error:
#0  0x7fbb42023960 in ???
#1  0x7fbb42022ac5 in ???
#2  0x7fbb41c4251f in ???
        at ./signal/../sysdeps/unix/sysv/linux/x86_64/libc_sigaction.c:0
#3  0x6429d7a861f0 in ???
#4  0x6429d7a86287 in ???
#5  0x7fbb41c29d8f in __libc_start_call_main
        at ../sysdeps/nptl/libc_start_call_main.h:58
#6  0x7fbb41c29e3f in __libc_start_main_impl
        at ../csu/libc-start.c:392
#7  0x6429d7a860d4 in ???
#8  0xffffffffffffffff in ???
/home/prometheus/install/libfault/bin/libfault: line 5:  5757 Floating point exception(core dumped) LD_PRELOAD="$BASEDIR/libfaultpreload.so $LD_PRELOAD" "$@"
prometheus@courage-machine:~/module-test/fortran$

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