Assertion violation in gdk_image_new_for_depth
Submitted by Emmanuel Stapf
Assigned to gtk-quartz maintainers
Link to original bug (#757187)
Description
EiffelStudio does not run under GTK for MacOS using quartz. The issue is an assert violation which causes EiffelStudio to crash.
This violation is:
Gdk:ERROR:gdkimage-quartz.c:330:_gdk_image_new_for_depth: assertion failed: (depth == 24 || depth == 32)
And it is not called directly by our code, but indirectly by a call to "gdk_pixbuf_get_from_drawable".
The same code works fine on MacOS or other platforms using the X11 backend.
You can easily reproduce this bug by downloading and installing EiffelStudio from Homebrew in the hombrew/x11 tap (name is confusing since it is not x11 anymore).
To launch EiffelStudio and observe the crash, type "ec -gui" assuming you have /usr/local/bin in your path. To debug, you need to set 2 environment variables:
- ISE_EIFFEL=/usr/local/Cellar/eiffelstudio/15.08/
- ISE_PLATFORM=macosx-x86-64
Let me know how I can help to solve this issue.
Thanks, Manu