Polari crashes becaue of some logs in ~/.purple/logs
Polari crashes with
$ polari
Gjs-Message: JS WARNING: [resource:///org/gnome/Polari/js/mainWindow.js 361]: reference to undefined property selectedRoom.account
(org.gnome.Polari:11535): tp-logger-CRITICAL **: log_store_pidgin_set_basedir: assertion 'self->priv->basedir == NULL' failed
(org.gnome.Polari:11535): tp-logger-CRITICAL **: log_store_pidgin_set_basedir: assertion 'self->priv->basedir == NULL' failed
zsh: segmentation fault (core dumped) polari
Using polari version 3.24.2-1 packaged for ArchLinux
Crash happened when I goined #ffdn in irc.geeknode.net. I have past logs of this channel and I believe those are causing a crash. I suspect weird unicode behaviour. Renaming ~/.purple/logs to ~/.purple/logs-2 fixes the issue. Renaming the folder back to its original place cause a crash again.
I could reproduce the issue with only one log file in there. Attached the archive of ~/.purple/logs
This probably won't work out of the box for any person that want to reproduce the issue because I have my username in the folders somewhere.