Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • VTK VTK
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 740
    • Issues 740
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 195
    • Merge requests 195
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • VTK
  • VTKVTK
  • Issues
  • #9895
Closed
Open
Created Nov 12, 2009 by Kitware Robot@kwrobotOwner

vtkEventQtSlotConnect::Connect crashes a simple Qt application when VTK is compiled in release mode only

This issue was created automatically from an original Mantis Issue. Further discussion may take place here.


I wanted to catch VTK event from a Qt application (ParaView, in fact). I used vtkEventQtSlotConnect to connect the renwin interactor events to a Qt widget. If I link the project to a Debug-compiled VTK, this works well. But a Release-mode VTK yields a seg fault.

Here is the GDB backtrace for the modified SimpleView detailed thereafter:

#################################################" Program received signal SIGSEGV, Segmentation fault. 0x01ad5ee4 in vtkSubjectHelper::AddObserver () from /home/dje/Softwares/Paraview-3.7-Release/bin/libvtkCommon.so.pv3.7 (gdb) backtrace #0 0x01ad5ee4 in vtkSubjectHelper::AddObserver () from /home/dje/Softwares/Paraview-3.7-Release/bin/libvtkCommon.so.pv3.7 #1 0x01ad5f9e in vtkObject::AddObserver () from /home/dje/Softwares/Paraview-3.7-Release/bin/libvtkCommon.so.pv3.7 #2 0x0047b063 in vtkQtConnection::SetConnection () from /home/dje/Softwares/Paraview-3.7-Release/bin/libQVTK.so.pv3.7 #3 0x0047a826 in vtkEventQtSlotConnect::Connect () from /home/dje/Softwares/Paraview-3.7-Release/bin/libQVTK.so.pv3.7 #4 0x0804c299 in SimpleView::SimpleView () #5 0x0804bd28 in main ()

Assignee
Assign to
Time tracking