Le jeu. 3 oct. 2019 à 12:58, Michael Crusoe <michael.cru...@gmail.com> a écrit :
> Here is the crash with debug symbols (courtesy libc6-dbg libgfortran5-dbg > and a locally created profnet-snapfun-dbgym) > > root@mrc-tux:/tmp# profnet_snapfun switch 385 55 10 46 100 PROFin.dat > PROFacc_tst.jct none > > Program received signal SIGSEGV: Segmentation fault - invalid memory > reference. > I really do not see what error could be. Maybe a fortran issue after an upgrade (something that was working but not done the same way now....) Sorry, I have no skill to fix this kind of issue. Should be reported upstream I see on their web site that it was superseeded by snap2 in 2015. So maybe time to let it go.... > > Backtrace for this error: > #0 0x7faaf117e0ff in ??? > at > /build/glibc-sPWrSm/glibc-2.29/signal/../sysdeps/unix/sysv/linux/x86_64/sigaction.c:0 > #1 0x7faaf1680018 in formatted_transfer_scalar_read > at ../../../src/libgfortran/io/transfer.c:1649 > #2 0x7faaf1681803 in formatted_transfer > at ../../../src/libgfortran/io/transfer.c:2326 > #3 0x55a7ca3a63c6 in rdjct_jct2_ > at ./snapfun_dir/prof.f:1042 > #4 0x55a7ca3a7c64 in rdjct_ > at ./snapfun_dir/prof.f:876 > #5 0x55a7ca3b0967 in prof > at ./snapfun_dir/prof.f:108 > #6 0x55a7ca39f25e in main > at ./snapfun_dir/prof.f:179 > Segmentation fault (core dumped) > > On Thu, Oct 3, 2019 at 12:35 PM olivier sallou <osal...@debian.org> wrote: > >> >> >> Le jeu. 3 oct. 2019 à 12:08, Michael Crusoe <michael.cru...@gmail.com> a >> écrit : >> >>> On Sat, 9 Mar 2019 17:44:02 +0100 olivier sallou <osal...@debian.org> >>> wrote: >>> > Looking at core generated file and using gdb we see that it fails in >>> > fortran lib. >>> > >>> > Either program tries something wrong in a fortran updated lib version, >>> > either the fortran lib is itself buggy. >>> > >>> > I have no fortran knowledge to debug this however. And it lacks debug >>> info >>> > to find calling line in profnet. >>> >>> The debug symbols exists for non-amd64 archs: >>> https://packages.debian.org/sid/profnet-snapfun-dbgsym >>> >> >> Fun to see it in different arch but not amd64... Will give a try when >> possible. >> >> >>> So you can make your own debug symbols locally by rebuilding the >>> package, or someone could upload a new source package as it has been almost >>> a year. I made some cosmetic cleanups to the Debian packaging if that is a >>> good enough excuse (though snapfun still segfaults for me) >>> >>> > >>> > Test: rofnet_snapfun switch 385 55 10 46 100 PROFin.dat PROFacc_tst.jct >>> > none dbg >>> > >>> > Gdb result: >>> > >>> > Core was generated by `profnet_snapfun switch 385 55 10 46 100 >>> PROFin.dat >>> > PROFacc_tst.jct none dbg'. >>> >>> -- >>> Michael >>> >> > > -- > Michael R. Crusoe > Co-founder & Lead, Common Workflow Language project > <http://www.commonwl.org/> > https://orcid.org/0000-0002-2961-9670 > <https://impactstory.org/u/0000-0002-2961-9670> > m...@commonwl.org > +1 480 627 9108 >