John,

Earlier this week I merged a change in ParaView that uses the latest (not yet 
released) version of IceT.  You have the dubious honor of reporting the first 
problem.

It appears that the MSVC debugger is checking to make sure variables are set 
before used as an argument to a function. (Cool feature.  I didn't know it did 
that.)  It looks like I violated that.  I am pretty sure this is benign; the 
state that leads to uninitialized variables should mean they won't be used in 
the function.  It's still bad and dangerous practice though, so thanks for 
pointing it out.

Attached is a patch that should fix the problem.  Please apply it to reduce.c 
and let me know if it resolves the problem.

-Ken

   ****      Kenneth Moreland
    ***      Sandia National Laboratories
***********
*** *** ***  email: [email protected]
**  ***  **  phone: (505) 844-8919
    ***      web:   http://www.cs.unm.edu/~kmorel

From: "Biddiscombe, John A." <[email protected]<mailto:[email protected]>>
Date: Thu, 16 Jun 2011 18:39:51 +0000
To: "[email protected]<mailto:[email protected]>" 
<[email protected]<mailto:[email protected]>>
Subject: [Paraview] IceT problem

When running in parallel on windows, I get this (frequently)

I just closed the debugger and forgot to copy the stack trace, but can post it 
if it helps.

Is it a known issue? (I’m using IceT master, head of current git from the 
paraview repo) – can I just set piece offset to the process rank?

Line 109 of reduce.c
    if (icetIsEnabled(ICET_COLLECT_IMAGES)) {
        result_image = reduceCollect(composited_image,
                                     compose_tile,
                                     piece_offset);



JB

[cid:[email protected]]

--
John Biddiscombe,                            email:biddisco @ cscs.ch
http://www.cscs.ch/
CSCS, Swiss National Supercomputing Centre  | Tel:  +41 (91) 610.82.07
Via Cantonale, 6928 Manno, Switzerland      | Fax:  +41 (91) 610.82.82

_______________________________________________ Powered by www.kitware.com 
Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html Please keep messages on-topic 
and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this 
link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview

<<inline: image001.png>>

Attachment: 0001-Fix-MSVC-debugger-warning-for-not-initalizing-functi.patch
Description: 0001-Fix-MSVC-debugger-warning-for-not-initalizing-functi.patch

_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the ParaView Wiki at: 
http://paraview.org/Wiki/ParaView

Follow this link to subscribe/unsubscribe:
http://www.paraview.org/mailman/listinfo/paraview

Reply via email to