Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • ParaView ParaView
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,961
    • Issues 1,961
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 97
    • Merge requests 97
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • ParaViewParaView
  • ParaViewParaView
  • Issues
  • #17109
Closed
Open
Issue created Jan 12, 2017 by tfogal@tfogalContributor

X thread initialization required when Connect()ing to pvserver; pthread_mutex_lock crash inside XrmQGetSearchList

Using 7db25af8, I get a crash in pthread_mutex_lock inside XrmQGetSearchList. The underlying problem appears to be that X never initialized internal threading resources.

The crash reproduces with the attached 'crash.py': /path/to/pvserver & sleep 3 env -i DISPLAY="${DISPLAY}" HOME=${HOME} /path/to/pvpython crash.py

and the attached patch (that just calls XInitThreads) fixes things for me.

The crash does not occur if I remove the paraview.simple.Connect().

The machine is Ubuntu: $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04.1 LTS Release: 16.04 Codename: xenial

crash.py x-init-threads-pv-fix.diff

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking