when running dia with env var PYTHONDEVMODE=1, it segfaults between
splash screen and main window:
```
Debug memory block at address p=0x55ca41354dd0: API '!'
0 bytes originally requested
The 7 pad bytes at p-7 are not all FORBIDDENBYTE (0xfd):
at p-7: 0x00 *** OUCH
at p-6: 0x00 *** OUCH
at p-5: 0x00 *** OUCH
at p-4: 0x00 *** OUCH
at p-3: 0x00 *** OUCH
at p-2: 0x00 *** OUCH
at p-1: 0x00 *** OUCH
Because memory is corrupted at the start, the count of bytes requested
may be bogus, and checking the trailing pad bytes may segfault.
The 8 pad bytes at tail=0x55ca41354dd0 are not all FORBIDDENBYTE
(0xfd):
at tail+0: 0x64 *** OUCH
at tail+1: 0x00 *** OUCH
at tail+2: 0x00 *** OUCH
at tail+3: 0x00 *** OUCH
at tail+4: 0x69 *** OUCH
at tail+5: 0x00 *** OUCH
at tail+6: 0x00 *** OUCH
at tail+7: 0x00 *** OUCH
Enable tracemalloc to get the memory block allocation traceback
Fatal Python error: _PyMem_DebugRawFree: bad ID: Allocated using API
'!', verified using API 'r'
Python runtime state: initialized
Current thread 0x00007faee96adac0 (most recent call first):
<no Python frame>
zsh: IOT instruction env PYTHONDEVMODE=1 dia
```