Seg Fault if using control-field and a box in a scene

Sebastian Schleitzer <schleitzer-gM/[email protected]> Sun, 20 Jan 2013 22:00:17 +0100
Newsgroups gmane.comp.python.visualpython.user
Message-ID <CAF1ApVfNJqOHSdqHtf1y_iLBE-GAk_Rna94zLeLKm2oz8nNHUQ@mail.gmail.com>
--===============3128120828134430640==
Content-Type: multipart/alternative; boundary=047d7b677bf4b6ef0404d3bea152

--047d7b677bf4b6ef0404d3bea152
Content-Type: text/plain; charset=ISO-8859-1

 Hello,
I'm new in Vpython. I have designed a 3D modell in vpython to interact with
them. The mathematics, displaying the 3D modell - all fine.

After this I wanted to make a controls-field with buttons and I always get
a segfault. After some hours I have compiled the newest vpython version
5.74 (+modules) and still the same problem.

Thank you for your help,
Best Regards, Sebastian Schleitzer

segfault:
Jan 20 21:35:11 seb-t61 kernel: [436645.683645] python[7636]: segfault at 8
ip 00007fd656ef0afa sp 00007fd65d8a2d50 error 4 in
libdricore9.0.0.so.1.0.0[7fd656d93000+373000]
Ubuntu 12.10

### Code:
from visual import *
from visual.text import *
from visual.controls import *
cmd_feld = controls(title='Controlling the Scene',x=700, y=600, width=400,
height=400, range=50)
but_net = button( pos=(0,0), width=60, height=60,text='N', action=lambda:
pause() )

scene = display(title='Scene Test',x=0, y=0, width=700,
height=600,center=(10,0,0))
sphere()

color_scene = display(title='Controls',x=700, y=0, width=200, height=600)
color_scene.select()
box(pos=(-1,-20,0), length=24, height=5, width=5, color=color.white)

--047d7b677bf4b6ef0404d3bea152
Content-Type: text/html; charset=ISO-8859-1


<div class="moz-text-flowed" style="font-family:-moz-fixed;font-size:12px" lang="x-western">Hello,
<br>I&#39;m new in Vpython. I have designed a 3D modell in vpython to interact 
with them. The mathematics, displaying the 3D modell - all fine.
<br>
<br>After this I wanted to make a controls-field with buttons and I always 
get a segfault. After some hours I have compiled the newest vpython 
version 5.74 (+modules) and still the same problem.
<br>
<br>Thank you for your help,
<br>Best Regards, Sebastian Schleitzer
<br>
<br>segfault:
<br>Jan 20 21:35:11 seb-t61 kernel: [436645.683645] python[7636]: segfault 
at 8 ip 00007fd656ef0afa sp 00007fd65d8a2d50 error 4 in 
libdricore9.0.0.so.1.0.0[7fd656d93000+373000]
<br>Ubuntu 12.10
<br>
<br>### Code:
<br>from visual import *
<br>from visual.text import *
<br>from visual.controls import *
<br>cmd_feld = controls(title=&#39;Controlling the Scene&#39;,x=700, y=600, 
width=400, height=400, range=50)
<br>but_net = button( pos=(0,0), width=60, height=60,text=&#39;N&#39;, 
action=lambda: pause() )
<br>
<br>scene = display(title=&#39;Scene Test&#39;,x=0, y=0, width=700, 
height=600,center=(10,0,0))
<br>sphere()
<br>
<br>color_scene = display(title=&#39;Controls&#39;,x=700, y=0, width=200, height=600)
<br>color_scene.select()
<br>box(pos=(-1,-20,0), length=24, height=5, width=5, color=color.white)
<br>
<br></div>


--047d7b677bf4b6ef0404d3bea152--


--===============3128120828134430640==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_123012
--===============3128120828134430640==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Visualpython-users mailing list
Visualpython-users-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/visualpython-users

--===============3128120828134430640==--