I wish I could have understood this issue. I tested a variety of things, examined my executable with ldd, tried various cmake variable changes. The problem persisted until I got rid of the ParaView 3.6.2 distribution, downloaded it again, and built again. That fixed the problem. So I figured I would post this to the list in case any other unfortunate developer has the same problem.

Erik

On 1/21/10 3:30 PM, Utkarsh Ayachit wrote:
Can you verify that the xml for your plugin is valid? Just open in up
in firefox or something to make sure that the xml syntax is correct.

Utkarsh

On Thu, Jan 21, 2010 at 5:13 PM, Erik Rasmussen<[email protected]>  wrote:
OS: Ubuntu 8.10 (intrepid)
PV:  3.6.1
Qt:  4.5.3
build:  Debug

I am working with a file-reading filter.  There are no error messages or
warnings when I compile.  After I build, I copy the filter .so files to the
bin/plugins location, where they are automatically detected by paraview.

When I choose the File, all goes well.  The usual RequestDataObject and
RequestInformation methods are executed.  All my debug output looks fine.

When I press the Apply button, I know that RequestData is messaged and it
seems to finish its work OK.

As an aside, my vtkDebugMacro output now only shows up in the gdb terminal
output; it stops going to the output messages window of Paraview.  I don't
know what that means, except that it seems to tell me that something is
going haywire near the start of RequestData, even though that method seems
to run fine.  (I suppose I'm not seeing it in the output messages window
because that window may be buffered?)

The actual crash seems to happen just about when ParaView would normally be
drawing an empty cube outline on the screen (the reader puts a rectilinear
grid into the pipeline).

In the traceback (below), it looks like ParaView is messaging vtkSMProxy
object that has not been instantiated... this=0x0

Has anyone seen this before?  Any suggestions on how to debug further?

Thanks,
Erik


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x46fc8e10 (LWP 3572)]
0x4014410d in vtkSMProxy::GetProperty (this=0x0, name=0x41f1a66f "Input") at
/home/erik/Research/Tools/ParaView/ParaView3.6/Servers/ServerManager/vtkSMProxy.h:158
158          return this->GetProperty(name, 0);
(gdb) bt
#0  0x4014410d in vtkSMProxy::GetProperty (this=0x0, name=0x41f1a66f
"Input") at
/home/erik/Research/Tools/ParaView/ParaView3.6/Servers/ServerManager/vtkSMProxy.h:158
#1  0x41cc9d64 in vtkSMRenderViewProxy::CreateDefaultRepresentation
(this=0x91dff70, source=0x87b5d30, opport=0)
    at
/home/erik/Research/Tools/ParaView/ParaView3.6/Servers/ServerManager/vtkSMRenderViewProxy.cxx:1768
#2  0x4067b12c in pqObjectBuilder::createDataRepresentation (this=0x8a501a0,
opPort=0x9b88ca0, view=0x9209cd8, representationty...@0xbfa578f4)
    at
/home/erik/Research/Tools/ParaView/ParaView3.6/Qt/Core/pqObjectBuilder.cxx:446
#3  0x406483b9 in pqDisplayPolicy::createPreferredRepresentation
(this=0x8aa0da0, opPort=0x9b88ca0, view=0x9209cd8, dont_create_view=false)
    at
/home/erik/Research/Tools/ParaView/ParaView3.6/Qt/Core/pqDisplayPolicy.cxx:252
#4  0x40683dcd in pqPendingDisplayManager::createPendingDisplays
(this=0x8b4b940, activeview=0x9209cd8) at
/home/erik/Research/Tools/ParaView/ParaView3.6/Qt/Core/pqPendingDisplayManager.cxx:178
#5  0x406840e4 in pqPendingDisplayManager::createPendingDisplays
(this=0x8b4b940) at
/home/erik/Research/Tools/ParaView/ParaView3.6/Qt/Core/pqPendingDisplayManager.cxx:254
#6  0x406fd73e in pqPendingDisplayManager::qt_metacall (this=0x8b4b940,
_c=QMetaObject::InvokeMetaMethod, _id=5, _a=0xbfa57a48)
    at
/home/erik/Research/Tools/ParaView/ParaView3.6/build_debug/Qt/Core/moc_pqPendingDisplayManager.cxx:83
#7  0x418809db in QMetaObject::activate (sender=0x8ebfd80,
from_signal_index=<value optimized out>, to_signal_index=28, argv=0x0) at
/var/tmp/qt-x11-src-4.5.3/src/corelib/kernel/qobject.cpp:3104





_______________________________________________
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



_______________________________________________
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