The SEGFAULT is (probably) caused by the uninitialized `tagEntryInfo` in 
`createPascalTag()`. 

https://github.com/geany/geany/blob/8f0909685dad46096ecf92152e82d309b0852bfd/ctags/parsers/pascal.c#L54

After having a look at 
https://github.com/universal-ctags/ctags/blob/86bdb84ce1fc25239c02121343cec897c12b9ffa/parsers/pascal.c#L47
 I altered the line to 

```Pascal
    initTagEntry (tag, NULL, KIND_GHOST_INDEX);
```

and my Pascal files don't crash Geany anymore.

![NoPascalCrash](https://user-images.githubusercontent.com/35614937/94345511-ae6bf500-0026-11eb-868d-bfbe0bf6d874.png)






-- 
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/2428#issuecomment-699517933

Reply via email to