The reason it crashes is because you have more than 1 stack of research item. By meaning stack i mean that after 99 items, new stack appears.
To get rid of it, go into inventory and destroy all unnecessary ones, so you'll have 1 stack (99 items) of each.
Then, you can use research