majn / telegram-purple

Adds support for Telegram to Pidgin, Adium, Finch and other Libpurple based messengers.
GNU General Public License v2.0
736 stars 81 forks source link

Crash upon login (app launch) #335

Open nemobis opened 7 years ago

nemobis commented 7 years ago

With Pidgin 2.11.0-1.fc25 and purple-telegram-1.3.0-1.fc25.x86_64, I successfully enabled my Telegram account and I see some contacts in the "buddy list", but the application crashes after few instants.

With pidgin -d, I see this happens during the process of fetching and creating the list of contacts:

(10:10:43) g_log: (tgp-blist.c:44):tgp_blist_lookup_purple_name: runtime check failed: (name)
(10:10:43) prpl-telegram: Adding contact '(null)' to buddy list
(10:10:43) g_log: (tgp-blist.c:44):tgp_blist_lookup_purple_name: runtime check failed: (name)
(10:10:43) g_log: purple_buddy_new: assertion 'name != NULL' failed
(10:10:43) g_log: purple_blist_node_set_int: assertion 'node != NULL' failed
(10:10:43) g_log: purple_blist_node_set_int: assertion 'node != NULL' failed
(10:10:43) g_log: purple_blist_add_buddy: assertion 'buddy != NULL' failed
(10:10:43) g_log: purple_blist_node_get_string: assertion 'node != NULL' failed
(10:10:43) g_log: purple_blist_node_get_type: assertion 'node != NULL' failed
(10:10:43) g_log: purple_blist_node_get_type: assertion 'node != NULL' failed

(more: https://gist.github.com/nemobis/6ce9b446d72043ae96a1e0a4640b4b82 )

nemobis commented 7 years ago

A comment by another person was deleted and mentioned a blank chat derived from a secret chat. I confirm I have some secret chats on my phone and at least one contact (which I had redacted from the gist) which might have had a blank display name.

MaksVal commented 7 years ago

May be a similar: #349