Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • CMake CMake
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 4,100
    • Issues 4,100
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMakeCMake
  • CMakeCMake
  • Issues
  • #17924
Closed
Open
Issue created Apr 19, 2018 by Dirk Reinbach@eel76

Stack overflow in CMake 3.11.0 GUI on osx/linux

See also #17659 (closed) for a related issue and for instructions how to reproduce this crash. The root cause for both issues is the ancient regex implementation (see also #17686).

The CMake console application is not affected by this crash. However, the GUI application crashes on osx (and probably on linux as well) due to insufficient stack space. It seems that the main thread has 8MB stack space per default whereas helper threads only get 512KB (depending on the threading API used). The regex code is run in a helper thread and produces a stack overflow.

Windows builds are not affected by this problem since !1728 (merged).

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