Skip to content

Can this library be adapted to fortran application #1

@wkisme

Description

@wkisme

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$

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions