[Debian-med-packaging] Bug#905206: Seems to crash in fortran lib

Michael Crusoe michael.crusoe at gmail.com
Thu Oct 3 11:57:48 BST 2019


Here is the crash with debug symbols (courtesy libc6-dbg libgfortran5-dbg
and a locally created profnet-snapfun-dbgym)

root at 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.

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 <osallou at debian.org> wrote:

>
>
> Le jeu. 3 oct. 2019 à 12:08, Michael Crusoe <michael.crusoe at gmail.com> a
> écrit :
>
>> On Sat, 9 Mar 2019 17:44:02 +0100 olivier sallou <osallou at 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>
mrc at commonwl.org
+1 480 627 9108
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20191003/377c156d/attachment.html>


More information about the Debian-med-packaging mailing list