Skip to content

Instantly share code, notes, and snippets.

@boris-chervenkov
Last active August 29, 2015 13:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save boris-chervenkov/8850604 to your computer and use it in GitHub Desktop.
Save boris-chervenkov/8850604 to your computer and use it in GitHub Desktop.
Kivy segfault on MacOS 10.9 when running on a secondary monitor
# Running the "animate" example from the installation DMG. Running other examples produces the same error.
# MacOS 10.9.1
# MacBook Pro 9,2
# - CPU: 2,5 GHz Intel Core i5
# - RAM: 8GB
# - Video: Intel HD Graphics 4000 1024 MB graphics
# - Primary screen: 1280x800
# JUST MOVED THE TERMINAL SCREEN TO THE PRIMARY SCREEN and ran it again
$ kivy animate.py
[INFO ] Kivy v1.8.0
[INFO ] [Logger ] Record log in /Users/boris/.kivy/logs/kivy_14-02-06_13.txt
[INFO ] [Factory ] 157 symbols loaded
[DEBUG ] [Cache ] register <kv.lang> with limit=None, timeout=Nones
[DEBUG ] [Cache ] register <kv.image> with limit=None, timeout=60s
[DEBUG ] [Cache ] register <kv.atlas> with limit=None, timeout=Nones
[INFO ] [Image ] Providers: img_imageio, img_tex, img_dds, img_pygame, img_gif (img_pil ignored)
[DEBUG ] [Cache ] register <kv.texture> with limit=1000, timeout=60s
[DEBUG ] [Cache ] register <kv.shader> with limit=1000, timeout=3600s
[INFO ] [Text ] Provider: pygame
[DEBUG ] [Window ] Ignored <egl_rpi> (import error)
[INFO ] [Window ] Provider: pygame(['window_egl_rpi'] ignored)
2014-02-06 21:12:16.544 Python[21195:d0b] ApplePersistence=NO
[DEBUG ] [Window ] Display driver Quartz
[DEBUG ] [Window ] Actual window size: 800x600
[DEBUG ] [Window ] Actual color bits r8 g8 b8 a8
[DEBUG ] [Window ] Actual depth bits: 24
[DEBUG ] [Window ] Actual stencil bits: 8
[DEBUG ] [Window ] Actual multisampling samples: 4
[INFO ] [GL ] OpenGL version <2.1 INTEL-8.18.29>
[INFO ] [GL ] OpenGL vendor <Intel Inc.>
[INFO ] [GL ] OpenGL renderer <Intel HD Graphics 4000 OpenGL Engine>
[INFO ] [GL ] OpenGL parsed version: 2, 1
[INFO ] [GL ] Shading version <1.20>
[INFO ] [GL ] Texture max size <16384>
[INFO ] [GL ] Texture max units <16>
[DEBUG ] [Shader ] Fragment compiled successfully
[DEBUG ] [Shader ] Vertex compiled successfully
[DEBUG ] [ImageImageIO] Load </Applications/Kivy.app/Contents/Resources/kivy/kivy/data/glsl/default.png>
[INFO ] [GL ] BGRA texture support is available
[INFO ] [Window ] virtual keyboard not allowed, single mode, not docked
[DEBUG ] [App ] Loading kv <./test.kv>
[DEBUG ] [App ] kv <./test.kv> not found
[INFO ] [OSC ] using <multiprocessing> for socket
[DEBUG ] [Base ] Create provider from mouse
[INFO ] [Base ] Start application main loop
[INFO ] [GL ] NPOT texture support is available
[DEBUG ] [Atlas ] Load </Applications/Kivy.app/Contents/Resources/kivy/kivy/data/../data/images/defaulttheme.atlas>
[DEBUG ] [Atlas ] Need to load 1 images
[DEBUG ] [Atlas ] Load </Applications/Kivy.app/Contents/Resources/kivy/kivy/data/../data/images/defaulttheme-0.png>
[DEBUG ] [ImageImageIO] Load </Applications/Kivy.app/Contents/Resources/kivy/kivy/data/../data/images/defaulttheme-0.png>
. . .
... and the app is running normally.
# Running the "animate" example from the installation DMG. Running other examples produces the same error.
# MacOS 10.9.1
# MacBook Pro 9,2
# - CPU: 2,5 GHz Intel Core i5
# - RAM: 8GB
# - Video: Intel HD Graphics 4000 1024 MB graphics
# - Secondary screen: Dell 24" 1920x1080
$ kivy animate.py
[INFO ] Kivy v1.8.0
[INFO ] [Logger ] Record log in /Users/boris/.kivy/logs/kivy_14-02-06_12.txt
[INFO ] [Factory ] 157 symbols loaded
[DEBUG ] [Cache ] register <kv.lang> with limit=None, timeout=Nones
[DEBUG ] [Cache ] register <kv.image> with limit=None, timeout=60s
[DEBUG ] [Cache ] register <kv.atlas> with limit=None, timeout=Nones
[INFO ] [Image ] Providers: img_imageio, img_tex, img_dds, img_pygame, img_gif (img_pil ignored)
[DEBUG ] [Cache ] register <kv.texture> with limit=1000, timeout=60s
[DEBUG ] [Cache ] register <kv.shader> with limit=1000, timeout=3600s
[INFO ] [Text ] Provider: pygame
[DEBUG ] [Window ] Ignored <egl_rpi> (import error)
[INFO ] [Window ] Provider: pygame(['window_egl_rpi'] ignored)
2014-02-06 21:06:02.956 Python[20558:d0b] ApplePersistence=NO
Fatal Python error: (pygame parachute) Segmentation Fault
Abort trap: 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment