Total crash when accessing ‘showtimerrule’ window if one-shot timer exists

I’ve been making extensive use of the cool feature ksoo added here for a while now. It basically allows you to access the create timer/series link screen directly from any EPG entry and it makes for super-quick series linking. I’ve noticed a bug though and it causes Kodi to completely crash. This occurs when you try to access the epg event’s context menu for a programme that already has a one-shot timer set. To reproduce, first assign a key to the showtimerrule window, in my case I’ve mapped it to a long press of the ‘r’ key like so:

Code:
    <tvguide>
        <keyboard>
            <r>Record</r>
            <r mod="longpress">showtimerrule</r>
        </keyboard>
    </tvguide>

once that’s done, simply enter the EPG, find a programme which is part of a series and currently has no timers set on it. Press ‘r’ to create a one-shot timer. Now hold ‘r’ to bring up the showtimerrule windows. In my case, I now get a crash. This is what is left in Event Viewer afterwards:

Code:
Faulting application name: Kodi.exe, version: 17.0.901.0, time stamp: 0x58af1a17
Faulting module name: Kodi.exe, version: 17.0.901.0, time stamp: 0x58af1a17
Exception code: 0xc0000005
Fault offset: 0x0006c181
Faulting process ID: 0x4dc4
Faulting application start time: 0x01d28efab96c8974
Faulting application path: C:\Program Files (x86)\Kodi\Kodi.exe
Faulting module path: C:\Program Files (x86)\Kodi\Kodi.exe
Report ID: a40fdcc4-e800-4b7d-ac08-eb513194bcc1
Faulting package full name:
Faulting package-relative application ID:

I’m using Kodi 17.1RC with the DVBLink addon. The DVBLink backend is running on a Windows Server 2012 R2 box. I tried enabling debig logging but the last line is just CInputManager logging the long press of ‘r’ and then nothing.

edit: found a crash dump.