Guess it wasn't just a case of relinking. It was very stable previously, then I had to reboot my machine and it has started crashing again.
(gdb) where #0 0x00002aaaade8a507 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:55 #1 0x00002aaaade8b8da in __GI_abort () at abort.c:89 #2 0x00002aaaad76ab75 in g_assertion_message () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #3 0x00002aaaad76ac0a in g_assertion_message_expr () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #4 0x000000000041290f in applet_get_first_active_vpn_connection ( applet=applet@entry=0x6d2070, out_state=out_state@entry=0x7fffffffddac) at applet.c:1227 #5 0x000000000041861e in applet_update_icon (user_data=<optimized out>) at applet.c:2775 #6 0x00002aaaad744e8a in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #7 0x00002aaaad745230 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #8 0x00002aaaad745552 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0 #9 0x0000000000411eb2 in main (argc=1, argv=0x7fffffffe038) at main.c:84 In frame 4, connection is optimized out but (gdb) p *candidate $5 = { parent = { parent = { g_type_instance = { g_class = 0x6e1a70 }, ref_count = 3, qdata = 0x9c0fd0 } } } I don't know if this is useful. If there's something else that would be helpful, please let me know.