The problem is that when text is copied the clipboard is cleared, but clipboard->set_text is not called to replace it if the selected text is empty. This results in the clipboard being NULL.
in ClipboardManagerImpl::copy
tools_isactive(desktop, TOOLS_TEXT) // is TRUE
_discardInternalClipboard(); // _clipboardSPDoc = NULL
_clipboard->set_text(selected_text); // only called when selected_text != ""
_onGet // assert _clipboardSPDoc != NULL fail
The problem is that when text is copied the clipboard is cleared, but clipboard->set_text is not called to replace it if the selected text is empty. This results in the clipboard being NULL.
in ClipboardManage rImpl:: copy
tools_isactive( desktop, TOOLS_TEXT) // is TRUE lClipboard( ); // _clipboardSPDoc = NULL >set_text( selected_ text); // only called when selected_text != ""
_discardInterna
_clipboard-
_onGet // assert _clipboardSPDoc != NULL fail
Fix attached.