Hello,

at the moment I have problems to start the python-occ GUI on a laptop
with Intel graphic card, as I get a segmentation fault. Attached you
will find my small test file and the gdb backtrace.

I'm using ubuntu 10.04 and the paython-occ 0.4 debian package from the
CAE-Team PPA. Any suggestions how to get it working on intel graphic
cards? On nvidia and SiS graphic cards it is working.

Thanks,
Oliver
ubu...@ubuntu:~$ gdb python
GNU gdb (GDB) 7.1-ubuntu
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python...(no debugging symbols found)...done.
(gdb) run test.py
Starting program: /usr/bin/python test.py
[Thread debugging using libthread_db enabled]
resize event for qtBaseViewer
resize event for qtBaseViewer
Display3d class initialization starting ...
Graphic device created.
Xw_Window created.
Viewer created.

Program received signal SIGSEGV, Segmentation fault.
0xb5d175c0 in intel_region_buffer () from /usr/lib/dri/i965_dri.so
(gdb)
#!/usr/bin/env python
# -*- coding: utf-8 -*-

from OCC.Display.SimpleGui import *
from OCC.BRepPrimAPI import *

display, start_display, add_menu, add_function_to_menu = init_display()
_______________________________________________
Pythonocc-users mailing list
Pythonocc-users@gna.org
https://mail.gna.org/listinfo/pythonocc-users

Reply via email to