rdipardo left a comment (geany/geany#4270)

Looks like the tag manager is overflowing the stack trying to parse the 
quasi-HTML syntax (see esp. the `Tagmanager-WARNING ... out of memory` message):

<details>
<summary>geany -v bzip2.v1</summary>
<pre>
<code>
Geany-INFO: 23:12:22.540: Geany 2.1, unknown
Geany-INFO: 23:12:22.542: GTK 3.24.38, GLib 2.74.6
Geany-INFO: 23:12:22.543: OS: BunsenLabs GNU/Linux 12 (Boron) (boron)
Geany-INFO: 23:12:22.543: System data dir: /usr/share/geany
Geany-INFO: 23:12:22.543: User config dir: /home/rob/.config/geany
(geany:11694): GLib-GIO-DEBUG: 23:12:22.560: Using cross-namespace EXTERNAL 
authentication (this will deadlock if server is GDBus < 2.73.3)
(geany:11694): GLib-GIO-DEBUG: 23:12:22.577: _g_io_module_get_default: Found 
default implementation gvfs (GDaemonVfs) for ‘gio-vfs’
Geany-INFO: 23:12:23.367: Loaded GTK+ CSS theme '/usr/share/geany/geany.css'
Geany-INFO: 23:12:23.373: Loaded GTK+ CSS theme 
'/home/rob/.config/geany/geany.css'
Geany-INFO: 23:12:23.398: System plugin path: /usr/lib/x86_64-linux-gnu/geany
Geany-INFO: 23:12:23.448: Added filetype CUDA (73).
Geany-INFO: 23:12:23.448: Added filetype Meson (74).
Geany-INFO: 23:12:23.448: Added filetype Scala (75).
Geany-INFO: 23:12:23.448: Added filetype Genie (76).
Geany-INFO: 23:12:23.448: Added filetype LESS (77).
Geany-INFO: 23:12:23.448: Added filetype JSON (78).
Geany-INFO: 23:12:23.449: Added filetype Groovy (79).
Geany-INFO: 23:12:23.449: Added filetype Arduino (80).
Geany-INFO: 23:12:23.449: Added filetype HCL (81).
Geany-INFO: 23:12:23.449: Added filetype SystemVerilog (82).
Geany-INFO: 23:12:23.449: Added filetype TypeScript (83).
Geany-INFO: 23:12:23.449: Added filetype Swift (84).
Geany-INFO: 23:12:23.449: Added filetype SCSS (85).
Geany-INFO: 23:12:23.449: Added filetype Clojure (87).
Geany-INFO: 23:12:23.450: Added filetype Cython (88).
Geany-INFO: 23:12:23.450: Added filetype Kotlin (89).
Geany-INFO: 23:12:23.450: Added filetype Graphviz (90).
Geany-INFO: 23:12:23.529: Loaded libvte from libvte-2.91.so.0
Geany-INFO: 23:12:23.584: Loaded:   
/usr/lib/x86_64-linux-gnu/geany/filebrowser.so (File Browser)
(geany:11694): GLib-DEBUG: 23:12:23.625: unsetenv() is not thread-safe and 
should not be used after threads are created
Geany-INFO: 23:12:23.840: /home/rob/git/geany/bzip2.v1 : None (UTF-8)
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.087: gdk_pixbuf_from_pixdata() called 
on:
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.087:   Encoding raw
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.087:   Dimensions: 14 x 14
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.087:   Rowstride: 56, Length: 808
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.087:   Copy pixels == false
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.099: gdk_pixbuf_from_pixdata() called 
on:
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.100:   Encoding raw
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.100:   Dimensions: 14 x 14
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.100:   Rowstride: 56, Length: 808
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.100:   Copy pixels == false
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.226: gdk_pixbuf_from_pixdata() called 
on:
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.227:   Encoding raw
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.227:   Dimensions: 14 x 14
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.227:   Rowstride: 56, Length: 808
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.227:   Copy pixels == false
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.295: gdk_pixbuf_from_pixdata() called 
on:
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.295:   Encoding raw
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.295:   Dimensions: 14 x 14
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.295:   Rowstride: 56, Length: 808
(geany:11694): GdkPixbuf-DEBUG: 23:12:27.296:   Copy pixels == false
(geany:11694): GdkPixbuf-DEBUG: 23:12:28.747: gdk_pixbuf_from_pixdata() called 
on:
(geany:11694): GdkPixbuf-DEBUG: 23:12:28.747:   Encoding raw
(geany:11694): GdkPixbuf-DEBUG: 23:12:28.747:   Dimensions: 14 x 14
(geany:11694): GdkPixbuf-DEBUG: 23:12:28.747:   Rowstride: 56, Length: 808
(geany:11694): GdkPixbuf-DEBUG: 23:12:28.747:   Copy pixels == false
(geany:11694): GdkPixbuf-DEBUG: 23:12:28.758: gdk_pixbuf_from_pixdata() called 
on:
(geany:11694): GdkPixbuf-DEBUG: 23:12:28.758:   Encoding raw
(geany:11694): GdkPixbuf-DEBUG: 23:12:28.758:   Dimensions: 14 x 14
(geany:11694): GdkPixbuf-DEBUG: 23:12:28.758:   Rowstride: 56, Length: 808
(geany:11694): GdkPixbuf-DEBUG: 23:12:28.758:   Copy pixels == false
(geany:11694): GdkPixbuf-DEBUG: 23:12:29.878: gdk_pixbuf_from_pixdata() called 
on:
(geany:11694): GdkPixbuf-DEBUG: 23:12:29.878:   Encoding raw
(geany:11694): GdkPixbuf-DEBUG: 23:12:29.878:   Dimensions: 14 x 14
(geany:11694): GdkPixbuf-DEBUG: 23:12:29.878:   Rowstride: 56, Length: 808
(geany:11694): GdkPixbuf-DEBUG: 23:12:29.878:   Copy pixels == false
(geany:11694): GdkPixbuf-DEBUG: 23:12:29.889: gdk_pixbuf_from_pixdata() called 
on:
(geany:11694): GdkPixbuf-DEBUG: 23:12:29.889:   Encoding raw
(geany:11694): GdkPixbuf-DEBUG: 23:12:29.889:   Dimensions: 14 x 14
(geany:11694): GdkPixbuf-DEBUG: 23:12:29.889:   Rowstride: 56, Length: 808
(geany:11694): GdkPixbuf-DEBUG: 23:12:29.889:   Copy pixels == false
Geany-INFO: 23:12:32.560: /home/rob/git/geany/bzip2.v1 : PHP (UTF-8)
Geany-INFO: 23:12:32.631: Loaded /usr/share/geany/tags/std.php.tags (PHP), 9310 
symbol(s).
Geany-INFO: 23:12:32.635: Loaded /usr/share/geany/tags/entities.html.tags 
(HTML), 253 symbol(s).
(geany:11694): Tagmanager-WARNING **: 23:12:32.637: out of memory

(geany:11694): Tagmanager-WARNING **: 23:12:32.637: memory for mio may be 
exhausted
Segmentation fault
</code>
</pre>
</details>

-- 
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/4270#issuecomment-2735248453
You are receiving this because you are subscribed to this thread.

Message ID: <geany/geany/issues/4270/2735248...@github.com>

Reply via email to