From: Joschka B. <jos...@am...> - 2008-02-29 08:21:17
|
Hi Yuan and all, On Feb 29, 2008, at 4:45 PM, Yuan Xu wrote: > [...] > However, I still can't run the rsgedit, it cashed with error: > -------------------------------------------------------------------- > ... > (spark.rb) creating oxygen/Transform instance at /usr/scene/camera > (eval):83: [BUG] terminated node (0x8446e04) > ruby 1.8.6 (2007-09-24) [i686-linux] > > (Core) caught signal 6 > (Core) dumping 24 stack frames. > [0] /usr/local/lib/rcssserver3d/libzeitgeist_debug.so.3 > (_ZN9zeitgeist4Core11CatchSignalEi+0xc4) > [0xb7993504] > ?? > ??:0 > ... > --------------------------------------------------------------------- > It may be caused by Ruby, I both tried ruby 1.8.5 and 1.8.6, the > problem is the same. I've got the same problem on a Mac with Mac OS X 10.4.11, wxWidgets 2.8.4, and ruby versions 1.8.2 and 1.8.6. With both Ruby versions I get this error (simspark runs fine by the way :-) ). Here is the full output: (ScriptServer) Running /Users/joschka/RoboCup/rcssserver3D/app/ rsgedit/.libs/Contents/Resources//zeitgeist.rb... (ScriptServer) Script not found /Users/joschka/RoboCup/rcssserver3D/ app/rsgedit/.libs/Contents/Resources//zeitgeist.rb (ScriptServer) Running ../../lib/zeitgeist/zeitgeist.rb... (ScriptServer) updating cached script variables (ScriptServer) Script ended OK ../../lib/zeitgeist/zeitgeist.rb (ScriptServer) Running /Users/joschka/RoboCup/rcssserver3D/app/ rsgedit/.libs/Contents/Resources//oxygen.rb... (ScriptServer) Script not found /Users/joschka/RoboCup/rcssserver3D/ app/rsgedit/.libs/Contents/Resources//oxygen.rb (ScriptServer) Running ../../lib/oxygen/oxygen.rb... (ScriptServer) updating cached script variables (ScriptServer) Script ended OK ../../lib/oxygen/oxygen.rb (ScriptServer) Running /Users/joschka/.rcssserver3d/kerosin.rb... (ScriptServer) updating cached script variables (ScriptServer) Script ended OK /Users/joschka/.rcssserver3d/kerosin.rb (ScriptServer) Running /Users/joschka/RoboCup/rcssserver3D/app/ rsgedit/.libs/Contents/Resources//spark.rb... (ScriptServer) Script not found /Users/joschka/RoboCup/rcssserver3D/ app/rsgedit/.libs/Contents/Resources//spark.rb (ScriptServer) Running ../../lib/spark/spark.rb... (spark.rb) setup (spark.rb) creating oxygen/PhysicsServer instance at /sys/server/physics (spark.rb) creating oxygen/SceneServer instance at /sys/server/scene Reading symbols for shared libraries . done Reading symbols for shared libraries . done (spark.rb) creating oxygen/GeometryServer instance at /sys/server/ geometry (GeometryServer) MeshImporter 'oxygen/StdMeshImporter' registered (GeometryServer) MeshImporter 'VoidMeshImporter' registered Reading symbols for shared libraries . done (GeometryServer) MeshImporter 'ObjImporter' registered Reading symbols for shared libraries .. done (SceneServer) SceneImporter 'RubySceneImporter' registered (SceneServer) SceneImporter 'RosImporter' registered (spark.rb) creating kerosin/MaterialServer instance at /sys/server/ material (spark.rb) creating oxygen/MonitorServer instance at /sys/server/monitor Reading symbols for shared libraries . done (spark.rb) creating oxygen/GameControlServer instance at /sys/server/ gamecontrol Reading symbols for shared libraries . done Reading symbols for shared libraries . done (ScriptServer) updating cached script variables (spark.rb) creating oxygen/SimulationServer instance at /sys/server/ simulation Reading symbols for shared libraries . done Reading symbols for shared libraries . done Reading symbols for shared libraries . done (ScriptServer) updating cached script variables (ScriptServer) Script ended OK ../../lib/spark/spark.rb Reading symbols for shared libraries . done Reading symbols for shared libraries . done (spark.rb) sparkResetLogging removing all log targets (spark.rb) sparkSetupServer (spark.rb) creating oxygen/MonitorControl instance at /sys/server/ simulation/MonitorControl (spark.rb) sparkSetupInput (spark.rb) using InputSystem 'InputSystemWX' (spark.rb) creating kerosin/InputServer instance at /sys/server/input (spark.rb) sparkSetupRendering (spark.rb) using OpenGLSystem 'OpenGLSystemWX' (spark.rb) creating kerosin/OpenGLServer instance at /sys/server/opengl (spark.rb) creating kerosin/RenderServer instance at /sys/server/render (spark.rb) creating kerosin/ImageServer instance at /sys/server/image (spark.rb) creating kerosin/TextureServer instance at /sys/server/ texture (spark.rb) creating kerosin/FontServer instance at /sys/server/font (spark.rb) sparkAddFPSCamera at /usr/scene/camera (spark.rb) creating oxygen/Transform instance at /usr/scene/camera (eval):30: [BUG] terminated node (0x1bfd0014) ruby 1.8.6 (2007-03-13) [i686-darwin8.11.1] And here is a backtrace from a run in gdb: (gdb) bt #0 0x9003d66c in kill () #1 0x9010e8cf in raise () #2 0x9010d422 in abort () #3 0x07394744 in rb_bug () #4 0x073975d0 in unknown_node () #5 0x0739d370 in rb_eval () #6 0x073acd40 in eval () #7 0x073ad660 in rb_eval_string () #8 0x0739712b in rb_protect () #9 0x07397157 in rb_eval_string_protect () #10 0x06c02027 in zeitgeist::RbEvalStringWrap (str=@0xbffff3d8, error=@0xbffff39c) at scriptserver/rubywrapper.cpp:32 #11 0x06c02070 in zeitgeist::ScriptServer::Eval (this=0x8949d50, command=@0xbffff3d8) at scriptserver/scriptserver.cpp:293 #12 0x06c04683 in zeitgeist::ScriptServer::Run (this=0x8949d50, file=@0xbffff428) at scriptserver/scriptserver.cpp:277 #13 0x06c04802 in zeitgeist::ScriptServer::Run (this=0x8949d50, fileName=@0xbffff488) at scriptserver/scriptserver.cpp:286 #14 0x0002c5d5 in SimSpark::InitApp (this=0x893e1d0, argc=1, argv=0x8920240) at simspark.cpp:55 #15 0x00f0895b in spark::Spark::Init (this=0x893e1d0, argc=1, argv=0x8920240) at spark.cpp:118 #16 0x00030c9a in RsgEditApp::OnInit (this=0x8923490) at main.cpp:68 #17 0x00073979 in wxAppConsole::CallOnInit (this=0x8923490) at /opt/ local/include/wx-2.8/wx/app.h:76 #18 0x018452de in wxEntry () #19 0x00030a0c in main (argc=1, argv=0xbffff678) at main.cpp:51 Does anybody else have this problem? > And finally, I collected some text from the ChangLog for the NEWS > in 0.5.7. > Please correct it if there is anything wrong or missing. Thanks! > ---------------------------------------------------------------------- > This is the first release after the competition in Atlanta. The > simulator now contains the auto-adjust speed mode(by default),the > server will run slower when needed, and print warning. We also applied > changes what be made in Atlanta, and re-enabled the communication > between robots. Furthermore, we imported some new features from > Simspark Project, including rsgedit, rosimporter, and etc. So, you > should install the wxWidgets[1] firstly. Finally, there is a new robot > model which is built with composite bodies for better performance. The > monitor logger was also bug-fixed and improved. > > * Important fixes: > > mointor logger: > - fixed methods to work properly. > - solve the update problem (reported by team Apollo). > - remove invisible nodes to save bandwidth(thanks to Carlos > Bustamante from Borregos3D). > > * Features: > > - applied Atlanta 2007 server changes: > - 'm' and 'c' for killing agents > - two robot models with different facilities > - using materials with textures > - free kick distance changed to 4.5 > - one half time (8 mins) > - agents can beam in Goal_Left or Goal_Right play modes > - no longer possible to move agents by pressing m > - re-enabled communication, the soccerbot056 has SayEffector and > HearPerceptor > - add AdjustSpeed mode (It is enabled by default). In this mode, the > server will run slower when needed. > - new multi-threaded implementation Is there a new multi-threaded implementation? I must have missed that... what changed? > - rosimporter, model importer for RoSiML[2] modeling language > - rsgedit, a cool simspark simulator with graphic user interface. > - soccerbotcomp, the new robot mode which is built with composite > bodies, it can advance the simulation speed. > - include some useful utilities: tinyxml, wxflatnotebook and > wxscintilla > > For details have a look into the ChangeLog coming with the package. > > [1] www.wxwidgets.org > > [2] Laue, T., Spiess, K., Refer, T.: Simrobot - a general physical > robot simulator and its application in robocup. In: RoboCup 2005: > Robot Soccer World Cup IX. Lecture Notes in ArtiÞcial Intelligence, > Springer (2006) > ---------------------------------------------------------------------- > ---- > This looks very good :-) Thanks a lot for this, Yuan! Cheers, Joschka |