Hello,
excuse the pun in the heading, but since the recent changes in the way gzthrow 
works, I'm having problems. First, there are several places in the code where 
the second line of the macro is executed although it shouldn't be. For example, 
in OgreAdaptor.cc, line 196 (rev 4457). The else block is not in parentheses, 
so it counts only for the first line of the gzthrow macro. The second line is 
executed nevertheless.

The second problem is, paired with the first, a bit more serious. The second 
line of the gzthrow macro seems to crash my Gazebo. Backtrace:

#0  0x080dcc22 in GazeboError (this=0x86bf718, file=0x80f2968 
"server/rendering/OgreAdaptor.cc", line=196, [EMAIL PROTECTED])
    at /usr/include/c++/4.1.0/bits/basic_string.h:486
#1  0x08090396 in gazebo::OgreAdaptor::Init (this=0x84d2e68, 
rootNode=0x812c818) at server/rendering/OgreAdaptor.cc:196
#2  0x080e7326 in gazebo::Simulator::Load (this=0x812a940, [EMAIL PROTECTED], 
serverId=0) at server/Simulator.cc:131
#3  0x080cfb3a in main (argc=Cannot access memory at address 0x0
) at server/main.cc:301

This occurs even when the complete macro is executed, for example in World.cc, 
line 105 (rev 4457) when I forget to delete the /tmp/gazebo directory from a 
previous crash. The error message in the console is "Invalid machine 
instruction" (the german -> english translation might be a bit off).

Does anyone have an idea how to fix this?

Regards,
Benjamin Kloster
-- 
Psssst! Schon vom neuen GMX MultiMessenger gehört?
Der kann`s mit allen: http://www.gmx.net/de/go/multimessenger

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to