[Paraview] [Paraview-developers] Segmentation fault

Girish Ramesh rgirish28 at gmail.com
Tue Aug 26 09:59:51 EDT 2014


This is the backtrace i get when I run through gdb.

Output:

Program received signal SIGSEGV, Segmentation fault.
0x00002aaabf3c21c4 in __strcmp_sse42 () from /lib64/libc.so.6
(gdb) bt full
#0  0x00002aaabf3c21c4 in __strcmp_sse42 () from /lib64/libc.so.6
No symbol table info available.
#1  0x00002aaac9cb4ee9 in ReadUALGrid::SetUser (this=0x10e3c10,
_arg=0x1b2ab39 "diy")
    at
/pfs/work/kosl/sohpc/girish/paraview_plugin/paraview/ParaView-v4.1.0/Plugins/ReadUALGrid/ReadUALGrid.h:38
No
locals.

#2  0x00002aaac9cb6937 in ReadUALGridCommand (arlu=0xecf5b0, ob=0x10e3c10,
method=0x1b2ab29 "SetUser", msg=..., resultStream=...)
    at
/pfs/work/kosl/sohpc/girish/paraview_plugin/paraview/ParaView-v4.1.0/Plugins/ReadUALGrid/ReadUALGridClientServer.cxx:175

        temp0 = 0x1b2ab39
"diy"

        op =
0x10e3c10

        vtkmsg = <incomplete
type>

#3  0x00002aaab1ee11c8 in
vtkClientServerInterpreter::CallCommandFunction(char const*,
vtkObjectBase*, char const*, vtkClientServerStream const&,
vtkClientServerStream&) ()
   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1

No symbol table info
available.

#4  0x00002aaab1ee5102 in
vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream
const&, int) ()
   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1

No symbol table info
available.

#5  0x00002aaab1ee4746 in
vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&,
int) ()
   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1

No symbol table info
available.

#6  0x00002aaab1ee480d in
vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&)
()
   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkClientServer-pv4.1.so.1

No symbol table info
available.

#7  0x00002aaaae5011bb in
vtkSIProperty::ProcessMessage(vtkClientServerStream&)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#8  0x00002aaaae516ad7 in
vtkSIStringVectorProperty::Push(vtkSIStringVectorProperty::vtkVectorOfStrings
const&) ()
   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#9  0x00002aaaae517431 in
vtkSIStringVectorProperty::ReadXMLAttributes(vtkSIProxy*, vtkPVXMLElement*)
()
   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#10 0x00002aaaae503832 in vtkSIProxy::ReadXMLProperty(vtkPVXMLElement*)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#11 0x00002aaaae50249f in vtkSIProxy::ReadXMLAttributes(vtkPVXMLElement*)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#12 0x00002aaaae513809 in
vtkSISourceProxy::ReadXMLAttributes(vtkPVXMLElement*)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#13 0x00002aaaae502e12 in
vtkSIProxy::CreateVTKObjects(paraview_protobuf::Message*)
()

---Type <return> to continue, or q <return> to
quit---

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#14 0x00002aaaae515765 in
vtkSISourceProxy::CreateVTKObjects(paraview_protobuf::Message*)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#15 0x00002aaaae50209d in vtkSIProxy::Push(paraview_protobuf::Message*)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#16 0x00002aaaae4e6e32 in
vtkPVSessionCore::PushStateInternal(paraview_protobuf::Message*)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#17 0x00002aaaae4e52e7 in
vtkPVSessionCore::PushState(paraview_protobuf::Message*)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#18 0x00002aaaae4e2b2d in
vtkPVSessionBase::PushState(paraview_protobuf::Message*)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerImplementationCore-pv4.1.so.1

No symbol table info
available.

#19 0x00002aaaadfe7663 in vtkSMProxy::CreateVTKObjects()
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerManagerCore-pv4.1.so.1

No symbol table info
available.

#20 0x00002aaaae0277e5 in vtkSMSourceProxy::CreateVTKObjects()
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerManagerCore-pv4.1.so.1

No symbol table info
available.

#21 0x00002aaaae01c8f2 in vtkSMSessionProxyManager::RegisterProxy(char
const*, char const*, vtkSMProxy*)
()
   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkPVServerManagerCore-pv4.1.so.1

No symbol table info
available.

#22 0x00002aaaab7f051b in pqObjectBuilder::createProxyInternal(QString
const&, QString const&, pqServer*, QString const&, QString const&,
QMap<QString, QVariant> const&) ()
   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkpqCore-pv4.1.so.1

No symbol table info
available.

#23 0x00002aaaab7ecd09 in pqObjectBuilder::createSource(QString const&,
QString const&, pqServer*)
()
   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkpqCore-pv4.1.so.1

No symbol table info
available.

#24 0x00002aaaaad7838a in pqSourcesMenuReaction::createSource(QString
const&, QString const&)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkpqApplicationComponents-pv4.1.so.1

No symbol table info
available.

#25 0x00002aaabe7c99bf in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtCore.so.4
No symbol table info
available.

#26 0x00002aaaaad902a7 in pqProxyGroupMenuManager::triggered(QString
const&, QString const&)
()

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkpqApplicationComponents-pv4.1.so.1

No symbol table info
available.

#27 0x00002aaaaad679a7 in pqProxyGroupMenuManager::triggered()
()

