From: Hedayat V. <hed...@ai...> - 2007-06-04 13:16:01
Attachments:
smime.p7s
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> </head> <body dir="ltr" bgcolor="#ffffff" text="#000000"> <p style="margin-bottom: 0cm; margin-top: 0pt;"><small><font size="+1"><small>Hi,<br> </small></font></small>I can't run monitor spark, it crashes. I've sent the full report as a bug in sserver.sf.net. I've tested it on many computers but it crashes in all of them. I think that all of them were Fedora. Personally I use FC5. Also, I configure my server using --enable-debug=no option.</p> <p style="margin-bottom: 0cm; margin-top: 0pt;"><br> </p> <p style="margin-bottom: 0cm; margin-top: 0pt;">Today, I've tried to find the source of the problem. The problem is related to this line in both sparkSetupMonitor & sparkSetupMonitorLogPlayer (in spark.rb):</p> <p style="margin-bottom: 0cm; margin-top: 0pt;">rubySceneImporter.setUnlinkOnCompleteScenes(true);</p> <p style="margin-bottom: 0cm; margin-top: 0pt;"><br> </p> <p style="margin-bottom: 0cm; margin-top: 0pt;">With this line, the monitorspark crashes on this line in soccersim.rb:</p> <p style="margin-bottom: 0cm; margin-top: 0pt;">line 57: scene.importScene('rsg/agent/soccer.rsg')</p> <p style="margin-bottom: 0cm; margin-top: 0pt;"><br> </p> <p style="margin-bottom: 0cm; margin-top: 0pt;">The problem arises in RubySceneImporter::ParseScene:</p> <p style="margin-bottom: 0cm; margin-top: 0pt;">line 195: root->UnlinkChildren();</p> <p style="margin-bottom: 0cm; margin-top: 0pt;"><br> </p> <p style="margin-bottom: 0cm; margin-top: 0pt;">It seems that it causes the dBodyDestroy() function to be called on a previously destroyed body.</p> <p style="margin-bottom: 0cm; margin-top: 0pt;">When I comment the rubySceneImporter.setUnlinkOnCompleteScenes(true); line in spark.rb, the monitorspark doesn't crash anymore.</p> <p style="margin-bottom: 0cm; margin-top: 0pt;"><br> </p> <p style="margin-bottom: 0cm; margin-top: 0pt;">Cheers,</p> <p style="margin-bottom: 0cm; margin-top: 0pt;">Hedayat<br> </p> </body> </html> |
From: Joschka B. <jbo...@un...> - 2007-06-04 15:29:25
|
Hi Hedayat, Hedayat Vatankhah wrote: > > Hi, > I can't run monitor spark, it crashes. I've sent the full report as a > bug in sserver.sf.net. > Thanks for the bug report. > I've tested it on many computers but it crashes in all of them. I > think that all of them were Fedora. Personally I use FC5. Also, I > configure my server using --enable-debug=no option. > > I can't reproduce the crash on my Ubuntu 7.04 laptop (Ruby 1.8.5 (Ubuntu package), ODE 0.8 (compiled from source) and gcc 4.1.2 (Ubuntu package)). With the latest CVS version, everything runs fine for me. I use standard configure options though, I can try to set debug to no tomorrow. > Today, I've tried to find the source of the problem. The problem is > related to this line in both sparkSetupMonitor & > sparkSetupMonitorLogPlayer (in spark.rb): > > rubySceneImporter.setUnlinkOnCompleteScenes(true); > > > With this line, the monitorspark crashes on this line in soccersim.rb: > > line 57: scene.importScene('rsg/agent/soccer.rsg') > > > The problem arises in RubySceneImporter::ParseScene: > > line 195: root->UnlinkChildren(); > > > It seems that it causes the dBodyDestroy() function to be called on a > previously destroyed body. > > When I comment the rubySceneImporter.setUnlinkOnCompleteScenes(true); > line in spark.rb, the monitorspark doesn't crash anymore. > What version of ruby and ODE do you use? Also, what gcc version of gcc do you use? Just to get a better picture... Cheers, Joschka |
From: Hedayat V. <hed...@ai...> - 2007-06-05 07:47:06
Attachments:
smime.p7s
|
Hi Joschka, /*Joschka Boedecker <jbo...@un...>*/ wrote on 06/04/2007 06:59:08 PM: > ... > I can't reproduce the crash on my Ubuntu 7.04 laptop (Ruby 1.8.5 > (Ubuntu package), ODE 0.8 (compiled from source) and gcc 4.1.2 (Ubuntu > package)). With the latest CVS version, everything runs fine for me. I > use standard configure options though, I can try to set debug to no > tomorrow. > ... I'm using the latest CVS version too. I'm using Ruby 1.8.4 (FC5 package) (while the INSTALL file says that it doesn't work, It's worked for me till now!), ODE 0.5 and gcc 4.1.0 (FC5 package). The other systems which I've checked where FC6 with it's standard packages and ODE 0.8 I think (not sure about this, they might use ODE 0.5). Thanks, Bye |