Bug#950008: Sv: Bug#950008: gfan: assertion fails on riscv64
Anders Nedergaard Jensen
jensen at math.au.dk
Tue Jan 28 13:28:02 GMT 2020
Hi,
Thanks for the bug report.
Line 30 of application.cpp looks suspicious:
while(p[l]!=0 && p[l]!='/');
Does it help to change it to
while(l!=0 && p[l]!='/');
?
If not, I think I need to know what the char* argv[0] points to when main is called.
Best regards,
Anders
________________________________
Fra: Torrance, Douglas <dtorrance at piedmont.edu>
Sendt: 28. januar 2020 13:51
Til: Tobias Hansen <thansen at debian.org>; 950008 at bugs.debian.org <950008 at bugs.debian.org>; Anders Nedergaard Jensen <jensen at math.au.dk>
Emne: Re: Bug#950008: gfan: assertion fails on riscv64
Control: forwarded -1 jensen at imf.au.dk
Hello!
I am forwarding the bug report below from the Debian package of gfan:
On Tue, Jan 28, 2020 at 4:33 AM Tobias Hansen <thansen at debian.org> wrote:
> Source: gfan
> Version: 0.6.2-2
> Severity: normal
>
> Hi,
>
> many of sagemath's doctests in the interface to gfan fail on riscv64 with the following error:
>
> gfan_*: src/application.cpp:42: char* tail(char*): Assertion `*p==*m' failed.
>
> It looks like the pointer arithmetic in the function tail() in application.cpp does not work like this on riscv64. Unfortunately there are no porterboxes for riscv64 yet, so I can't come up with a minimal example triggering the bug.
>
> Best,
> Tobias
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-science-maintainers/attachments/20200128/aeda5327/attachment.html>
More information about the debian-science-maintainers
mailing list