---Type <return> to continue, or q <return> to
quit---

   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/paraview/4.1/lib/paraview-4.1/libvtkpqApplicationComponents-pv4.1.so.1

No symbol table info
available.

#28 0x00002aaabe7c99bf in QMetaObject::activate(QObject*, QMetaObject
const*, int, void**) () from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtCore.so.4
No symbol table info
available.

#29 0x00002aaabd7f7da2 in QAction::triggered(bool) () from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4

No symbol table info
available.

#30 0x00002aaabd7f7f90 in QAction::activate(QAction::ActionEvent) () from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4

No symbol table info
available.

#31 0x00002aaabdc2e3b3 in ?? () from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4

No symbol table info
available.

#32 0x00002aaabdc347c9 in ?? () from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4

No symbol table info
available.

#33 0x00002aaabd84da99 in QWidget::event(QEvent*) () from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4
No symbol table info available.
#34 0x00002aaabdc35b0b in QMenu::event(QEvent*) () from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4
No symbol table info available.
#35 0x00002aaabd7fdfac in QApplicationPrivate::notify_helper(QObject*,
QEvent*) () from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4
No symbol table info available.
#36 0x00002aaabd8026db in QApplication::notify(QObject*, QEvent*) () from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4
No symbol table info available.
#37 0x00002aaabe7b44de in QCoreApplication::notifyInternal(QObject*,
QEvent*) () from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtCore.so.4
No symbol table info available.
#38 0x00002aaabd7fedeb in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4
No symbol table info available.
#39 0x00002aaabd87977c in ?? () from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4
No symbol table info available.
#40 0x00002aaabd878651 in QApplication::x11ProcessEvent(_XEvent*) () from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4
No symbol table info available.
#41 0x00002aaabd89e322 in ?? () from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4
No symbol table info available.
#42 0x00002aaac543960a in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
No symbol table info available.
#43 0x00002aaac543ce88 in ?? () from /usr/lib64/libglib-2.0.so.0
No symbol table info available.
#44 0x00002aaac543d03c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
No symbol table info available.
#45 0x00002aaabe7e2ac6 in
QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>)
()
   from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtCore.so.4
No symbol table info available.
#46 0x00002aaabd89dfae in ?? () from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtGui.so.4
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#47 0x00002aaabe7b30df in
QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtCore.so.4
No symbol table info available.
#48 0x00002aaabe7b3368 in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtCore.so.4
No symbol table info available.
#49 0x00002aaabe7b8248 in QCoreApplication::exec() () from
/pfs/work/kosl/sohpc/girish/paraview_plugin/staging/qt/lib/libQtCore.so.4
No symbol table info available.
#50 0x0000000000407ac5 in main ()
No symbol table info available.


No idea what's happening. Please help.

Regards,
Girish


On 26 August 2014 15:49, Cory Quammen <cory.quammen at kitware.com> wrote:

> Girish,
>
> Can you run ParaView with your plugin through a debugger to find out
> where it is segfaulting? That will point out where the segfault occurs
> which is often a clue to why it is occurring.
>
> Thanks,
> Cory
>
> On Tue, Aug 26, 2014 at 9:41 AM, Girish Ramesh <rgirish28 at gmail.com>
> wrote:
> > Hi,
> >
> > I am writing my own plugin but each time I try to add another check box,
> the
> > plugin suddenly segfaults. I have no idea why. The XML and C++ code are
> > attached.
> >
> > XML:
> >
> > <IntVectorProperty
> >          name="FieldLoadStatus"
> >          command="SetFieldLoadStatus"
> >          number_of_elements="1"
> >          default_values="0"
> >          panel_visibility="default" >
> >         <BooleanDomain name="bool"/>
> >         <Documentation>
> >           The values of this property sets the run number.
> >         </Documentation>
> >       </IntVectorProperty>
> > C++:
> >
> > public:
> >   vtkTypeMacro(ReadUALGrid, vtkUnstructuredGridAlgorithm);
> >   void PrintSelf(ostream& os, vtkIndent indent);
> >
> >   static ReadUALGrid *New();
> >
> >   vtkGetMacro(Shot,int)
> >   vtkSetMacro(Shot,int);
> >
> >   vtkGetMacro(Run,int);
> >   vtkSetMacro(Run,int);
> >
> >   vtkGetMacro(RefRun,int);
> >   vtkSetMacro(RefRun,int);
> >
> >   vtkGetMacro(CPOLoad,int);
> >   vtkSetMacro(CPOLoad,int);
> >
> >   vtkGetMacro(FieldLoadStatus,int);
> >   vtkSetMacro(FieldLoadStatus,int);
> >
> > protected:
> >   ReadUALGrid();
> >   ~ReadUALGrid(){}
> >
> >   int Shot;
> >   int Run;
> >   int RefRun;
> >   int CPOLoad;
> >   int FieldLoadStatus;
> >
> > I have no idea why because it worked perfectly for other check boxes.
> Thank
> > you.
> >
> > Regards,
> > Girish
> >
> > _______________________________________________
> > Paraview-developers mailing list
> > Paraview-developers at paraview.org
> > http://public.kitware.com/mailman/listinfo/paraview-developers
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20140826/07e95164/attachment-0001.html>


More information about the ParaView mailing list