WorldViz User Forum  

Go Back   WorldViz User Forum > Vizard

Reply
 
Thread Tools Rate Thread Display Modes
  #1  
Old 08-29-2006, 09:34 PM
pbeeson pbeeson is offline
Member
 
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 test.zip (375 Bytes, 1420 views)
Reply With Quote
  #2  
Old 08-29-2006, 09: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 support@worldviz.com if you would like to sign up for the beta relase.
Reply With Quote
  #3  
Old 08-30-2006, 08:59 AM
pbeeson pbeeson is offline
Member
 
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
  #4  
Old 08-31-2006, 10:06 AM
pbeeson pbeeson is offline
Member
 
Join Date: Aug 2006
Posts: 31
Update:

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
Reply


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 08:12 PM.


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