Crash when updating SMS buddy with non-numeric phone "number"
I'm getting this crash a few seconds after getting all accounts to connect.
2766403:Jan 17 03:42:11 pureos chatty[9933]: Could not compare numbers: Not a phone number
(gdb) bt
#0 0x0000ffffa2130714 in raise () at /lib/aarch64-linux-gnu/libc.so.6
#1 0x0000ffffa31e1540 in g_log_default_handler () at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#2 0x0000ffffa31e1770 in g_logv () at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#3 0x0000ffffa31e1960 in g_log () at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#4 0x0000aaaae7ea2e4c in chatty_folks_individual_has_phonenumber (phone_number=0xaaaaf1be6c60 "nju mobile", individual=<optimized out>) at ../src/chatty-folks.c:445
#5 0x0000aaaae7ea2e4c in chatty_folks_has_individual_with_phonenumber (number=number@entry=0xaaaaf1be6c60 "nju mobile") at ../src/chatty-folks.c:488
#6 0x0000aaaae7e99c4c in chatty_blist_update_buddy (list=<optimized out>, node=0xaaaaf1b71800) at ../src/chatty-buddy-list.c:1835
#7 0x0000aaaae7e99c4c in chatty_blist_update (list=<optimized out>, node=0xaaaaf1b71800) at ../src/chatty-buddy-list.c:1869
#8 0x0000aaaae7e9a63c in cb_buddy_signonoff_timeout (buddy=0xaaaaf1b71800) at ../src/chatty-buddy-list.c:291
#9 0x0000ffffa31db0e4 in () at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#10 0x0000ffffa31da51c in g_main_context_dispatch () at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#11 0x0000ffffa31da8e8 in () at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#12 0x0000ffffa31da984 in g_main_context_iteration () at /lib/aarch64-linux-gnu/libglib-2.0.so.0
#13 0x0000ffffa33feb84 in g_application_run () at /lib/aarch64-linux-gnu/libgio-2.0.so.0
#14 0x0000aaaae7e8b884 in main (argc=2, argv=0xffffd6126318) at ../src/main.c:35
(gdb)
For what it's worth, I have some SMSes from the operator there that contain strings as their senders instead of phone numbers.
Chatty 0.1.6~847.gbp3187e6
Edited by Sebastian Krzyszkowiak