To produce this error follow these steps:
1) While creating support file close it with 'X' button
2) You get error with code 0x2
3) Try to create support file once again
4) You should get error code 0x23f together with error showing that AvastUI.exe has crashed
However Avast! restarts but It's bug and should be fixed anyway.....