crash trying to open chat details for a newly added contact
Running the latest master of chatty and latest purple-lurch plugin I got a segmentation fault trying to open the chat details (wanting to verify encryption is working) on a newly created chat.
Terminal output from sending message:
(12:13:05) jabber: Sending (ssl) (devrtz@dismail.de/626162194670144240340439795): <message type='chat' id='purplebd7022a7' to='XXX@YYY.ZZZ'><active xmlns='http://jabber.org/protocol/chatstates'/><origin-id xmlns='urn:xmpp:sid:0' id='88d90384-dc39-4a8b-b4b2-dd8866e61c0f'/><encrypted xmlns='eu.siacs.conversations.axolotl'><header sid='1974483638'><key rid='106772371'>MwhGEiEFb32ZBbYJv3AILSYn3n915rCvHbjAVGyyljv+MRTsy1YaIQUYxmJzKKtuKFbJh7F2bXi6tjFnpJ2KqEeR+xygL82HPCJiMwohBXatKmiEEZbvxkvXwfnPOx72Th5SX5W39EV45GW5X1B4EAAYACIwZH2DSRaRL8HvS68RZD5Nl1V0SS7sMIhdRih1GpAulwYp/oVjv4k3KifVKBPyLA4UsRPix0+0/F8otvXArQcwAA==</key><key rid='128879475'>MwghEiEF2m0zejpaHoTngiyahwY2to0vAohYFz9wMYke3G6/JWYaIQUYxmJzKKtuKFbJh7F2bXi6tjFnpJ2KqEeR+xygL82HPCJiMwohBcvIdK+owNKfXXxEA/J0XzKVcBoQpKAvXDEr4aS7qXJNEAAYACIwy4jb/JY3n8OvzbpjHSNFjvmShmON5j6ateA/TAdkL6GyMm3rcYyL+NUZStt4LdDELExQopioy/MotvXArQcwAA==</key><key rid='633498861'>MwggEiEFAass02HSezwhWXUWUKYpKdWq101axRf8wDkNqdPbSHYaIQUYxmJzKKtuKFbJh7F2bXi6tjFnpJ2KqEeR+xygL82HPCJiMwohBVRAeNJjaMZruZTtW28CDDzqexwFZPA0az2xOAYrh8ApEAAYACIwOMSEd4nSJC5eotBcNbX0uuwTBnnpkEaRVP5vq3gNnveeUx3zwzEUgsXffxMrIvi//2G590FnlsYotvXArQcwAA==</key><key rid='658738363'>MwhjEiEF2RQ8sGQMnbrjUX3Xe/NE17KXz/0JaoUZzbmNntp8uGoaIQUYxmJzKKtuKFbJh7F2bXi6tjFnpJ2KqEeR+xygL82HPCJiMwohBSE+uEtmvEkphPxtGg4IVEjcL1jWG9jyLnsJKIT5G+xpEAAYACIww0aiJnQWmvrWsinHBS82WV9LHhaIupJ5bAAm/Y0xFZCgZZR0KuiiRJlSmQ8sKzloccoaBRewXjootvXArQcwAA==</key><key rid='677605201'>MwgSEiEFHZtpZcbCBYaO71IMMqQR8aU009hmxsNL0BgMkLrTqzUaIQUYxmJzKKtuKFbJh7F2bXi6tjFnpJ2KqEeR+xygL82HPCJiMwohBe95kI8jni+17blA3nbfFStq3yhoPkgs6Ay3ZLJxd34sEAAYACIw5kkdkHqLw1sNenQB01pRjdirWuEqBN++clEYATnYp9x0ajVACho3uqvtdRPAM+Tetr2uK0yMllAotvXArQcwAA==</key><key rid='815273069'>MwgJEiEFPpqI5aDeTfvlr3dummhOLHmgtpf6nmSlrGGGhDtQoWoaIQUYxmJzKKtuKFbJh7F2bXi6tjFnpJ2KqEeR+xygL82HPCJiMwohBVUKCV9BscqOs8bnOAjhUkN7VjLcZgz1LXcDgbBOfqQREAAYACIwVl1YcwrMhQ7CWXnpSWV2pMm+O3YntQfe1eo2aMq8Z3dm+LAiPT73/S/zLLLhq9fJT6GLSWcz5+ootvXArQcwAA==</key><key rid='1057974115'>MwgZEiEFlpnWkYudkP977zw7CPVNjTn1O+Uc6qA+HBQsR9NPeiUaIQUYxmJzKKtuKFbJh7F2bXi6tjFnpJ2KqEeR+xygL82HPCJiMwohBXanArA5oYvSlAViTeXB4amxiWB6x/ddLckfxgnej34EEAAYACIw1nS79631+OWYG2EygJN537Q+k3HPKBxLZD2LfKmM2MXf/aKai5fnvSG9K2JauSQ51NjojaWgIUsotvXArQcwAA==</key><key rid='1305168231'>MwgkEiEFlR9NI02NMFOAlbgoEn+AphP+ynB7HrH/NIw8xVdDMzsaIQUYxmJzKKtuKFbJh7F2bXi6tjFnpJ2KqEeR+xygL82HPCJiMwohBQ7DcT3R1cBbFYzbNZ25Ss/s9C+rJO7Z9SKDMex9p1opEAAYACIwODhXop9eM7uPRNp8eViNJgebSej0oE3gXI2nvH3CVYkpGgpmpPrV+hQp3Xgz7PgBj/cxeYRInD8otvXArQcwAA==</key><key rid='1607191603'>MwhUEiEF26y4shbMv5CT/FZsHJez3RhzF0eA26yqhCiiDfdqRxcaIQUYxmJzKKtuKFbJh7F2bXi6tjFnpJ2KqEeR+xygL82HPCJiMwohBa6pZQbIIGMZZpcY6cFWDFAOwNfiHlPTWoJ3DanMuPdMEAAYACIwvT2Tbsjkexb/ECEJ/dmhQ6TSZa+S0LDd3AcYrYnGr7qDwT25vMRB7uClv80NdazcKQod87tdTQcotvXArQcwAA==</key><key rid='1868307953'>MwhlEiEFmV3XOPj1fBl/qxwT0ItnzloffX2gWvoR34roIEsmDk8aIQUYxmJzKKtuKFbJh7F2bXi6tjFnpJ2KqEeR+xygL82HPCJiMwohBZ+YUbaQ/0UOfrn5eDj+5+/LqoVw6bhNrnJgxnxeQNUWEAAYACIwwArrDKof26wApeBL3107IHVe6MZLmjP6apKb9q382ZK84ltMX+TQoCpc6fki2Jp5X9u3kWPrYKsotvXArQcwAA==</key><iv>e+hG/uGOysddh41TAcU+7g==</iv></header><payload>K070YIHpNUYrnlU=</payload></encrypted><encryption xmlns='urn:xmpp:eme:0' namespace='eu.siacs.conversations.axolotl' name='OMEMO'/><store xmlns='urn:xmpp:hints'/></message>
Output when trying to click details:
(sm.puri.Chatty:16720): chatty-pp-account-CRITICAL **: 12:13:28.070: chatty_pp_account_get_object: assertion 'account' failed
(sm.puri.Chatty:16720): chatty-item-CRITICAL **: 12:13:28.070: chatty_item_get_protocols: assertion 'CHATTY_IS_ITEM (self)' failed
(12:13:28) lurch-api: Tried to load public key for XXX@YYY.ZZZ:412231370, but no session exists
** (sm.puri.Chatty:16720): CRITICAL **: 12:13:28.071: purple_buddy_get_alias: assertion 'buddy != NULL' failed
(sm.puri.Chatty:16720): GLib-GObject-CRITICAL **: 12:13:28.071: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** (sm.puri.Chatty:16720): CRITICAL **: 12:13:28.071: purple_buddy_get_contact: assertion 'buddy != NULL' failed
** (sm.puri.Chatty:16720): CRITICAL **: 12:13:28.071: purple_buddy_get_alias: assertion 'buddy != NULL' failed
** (sm.puri.Chatty:16720): CRITICAL **: 12:13:28.071: purple_contact_get_alias: assertion 'contact != NULL' failed
(sm.puri.Chatty:16720): GLib-GObject-CRITICAL **: 12:13:28.071: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
** (sm.puri.Chatty:16720): CRITICAL **: 12:13:28.071: purple_buddy_get_presence: assertion 'buddy != NULL' failed
** (sm.puri.Chatty:16720): CRITICAL **: 12:13:28.071: purple_presence_get_active_status: assertion 'presence != NULL' failed
** (sm.puri.Chatty:16720): CRITICAL **: 12:13:28.071: purple_status_get_name: assertion 'status != NULL' failed
** (sm.puri.Chatty:16720): CRITICAL **: 12:13:28.071: purple_blist_node_get_bool: assertion 'node != NULL' failed
(sm.puri.Chatty:16720): GLib-CRITICAL **: 12:13:28.071: g_strsplit: assertion 'string != NULL' failed
Thread 1 "chatty" received signal SIGSEGV, Segmentation fault.
0x0000555555593968 in chatty_utils_jabber_id_strip (name=<optimized out>) at ../src/chatty-utils.c:79
79 ../src/chatty-utils.c: No such file or directory.
gdb backtrace:
(gdb) bt
#0 0x0000555555593968 in chatty_utils_jabber_id_strip (name=<optimized out>) at ../src/chatty-utils.c:79
#1 0x000055555557b969 in chatty_user_info_dialog_update_chat (self=0x555555c742c0)
at ../src/dialogs/chatty-user-info-dialog.c:325
#2 chatty_user_info_dialog_set_chat (self=0x555555c742c0, chat=<optimized out>)
at ../src/dialogs/chatty-user-info-dialog.c:397
#3 0x0000555555574f2c in window_show_chat_info_clicked_cb (self=<optimized out>)
at ../src/dialogs/chatty-user-info-dialog.h:16
#4 0x00007ffff7d83fd2 in g_closure_invoke () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#5 0x00007ffff7d97784 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#6 0x00007ffff7da254f in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#7 0x00007ffff7da2edf in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#8 0x00007ffff75e148e in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#9 0x00007ffff75e14f4 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#10 0x00007ffff7d83fd2 in g_closure_invoke () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#11 0x00007ffff7d978d2 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#12 0x00007ffff7da254f in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#13 0x00007ffff7da2edf in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#14 0x00007ffff75df9d0 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#15 0x00007ffff788647d in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#16 0x00007ffff7d84206 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#17 0x00007ffff7da28d4 in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#18 0x00007ffff7da2edf in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#19 0x00007ffff76a4f34 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#20 0x00007ffff7d87052 in g_cclosure_marshal_VOID__BOXEDv () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#21 0x00007ffff7d84206 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#22 0x00007ffff7da28d4 in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#23 0x00007ffff7da2edf in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#24 0x00007ffff76a2052 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#25 0x00007ffff76a366b in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#26 0x00007ffff76a652e in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#27 0x00007ffff766e87c in gtk_event_controller_handle_event () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#28 0x00007ffff782a49d in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#29 0x00007ffff78801eb in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#30 0x00007ffff7d84206 in () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#31 0x00007ffff7da1c51 in g_signal_emit_valist () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#32 0x00007ffff7da2edf in g_signal_emit () at /lib/x86_64-linux-gnu/libgobject-2.0.so.0
#33 0x00007ffff782bf12 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#34 0x00007ffff76ebc98 in () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#35 0x00007ffff76ede5b in gtk_main_do_event () at /lib/x86_64-linux-gnu/libgtk-3.so.0
#36 0x00007ffff73e9815 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#37 0x00007ffff741ba62 in () at /lib/x86_64-linux-gnu/libgdk-3.so.0
#38 0x00007ffff7c9960d in g_main_context_dispatch () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#39 0x00007ffff7c99890 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#40 0x00007ffff7c9991f in g_main_context_iteration () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#41 0x00007ffff7eab05d in g_application_run () at /lib/x86_64-linux-gnu/libgio-2.0.so.0
#42 0x000055555556af22 in main (argc=2, argv=0x7fffffffde78) at ../src/main.c:38