<p>I can reliably crash Geany 1.33 (and previous versions) by the following commands.</p>
<ol>
<li>"File->Open" (or any other method) to display the open file dialog.</li>
<li>Shift+RightClick on a directory, and select "Copy as Path".</li>
<li>Wait. A crash will occur.</li>
</ol>
<p>Note: the crash occurs sooner if you paste the copied path anywhere, for instance into the open "untitled" window, or where I first encountered the crash: open a cmd window, enter "cd /d " and paste the copied path.</p>
<p>The event viewer displays "Event 1000, Application Error" and  the following info:</p>
<p><code>Faulting application name: geany.exe, version: 1.33.0.0, time stamp: 0x00000000</code><br>
<code>Faulting module name: libgdk-win32-2.0-0.dll, version: 2.24.32.0, time stamp: 0x00000000</code><br>
<code>Exception code: 0xc0000005</code><br>
<code>Fault offset: 0x00026472</code><br>
<code>Faulting process id: 0x18f0</code><br>
<code>Faulting application start time: 0x01d44284f527cbc7</code><br>
<code>Faulting application path: C:\Program Files (x86)\Geany\bin\geany.exe</code><br>
<code>Faulting module path: C:\Program Files (x86)\Geany\bin\libgdk-win32-2.0-0.dll</code><br>
<code>Report Id: 056c8fd0-6756-4c2a-a813-32ce3f030269</code><br>
<code>Faulting package full name:</code><br>
<code>Faulting package-relative application ID:</code></p>
<p>systeminfo displays the following:</p>
<p><code>OS Name: Microsoft Windows 10 Home</code><br>
<code>OS Version: 10.0.17134 N/A Build 17134</code><br>
<code>OS Manufacturer: Microsoft Corporation</code><br>
<code>OS Configuration: Standalone Workstation</code><br>
<code>OS Build Type: Multiprocessor Free</code></p>
<p>My WAG is that this relates to the allocation, permissions, or ownership of the paste buffer.</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/1942">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJxkiUuq8vOEXM69L6ubDMj86lJT4ks5uW4V6gaJpZM4WWf1k">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ2GL24n1d3s9dpFBY8nZCRnQ8cL4ks5uW4V6gaJpZM4WWf1k.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany","title":"geany/geany","subtitle":"GitHub repository","main_image_url":"https://assets-cdn.github.com/images/email/message_cards/header.png","avatar_image_url":"https://assets-cdn.github.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany"}},"updates":{"snippets":[{"icon":"DESCRIPTION","message":"Win10 crash after \"Copy as Path\" from open file dialog (#1942)"}],"action":{"name":"View Issue","url":"https://github.com/geany/geany/issues/1942"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/1942",
"url": "https://github.com/geany/geany/issues/1942",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
},
{
"@type": "MessageCard",
"@context": "http://schema.org/extensions",
"hideOriginalBody": "false",
"originator": "AF6C5A86-E920-430C-9C59-A73278B5EFEB",
"title": "Win10 crash after \"Copy as Path\" from open file dialog (#1942)",
"sections": [
{
"text": "",
"activityTitle": "**Doug Henderson**",
"activityImage": "https://assets-cdn.github.com/images/email/message_cards/avatar.png",
"activitySubtitle": "@djhenderson",
"facts": [
{
"name": "Repository: ",
"value": "geany/geany"
},
{
"name": "Issue #: ",
"value": 1942
}
]
}
],
"potentialAction": [
{
"name": "Add a comment",
"@type": "ActionCard",
"inputs": [
{
"isMultiLine": true,
"@type": "TextInput",
"id": "IssueComment",
"isRequired": false
}
],
"actions": [
{
"name": "Comment",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueComment\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1942,\n\"IssueComment\": \"{{IssueComment.value}}\"\n}"
}
]
},
{
"name": "Close issue",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"IssueClose\",\n\"repositoryFullName\": \"geany/geany\",\n\"issueId\": 1942\n}"
},
{
"targets": [
{
"os": "default",
"uri": "https://github.com/geany/geany/issues/1942"
}
],
"@type": "OpenUri",
"name": "View on GitHub"
},
{
"name": "Unsubscribe",
"@type": "HttpPOST",
"target": "https://api.github.com",
"body": "{\n\"commandName\": \"MuteNotification\",\n\"threadId\": 374996324\n}"
}
],
"themeColor": "26292E"
}
]</script>