POV-Ray : Newsgroups : povray.unix : Tru64 pov3.5 mesh problem : Re: Tru64 pov3.5 mesh problem Server Time
8 Jul 2024 17:12:34 EDT (-0400)
  Re: Tru64 pov3.5 mesh problem  
From: Lothar Esser
Date: 28 Apr 2003 17:41:39
Message: <3EADA013.48566150@helix.nih.gov>
Wolfgang Wieser wrote:

> Lothar Esser wrote:
> > I ran dbx :
> > Parsing...signal Floating point exception at
> > [_Z12Mesh_Hash_UVPiS_PPA2_dPd:6
> > +0x32dc,0x1200901cc] *  This module was written by Dieter Bayer [DB]
> >
> Please compile with debugging symbols and find out in which source
> code line (inside Mesh_Hash_UV, mesh.cpp) the SIGFPE is triggered.
>

Sorry it took me a while. I kind of suspected that it is a gcc problem so
I decided to spend some time to recompile gcc 3.2.3 and see whether I see
a problem there. I did not. Here is the output from gdb
$gdb ./povray
{ here comes the usual header from povray, no problem there}
  Statistics Stream to console....On
  Warning Stream to console.......On
Parsing...
Program received signal SIGFPE, Arithmetic exception
0x00000001200c9b28 in Mesh_Hash_UV(int*, int*, double (**) [2], double*)
(Number=0x11fffb9b4, Max=0x11fffb9c8, Elements=0x11fffbb50,
    aPoint=0x11fffbb08) at mesh.cpp:1972
1972      hash = (unsigned)((int)(326.0*P[U])^(int)(694.7*P[V])) %
HASH_SIZE;
(gdb) where
#0  0x00000001200c9b28 in Mesh_Hash_UV(int*, int*, double (**) [2],
double*) (Number=0x11fffb9b4, Max=0x11fffb9c8, Elements=0x11fffbb50,
aPoint=0x11fffbb08) at mesh.cpp:1972
#1  0x00000001200e1ed8 in Parse_Mesh() () at parse.cpp:3320
#2  0x00000001200e9258 in Parse_Object() () at parse.cpp:5832
#3  0x00000001200e9fa0 in Parse_Frame() () at parse.cpp:6180
#4  0x00000001200d9090 in Parse() () at parse.cpp:293
#5  0x00000001201381c8 in FrameRender() () at povray.cpp:876
#6  0x0000000120137f88 in FrameLoop() () at povray.cpp:786
#7  0x0000000120137c14 in povray_render(int, char**) (argc=2,
argv=0x1400d4420) at povray.cpp:497
#8  0x00000001201376f8 in main (argc=2, argv=0x11fffc018) at
povray.cpp:286
(gdb) list
286         ret = povray_render(argc, argv);
287        #endif
289        /* Finish */
290        povray_terminate();
292        return ret;
293     }
294     #endif
(gdb)


-- I am not terribly good at debugging. Does anyone have an idea what to try next?

(again I use gcc 3.2.3 on alphaev68 (this time, same problem with ev56) )

Thanks for any pointers ...

Lothar


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.