Add Note kill proccess
Crash while trying to add note Steps to reproduce: Right click in a component and select "Add Note".
If this doesn't crash, please close this issue
Details:
While visualizing the diagram, an attempt to add a note about the structure shown on a package failed. However, the process aborts after I apply this note.
Error log
Dump:debug_codevis
[...]
Debug: Layout updates disabled!
Debug: Setting empty flags for "tigerbeetle::TB_TRANSFER_FLAGS"
Debug: lvtldr::IGraphLoader: adding vertex "/usr/lib/clang/15.0.7/include/stddef"
Debug: parent: "non-lakosian group/include"
Debug: expanded: false
Debug: Layout updates disabled!
Debug: Setting empty flags for "/usr/lib/clang/15.0.7/include/stddef"
Debug: "Initialising container state" took 23 ms
Debug: progress bar updated to "Adjusting relation parents"
Debug: "Adjusting relation parents" took 3 ms
Debug: progress bar updated to "Laying out edges and containers"
Debug: "Laying out edges and containers" took 3 ms
Debug: progress bar updated to "Removing uneeded edges."
Debug: Graph load took 45 ms
Debug: "Removing uneeded edges." took 2 ms
Debug: GraphicsView mousePressEvent
Debug: GraphicsView mouseReleaseEvent
Debug: GraphicsView mousePressEvent
Debug: LakosEntity MousePressEvent "include"
Debug: GraphicsView mouseReleaseEvent
Debug: LakosEntity MouseReleaseEvent "include"
Debug: Registering command "Undo move" on the undo stack
Debug: GraphicsView mousePressEvent
Debug: LakosEntity MousePressEvent "include"
Debug: GraphicsView mouseReleaseEvent
Debug: LakosEntity MouseReleaseEvent "include"
Debug: Registering command "Undo move" on the undo stack
Debug: GraphicsView mousePressEvent
Debug: LakosEntity MousePressEvent "tb_transfer_t"
Debug: Registering command "Toggle Expand source_package#1" on the undo stack
Debug: Running graph relayout
Debug: GraphicsView mousePressEvent
Debug: GraphicsView mousePressEvent
Debug: LakosEntity MousePressEvent "non-lakosian group"
Debug: GraphicsView mousePressEvent
Debug: LakosEntity MousePressEvent "non-lakosian group"
Debug: GraphicsView mousePressEvent
Debug: GraphicsView mousePressEvent
Debug: LakosEntity MousePressEvent "non-lakosian group"
Debug: GraphicsView mousePressEvent
Debug: LakosEntity MousePressEvent "non-lakosian group"
terminate called after throwing an instance of 'soci::sqlite3_soci_error'
what(): sqlite3_statement_backend::prepare: near "Noto": syntax error while preparing "insert into cad_notes (version, entity_id, entity_type, notes) values (0, 1, 100, '<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html><head><meta name="qrichtext" content="1" /><style type="text/css">
p, li { white-space: pre-wrap; }
</style></head><body style=" font-family:'Noto Sans'; font-size:10pt; font-weight:400; font-style:normal;">
<p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;">TigerBeetle C Header structure</p></body></html>')".
Aborted (Signal submitted by tkill() 36117 1000)
[1] + 36117 IOT instruction (core dumped) LD_LIBRARY_PATH=/home/kassane/.local/lib codevis
see: https://gitlab.com/CodethinkLabs/codevis/codevis/-/merge_requests/3
Edited by Tarcisio Fischer