Developer forum
cancel
Showing results for 
Search instead for 
Did you mean: 

ACAPI_CreateElement (Image) crashing outside of dev environment

Anonymous
Not applicable
Hi !
I've recently been facing a strange problem I haven't been able to resolve: for some reason, any task related to image-printing (such as using ACAPI_CreateElement for an image) ends up working in my development environment, but completely crashing ArchiCAD on a user environment.

I tried statically and dynamically linking the libpng, fiddling with my compilation options, sending both a Debug and Release version to test, but nothing worked : It would always end with ArchiCAD crashing, and an empty error log.

Do you have an idea of what is causing it / the steps I can take to find the root of the problem ?
Thanks !
3 REPLIES 3

Ralph Wessel
Mentor
Have you been able to retrieve a stack trace from the crash? That would at least enable you to determine where the crash occurred (and how it got there).
Ralph Wessel BArch

Anonymous
Not applicable
Hi again, sorry for the long hiatus, but I am currently working on-site until the end of the week, so I'll be able to get the much needed data for debugging this !

I got a .rep bug report and could find some logs in /users/USERNAME/Library/Logs/Graphisoft, but none of the files I found were human readable.

The files are zipped available here : https://ufile.io/7cszh

On a side note, it just recently started having the same problems with a dockable palette. Do you have any best practices on how to troubleshoot problems happening exclusively outside of the development environment ?

Thanks !

Akos Somorjai
Graphisoft
Graphisoft
Hi,

The error log you sent shows a crash in DGModelessClose().
(hint: you can open the .rpt file in any text editor)

If ACAPI_Element_Create just crashes at the user's site, then please try to obtain a bug ID, or the Apple crash logs from the user.

Maybe your Idee2Plan.bundle doesn't clean up its palette correctly (please don't use modeless dialogs, just palettes or modal dialogs).

Best, Akos

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!