Open tremby opened 8 years ago
That looks like it's crashing trying to set the buddy icon for a buddy. Looks like we need to add a null check to the old checksum of the buddy icon, or switch to using purple_str_equal() instead in line 118. I'm away from a computer for the next few days, but if you want to try making that change yourself and let me know how you get on?
(I tried the purple_str_equal()
you suggested first, btw, but there was an error. Now that I think back, it may have been this same one, so that might have been nicer than making a new variable for old_checksum. But would it be automatically freed after use, if not put in a new variable and then explicitly freed? I never did much C!)
I take that back; with purple_str_equal()
it compiles fine and Pidgin loads fine, but the plugin is not available in the menu. I can't see any error messages.
Name and number edited, the rest is verbatim from gdb. I don't know gdb: let me know if you want me to run anything else. This is reproducible every time I receive a text. So far the chat window has always been open and focussed when the message is received; not sure if anything would change if that were not the case.
I'm on Ubuntu 14.04.2 on x86_64, Pidgin 2.10.11, purple 2.10.11.