Closed mooomooo closed 2 years ago
Thank you for the report. Attachment handling for bitlbee was implemented by fancypantalons in 2020. In 2021, the signald protocol changed, breaking many things. Just a couple of weeks ago, I adapted some parts of the code in the dev branch. They work pretty well, but only for Pidgin. Unfortunately, they have been rather destructive – especially in regard to bitlbee and spectrum – so I do not want to release it as "new version".
I want to take a look at this crash within the next two weeks. Maybe it is an easy fix. If so, the master branch would be updated with a new release. If not, then I need to redesign that part of the attachment handling as well. Maybe @fancypantalons can help again.
I managed to replicate the crash and implement a fix. Apparently, error
is a global variable somewhere. I updated the master and the dev branch. For me, the master branch is almost completely dysfunctional. The dev branch is working way better for me, but I do not know how well it works for bitlbee since I have not re-implemented all the group-related functions, yet.
It used to work, but I didn't update for a long while so I just pulled the latest HEAD and now when I receive an attachment with
external_attachments
set totrue
, bitlbee crashes:The debug logs (not much in there...):
With
external_attachments = false
(everything works fine, no crashes):With
external_attachments = true
(this kills bitlbee):