Dia crashes with latest updates in slacware-current

Submit to reddit

Having just updated to the latest set of slackware current packages I found that the trusty old Dia would segfault:

1
2
** (dia:26707): CRITICAL **: dia_renderer_set_size: assertion `irenderer != NULL' failed
Segmentation fault

With Ubuntu to the rescue 🙂 according to this report I found the fix to be:

Edit $(HOME)/.dia/persistence and change the value from false to true.

1
2
3
4
5
<p id="yui_3_9_1_1_1369907323211_378">  <dia:boolean role="view_antialised">
<dia:attribute name="booleanvalue">
<dia:boolean val="true"/>
</dia:attribute>
</dia:boolean></p>

Please note that this fix works only if $(HOME)/.dia/persistence already exists. What this does (from the bug report):

i.e. make the antialiased rendering default. And please don’t use the
View/AntiAliased menu item to toggle the renderer later, because that would
trigger the crash again.