[Github-comments] [geany/geany-plugins] Spell Check plugin crashes Geany if backspace special unicode emoji 👨‍💻 (#1022)

Jonathan Bradley Whited notifications at xxxxx
Fri Nov 6 16:02:24 UTC 2020


I built the latest `geany` and `geany-plugins` from `master`, and with the Spell Check plugin enabled, no crash, so probably something upstream fixed it as suggested. Thanks everyone.

Sidenote: The [wiki](https://wiki.geany.org/howtos/testing_git#plugins) should really include that you need to add `--with-geany-libdir`. It took me a while to finally find it from [here](https://geany.org/manual/dev/hacking.html#building-plugins).

Building plugins:

```
./autogen.sh --prefix="$HOME/Code/clones/geany" --with-geany-libdir="$HOME/Code/clones/geany/prefix/lib" --disable-all --enable-spellcheck
```

Help => Debug Messages

```
23:52:17: Geany INFO		: Using alternate configuration directory
23:52:17: GLib-GIO DEBUG	: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
23:52:17: Geany INFO		: Geany 1.36 (git >= 9c91c287), en_US.UTF-8
23:52:17: Geany INFO		: GTK 3.24.23, GLib 2.64.6
23:52:17: Geany INFO		: System data dir: /home/name/Code/clones/geany/prefix/share/geany
23:52:17: Geany INFO		: User config dir: /home/name/Code/clones/geany/test_geany
23:52:17: Geany INFO		: Loaded GTK+ CSS theme '/home/name/Code/clones/geany/prefix/share/geany/geany.css'
23:52:17: Geany INFO		: Loaded GTK+ CSS theme '/home/name/Code/clones/geany/prefix/share/geany/geany-3.20.css'
23:52:17: Geany INFO		: System plugin path: /home/name/Code/clones/geany/prefix/lib/geany
23:52:17: Geany INFO		: Added filetype Genie (61).
23:52:17: Geany INFO		: Added filetype Kotlin (62).
23:52:17: Geany INFO		: Added filetype Graphviz (63).
23:52:17: Geany INFO		: Added filetype CUDA (64).
23:52:17: Geany INFO		: Added filetype Cython (65).
23:52:17: Geany INFO		: Added filetype Clojure (66).
23:52:17: Geany INFO		: Added filetype Scala (67).
23:52:17: Geany INFO		: Added filetype Swift (68).
23:52:17: Geany INFO		: Added filetype Nim (69).
23:52:17: Geany INFO		: Added filetype JSON (70).
23:52:17: Geany INFO		: Added filetype Arduino (71).
23:52:17: Geany INFO		: Added filetype Groovy (72).
23:52:17: Geany INFO		: Loaded libvte from libvte-2.91.so.0
23:52:17: Geany INFO		: unknown : None (UTF-8)
23:52:20: Geany INFO		: Added 36 plugin(s) in '/home/name/Code/clones/geany/prefix/lib/geany'.
23:52:20: Gtk CRITICAL	: gtk_widget_get_preferred_width_for_height: assertion 'height >= 0' failed
23:52:24: SpellCheck DEBUG	: Initializing Enchant library version 1.6 or older
23:52:24: Geany INFO		: Loaded:   /home/name/Code/clones/geany/prefix/lib/geany/spellcheck.so (Spell Check)
23:52:24: GdkPixbuf DEBUG	: gdk_pixbuf_from_pixdata() called on:
23:52:24: GdkPixbuf DEBUG	: 	Encoding raw
23:52:24: GdkPixbuf DEBUG	: 	Dimensions: 14 x 14
23:52:24: GdkPixbuf DEBUG	: 	Rowstride: 56, Length: 808
23:52:24: GdkPixbuf DEBUG	: 	Copy pixels == false
23:52:24: GdkPixbuf DEBUG	: gdk_pixbuf_from_pixdata() called on:
23:52:24: GdkPixbuf DEBUG	: 	Encoding raw
23:52:24: GdkPixbuf DEBUG	: 	Dimensions: 14 x 14
23:52:24: GdkPixbuf DEBUG	: 	Rowstride: 56, Length: 808
23:52:24: GdkPixbuf DEBUG	: 	Copy pixels == false
23:52:25: Geany INFO		: Unloaded: /home/name/Code/clones/geany/prefix/lib/geany/spellcheck.so
23:52:31: Geany INFO		: /home/name/Documents/bug.txt : None (UTF-8)
23:52:37: Geany INFO		: Added 36 plugin(s) in '/home/name/Code/clones/geany/prefix/lib/geany'.
23:52:37: Gtk CRITICAL	: gtk_widget_get_preferred_width_for_height: assertion 'height >= 0' failed
23:52:41: SpellCheck DEBUG	: Initializing Enchant library version 1.6 or older
23:52:41: Geany INFO		: Loaded:   /home/name/Code/clones/geany/prefix/lib/geany/spellcheck.so (Spell Check)
23:52:41: GdkPixbuf DEBUG	: gdk_pixbuf_from_pixdata() called on:
23:52:41: GdkPixbuf DEBUG	: 	Encoding raw
23:52:41: GdkPixbuf DEBUG	: 	Dimensions: 14 x 14
23:52:41: GdkPixbuf DEBUG	: 	Rowstride: 56, Length: 808
23:52:41: GdkPixbuf DEBUG	: 	Copy pixels == false
23:52:41: GdkPixbuf DEBUG	: gdk_pixbuf_from_pixdata() called on:
23:52:41: GdkPixbuf DEBUG	: 	Encoding raw
23:52:41: GdkPixbuf DEBUG	: 	Dimensions: 14 x 14
23:52:41: GdkPixbuf DEBUG	: 	Rowstride: 56, Length: 808
23:52:41: GdkPixbuf DEBUG	: 	Copy pixels == false
23:52:42: GdkPixbuf DEBUG	: gdk_pixbuf_from_pixdata() called on:
23:52:42: GdkPixbuf DEBUG	: 	Encoding raw
23:52:42: GdkPixbuf DEBUG	: 	Dimensions: 14 x 14
23:52:42: GdkPixbuf DEBUG	: 	Rowstride: 56, Length: 808
23:52:42: GdkPixbuf DEBUG	: 	Copy pixels == false
23:52:51: Geany INFO		: /home/name/Documents/bug.txt : None (UTF-8)
23:54:08: Geany INFO		: /home/name/Documents/bug.txt : None (UTF-8)
```


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany-plugins/issues/1022#issuecomment-723158750
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20201106/4bf2c35d/attachment-0001.htm>


More information about the Github-comments mailing list