Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
ParaView
ParaView
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,777
    • Issues 1,777
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 66
    • Merge Requests 66
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ParaView
  • ParaViewParaView
  • Issues
  • #20444

Closed
Open
Opened Jan 21, 2021 by Scott Wittenburg@scott.wittenburgDeveloper

seg fault running simple python script with mpi (5.9.0 RC4)

I downloaded release candidate binary for mac os (ParaView-5.9.0-RC4-MPI-OSX10.13-Python3.8-64bit.dmg), and then tried to run a simple python script, and it resulted in a segmentation fault.

Here is the pvpython/pvbatch script:

import paraview.simple as simple

simple.servermanager.Connect("localhost")
print("connected")
cone = simple.Cone()
print("cone created")

Here are the steps to reproduce:

Start the server

/Applications/ParaView-5.9.0-RC4.app/Contents/bin/pvserver --force-offscreen-rendering

Start the client

/Applications/ParaView-5.9.0-RC4.app/Contents/bin/pvbatch ./client_script.py

Here's the output from the client:

Could not find platform dependent libraries <exec_prefix>
Consider setting $PYTHONHOME to <prefix>[:<exec_prefix>]
connected

Loguru caught a signal: SIGSEGV
Stack trace:
24                 0x2 28  ???                                 0x0000000000000002 0x0 + 2
23      0x7fff721b2cc9 start + 1
22         0x10fc99742 ParaViewPython::Run(int, int, char**) + 818
21         0x11026a91e vtkPythonInterpreter::PyMain(int, char**) + 558
20         0x111e2eb9b Py_Main + 43
19         0x111e2ed46 pymain_main + 406
18         0x111e2e77a Py_RunMain + 2234
17         0x111e0e76f PyRun_SimpleFileExFlags + 271
16         0x111e0f373 PyRun_FileExFlags + 291
15         0x111dbc1f0 PyEval_EvalCode + 48
14         0x111dc8223 _PyEval_EvalCodeWithName + 3459
13         0x111dc38bd _PyEval_EvalFrameDefault + 30253
12         0x111dc7092 call_function + 354
11         0x111ce056e _PyFunction_Vectorcall + 254
10         0x111dc8223 _PyEval_EvalCodeWithName + 3459
9          0x111dc38bd _PyEval_EvalFrameDefault + 30253
8          0x111dc7092 call_function + 354
7          0x111ce2f3b method_vectorcall + 171
6          0x111ce056e _PyFunction_Vectorcall + 254
5          0x111dc8223 _PyEval_EvalCodeWithName + 3459
4          0x111dc3e04 _PyEval_EvalFrameDefault + 31604
3          0x111ce00b3 cfunction_call_varargs + 323
2          0x12ac450b8 PyvtkSMParaViewPipelineController_RegisterPipelineProxy(_object*, _object*) + 504
1          0x10fd52c6a vtkSMParaViewPipelineController::RegisterPipelineProxy(vtkSMProxy*, char const*) + 442
0                  0x4 4   ???                                 0x0000000000000004 0x0 + 4
(   8.031s) [pvbatch         ]                       :0     FATL| Signal: SIGSEGV
Segmentation fault: 11

Here's the output from the server:

Waiting for client...
Connection URL: cs://Scotts-MacBook-Pro-2.local:11111
Accepting connection(s): Scotts-MacBook-Pro-2.local:11111
Client connected.
(  22.205s) [pvserver        ]vtkSocketCommunicator.c:781    ERR| vtkSocketCommunicator (0x7fb044e19d80): Could not receive tag. 1
(  22.205s) [pvserver        ]vtkTCPNetworkAccessMana:297    ERR| vtkTCPNetworkAccessManager (0x7fb044d117a0): Some error in socket processing.
(  22.205s) [pvserver        ]          vtkSocket.cxx:532    ERR| vtkClientSocket (0x7fb044e171b0): Socket error in call to send. Broken pipe.
(  22.205s) [pvserver        ]          vtkSocket.cxx:532    ERR| vtkClientSocket (0x7fb044e171b0): Socket error in call to send. Broken pipe.
...
(  22.319s) [pvserver        ]          vtkSocket.cxx:532    ERR| vtkClientSocket (0x7fb044e171b0): Socket error in call to send. Broken pipe.
Segmentation fault: 11

For brevity, in the server output above, I omitted many, many of those Socket error in call to send. Broken pipe. messages in favor of ....

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: paraview/paraview#20444