Re: Problem using EuGTK - segmentation fault
- Posted by irv Sep 16, 2017
- 1322 views
I downloaded updater and started 'eui41 wee.exw' and it is working very well. However, on command line it gave following warning:
( wee.exw:1894): Gtk-WARNING **: Allocating size to GtkDrawingArea 0x91b58c0 without calling gtk_widget_get_preferred_width/height(). How does the code know the size to allocate?
It had downloaded new files in its EuGTK subfolder: GtkEngine.e, GtkEnums.e, GtkEvents.e, GtkPrinter.e .
I compiled wee.exw it with euc41. The compilation process went on smoothly so I started './wee'. But it does not run and ended with 'segmentation fault'.
GTK development versions are commonly littered with unimportant warnings. Wee uses no DrawingArea directly, so we know the message was left by a developer, probably as a reminder. These can be ignored.
As far as compiling, I just successfully compiled Wee using euc which comes with the download from the downloads page: http://sourceforge.net/projects/rapideuphoria/files/Euphoria/4.1.0-beta2/euphoria-4.1.0-ARMv6-hardfloat-57179171dbed.tar.gz/download
This is on the Raspberry Pi 3, with Raspian, which is as close to Debian as I can get.
Edit: There is a note about 32-bit eubins being bad. Ticket #933. I suggest you try euc from http://sourceforge.net/projects/rapideuphoria/files/Euphoria/4.1.0-beta2/euphoria-4.1.0-Linux-x86-57179171dbed.tar.gz/download
If that fails, try the euc from http://sourceforge.net/projects/rapideuphoria/files/Euphoria/4.1.0/, or download the source and compile your own, it isn't difficult.