Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

AppGameKit Classic Chat / Visual Editor Crash on Mac

Author
Message
RGBZ
7
Years of Service
User Offline
Joined: 19th Apr 2017
Location:
Posted: 28th Apr 2018 19:46
I created a simple Visual Editor project with three sprites and laid them out in the editor and saved the project.
When I come back later to load the project I can't back in and I get the same crash every time. Any ideas ?

Also there is a path in the error that doesn't exist on my machiine: /Users/paulj

Process: Visual Editor [760]
Path: /private/var/folders/*/Visual Editor.app/Contents/MacOS/Visual Editor
Identifier: org.wxwidgets.samples.Visual-Editor
Version: 3.1.0 (3.1.0)
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Visual Editor [760]
User ID: 501

Date/Time: 2018-04-28 14:40:52.251 -0400
OS Version: Mac OS X 10.13.4 (17E202)
Report Version: 12
Anonymous UUID: E1A4CF2F-CAD6-FC36-C025-6996F28A98B2

Sleep/Wake UUID: 09438BC7-872E-4BBD-9F41-9699550FC063

Time Awake Since Boot: 990 seconds
Time Since Wake: 590 seconds

System Integrity Protection: enabled

Notes: Translocated Process

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Application Specific Information:
Assertion failed: (area > 1.19209290e-7F), function ComputeCentroid, file /Users/paulj/Documents/SVN/AGKTrunk/common/Box2D/Collision/Shapes/b2PolygonShape.cpp, line 115.
Orvillian
TGC Developer
8
Years of Service
User Offline
Joined: 8th Feb 2016
Location:
Posted: 30th Apr 2018 09:25
Does this happen with the example projects as well as your own project?

Ignore the path. It's just some extra debug information.

Have you updated to the latest version that was released in April?
RGBZ
7
Years of Service
User Offline
Joined: 19th Apr 2017
Location:
Posted: 30th Apr 2018 11:03
I did update to the latest version and on some of the example projects it crashes and on others it doesn't.
I'll have to get you more info on which ones specifically.
RGBZ
7
Years of Service
User Offline
Joined: 19th Apr 2017
Location:
Posted: 30th Apr 2018 11:49
Another interesting thing. If I reboot my mac I can load my project again. If I close the program, reopen it, and try to load the project again I get the error.
Paul Johnston
TGC Developer
22
Years of Service
User Offline
Joined: 16th Nov 2002
Location: United Kingdom
Posted: 30th Apr 2018 16:26
If it helps, the crash in question is caused by Box2D polygon shapes that have zero area, which could be caused by zero size sprites or sprites with images that have all pixels with alpha less than 128.

Login to post a reply

Server time is: 2024-11-23 21:58:49
Your offset time is: 2024-11-23 21:58:49