<p></p>
<p>The SEGFAULT is (probably) caused by the uninitialized <code>tagEntryInfo</code> in <code>createPascalTag()</code>.</p>
<p><a href="https://github.com/geany/geany/blob/8f0909685dad46096ecf92152e82d309b0852bfd/ctags/parsers/pascal.c#L54">https://github.com/geany/geany/blob/8f0909685dad46096ecf92152e82d309b0852bfd/ctags/parsers/pascal.c#L54</a></p>
<p>After having a look at <a href="https://github.com/universal-ctags/ctags/blob/86bdb84ce1fc25239c02121343cec897c12b9ffa/parsers/pascal.c#L47">https://github.com/universal-ctags/ctags/blob/86bdb84ce1fc25239c02121343cec897c12b9ffa/parsers/pascal.c#L47</a> I altered the line to</p>
<div class="highlight highlight-source-pascal"><pre>    initTagEntry (tag, NULL, KIND_GHOST_INDEX);</pre></div>
<p>and my Pascal files don't crash Geany anymore.</p>
<p><a target="_blank" rel="noopener noreferrer" href="https://user-images.githubusercontent.com/35614937/94345511-ae6bf500-0026-11eb-868d-bfbe0bf6d874.png"><img src="https://user-images.githubusercontent.com/35614937/94345511-ae6bf500-0026-11eb-868d-bfbe0bf6d874.png" alt="NoPascalCrash" style="max-width:100%;"></a></p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2428#issuecomment-699517933">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJY4IL2AIG6PJ75IYRLSHYJXLANCNFSM4KMPNB6Q">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AAIOWJ27I5JO6TEHT7QYMZDSHYJXLA5CNFSM4KMPNB62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOFGY4X3I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2428#issuecomment-699517933",
"url": "https://github.com/geany/geany/issues/2428#issuecomment-699517933",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>