https://bugs.winehq.org/show_bug.cgi?id=15153
--- Comment #13 from Esme Povirk madewokherd@gmail.com --- The crash is in a dependency project called wxFlatNotebook: https://sourceforge.net/projects/wxflatnotebook/
It crashes in wxFNBDragInfoDataObject::SetData.
According to the headers in codeblocks source, this method accepts a length and buffer pointer. It ignores the length and copies what it assumes is the actual length of the buffer. Apparently, the buffer pointer is NULL.