Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Segfault when .draw() is called on x64 Linux #165

Closed
hunternet93 opened this issue Nov 26, 2013 · 2 comments
Closed

Segfault when .draw() is called on x64 Linux #165

hunternet93 opened this issue Nov 26, 2013 · 2 comments

Comments

@hunternet93
Copy link

I'm running Linux Mint 16 64-bit (similar to latest Ubuntu) and I get a segmentation fault when anything tries to write to the screen, I tested several demos. I have a hybrid Intel/AMD graphics card (Radeon 7690M) using AMD's proprietary FGLRX drivers. I installed Pillow and mesa-utils-extra from apt-get.

Here's a backtrace from the command "python3 Minimal.py"

Starting program: /usr/bin/python3 Minimal.py
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
libEGL warning: failed to create a pipe screen for i965
shader uv_flat, b''
shader uv_flat, b''

Program received signal SIGSEGV, Segmentation fault.
0x00007fffeb51d338 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
(gdb) bt
#0 0x00007fffeb51d338 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#1 0x00007fffeb4e48c9 in ?? () from /usr/lib/x86_64-linux-gnu/dri/i965_dri.so
#2 0x00007fffeda7a37a in ?? () from /usr/lib/x86_64-linux-gnu/libdricore9.2.1.so.1
#3 0x00007fffeda7b31d in ?? () from /usr/lib/x86_64-linux-gnu/libdricore9.2.1.so.1
#4 0x00007fffeda7b843 in ?? () from /usr/lib/x86_64-linux-gnu/libdricore9.2.1.so.1
#5 0x00007ffff6056adc in ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6
#6 0x00007ffff605640c in ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6
#7 0x00007ffff6298422 in _ctypes_callproc () from /usr/lib/python3.3/lib-dynload/_ctypes.cpython-33m-x86_64-linux-gnu.so
#8 0x00007ffff629899d in ?? () from /usr/lib/python3.3/lib-dynload/_ctypes.cpython-33m-x86_64-linux-gnu.so
#9 0x00000000004b42e6 in PyEval_EvalFrameEx ()
#10 0x00000000005a0d01 in PyEval_EvalCodeEx ()
#11 0x00000000004b4402 in PyEval_EvalFrameEx ()
#12 0x00000000005a0d01 in PyEval_EvalCodeEx ()
#13 0x00000000004b4402 in PyEval_EvalFrameEx ()
#14 0x000000000047daa6 in ?? ()
#15 0x00000000004534ea in PyRun_FileExFlags ()
#16 0x00000000004538c7 in PyRun_SimpleFileExFlags ()
#17 0x0000000000455470 in Py_Main ()
#18 0x0000000000474508 in main ()

@hunternet93
Copy link
Author

Solved by switching to the open source Radeon driver, demos run fine now.

@paddywwoof
Copy link
Collaborator

Great, thanks for the info. The libEGL warning presumably related.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants