* Re: Problems with POV and related question. [not found] <Pine.LNX.3.93.970325101018.1398A-100000@Toy> @ 1997-03-25 21:01 ` Jim Nance 0 siblings, 0 replies; 11+ messages in thread From: Jim Nance @ 1997-03-25 21:01 UTC (permalink / raw) > I can't duplicate the problem, because I don't have an > Alpha. As things stand, bummer, it doesn't look as if I > _will_ have one. If it chokes on POVRay, it's no good to > me. > > Maybe other listmembers will have a go. If it's a POV bug, > I'll happily report it to the developers. OTOH, if it's an > Alpha/Linux thing, that's worth knowing, too. This list > includes the people most interested in finding the problem, > and most competent to find it. For anyone who doesn't know, > the image source is at: I just got the sources and compiled under Digital Unix, and it looks like the problem is there too. At least I assume it is the same problem: Creating vista buffer. Creating light buffers. 0:01:59 Rendering line 84 of 600Floating exceptionimes. 120.939u 0.151s 2:02.27 99.0% 0+37k 125+22io 16pf+0w I will see if I can debug it. Jim -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Problems with POV and related question. @ 1997-03-26 4:46 Matthew X. Economou 0 siblings, 0 replies; 11+ messages in thread From: Matthew X. Economou @ 1997-03-26 4:46 UTC (permalink / raw) Pete, Jim, I'm going to try debugging POV under Alpha/Linux tomorrow. What I really need is a source file for POV that generates the FPE relatively quickly. Sitting and waiting 15+ hours for an error sucks, to put it bluntly. Right now I'm stracing POV to see if that gives me any more information (I've recently discovered strace and just think it is incredibly cool). Currently I'm about 12 hours into the render. Joy. -- Matthew X. Economou - Finger/WWW for public key. - Geek of Computer Science(!) econommx@rose-hulman.edu - http://www.rose-hulman.edu/~econommx - Random quote: "Engineers believe that if it ain't broke, it doesn't have enough features yet." -- Scott Adams, The Dilbert Principle -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <Pine.LNX.3.93.970325174153.1905A-100000@Toy>]
* Re: Problems with POV and related question. [not found] <Pine.LNX.3.93.970325174153.1905A-100000@Toy> @ 1997-03-26 1:50 ` Jim Nance 0 siblings, 0 replies; 11+ messages in thread From: Jim Nance @ 1997-03-26 1:50 UTC (permalink / raw) > Glad you'll be having a look at it, Jim. Line 84, eh? > Interesting. Most of the time, it seems to crash between > line 350 and 400. Anyway, the error itself is the same, the > floating point exception. > > Good luck. Well, it looks like I will be needing it. I have made a few discoveries. First, if I compile the code with -g it runs fine. I can debug optimized executables, but only in a limited fashion. I have tried using the -taso flag, and it makes no difference. This means its not a 32/64 bit issue. I also tried using the -scope_safe -ieee flags to get ieee compliant math like most other platforms provide. That did not help either. Depending on how I compile, I get an FPE on line 1590 or 1592 of the following code. Dont take that too literally, with optimized code you get the FPE at some point after it actually happens. All the Finish->* fields look good, but Finish->Phong_Size==80 which may be causing an overflow. Unfortunatly I can not print out Cos_Angle_Of_Incidence as the compiler seems to have removed it. (ladebug) w 1587 1588 if (Cos_Angle_Of_Incidence > 0.0) 1589 { 1590 Intensity = Finish->Phong * pow(Cos_Angle_Of_Incidence, Finish->Phong_Size); 1591 > 1592 if (Finish->Metallic > 0.0) 1593 { 1594 /* 1595 * Calculate the reflected color by interpolating between 1596 * the light source color and the surface color according Also, here is a output of third degree, a Purify-like tool. It does not help find this FPE, but it may be of interst to someone. I will keep looking at this, but I will be out of town for a few days, so I thought I would post what I found. Thanks, Jim Third Degree version 4.2 povray.third run by jlnance on halfpint.rtp.avanticorp.com, Tue Mar 25 16:33:29 1997 ////////////// begin /afs/rtp/users/jlnance/.third /////////////////// ----------------------------------------------- no leaks at_exit ----------------------------------------------- ////////////// end /afs/rtp/users/jlnance/.third /////////////////// ---------------------------------------------------------------- rus -- 0 -- ../userio.c: 64: reading uninitialized stack at byte 467 of 1888 in frame of _doprnt memcpy povray _doprnt povray vsprintf povray Banner povray, userio.c, line 64 Print_Credits povray, optout.c, line 499 main povray, povray.c, line 228 __start povray ---------------------------------------------------------------- rus -- 1 -- ../povray.c: 1806: reading uninitialized stack at byte 432 of 704 in frame of Locate_File strcpy povray Locate_File povray, povray.c, line 1806 parse_ini_file povray, optin.c, line 2049 main povray, povray.c, line 250 __start povray ---------------------------------------------------------------- ruh -- 2 -- ../tokenize.c: 636: reading uninitialized heap at byte 24 of 28-byte block strcpy povray Initialize_Tokenizer povray, tokenize.c, line 636 Parse povray, parse.c, line 177 FrameRender povray, povray.c, line 418 main povray, povray.c, line 337 __start povray This block at address 0x140027bd0 was allocated at: malloc povray pov_malloc povray, mem.c, line 328 Initialize_Tokenizer povray, tokenize.c, line 634 Parse povray, parse.c, line 177 FrameRender povray, povray.c, line 418 main povray, povray.c, line 337 __start povray ---------------------------------------------------------------- ruh -- 3 -- ../triangle.c: 131: reading uninitialized heap at byte 128 of 304-byte block find_triangle_dominant_axis povray, triangle.c, line 131 Compute_Triangle povray, triangle.c, line 255 Parse_Smooth_Triangle povray, parse.c, line 1211 Parse_Object povray, parse.c, line 3750 Parse_CSG povray, parse.c, line 3368 Parse_Object povray, parse.c, line 3714 Parse_Declare povray, parse.c, line 5043 Parse_Directive povray, tokenize.c, line 2377 Get_Token povray, tokenize.c, line 977 Parse_Directive povray, tokenize.c, line 2397 Get_Token povray, tokenize.c, line 977 Parse_Frame povray, parse.c, line 3911 Parse povray, parse.c, line 197 FrameRender povray, povray.c, line 418 main povray, povray.c, line 337 __start povray This block at address 0x140262b10 was allocated at: malloc povray pov_malloc povray, mem.c, line 328 Create_Smooth_Triangle povray, triangle.c, line 1291 Parse_Smooth_Triangle povray, parse.c, line 1177 Parse_Object povray, parse.c, line 3750 Parse_CSG povray, parse.c, line 3368 Parse_Object povray, parse.c, line 3714 Parse_Declare povray, parse.c, line 5043 Parse_Directive povray, tokenize.c, line 2377 Get_Token povray, tokenize.c, line 977 Parse_Directive povray, tokenize.c, line 2397 Get_Token povray, tokenize.c, line 977 Parse_Frame povray, parse.c, line 3911 Parse povray, parse.c, line 197 FrameRender povray, povray.c, line 418 main povray, povray.c, line 337 __start povray ---------------------------------------------------------------- ruh -- 4 -- ../triangle.c: 259: reading uninitialized heap at byte 128 of 304-byte block Compute_Triangle povray, triangle.c, line 259 Parse_Smooth_Triangle povray, parse.c, line 1211 Parse_Object povray, parse.c, line 3750 Parse_CSG povray, parse.c, line 3368 Parse_Object povray, parse.c, line 3714 Parse_Declare povray, parse.c, line 5043 Parse_Directive povray, tokenize.c, line 2377 Get_Token povray, tokenize.c, line 977 Parse_Directive povray, tokenize.c, line 2397 Get_Token povray, tokenize.c, line 977 Parse_Frame povray, parse.c, line 3911 Parse povray, parse.c, line 197 FrameRender povray, povray.c, line 418 main povray, povray.c, line 337 __start povray This block at address 0x140263110 was allocated at: malloc povray pov_malloc povray, mem.c, line 328 Create_Smooth_Triangle povray, triangle.c, line 1291 Parse_Smooth_Triangle povray, parse.c, line 1177 Parse_Object povray, parse.c, line 3750 Parse_CSG povray, parse.c, line 3368 Parse_Object povray, parse.c, line 3714 Parse_Declare povray, parse.c, line 5043 Parse_Directive povray, tokenize.c, line 2377 Get_Token povray, tokenize.c, line 977 Parse_Directive povray, tokenize.c, line 2397 Get_Token povray, tokenize.c, line 977 Parse_Frame povray, parse.c, line 3911 Parse povray, parse.c, line 197 FrameRender povray, povray.c, line 418 main povray, povray.c, line 337 __start povray ---------------------------------------------------------------- ruh -- 5 -- ../triangle.c: 174: reading uninitialized heap at byte 128 of 304-byte block compute_smooth_triangle povray, triangle.c, line 174 Compute_Triangle povray, triangle.c, line 308 Parse_Smooth_Triangle povray, parse.c, line 1211 Parse_Object povray, parse.c, line 3750 Parse_CSG povray, parse.c, line 3368 Parse_Object povray, parse.c, line 3714 Parse_Declare povray, parse.c, line 5043 Parse_Directive povray, tokenize.c, line 2377 Get_Token povray, tokenize.c, line 977 Parse_Directive povray, tokenize.c, line 2397 Get_Token povray, tokenize.c, line 977 Parse_Frame povray, parse.c, line 3911 Parse povray, parse.c, line 197 FrameRender povray, povray.c, line 418 main povray, povray.c, line 337 __start povray This block at address 0x140263110 was allocated at: malloc povray pov_malloc povray, mem.c, line 328 Create_Smooth_Triangle povray, triangle.c, line 1291 Parse_Smooth_Triangle povray, parse.c, line 1177 Parse_Object povray, parse.c, line 3750 Parse_CSG povray, parse.c, line 3368 Parse_Object povray, parse.c, line 3714 Parse_Declare povray, parse.c, line 5043 Parse_Directive povray, tokenize.c, line 2377 Get_Token povray, tokenize.c, line 977 Parse_Directive povray, tokenize.c, line 2397 Get_Token povray, tokenize.c, line 977 Parse_Frame povray, parse.c, line 3911 Parse povray, parse.c, line 197 FrameRender povray, povray.c, line 418 main povray, povray.c, line 337 __start povray ---------------------------------------------------------------- rus -- 6 -- ../lbuffer.c: 1023: reading uninitialized stack at byte 56 of 128 in frame of project_bounding_slab project_bounding_slab povray, lbuffer.c, line 1023 project_bounding_slab povray, lbuffer.c, line 1016 project_bounding_slab povray, lbuffer.c, line 1016 project_bounding_slab povray, lbuffer.c, line 1016 project_bounding_slab povray, lbuffer.c, line 1016 project_bounding_slab povray, lbuffer.c, line 1016 Build_Light_Buffers povray, lbuffer.c, line 1158 FrameRender povray, povray.c, line 457 main povray, povray.c, line 337 __start povray ---------------------------------------------------------------- rus -- 7 -- ../lbuffer.c: 1025: reading uninitialized stack at byte 52 of 128 in frame of project_bounding_slab project_bounding_slab povray, lbuffer.c, line 1025 project_bounding_slab povray, lbuffer.c, line 1016 project_bounding_slab povray, lbuffer.c, line 1016 project_bounding_slab povray, lbuffer.c, line 1016 project_bounding_slab povray, lbuffer.c, line 1016 project_bounding_slab povray, lbuffer.c, line 1016 Build_Light_Buffers povray, lbuffer.c, line 1158 FrameRender povray, povray.c, line 457 main povray, povray.c, line 337 __start povray ------------------------------------------------------------------------ ------------------------------------------------------------------------ *** Fatal signal SIGFPE detected. -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Problems with POV and related question.
@ 1997-03-25 23:16 Jason Ball
0 siblings, 0 replies; 11+ messages in thread
From: Jason Ball @ 1997-03-25 23:16 UTC (permalink / raw)
At 17:47 25/03/97 -0500, you wrote:
>>Excellent, Ross. That at least is something to go on. I
>>hope others can duplicate your success. Thanks for
>>putting the work in.
>>
>>Pete
>>schaeff@packet.net
>>http://homepages.packet.net/schaeff
>>
>>
>
Yeh thanks for this. I have just downloaded the POV source with the
intention of getting it running on my UDB - then making the necessary
modifications to take full advantage of the Alpha architecture.
To save time - any chance you could provide a patch kit ? If not I will
make the changes, test and produce one.
Cheers
Jason.
------
Jason Ball (jasonb@magna.com.au)
http://www.magna.com.au/~jasonb
phone: +61 2 92599516 (Work)
+61 2 97876580 (Home)
Fax: +61 2 92599743
------
--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
^ permalink raw reply [flat|nested] 11+ messages in thread[parent not found: <Pine.LNX.3.95.970325163718.12672A-100000@notfoo.res.cmu.edu>]
* Re: Problems with POV and related question. [not found] <Pine.LNX.3.95.970325163718.12672A-100000@notfoo.res.cmu.edu> @ 1997-03-25 22:47 ` schaeff 0 siblings, 0 replies; 11+ messages in thread From: schaeff @ 1997-03-25 22:47 UTC (permalink / raw) Excellent, Ross. That at least is something to go on. I hope others can duplicate your success. Thanks for putting the work in. Pete schaeff@packet.net http://homepages.packet.net/schaeff On Tue, 25 Mar 1997, Ross A. Knepper wrote: > well ... this might interest you. i have rendered the test image to > completion at 800x600 on the following machine: > > 366MHz PC164 (from Enorex) > 32MB ram > Linux 2.0.27 > > pov says it took 32MB peak > > when i was compiling pov, i got a bunch of errors, so i went through the > code and fixed them. there were many places where it was casting pointers > to ints, so i changed them to longs. i think that was mostly what i did > differently. i just fixed all the warnings and it works flawlessly. > i hope this helps ... > > -ross > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > > > -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <9703252101.AA18979@halfpint.rtp.avanticorp.com>]
* Re: Problems with POV and related question. [not found] <9703252101.AA18979@halfpint.rtp.avanticorp.com> @ 1997-03-25 21:47 ` Ross A. Knepper 1997-03-25 22:44 ` schaeff 1 sibling, 0 replies; 11+ messages in thread From: Ross A. Knepper @ 1997-03-25 21:47 UTC (permalink / raw) well ... this might interest you. i have rendered the test image to completion at 800x600 on the following machine: 366MHz PC164 (from Enorex) 32MB ram Linux 2.0.27 pov says it took 32MB peak when i was compiling pov, i got a bunch of errors, so i went through the code and fixed them. there were many places where it was casting pointers to ints, so i changed them to longs. i think that was mostly what i did differently. i just fixed all the warnings and it works flawlessly. i hope this helps ... -ross -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Problems with POV and related question. [not found] <9703252101.AA18979@halfpint.rtp.avanticorp.com> 1997-03-25 21:47 ` Ross A. Knepper @ 1997-03-25 22:44 ` schaeff 1 sibling, 0 replies; 11+ messages in thread From: schaeff @ 1997-03-25 22:44 UTC (permalink / raw) Glad you'll be having a look at it, Jim. Line 84, eh? Interesting. Most of the time, it seems to crash between line 350 and 400. Anyway, the error itself is the same, the floating point exception. Good luck. Pete schaeff@packet.net http://homepages.packet.net/schaeff On Tue, 25 Mar 1997, Jim Nance wrote: > I just got the sources and compiled under Digital Unix, and it looks > like the problem is there too. At least I assume it is the same problem: > > Creating vista buffer. > Creating light buffers. > 0:01:59 Rendering line 84 of 600Floating exceptionimes. > 120.939u 0.151s 2:02.27 99.0% 0+37k 125+22io 16pf+0w -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Problems with POV and related question. @ 1997-03-25 17:27 Stephen Williams 0 siblings, 0 replies; 11+ messages in thread From: Stephen Williams @ 1997-03-25 17:27 UTC (permalink / raw) Try setting your coredumpsize to unlimited and running again. This *should* get you a core file that can be examined with gdb. Another approach, run it under gdb. Hope this is not excessively obvious. -- Steve Williams steve@icarus.com steve@picturel.com "The woods are lovely, dark and deep. But I have promises to keep, And lines to code before I sleep, And lines to code before I sleep." -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 11+ messages in thread
[parent not found: <Pine.LNX.3.91.970325050904.17667D-100000@edgar.blauedonau.com>]
* Re: Problems with POV and related question. [not found] <Pine.LNX.3.91.970325050904.17667D-100000@edgar.blauedonau.com> @ 1997-03-25 12:15 ` Jim Nance 1997-03-25 15:57 ` schaeff 1 sibling, 0 replies; 11+ messages in thread From: Jim Nance @ 1997-03-25 12:15 UTC (permalink / raw) > Have any porting tools been written that can search the source code > tree and find the problem lines of code? Also what memory debuggers > have been ported over to the Alpha? Try Electric Fence. I think this works on the Alpha. Jim -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: Problems with POV and related question. [not found] <Pine.LNX.3.91.970325050904.17667D-100000@edgar.blauedonau.com> 1997-03-25 12:15 ` Jim Nance @ 1997-03-25 15:57 ` schaeff 1 sibling, 0 replies; 11+ messages in thread From: schaeff @ 1997-03-25 15:57 UTC (permalink / raw) Terry, Thanks for working so hard on the Alpha/Linux/POV thing. With its reputation as an excellent graphics platform, I had hoped that the Alpha would be the perfect POV tool. I hope I wasn't mistaken. I don't know whether the problem is with Alpha or with POVRay, but either way it's the same: nobody has managed to render the graphic on an Alpha. Or not at 800 x 600, anyway. God bless him, Matthew Economou (from this list) has put a lot of work into finding the problem, and others as well, but no luck so far. I can't duplicate the problem, because I don't have an Alpha. As things stand, bummer, it doesn't look as if I _will_ have one. If it chokes on POVRay, it's no good to me. Maybe other listmembers will have a go. If it's a POV bug, I'll happily report it to the developers. OTOH, if it's an Alpha/Linux thing, that's worth knowing, too. This list includes the people most interested in finding the problem, and most competent to find it. For anyone who doesn't know, the image source is at: http://homepages.packet.net/schaeff/povmen.html Once again, Terry, thanks for putting in the time. What resolution are you using, and on what scanline does POV choke? Pete schaeff@packet.net http://homepages.packet.net/schaeff On Tue, 25 Mar 1997, Terry L. Ridder wrote: > Hello; > > I have been trying to render the test scene for POV on the Alpha, > but POV keeps blowing its brains out. I have managed to do some > debugging, but waiting 2.5 hours for POV to fail is getting old. > The same source code works under Linux 2.0.23 on an Intel box, so > my guess is that it is a problem with the way 'longs' are being > handled in the code. > > > Have any porting tools been written that can search the source code > tree and find the problem lines of code? Also what memory debuggers > have been ported over to the Alpha? > > > Terry L. Ridder > Blue Danube Software (Blaue Donau Software) > "We do not write software, we compose it." > > "And every hour of every day I'm learning more > the more I learn, the less I know about before > the less I know, the more I want to look around > digging deep for clues on higher ground." > ==Higher Ground== UB40 > > -- > To unsubscribe: send e-mail to axp-list-request@redhat.com with > 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com > > > -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 11+ messages in thread
* Problems with POV and related question. @ 1997-03-25 11:14 Terry L. Ridder 0 siblings, 0 replies; 11+ messages in thread From: Terry L. Ridder @ 1997-03-25 11:14 UTC (permalink / raw) Hello; I have been trying to render the test scene for POV on the Alpha, but POV keeps blowing its brains out. I have managed to do some debugging, but waiting 2.5 hours for POV to fail is getting old. The same source code works under Linux 2.0.23 on an Intel box, so my guess is that it is a problem with the way 'longs' are being handled in the code. Have any porting tools been written that can search the source code tree and find the problem lines of code? Also what memory debuggers have been ported over to the Alpha? Terry L. Ridder Blue Danube Software (Blaue Donau Software) "We do not write software, we compose it." "And every hour of every day I'm learning more the more I learn, the less I know about before the less I know, the more I want to look around digging deep for clues on higher ground." ==Higher Ground== UB40 -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com ^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~1997-03-26 4:46 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.LNX.3.93.970325101018.1398A-100000@Toy>
1997-03-25 21:01 ` Problems with POV and related question Jim Nance
1997-03-26 4:46 Matthew X. Economou
[not found] <Pine.LNX.3.93.970325174153.1905A-100000@Toy>
1997-03-26 1:50 ` Jim Nance
-- strict thread matches above, loose matches on Subject: below --
1997-03-25 23:16 Jason Ball
[not found] <Pine.LNX.3.95.970325163718.12672A-100000@notfoo.res.cmu.edu>
1997-03-25 22:47 ` schaeff
[not found] <9703252101.AA18979@halfpint.rtp.avanticorp.com>
1997-03-25 21:47 ` Ross A. Knepper
1997-03-25 22:44 ` schaeff
1997-03-25 17:27 Stephen Williams
[not found] <Pine.LNX.3.91.970325050904.17667D-100000@edgar.blauedonau.com>
1997-03-25 12:15 ` Jim Nance
1997-03-25 15:57 ` schaeff
1997-03-25 11:14 Terry L. Ridder
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox