fabiocolacio / Marker

🖊 A gtk3 markdown editor
GNU General Public License v3.0
832 stars 75 forks source link

Double free error when switching css themes #305

Open fabiocolacio opened 4 years ago

fabiocolacio commented 4 years ago

Occasionally the app crashes with a double free error when switching css themes. It seems to happen if you switch themes immediately after exporting a document. Need to investigate more to find the cause.

City-busz commented 4 years ago

It's enough to export multiple times. The crash is caused by one of the free() command in marker_markdown_to_html_with_css_inline()

City-busz commented 4 years ago

So I get crash frequently when exporting with pandoc with error messages like this:

corrupted double-linked list