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 <dtorra...@piedmont.edu>
Sendt: 28. januar 2020 13:51
Til: Tobias Hansen <than...@debian.org>; 950...@bugs.debian.org 
<950...@bugs.debian.org>; Anders Nedergaard Jensen <jen...@math.au.dk>
Emne: Re: Bug#950008: gfan: assertion fails on riscv64

Control: forwarded -1 jen...@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 <than...@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

Reply via email to