WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Thread Tools Rate Thread Display Modes
Old 08-29-2006, 08:34 PM
pbeeson pbeeson is offline
Join Date: Aug 2006
Posts: 31
Question Vizard bombs out when spawning threads

I wrote some code that spawns a thread to run an xmlrpc server that lets me control Vizard remotely (from a Linux machine running a program written in C++). Everything actually WORKS just fine. But, when I press "Run", the Vizard environment bombs out, but the actual display keeps running fine, I just can't see any debugging output or catch CTRL-C once the Vizard environment errors. Also, when I double click the main file to run outside the Vizard environment, the program works just fine and the black window that catches print commads gives debugging info without crashing.

Attached is an exmaple. If you double click the file, it will run just fine, but if you open it in Vizard then click run, the Vizard environment bombs out.

I hope this forum is a reasonable place to post bugs. I couldn't find anywhere else online.
Attached Files
File Type: zip (375 Bytes, 504 views)
Reply With Quote
Old 08-29-2006, 08:51 PM
farshizzo farshizzo is offline
WorldViz Team Member
Join Date: Mar 2003
Posts: 2,849
Are you using Vizard 2.5? If so, this problem has been most likely solved in Vizard 3.0. We are about to release beta 2 of 3.0 this week. Contact if you would like to sign up for the beta relase.
Reply With Quote
Old 08-30-2006, 07:59 AM
pbeeson pbeeson is offline
Join Date: Aug 2006
Posts: 31
Yes, I was running 2.53g. I'll try the beta 2 of version 3 (though this problem doesn't really affect the overall functionality of Vizard 2.5, it's just a little annoying bug).
Reply With Quote
Old 08-31-2006, 09:06 AM
pbeeson pbeeson is offline
Join Date: Aug 2006
Posts: 31

By forcing myself to viz.director instead of my own threading class, I was able to bypass this problem (plus I don't have to worry about making sure the other thread ends properly).
Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -7. The time now is 11:11 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.
Copyright 2002-2018 WorldViz LLC