Confirmed on
08:45:44: Geany INFO : Geany 1.37 (git >= 82590af4), en_AU.UTF-8
08:45:44: Geany INFO : GTK 3.22.30, GLib 2.56.4
ctags crash, see bt with symbols below
```#0 0x00007ffff7b0bc6f in makeTagEntry (tag=tag@entry=0x7fffffffb9f0)
at main/entry.c:1255
#1 0x00007ffff7b27ac7 in makePascalTag (tag=0x7fffffffb9f0)
at parsers/pascal.c:61
#2 0x00007ffff7b27ac7 in findPascalTags () at parsers/pascal.c:272
#3 0x00007ffff7b23fb6 in createTagsForFile (language=<optimised out>,
passCount=1) at main/parse.c:2158
#4 0x00007ffff7b2725e in createTagsWithFallback1 (userData=0x555555a922f0,
passCallback=0x7ffff7afe720 <ctags_pass_start>, language=4) at main/parse.c:2233
#5 0x00007ffff7b2725e in createTagsWithFallback (buffer=<optimised out>,
bufferSize=<optimised out>, fileName=<optimised out>, language=4,
tagCallback=<optimised out>, passCallback=0x7ffff7afe720 <ctags_pass_start>,
userData=0x555555a922f0) at main/parse.c:2320
#6 0x00007ffff7b09c22 in ctagsParse (buffer=buffer@entry=0x5555559f39a0 "type
{coucou}\nL3=string[3];\nL2=string[2];\n", bufferSize=bufferSize@entry=42,
fileName=fileName@entry=0x5555566b4000 "/tmp/test.pas", language=<optimised
out>, tagCallback=tagCallback@entry=0x7ffff7afe8d0 <ctags_new_tag>,
passCallback=passCallback@entry=0x7ffff7afe720 <ctags_pass_start>,
userData=<optimised out>)
at main/ctags-api.c:74
#7 0x00007ffff7aff872 in tm_source_file_parse
(source_file=source_file@entry=0x555555a922f0,
text_buf=text_buf@entry=0x5555559f39a0 "type
{coucou}\nL3=string[3];\nL2=string[2];\n", buf_size=buf_size@entry=42,
use_buffer=use_buffer@entry=1) at tm_source_file.c:829
---Type <return> to continue, or q <return> to quit---
#8 0x00007ffff7b00d26 in update_source_file (source_file=0x555555a922f0,
text_buf=0x5555559f39a0 "type {coucou}\nL3=string[3];\nL2=string[2];\n",
buf_size=42, use_buffer=1, update_workspace=<optimised out>)
at tm_workspace.c:159
#9 0x00007ffff7922273 in document_update_tags (doc=0x5555562b1800) at
document.c:2695
#10 0x00007ffff792255c in document_set_filetype (doc=0x5555562b1800,
type=0x555555de8180) at document.c:2843
#11 0x00007ffff7923f6a in document_open_file_full (doc=0x5555562b1800,
doc@entry=0x0, filename=<optimised out>, pos=pos@entry=0,
readonly=readonly@entry=0, ft=ft@entry=0x0, forced_enc=forced_enc@entry=0x0) at
document.c:1469
#12 0x00007ffff7924124 in document_open_file (locale_filename=<optimised out>,
readonly=readonly@entry=0, ft=ft@entry=0x0, forced_enc=forced_enc@entry=0x0) at
document.c:912
#13 0x00007ffff7924211 in document_open_files
(filenames=filenames@entry=0x55555652e350, readonly=0, ft=ft@entry=0x0,
forced_enc=forced_enc@entry=0x0) at document.c:1563
```
--
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/issues/2358#issuecomment-541963547