ACAPI_CreateElement (Image) crashing outside of dev environment
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-06-04
09:45 AM
- last edited on
2022-12-06
01:32 PM
by
Daniel Kassai
2018-06-04
09:45 AM
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 !
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 !
Labels:
- Labels:
-
Add-On (C++)
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-06-04 11:28 AM
2018-06-04
11:28 AM
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
Central Innovation
Central Innovation
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-07-03 04:11 PM
2018-07-03
04:11 PM
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 !
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 !
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2018-07-13 05:19 PM
2018-07-13
05:19 PM
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
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