Adding a new application to the dock crashes the workspace.
This happens when a new application is being added and the icon does not exist previously in the path ~/Library/Workspace/CachedPixmaps/ (it is a new application, it is normal that the icon does not exist).
Step to reproduce the behavior
Compile or install a new application.
Drag the application to the dock.
Steps to not reproduce the behavior
Compile or install a new application.
Run the application, this will create the application icon in the established path.
Drag the application to the dock and it works as expected.
Adding a new application to the dock crashes the workspace.
This happens when a new application is being added and the icon does not exist previously in the path ~/Library/Workspace/CachedPixmaps/ (it is a new application, it is normal that the icon does not exist).
Step to reproduce the behavior
Steps to not reproduce the behavior