Skip to content

segmentation fault while pystk.init(config) #38

Description

@JonathanJao

Describe the bug
Pystk throws a segmentation fault when calling pystk.init(config)

To Reproduce

Python 3.9.9 (main, Apr 16 2022, 15:43:56) 
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import pystk
>>> 
>>> 
>>> config = pystk.GraphicsConfig.hd()
>>> config.screen_width = 800
>>> config.screen_height = 600
>>> pystk.init(config)
Segmentation fault

System information:
Verified occur on two systems:
First without dedicated graphics:

  • OS: Debian Linux 11
  • CPU: Intel Core i5-4590T
  • GPU: Mesa DRI Intel HD Graphics 4600

Second with dedicated graphics:

  • OS: Debian Linux 11
  • CPU: Intel Pentium
  • GPU: Nvidia GTX 1080 Ti

Additional context
pystk was installed with pip.
Another issue opened earlier: #33

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions