Algodoo hates this shape (logfile included)

If you have problems installing or running Algodoo, have found a bug or need in-game help - this is it!

Algodoo hates this shape (logfile included)

Postby ShnitzelKiller » Thu Mar 25, 2010 4:23 am

http://www.box.net/shared/d950ud6988

Launch the .phz file, use the shape inside as a chain, and try making a chain. It will crash instantly.

Image
Try copying this shape yourself if you don't want to download the file.

I've been able to replicate the bug with some slight variations to the shape; I changed the length of the base protrusions a little and it still crashed. But it seems Algodoo just hates this particular trapezoid with a base.

Reply if you can confirm. In case you can't reproduce this, here's the part of the logfile for a session ending in such a crash:

Code: Select all
---------------------------------------
  Algodoo v1.7.0, MacOSX
  March 24 2010, 19:24:56
---------------------------------------
19:24:56: argv[0] == "/Applications/Algodoo.app/Contents/MacOS/Algodoo"
19:24:56: Looking for stored registration info...
19:24:56: Loading language English...
19:24:56: Parsing /Users/james/Library/Application Support/Algodoo/autoexec.cfg...
19:24:56: Parsing /Users/james/Library/Application Support/Algodoo/config.cfg...
19:24:56: Creating window...
19:24:57: 99 resources loaded
19:24:57: Window created.
19:24:57: Initializing thread-pool...
19:24:57: Prefetching resources...
19:24:57: Creating GUI...
19:24:57: AppGUI::LoadScene "_ONEXITSAVE.phz", automatic = true
19:24:57: Loading /Users/james/Library/Application Support/Algodoo/scenes/_ONEXITSAVE.phz...
19:24:57: Loaded scene /Users/james/Library/Application Support/Algodoo/scenes/_ONEXITSAVE.phz
19:24:57: Running program...
19:25:06: -- Warning: Exception thrown: Code assertion failed: "linkGeoms[0] && linkGeoms[1]" in function app::HingeEntityPtr app::ChainTemplate::AddLink(app::HingeEntityPtr, math::Vec2, math::Vec2) in "/Users/nils/Work/phun/trunk/xcode/../Source/app/tools/ChainTool.cpp":165 from /Users/nils/Work/phun/trunk/xcode/../Source/util/Assert.cpp:25: void AssertionFailed(const char*, bool, bool, const char*, const char*, long int)
19:25:06: !! ERROR: Exception caught in InputDelegator::FireEvent
19:25:06: -- Warning: Caught exception: Code assertion failed: "linkGeoms[0] && linkGeoms[1]" in function app::HingeEntityPtr app::ChainTemplate::AddLink(app::HingeEntityPtr, math::Vec2, math::Vec2) in "/Users/nils/Work/phun/trunk/xcode/../Source/app/tools/ChainTool.cpp":165, /Users/nils/Work/phun/trunk/xcode/../Source/core/Main.cpp:492: int SDL_main(int, char**)
19:25:06: !! ERROR: Exception caught in main: Code assertion failed: "linkGeoms[0] && linkGeoms[1]" in function app::HingeEntityPtr app::ChainTemplate::AddLink(app::HingeEntityPtr, math::Vec2, math::Vec2) in "/Users/nils/Work/phun/trunk/xcode/../Source/app/tools/ChainTool.cpp":165
Last edited by ShnitzelKiller on Thu Mar 25, 2010 7:37 pm, edited 1 time in total.
Image
User avatar
ShnitzelKiller
 
Posts: 49
Joined: Sun Sep 06, 2009 9:42 pm

Re: Algodoo hates this shape

Postby Chronos » Thu Mar 25, 2010 4:54 am

You know, I'm pretty sure I used a shape like that before with no problems... I'll try this one later, though.
TheWinkits wrote:They both looks of cuking amazing
User avatar
Chronos
[Most Active Member 2010]
 
Posts: 4457
Joined: Mon Aug 31, 2009 6:00 pm
Location: Californania

Re: Algodoo hates this shape

Postby daniels220 » Thu Mar 25, 2010 7:29 pm

Replicated after drawing the shape myself, but only with the chain tool's "Link Distance" set to exactly 1m. The default of 0.2m doesn't cause a crash, .9 doesn't, 1.1 doesn't, 5 doesn't, but 1 does.

EDIT: Whoops, it's not the shape at all, but the distance-of-1m. I tried making a CGear-chain—just like the normal one but with alternate circles colliding with different collision groups. As it happened I made my chain piece exactly 1m wide, and wanted to make a chain the same size. No luck :).

But it doesn't happen with all chains.
Last edited by daniels220 on Thu Mar 25, 2010 7:51 pm, edited 1 time in total.
daniels220
 
Posts: 95
Joined: Mon Aug 31, 2009 11:30 pm

