On 2025-07-22 12:27, Trupti wrote:
On Fri, 19 Apr 2024 10:34:30 +0100 Peter Blackman
<[email protected]> wrote:
On 13/04/2024 10:45, Bernhard Übelacker wrote:

Hi Bernard,

Many thanks for looking at this, but I'm afraid I still can't see any
obvious solution.


> (gdb) bt
> #0  iter_thread_int (fth=0x157681210) at rect.c:500

The failing instruction is

  500                 if (p[3]==1.0) {

I assume the issue is with p[3] rather than 1.0,
but the gbd dump shows p[3] holding a valid value!

  (gdb) print p[3]
  $8 = 1


If anyone with access to hardware was minded to have a further look,
it might be interesting to see if the program works without optimisation,
or maybe with just -O1   (set in Makefile.am)


Kind Regards,
Peter

Hello Peter,

Thanks for the suggestion. I have access to the ppc64el hardware, and
I will look into this.


Best Regards,
Trupti

Hello Peter,

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

Below are the result :



autopkgtest [14:06:20]: test genome.sh: preparing testbed
Reading package lists...
Building dependency tree...
Reading state information...
Starting pkgProblemResolver with broken count: 0
Starting 2 pkgProblemResolver with broken count: 0
Done
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
autopkgtest [14:06:21]: test genome.sh: [-----------------------
+ set -e
+ env seed=22839 issac_seed=12917 flam3-genome
+ xmllint -noout random.flam3
+ env ss=12 qs=6 flam3-render
chaos: 100.0%  took: 1 seconds
filtering...writing 00000.png...done.
+ pngcheck 00000.png
zlib warning:  different version (expected 1.2.13, using 1.3.1)

OK: 00000.png (1200x1200, 32-bit RGB+alpha, non-interlaced, 69.5%).
autopkgtest [14:06:24]: test genome.sh: -----------------------]
autopkgtest [14:06:24]: test genome.sh: - - - - - - - - - - results - - - - - - - - - -
genome.sh            PASS
autopkgtest [14:06:24]: @@@@@@@@@@@@@@@@@@@@ summary
convert.sh           PASS
animate.sh           PASS
render.sh            PASS
genome.sh            PASS


Best Regards,
Trupti

Reply via email to