When I try to access a particular string using my clipboard hook, it will die if I select the contents of two columns at the same time. The first column gives a valid string fine, but the second column wants to die when I try to access it. Checking for NULL doesnt seem to help. If I just select one column at a time, it works fine. Well, sortof. The copying part by me hasnt been perfected yet because I've been hindered by the crashes.
I've created a test program which compiles for OS4, and hopefully MOS AROS and OS3 too. I've included an OS4 crashlog, and there is detailed information about this potential bug, and also on how to reproduce the bug in a document in the same archive. Source code is included of course.
P.S. The test program isnt perfect, it doesnt clean up properly on exit..