Re: Algodoo hates this shape

Postby ShnitzelKiller » Thu Mar 25, 2010 7:37 pm

daniels220 wrote:Replicated after drawing the shape myself, but only with the chain tool's "Link Distance" set to exactly 1m. The default of 0.2m doesn't cause a crash, .9 doesn't, 1.1 doesn't, 5 doesn't, but 1 does.

That's how remote the bug is, and yet it's the first thing that my audience saw when I demonstrated the chain tool's new fixed size feature... what are the chances?
Image
User avatar
ShnitzelKiller
 
Posts: 49
Joined: Sun Sep 06, 2009 9:42 pm

Re: Algodoo hates this shape

Postby RA2lover » Tue Mar 30, 2010 6:15 pm

ShnitzelKiller wrote:
daniels220 wrote:Replicated after drawing the shape myself, but only with the chain tool's "Link Distance" set to exactly 1m. The default of 0.2m doesn't cause a crash, .9 doesn't, 1.1 doesn't, 5 doesn't, but 1 does.

That's how remote the bug is, and yet it's the first thing that my audience saw when I demonstrated the chain tool's new fixed size feature... what are the chances?

wouldn't you need permission from algoryx for doing so?
Jrv wrote:
TC42 wrote:Quite honestly, I didn't think anyone on 4chan has that good a use of grammar, spelling, usage, mechanics, ect.
But I've never been there, so I may be wrong.


GTFO newfgt
User avatar
RA2lover
 
Posts: 607
Joined: Mon Aug 31, 2009 8:43 pm
Location: Brazil

Re: Algodoo hates this shape (logfile included)

Postby Dakta » Tue Mar 30, 2010 8:05 pm

As long as he's not trying to promote and re-sell licenses without permission, not at all. I think :P
.. ,__,_____
. / __.==--" - - - - - - - - ""
./#(-'
.`-' From http://www.ascii-art.de/. Modded by me to work in Arial. Image
a Mammoth wrote:be boring and interesting.

Mystery wrote:If you were jailbreaker you shouldn't have when't up the 3.1.3
I didn't know you could go up 3.1.3! Thanks Mystery person!
User avatar
Dakta
 
Posts: 417
Joined: Sat Sep 12, 2009 4:36 pm

Re: Algodoo hates this shape

Postby ShnitzelKiller » Sat Apr 03, 2010 1:23 am

RA2lover wrote:
ShnitzelKiller wrote:
daniels220 wrote:Replicated after drawing the shape myself, but only with the chain tool's "Link Distance" set to exactly 1m. The default of 0.2m doesn't cause a crash, .9 doesn't, 1.1 doesn't, 5 doesn't, but 1 does.

That's how remote the bug is, and yet it's the first thing that my audience saw when I demonstrated the chain tool's new fixed size feature... what are the chances?

wouldn't you need permission from algoryx for doing so?

How can showing off the features of a program be illegal? I don't understand what you mean.
Image
User avatar
ShnitzelKiller
 
Posts: 49
Joined: Sun Sep 06, 2009 9:42 pm

Re: Algodoo hates this shape (logfile included)

Postby Mystery » Sat Apr 03, 2010 1:32 am

It can be illegal, quite easily.

To my knowledge, Algodoo doesn't have anything like this.
User avatar
Mystery
 
Posts: 2802
Joined: Thu Sep 03, 2009 1:16 pm
Location: Southern Australia

Re: Algodoo hates this shape (logfile included)

Postby ShnitzelKiller » Sat Apr 03, 2010 1:50 am

Mystery wrote:It can be illegal, quite easily.

To my knowledge, Algodoo doesn't have anything like this.

What the hell are you talking about? It's even in the changelog: "Added slider for chain size (no longer zoom dependent)." That is what I was demonstrating when this bug, which has since been fixed anyway, occurred.
Image
User avatar
ShnitzelKiller
 
Posts: 49
Joined: Sun Sep 06, 2009 9:42 pm

Re: Algodoo hates this shape (logfile included)

Postby Mystery » Sat Apr 03, 2010 10:20 am

I was responding to your question...
How can showing off the features of a program be illegal?
User avatar
Mystery
 
Posts: 2802
Joined: Thu Sep 03, 2009 1:16 pm
Location: Southern Australia

Re: Algodoo hates this shape (logfile included)

Postby ShnitzelKiller » Sat Apr 03, 2010 7:43 pm

Mystery wrote:I was responding to your question...
How can showing off the features of a program be illegal?

There must be some kind of misunderstanding going on here.
Image
User avatar
ShnitzelKiller
 
Posts: 49
Joined: Sun Sep 06, 2009 9:42 pm


Return to Help / Bug reports

Who is online

Users browsing this forum: No registered users and 7 guests