test:pas is my file: cat /tmp/test.pas type {coucou} L3=string[3]; L2=string[2];
if open with geany it crash. Remove the space after "type", load it in geany, type a space in geany in the same place, it crash
(I tried before the 1.35 with same bug)
geany -V geany 1.36 (construit le Oct 14 2019 avec GTK 3.24.1, GLib 2.58.3)
gdb geany GNU gdb (Gentoo 8.1 p1) 8.1 Copyright (C) 2018 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: https://bugs.gentoo.org/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from geany...(no debugging symbols found)...done. (gdb) set args /tmp/test.pas (gdb) r Starting program: /usr/bin/geany /tmp/test.pas [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7fffed6f3700 (LWP 15105)] [New Thread 0x7fffecef2700 (LWP 15106)]
Thread 1 "geany" received signal SIGSEGV, Segmentation fault. 0x00007ffff7abfcef in ?? () from /usr/lib64/libgeany.so.0 (gdb) bt #0 0x00007ffff7abfcef in ?? () from /usr/lib64/libgeany.so.0 #1 0x00007ffff7adbe95 in ?? () from /usr/lib64/libgeany.so.0 #2 0x00007ffff7ad822e in ?? () from /usr/lib64/libgeany.so.0 #3 0x00007ffff7adb5a0 in ?? () from /usr/lib64/libgeany.so.0 #4 0x00007ffff7ab3807 in ?? () from /usr/lib64/libgeany.so.0 #5 0x00007ffff7ab4ad6 in ?? () from /usr/lib64/libgeany.so.0 #6 0x00007ffff78e3c73 in ?? () from /usr/lib64/libgeany.so.0 #7 0x00007ffff78e3f9a in document_set_filetype () from /usr/lib64/libgeany.so.0 #8 0x00007ffff78e5a72 in ?? () from /usr/lib64/libgeany.so.0 #9 0x00007ffff7907696 in ?? () from /usr/lib64/libgeany.so.0 #10 0x00007ffff7909b3b in main_lib () from /usr/lib64/libgeany.so.0 #11 0x00007ffff748f6eb in __libc_start_main () from /lib64/libc.so.6 #12 0x000055555555464a in ?? () (gdb) quit