Bug#1067907: flam3-utils: flam3-genome randomly segfaults on ppc64el

Peter Blackman <[email protected]>
Newsgroups gmane.linux.debian.devel.bugs.general,gmane.linux.debian.ports.powerpc
Message-ID <[email protected]>
On 29/07/2025 19:19, Trupti wrote:

> Hello Peter,
> 
> As you suggested, I tried setting the optimization level to -O1 in 
> Makefile.am, and the program ran without any segmentation faults.


Hi Trupti,

Thanks for looking at this.
Does it run consistently at -O1?
(At -O3, sometimes it works, sometimes it doesn't)


I should have mentioned earlier,
I have a little test script, that I attached to #1001667

A run of a minute or two would suffice to show any issues.


Would be interesting to know what happens with -O2,
as I like to use the highest optimisation that is stable.

Wondering whether this really is a bug in gcc...


Best regards,
Peter
genome.sh (application/x-shellscript, 104 B)
#!/bin/bash
#
set -e
set -x
#
while :
do
	Seed=$RANDOM
	env seed=$Seed flam3-genome > /dev/null 
done
#
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.