EionRobb / skype4pidgin

Skype Plugin for Pidgin, libpurple and more
https://github.com/EionRobb/skype4pidgin/tree/master/skypeweb#skypeweb-plugin-for-pidgin
625 stars 88 forks source link

Crash in skypeweb_got_vdms_token #650

Open bodqhrohro opened 4 years ago

bodqhrohro commented 4 years ago
#0  0x00007ffff6e5705c in __GI___libc_free (mem=0x21) at malloc.c:3102
#1  0x00007fffef99e33c in skypeweb_got_vdms_token (http_conn=<optimized out>, response=<optimized out>, user_data=0x5555578e0f20)
    at skypeweb_messages.c:1215
#2  0x00007fffef9a4cbb in purple_http_connection_terminate (hc=0x555557457d70) at purple2compat/http.c:1703
#3  0x00007fffef9a4fe8 in _purple_http_error (hc=hc@entry=0x555557457d70, format=format@entry=0x7fffef9abf75 "Unable to connect to %s")
    at purple2compat/http.c:714
#4  0x00007fffef9a61f2 in _purple_http_reconnect (hc=hc@entry=0x555557457d70) at purple2compat/http.c:1501
#5  0x00007fffef9a6442 in purple_http_request
    (user_data=0x5555578e0f20, callback=0x7fffef99e2a0 <skypeweb_got_vdms_token>, request=0x555557d3e550, gc=0x0) at purple2compat/http.c:1613
#6  0x00007fffef9a6442 in purple_http_request
    (gc=0x0, request=0x555557d3e550, callback=0x7fffef99e2a0 <skypeweb_got_vdms_token>, user_data=0x5555578e0f20) at purple2compat/http.c:1573
#7  0x00007fffef9a111c in skypeweb_get_vdms_token (sa=sa@entry=0x5555578e0f20) at skypeweb_messages.c:1272
#8  0x00007fffef9a1230 in skypeweb_poll_cb (sa=0x5555578e0f20, node=0x0, user_data=<optimized out>) at skypeweb_messages.c:702
#9  0x00007fffef998451 in skypeweb_post_or_get_cb (http_conn=<optimized out>, response=<optimized out>, user_data=0x555556373e90)
    at skypeweb_connection.c:43
#10 0x00007fffef9a4cbb in purple_http_connection_terminate (hc=0x555557457be0) at purple2compat/http.c:1703
#11 0x00007fffef9a64cf in purple_http_request
    (user_data=0x555556373e90, callback=0x7fffef9983a0 <skypeweb_post_or_get_cb>, request=0x555558126530, gc=0x0) at purple2compat/http.c:1609
#12 0x00007fffef9a64cf in purple_http_request
    (gc=0x0, request=0x555558126530, callback=0x7fffef9983a0 <skypeweb_post_or_get_cb>, user_data=0x555556373e90) at purple2compat/http.c:1573
#13 0x00007fffef9986d0 in skypeweb_post_or_get
    (sa=sa@entry=0x5555578e0f20, method=method@entry=(SKYPEWEB_METHOD_POST | SKYPEWEB_METHOD_SSL), host=0x55555706bd20 "\020\017\216WUU", url=url@entry=0x7fffef9ab410 "/v1/users/ME/endpoints/SELF/subscriptions/0/poll", postdata=postdata@entry=0x0, callback_func=callback_func@entry=0x7fffef9a1130 <skypeweb_poll_cb>, user_data=0x0, keepalive=1) at skypeweb_connection.c:150
#14 0x00007fffef99eb17 in skypeweb_poll (sa=sa@entry=0x5555578e0f20) at skypeweb_messages.c:768
#15 0x00007fffef99eb29 in skypeweb_timeout (userdata=0x5555578e0f20, userdata@entry=<error reading variable: value has been optimized out>)
    at skypeweb_messages.c:684
#16 0x00007ffff728c904 in g_timeout_dispatch (source=0x555558ab4500, callback=<optimized out>, user_data=<optimized out>)
    at ../../../glib/gmain.c:4705
#17 0x00007ffff728bdfe in g_main_dispatch (context=0x555555684800) at ../../../glib/gmain.c:3216
#18 0x00007ffff728bdfe in g_main_context_dispatch (context=context@entry=0x555555684800) at ../../../glib/gmain.c:3881
#19 0x00007ffff728c1b0 in g_main_context_iterate (context=0x555555684800, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../../../glib/gmain.c:3954
#20 0x00007ffff728c483 in g_main_loop_run (loop=0x555557411f70) at ../../../glib/gmain.c:4148
#21 0x00007ffff776212a in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#22 0x0000555555590970 in main (argc=<optimized out>, argv=<optimized out>) at ././pidgin/gtkmain.c:939
EionRobb commented 4 years ago

That's really weird. It looks like it's trying to partially reconnect to the account while the account has been disconnected?

Don't suppose you have any corresponding debug log for this crash? How often does it crash?

bodqhrohro commented 4 years ago

I don't know for sure how this happened. I catched it occasionally while trying to catch backtrace for this issue. Before that, I didn't have any annoying crashes for months. No debug log, sorry.

The steps I made were probably that:

bodqhrohro commented 4 years ago

Another crash:

Thread 1 "pidgin" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffff2d72a80 (LWP 342793)]
purple_http_keepalive_pool_ref (pool=0x2d0) at purple2compat/http.c:2149
2149        pool->ref_count++;
@(gdb) bt
#0  0x00007fffef9a4c65 in purple_http_keepalive_pool_ref (pool=0x2d0) at purple2compat/http.c:2149
#1  0x00007fffef9a517e in purple_http_request_set_keepalive_pool (request=0x555556c963d0, pool=0x2d0) at purple2compat/http.c:2574
#2  0x00007fffef999768 in skypeweb_post_or_get (sa=0x555560037520, 
    sa@entry=<error reading variable: value has been optimized out>, method=method@entry=(SKYPEWEB_METHOD_GET | SKYPEWEB_METHOD_SSL), host=host@entry=0x7fffef9aa5c1 "contacts.skype.com", url=url@entry=0x7fffef9aaaa0 "/contacts/v2/users/SELF/invites", postdata=postdata@entry=0x0, callback_func=callback_func@entry=0x7fffef99ab80 <skypeweb_got_authrequests>, user_data=0x0, keepalive=1) at skypeweb_connection.c:91
#3  0x00007fffef99dbca in skypeweb_check_authrequests (sa=<error reading variable: value has been optimized out>) at skypeweb_contacts.c:1516
#4  0x00007ffff728c904 in g_timeout_dispatch (source=0x55555d53b9d0, callback=<optimized out>, user_data=<optimized out>)
    at ../../../glib/gmain.c:4705
#5  0x00007ffff728bdfe in g_main_dispatch (context=0x555555684800) at ../../../glib/gmain.c:3216
#6  0x00007ffff728bdfe in g_main_context_dispatch (context=context@entry=0x555555684800) at ../../../glib/gmain.c:3881
#7  0x00007ffff728c1b0 in g_main_context_iterate (context=0x555555684800, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../../../glib/gmain.c:3954
#8  0x00007ffff728c483 in g_main_loop_run (loop=0x555555f52080) at ../../../glib/gmain.c:4148
#9  0x00007ffff776212a in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#10 0x0000555555590970 in main (argc=<optimized out>, argv=<optimized out>) at ././pidgin/gtkmain.c:939

I'll do further runs with debug logging to catch some more info.

bodqhrohro commented 4 years ago
(10:50:19) prpl-telegram: tgprpl_chat_join()
(10:50:19) prpl-telegram: attempting to join chat 1473957888 while not ready, queue up for later
(10:51:44) prpl-telegram: loading known ids from buddy list ...
(10:51:44) prpl-telegram: read secret chat file: 0 chats read
(10:51:44) dnsquery: Performing DNS lookup for 149.154.167.50
(10:51:44) autorecon: done calling purple_account_connect
(10:51:44) util: Writing file accounts.xml to directory /home/bodqhrohro/.purple
(10:51:44) util: Writing file /home/bodqhrohro/.purple/accounts.xml
(10:51:44) g_log: skypeweb_post_or_get: assertion 'host != NULL' failed
(10:51:44) GLib: g_source_remove: assertion 'tag > 0' failed
(10:51:45) util: Writing file blist.xml to directory /home/bodqhrohro/.purple
(10:51:45) util: Writing file /home/bodqhrohro/.purple/blist.xml
(10:51:46) g_log: skypeweb_post_or_get: assertion 'host != NULL' failed
(10:51:46) GLib: g_source_remove: assertion 'tag > 0' failed
(10:51:46) http: Performing new request 0x555556368100 to contacts.skype.com.
(10:51:46) http: pool is destroying
(10:51:46) http: Request 0x555556368100 performed without success.
(10:51:46) skypeweb: No data in response

(Pidgin:2711301): Json-CRITICAL **: 10:51:46.402: json_node_get_object: assertion 'JSON_NODE_IS_VALID (node)' failed

Thread 1 "pidgin" received signal SIGSEGV, Segmentation fault.
purple_http_connection_set_add (set=0x0, http_conn=0x555556368100) at purple2compat/http.c:2427
2427        if (set->is_destroying)
@(gdb) bt
#0  0x00007fffef9a4da0 in purple_http_connection_set_add (set=0x0, http_conn=0x555556368100) at purple2compat/http.c:2427
#1  0x00007fffef9996e1 in skypeweb_post_or_get (sa=0x5555571aee00, 
    sa@entry=<error reading variable: value has been optimized out>, method=method@entry=(SKYPEWEB_METHOD_GET | SKYPEWEB_METHOD_SSL), host=host@entry=0x7fffef9aa5c1 "contacts.skype.com", url=url@entry=0x7fffef9aaaa0 "/contacts/v2/users/SELF/invites", postdata=postdata@entry=0x0, callback_func=callback_func@entry=0x7fffef99ab80 <skypeweb_got_authrequests>, user_data=0x0, keepalive=1) at skypeweb_connection.c:151
#2  0x00007fffef99dbca in skypeweb_check_authrequests (sa=<error reading variable: value has been optimized out>) at skypeweb_contacts.c:1516
#3  0x00007ffff728c904 in g_timeout_dispatch (source=0x55555571bed0, callback=<optimized out>, user_data=<optimized out>)
    at ../../../glib/gmain.c:4705
#4  0x00007ffff728bdfe in g_main_dispatch (context=0x555555684800) at ../../../glib/gmain.c:3216
#5  0x00007ffff728bdfe in g_main_context_dispatch (context=context@entry=0x555555684800) at ../../../glib/gmain.c:3881
#6  0x00007ffff728c1b0 in g_main_context_iterate (context=0x555555684800, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../../../glib/gmain.c:3954
#7  0x00007ffff728c483 in g_main_loop_run (loop=0x55555741fcd0) at ../../../glib/gmain.c:4148
#8  0x00007ffff776212a in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#9  0x0000555555590970 in main (argc=<optimized out>, argv=<optimized out>) at ././pidgin/gtkmain.c:939

Similar conditions: resume after sleep.

bodqhrohro commented 4 years ago

A bit different one:

(09:38:10) connection: Destroying connection 0x55555c45c460
(09:38:10) account: Disconnecting account bodqhrohro (0x555555c075d0)
(09:38:10) connection: Disconnecting connection 0x555555c89310
(09:38:10) GLib: Source ID 285843 was not found when attempting to remove it
(09:38:10) http: Performing new request 0x55555d718010 to login.skype.com.
(09:38:10) skypeweb: destroying incomplete connections
(09:38:10) http: Request 0x5555612d6940 performed without success.
(09:38:10) http: Request 0x5555613baa70 performed without success.
(09:38:10) skypeweb: No data in response
(09:38:10) http: Performing new request 0x55555b7421d0 to static.asm.skype.com.
(09:38:10) http: Performing new request 0x5555612d6940 to api.skype.com.
(09:38:10) GLib: Source ID 197653 was not found when attempting to remove it
(09:38:10) http: Performing new request 0x55555b6d3310 to contacts.skype.com.
(09:38:13) gtkutils: gdk_pixbuf_new_from_file() returned nothing for file /usr/share/pixmaps/pidgin/protocols/16/tox.png: Failed to open file “/usr/share/pixmaps/pidgin/protocols/16/tox.png”: Нет такого файла или каталога
(09:38:13) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:13) GdkPixbuf:   Encoding raw
(09:38:13) GdkPixbuf:   Dimensions: 16 x 16
(09:38:13) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:13) GdkPixbuf:   Copy pixels == false
(09:38:13) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:13) GdkPixbuf:   Encoding raw
(09:38:13) GdkPixbuf:   Dimensions: 16 x 16
(09:38:13) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:13) GdkPixbuf:   Copy pixels == false
(09:38:13) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:13) GdkPixbuf:   Encoding raw
(09:38:13) GdkPixbuf:   Dimensions: 16 x 16
(09:38:13) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:13) GdkPixbuf:   Copy pixels == false
(09:38:13) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:13) GdkPixbuf:   Encoding raw
(09:38:13) GdkPixbuf:   Dimensions: 16 x 16
(09:38:13) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:13) GdkPixbuf:   Copy pixels == false
(09:38:13) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:13) GdkPixbuf:   Encoding raw
(09:38:13) GdkPixbuf:   Dimensions: 16 x 16
(09:38:13) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:13) GdkPixbuf:   Copy pixels == false
(09:38:13) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:13) GdkPixbuf:   Encoding raw
(09:38:13) GdkPixbuf:   Dimensions: 16 x 16
(09:38:13) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:13) GdkPixbuf:   Copy pixels == false
(09:38:13) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:13) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:13) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:13) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:13) Gtk: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:13) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:13) Gtk: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:13) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:13) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:13) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:13) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:13) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:13) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:13) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:13) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:13) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:13) Gtk: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:13) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:13) http: Performing new request 0x55555b853960 to contacts.skype.com.
(09:38:13) http: Performing new request 0x555557d075a0 to azwcus1-client-s.gateway.messenger.live.com.
(09:38:13) http: Performing new request 0x55555a8b9530 to azwcus1-client-s.gateway.messenger.live.com.
(09:38:13) http: Performing new request 0x55555b751eb0 to azwcus1-client-s.gateway.messenger.live.com.
(09:38:13) http: Performing new request 0x55556112c000 to api.skype.com.
(09:38:13) http: Request 0x5555612d6a40 performed without success.
(09:38:13) skypeweb: No data in response
(09:38:13) http: Request 0x5555612d6b40 performed without success.
(09:38:13) http: Request 0x55555d718010 performed without success.
(09:38:13) http: Request 0x55556112c000 performed without success.
(09:38:13) http: Request 0x55555b751eb0 performed without success.
(09:38:13) http: Request 0x55555a8b9530 performed without success.
(09:38:13) skypeweb: No data in response
(09:38:13) http: Request 0x555557d075a0 performed without success.
(09:38:13) skypeweb: No data in response
(09:38:13) http: Request 0x55555b853960 performed without success.
(09:38:13) skypeweb: No data in response

(Pidgin:1842761): Json-CRITICAL **: 09:38:13.718: json_node_get_object: assertion 'JSON_NODE_IS_VALID (node)' failed
(09:38:13) http: Request 0x55555b6d3310 performed without success.
(09:38:13) skypeweb: No data in response

(Pidgin:1842761): Json-CRITICAL **: 09:38:13.718: json_node_get_object: assertion 'JSON_NODE_IS_VALID (node)' failed
(09:38:13) http: Request 0x5555612d6940 performed without success.
(09:38:13) skypeweb: No data in response
(09:38:13) http: Request 0x55555b7421d0 performed without success.

(Pidgin:1842761): Json-CRITICAL **: 09:38:13.719: json_node_get_object: assertion 'JSON_NODE_IS_VALID (node)' failed
(09:38:13) http: Request 0x55555972eb60 performed without success.
(09:38:13) g_log: skypeweb_string_get_chunk: assertion 'haystack && start' failed
(09:38:13) connection: Connection error on 0x555555c89310 (reason: 0 description: Failed getting Registration Token)
(09:38:14) gtkutils: gdk_pixbuf_new_from_file() returned nothing for file /usr/share/pixmaps/pidgin/protocols/16/tox.png: Failed to open file “/usr/share/pixmaps/pidgin/protocols/16/tox.png”: Нет такого файла или каталога
(09:38:14) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:14) GdkPixbuf:   Encoding raw
(09:38:14) GdkPixbuf:   Dimensions: 16 x 16
(09:38:14) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:14) GdkPixbuf:   Copy pixels == false
(09:38:14) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:14) GdkPixbuf:   Encoding raw
(09:38:14) GdkPixbuf:   Dimensions: 16 x 16
(09:38:14) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:14) GdkPixbuf:   Copy pixels == false
(09:38:14) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:14) GdkPixbuf:   Encoding raw
(09:38:14) GdkPixbuf:   Dimensions: 16 x 16
(09:38:14) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:14) GdkPixbuf:   Copy pixels == false
(09:38:14) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:14) GdkPixbuf:   Encoding raw
(09:38:14) GdkPixbuf:   Dimensions: 16 x 16
(09:38:14) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:14) GdkPixbuf:   Copy pixels == false
(09:38:14) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:14) GdkPixbuf:   Encoding raw
(09:38:14) GdkPixbuf:   Dimensions: 16 x 16
(09:38:14) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:14) GdkPixbuf:   Copy pixels == false
(09:38:14) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:14) GdkPixbuf:   Encoding raw
(09:38:14) GdkPixbuf:   Dimensions: 16 x 16
(09:38:14) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:14) GdkPixbuf:   Copy pixels == false
(09:38:14) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:14) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:14) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:14) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:14) Gtk: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:14) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:14) Gtk: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:14) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:14) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:14) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:14) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:14) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:14) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:14) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:14) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:14) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:14) Gtk: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:14) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:14) connection: Destroying connection 0x555555c89310
(09:38:14) account: Disconnecting account bodqhrohro@gmail.com (0x555555c23790)
(09:38:14) connection: Disconnecting connection 0x5555588ff3e0
(09:38:14) gtkutils: gdk_pixbuf_new_from_file() returned nothing for file /usr/share/pixmaps/pidgin/protocols/16/tox.png: Failed to open file “/usr/share/pixmaps/pidgin/protocols/16/tox.png”: Нет такого файла или каталога
(09:38:14) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:14) GdkPixbuf:   Encoding raw
(09:38:14) GdkPixbuf:   Dimensions: 16 x 16
(09:38:14) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:14) GdkPixbuf:   Copy pixels == false
(09:38:14) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:14) GdkPixbuf:   Encoding raw
(09:38:14) GdkPixbuf:   Dimensions: 16 x 16
(09:38:14) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:14) GdkPixbuf:   Copy pixels == false
(09:38:14) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:14) GdkPixbuf:   Encoding raw
(09:38:14) GdkPixbuf:   Dimensions: 16 x 16
(09:38:14) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:14) GdkPixbuf:   Copy pixels == false
(09:38:15) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:15) GdkPixbuf:   Encoding raw
(09:38:15) GdkPixbuf:   Dimensions: 16 x 16
(09:38:15) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:15) GdkPixbuf:   Copy pixels == false
(09:38:15) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:15) GdkPixbuf:   Encoding raw
(09:38:15) GdkPixbuf:   Dimensions: 16 x 16
(09:38:15) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:15) GdkPixbuf:   Copy pixels == false
(09:38:15) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:15) GdkPixbuf:   Encoding raw
(09:38:15) GdkPixbuf:   Dimensions: 16 x 16
(09:38:15) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:15) GdkPixbuf:   Copy pixels == false
(09:38:15) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) connection: Destroying connection 0x5555588ff3e0
(09:38:15) account: Disconnecting account 645356340 (0x555555c27f00)
(09:38:15) connection: Disconnecting connection 0x55555cea7f10
(09:38:15) gtkutils: gdk_pixbuf_new_from_file() returned nothing for file /usr/share/pixmaps/pidgin/protocols/16/tox.png: Failed to open file “/usr/share/pixmaps/pidgin/protocols/16/tox.png”: Нет такого файла или каталога
(09:38:15) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:15) GdkPixbuf:   Encoding raw
(09:38:15) GdkPixbuf:   Dimensions: 16 x 16
(09:38:15) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:15) GdkPixbuf:   Copy pixels == false
(09:38:15) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:15) GdkPixbuf:   Encoding raw
(09:38:15) GdkPixbuf:   Dimensions: 16 x 16
(09:38:15) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:15) GdkPixbuf:   Copy pixels == false
(09:38:15) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:15) GdkPixbuf:   Encoding raw
(09:38:15) GdkPixbuf:   Dimensions: 16 x 16
(09:38:15) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:15) GdkPixbuf:   Copy pixels == false
(09:38:15) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:15) GdkPixbuf:   Encoding raw
(09:38:15) GdkPixbuf:   Dimensions: 16 x 16
(09:38:15) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:15) GdkPixbuf:   Copy pixels == false
(09:38:15) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:15) GdkPixbuf:   Encoding raw
(09:38:15) GdkPixbuf:   Dimensions: 16 x 16
(09:38:15) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:15) GdkPixbuf:   Copy pixels == false
(09:38:15) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:15) GdkPixbuf:   Encoding raw
(09:38:15) GdkPixbuf:   Dimensions: 16 x 16
(09:38:15) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:15) GdkPixbuf:   Copy pixels == false
(09:38:15) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) connection: Destroying connection 0x55555cea7f10
(09:38:15) account: Disconnecting account rgzzhvgz@cock.li/РГЗЖВГЗ (0x555555c29990)
(09:38:15) connection: Disconnecting connection 0x5555605cc600
(09:38:15) gtkutils: gdk_pixbuf_new_from_file() returned nothing for file /usr/share/pixmaps/pidgin/protocols/16/tox.png: Failed to open file “/usr/share/pixmaps/pidgin/protocols/16/tox.png”: Нет такого файла или каталога
(09:38:15) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:15) GdkPixbuf:   Encoding raw
(09:38:15) GdkPixbuf:   Dimensions: 16 x 16
(09:38:15) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:15) GdkPixbuf:   Copy pixels == false
(09:38:15) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:15) GdkPixbuf:   Encoding raw
(09:38:15) GdkPixbuf:   Dimensions: 16 x 16
(09:38:15) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:15) GdkPixbuf:   Copy pixels == false
(09:38:15) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:15) GdkPixbuf:   Encoding raw
(09:38:15) GdkPixbuf:   Dimensions: 16 x 16
(09:38:15) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:15) GdkPixbuf:   Copy pixels == false
(09:38:15) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:15) GdkPixbuf:   Encoding raw
(09:38:15) GdkPixbuf:   Dimensions: 16 x 16
(09:38:15) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:15) GdkPixbuf:   Copy pixels == false
(09:38:15) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:15) GdkPixbuf:   Encoding raw
(09:38:15) GdkPixbuf:   Dimensions: 16 x 16
(09:38:15) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:15) GdkPixbuf:   Copy pixels == false
(09:38:15) GdkPixbuf: gdk_pixbuf_from_pixdata() called on:
(09:38:15) GdkPixbuf:   Encoding raw
(09:38:15) GdkPixbuf:   Dimensions: 16 x 16
(09:38:15) GdkPixbuf:   Rowstride: 64, Length: 1048
(09:38:15) GdkPixbuf:   Copy pixels == false
(09:38:15) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:15) Gtk: IA__gtk_widget_hide: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:16) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:16) Gtk: IA__gtk_widget_show: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:16) Gtk: IA__gtk_widget_set_sensitive: assertion 'GTK_IS_WIDGET (widget)' failed
(09:38:16) connection: Destroying connection 0x5555605cc600
(09:38:16) util: Writing file accounts.xml to directory /home/bodqhrohro/.purple
(09:38:16) util: Writing file /home/bodqhrohro/.purple/accounts.xml
(09:38:16) util: Writing file blist.xml to directory /home/bodqhrohro/.purple
(09:38:16) util: Writing file /home/bodqhrohro/.purple/blist.xml

Thread 1 "pidgin" received signal SIGSEGV, Segmentation fault.
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
120 ../sysdeps/x86_64/multiarch/../strlen.S: Нет такого файла или каталога.
@(gdb) dns[1732303]: nobody needs me... =(
dns[1732216]: nobody needs me... =(
bt
#0  0x00007ffff6e6a0e6 in __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
#1  0x00007ffff72ab674 in g_strdup (str=str@entry=0x71646f62273d746e <error: Cannot access memory at address 0x71646f62273d746e>)
    at ../../../glib/gstrfuncs.c:362
#2  0x00007fffef9a3cbf in purple_http_headers_add
    (hdrs=0x555557eaae30, key=0x7fffef9ac301 "RegistrationToken", value=0x71646f62273d746e <error: Cannot access memory at address 0x71646f62273d746e>) at purple2compat/http.c:565
#3  0x00007fffef999895 in skypeweb_post_or_get
    (sa=sa@entry=0x55555a8e8c10, method=method@entry=(SKYPEWEB_METHOD_POST | SKYPEWEB_METHOD_SSL), host=0x5555600d6ad0 "", url=url@entry=0x7fffef9ac410 "/v1/users/ME/endpoints/SELF/subscriptions/0/poll", postdata=postdata@entry=0x0, callback_func=callback_func@entry=0x7fffef9a2130 <skypeweb_poll_cb>, user_data=0x0, keepalive=1) at skypeweb_connection.c:122
#4  0x00007fffef99fb17 in skypeweb_poll (sa=sa@entry=0x55555a8e8c10) at skypeweb_messages.c:768
#5  0x00007fffef99fb29 in skypeweb_timeout (userdata=0x55555a8e8c10, userdata@entry=<error reading variable: value has been optimized out>)
    at skypeweb_messages.c:684
#6  0x00007ffff728c904 in g_timeout_dispatch (source=0x555560cdd200, callback=<optimized out>, user_data=<optimized out>)
    at ../../../glib/gmain.c:4705
#7  0x00007ffff728bdfe in g_main_dispatch (context=0x555555684800) at ../../../glib/gmain.c:3216
#8  0x00007ffff728bdfe in g_main_context_dispatch (context=context@entry=0x555555684800) at ../../../glib/gmain.c:3881
#9  0x00007ffff728c1b0 in g_main_context_iterate (context=0x555555684800, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
@--Type <RET> for more, q to quit, c to continue without paging--
    at ../../../glib/gmain.c:3954
#10 0x00007ffff728c483 in g_main_loop_run (loop=0x5555573e7c40) at ../../../glib/gmain.c:4148
#11 0x00007ffff776212a in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#12 0x0000555555590970 in main (argc=<optimized out>, argv=<optimized out>) at ././pidgin/gtkmain.c:939
bodqhrohro commented 4 years ago

Crawled as much log as reachable, attaching as a file: pidgin_log.txt Still no idea what causes this? Looks like the plugin stubbornly tries to send requests even after the account got disconnected: most of them fail gracefully, but some make crashes.

bodqhrohro commented 3 years ago

And yet a bit different one:

Thread 1 "pidgin" received signal SIGSEGV, Segmentation fault.
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
120 ../sysdeps/x86_64/multiarch/../strlen.S: Нет такого файла или каталога.
@(gdb) dns[2034314]: nobody needs me... =(
dns[2034312]: nobody needs me... =(
dns[2034313]: nobody needs me... =(
dns[2034311]: nobody needs me... =(
cont
^CContinuing.

Thread 1 "pidgin" received signal SIGINT, Interrupt.
sighandler (sig=11) at ././pidgin/gtkmain.c:177
177 ././pidgin/gtkmain.c: Нет такого файла или каталога.
@(gdb) bt
#0  sighandler (sig=11) at ././pidgin/gtkmain.c:177
#1  0x00007ffff6dece30 in <signal handler called> () at /lib/x86_64-linux-gnu/libc.so.6
#2  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
#3  0x00007ffff72937b4 in g_strdup (str=0x80 <error: Cannot access memory at address 0x80>) at ../../../glib/gstrfuncs.c:363
#4  0x00007ffff09b7f6b in purple_http_headers_add () at /usr/lib/purple-2/libskypeweb.so
#5  0x00007ffff09bd240 in purple_http_request_header_set () at /usr/lib/purple-2/libskypeweb.so
#6  0x00007ffff09a81ac in skypeweb_post_or_get () at /usr/lib/purple-2/libskypeweb.so
#7  0x00007ffff09b1e92 in skypeweb_poll () at /usr/lib/purple-2/libskypeweb.so
#8  0x00007ffff09b1ab2 in skypeweb_timeout () at /usr/lib/purple-2/libskypeweb.so
#9  0x00007ffff7274614 in g_timeout_dispatch (source=0x5555593a8cb0, callback=<optimized out>, user_data=<optimized out>)
    at ../../../glib/gmain.c:4849
#10 0x00007ffff7273a8f in g_main_dispatch (context=0x555555684860) at ../../../glib/gmain.c:3325
#11 g_main_context_dispatch (context=0x555555684860) at ../../../glib/gmain.c:4016
#12 0x00007ffff7273e38 in g_main_context_iterate (context=0x555555684860, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../../../glib/gmain.c:4092
#13 0x00007ffff727412b in g_main_loop_run (loop=0x555555af6ac0) at ../../../glib/gmain.c:4290
#14 0x00007ffff775812a in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#15 0x0000555555590970 in main (argc=<optimized out>, argv=<optimized out>) at ././pidgin/gtkmain.c:939
bodqhrohro commented 3 years ago
(11:54:58) prpl-telegram: 318904638: when=1618736080
(11:54:58) prpl-telegram: away
(11:54:58) blist: Updating buddy status for Дмитрий Соколовский (Telegram)
(11:54:58) cap: Executing: insert into cap_status (buddy, account, protocol, status, event_time) values(Дмитрий Соколовский, +38··········, prpl-telegram, away, now());
(11:54:58) prpl-telegram: tgp_channel_load_admins_done()
(11:55:00) Gtk: IA__gtk_window_add_accel_group: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(11:55:00) Gtk: IA__gtk_window_add_accel_group: assertion 'GTK_IS_ACCEL_GROUP (accel_group)' failed
(11:55:00) gtk-tmatz-xmpp_muc_presence_plugin: timeout_callback_update_stock_icon_all

Thread 1 "pidgin" received signal SIGSEGV, Segmentation fault.
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
120 ../sysdeps/x86_64/multiarch/../strlen.S: Нет такого файла или каталога.
@(gdb) bt full
#0  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
#1  0x00007ffff6e1e02e in __vfprintf_internal
    (s=s@entry=0x7fffffffafd0, format=format@entry=0x7ffff09b8079 "%s://%s%s", ap=ap@entry=0x7fffffffb150, mode_flags=mode_flags@entry=2)
    at vfprintf-internal.c:1688
        len = <optimized out>
        string_malloced = 0
        step0_jumps = 
          {0, 5453, 3957, 4261, 4157, 5149, 3701, 3309, 2989, 2877, 5357, 4469, 4365, 397, 3901, 3821, 2861, 2845, 2069, 1757, 4669, 1357, 4061, 1677, 1605, 877, 4893, 5261, 397, 3597}
        space = 0
        is_short = <optimized out>
        use_outdigits = 0
        step1_jumps = 
          {0, 0, 0, 0, 0, 0, 0, 0, 0, 2877, 5357, 4469, 4365, 397, 3901, 3821, 2861, 2845, 2069, 1757, 4669, 1357, 4061, 1677, 1605, 877, 4893, 5261, 397, 0}
        group = 0
        prec = <optimized out>
        step2_jumps = 
          {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 5357, 4469, 4365, 397, 3901, 3821, 2861, 2845, 2069, 1757, 4669, 1357, 4061, 1677, 1605, 877, 4893, 5261, 397@--Type <RET> for more, q to quit, c to continue without paging--
, 0}
        string = 0xbf22483d00000000 <error: Cannot access memory at address 0xbf22483d00000000>
        left = 0
        is_long_double = <optimized out>
        width = 0
        step3a_jumps = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 4565, 0, 0, 0, 3901, 3821, 2861, 2845, 2069, 0, 0, 0, 0, 1677, 0, 0, 0, 0, 0, 0}
        alt = 0
        showsign = 0
        is_long = <optimized out>
        is_char = <optimized out>
        pad = <optimized out>
        step3b_jumps = {0 <repeats 11 times>, 4365, 0, 0, 3901, 3821, 2861, 2845, 2069, 1757, 4669, 1357, 4061, 1677, 1605, 877, 4893, 0, 0, 0}
        step4_jumps = {0 <repeats 14 times>, 3901, 3821, 2861, 2845, 2069, 1757, 4669, 1357, 4061, 1677, 1605, 877, 4893, 0, 0, 0}
        is_negative = <optimized out>
        number = <optimized out>
        base = <optimized out>
        the_arg = 
          {pa_wchar = -8388608 L'\xff800000', pa_int = -8388608, pa_long_int = 72057594029539328, pa_long_long_int = 72057594029539328, pa_u_int = 4286578688, pa_u_long_int = 72057594029539328, pa_u_long_long_int = 72057594029539328, pa_double = 7.291122012766011e-304, pa_long_double = <invalid floa@--Type <RET> for more, q to quit, c to continue without paging--
t value>, pa_float128 = 2.0039695164548937091782043743407042e-4939, pa_string = 0xffffffff800000 <error: Cannot access memory at address 0xffffffff800000>, pa_wstring = 0xffffffff800000 <error: Cannot access memory at address 0xffffffff800000>, pa_pointer = 0xffffffff800000, pa_user = 0xffffffff800000}
        spec = 115 's'
        _buffer = {__routine = 0x30100000000, __arg = 0x2c, __canceltype = 0, __prev = 0x60000002c}
        _avail = <optimized out>
        thousands_sep = 0x0
        grouping = 0xffffffffffffffff <error: Cannot access memory at address 0xffffffffffffffff>
        done = <optimized out>
        f = 0x7ffff09b807f "s%s"
        lead_str_end = 0x7ffff09b8079 "%s://%s%s"
        end_of_spec = <optimized out>
        work_buffer = "\030\000\000\000\217\003\000\000\000\000\000\000\000\000\000\000\260\253\377\377\377\177\000\000\260\253\377\377\377\177\000\000\000\000\000\000\001\000\000\000\003", '\000' <repeats 13 times>, "\360?\000\220_\034\342\bq\305\001\000\000\000\000\000\000\000\320q]UUU\000\000@\226nUUU\000\000\200\255\377\377\377\177\000\000\340\255\377\377\377\177\000\000`\305\064VUU\000\000@\226nUUU\000\000\213\252u\367\377\177\000\000\000\000\000\000\000\000\000\000\200\255\377\377\377\177\000\000\002", '\000' <repeats 15 times>, "\200\255\377\377\377\177\000\000\222P6\367\377\177\000\000\300\066\066\367\377\177\000\000\210\001\000\000\000\000\000\000\002\000\000\000\377\177\000\000"...
        workstart = <optimized out>
        workend = <optimized out>
@--Type <RET> for more, q to quit, c to continue without paging--
        ap_save = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7fffffffb230, reg_save_area = 0x7fffffffb170}}
        nspecs_done = 1
        save_errno = 11
        readonly_format = 0
        __PRETTY_FUNCTION__ = "__vfprintf_internal"
#2  0x00007ffff6e2f6f1 in __vasprintf_internal (result_ptr=result_ptr@entry=0x7fffffffb130, format=0x7ffff09b8079 "%s://%s%s", 
    format@entry=0x7fffffffb130 "", args=0x7fffffffb150, mode_flags=mode_flags@entry=2) at vasprintf.c:57
        string = 0x555559b148e0 "https://"
        sf = 
            {_sbf = {_f = {_flags = -72515584, _IO_read_ptr = 0x555559b148e0 "https://", _IO_read_end = 0x555559b148e0 "https://", _IO_read_base = 0x555559b148e0 "https://", _IO_write_base = 0x555559b148e0 "https://", _IO_write_ptr = 0x555559b148e8 "", _IO_write_end = 0x555559b14944 "", _IO_buf_base = 0x555559b148e0 "https://", _IO_buf_end = 0x555559b14944 "", _IO_save_base = 0x0, _IO_backup_base = 0x0, _IO_save_end = 0x0, _markers = 0x0, _chain = 0x0, _fileno = 768, _flags2 = 128, _old_offset = 140737488335264, _cur_column = 0, _vtable_offset = 110 'n', _shortbuf = "U", _lock = 0x0, _offset = 0, _codecvt = 0x1, _wide_data = 0xffffffffffffffff, _freeres_list = 0x0, _freeres_buf = 0x55555634c2d0, __pad5 = 93824996825408, _mode = -1, _unused2 = "\377\177\000\000\001\000\000\000\000\000\000\000!\000\000\000\000\000\000"}, vtable = 0x7ffff6f72560 <_IO_str_jumps>}, _s = {_allocate_buffer_unused = 0x7ffff6e3c1b0 <__GI___libc_malloc>, _free_buffer_unused = 0x7ffff6e3c7e0 <__GI___libc_free>}}
        ret = <optimized out>
        needed = <optimized out>
        allocated = <optimized out>
@--Type <RET> for more, q to quit, c to continue without paging--
#3  0x00007ffff6ebf398 in __vasprintf_chk
    (result_ptr=result_ptr@entry=0x7fffffffb130, flag=flag@entry=1, format=format@entry=0x7fffffffb130 "", ap=<optimized out>) at vasprintf_chk.c:36
        mode = 2
#4  0x00007ffff72c136f in vasprintf (__ap=<optimized out>, __fmt=0x7fffffffb130 "", __ptr=0x7fffffffb130)
    at /usr/include/x86_64-linux-gnu/bits/stdio2.h:213
        len = <optimized out>
        __func__ = "g_vasprintf"
#5  g_vasprintf (string=string@entry=0x7fffffffb130, format=<optimized out>, args=args@entry=0x7fffffffb150) at ../../../glib/gprintf.c:337
        len = <optimized out>
        __func__ = "g_vasprintf"
#6  0x00007ffff729493d in g_strdup_vprintf (format=<optimized out>, args=args@entry=0x7fffffffb150) at ../../../glib/gstrfuncs.c:519
        string = 0x0
#7  0x00007ffff72949f9 in g_strdup_printf (format=<optimized out>) at ../../../glib/gstrfuncs.c:549
        buffer = <optimized out>
        args = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fffffffb230, reg_save_area = 0x7fffffffb170}}
#8  0x00007ffff099fedd in skypeweb_post_or_get () at /usr/lib/purple-2/libskypeweb.so
#9  0x00007ffff09a9e92 in skypeweb_poll () at /usr/lib/purple-2/libskypeweb.so
#10 0x00007ffff09a9ab2 in skypeweb_timeout () at /usr/lib/purple-2/libskypeweb.so
#11 0x00007ffff7275614 in g_timeout_dispatch (source=0x555557bd7990, callback=<optimized out>, user_data=<optimized out>)
@--Type <RET> for more, q to quit, c to continue without paging--
    at ../../../glib/gmain.c:4849
        timeout_source = 0x555557bd7990
        again = <optimized out>
#12 0x00007ffff7274a8f in g_main_dispatch (context=0x555555689860) at ../../../glib/gmain.c:3325
        dispatch = 0x7ffff7275600 <g_timeout_dispatch>
        prev_source = 0x555557b4a3f0
        begin_time_nsec = 0
        was_in_call = 0
        user_data = 0x555558701ca0
        callback = 0x7ffff09a9a92 <skypeweb_timeout>
        cb_funcs = <optimized out>
        cb_data = 0x555557b3fb20
        need_destroy = <optimized out>
        source = 0x555557bd7990
        current = 0x555555f09730
        i = 1
        __func__ = "g_main_dispatch"
#13 g_main_context_dispatch (context=0x555555689860) at ../../../glib/gmain.c:4016
#14 0x00007ffff7274e38 in g_main_context_iterate
@--Type <RET> for more, q to quit, c to continue without paging--
    (context=context@entry=0x555555689860, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4092
        max_priority = 0
        timeout = 0
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = <optimized out>
        fds = 0x555558ea2880
#15 0x00007ffff7274eef in g_main_context_iteration (context=0x555555689860, may_block=1) at ../../../glib/gmain.c:4157
        retval = <optimized out>
#16 0x00007ffff7758361 in gtk_main_iteration () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#17 0x00007ffff179b655 in conversation_created_cb (conv=<optimized out>) at plugin.c:91
        gtkconv = 0x55555773d220
        gtkblist = 0x555555bf2800
        gtkconvwin = 0x555555cd4400
#18 0x00007ffff7174e9c in purple_signal_emit_vargs
    (instance=<optimized out>, signal=signal@entry=0x7ffff71c73b6 "conversation-created", args=args@entry=0x7fffffffb4a0)
    at ././libpurple/signals.c:482
        instance_data = <optimized out>
        signal_data = 0x5555559b6560
@--Type <RET> for more, q to quit, c to continue without paging--
        handler_data = <optimized out>
        l = <optimized out>
        l_next = 0x555555edeaa0 = {0x555555f09780, 0x5555563f1030, 0x555555b66bf0, 0x555555c142c0}
        tmp = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fffffffb580, reg_save_area = 0x7fffffffb4c0}}
        __func__ = "purple_signal_emit_vargs"
#19 0x00007ffff717502e in purple_signal_emit (instance=<optimized out>, signal=signal@entry=0x7ffff71c73b6 "conversation-created")
    at ././libpurple/signals.c:434
        args = {{gp_offset = 16, fp_offset = 48, overflow_arg_area = 0x7fffffffb580, reg_save_area = 0x7fffffffb4c0}}
        __func__ = "purple_signal_emit"
#20 0x00007ffff713f25c in purple_conversation_new
    (type=type@entry=PURPLE_CONV_TYPE_CHAT, account=account@entry=0x555555864aa0, name=name@entry=0x555556850f70 "Tdlib-Purple Discussion")
    at ././libpurple/conversation.c:452
        conv = 0x555559645450
        gc = 0x555557b2dcd0
        ops = <optimized out>
        hc = 0x555559638ff0
        __func__ = "purple_conversation_new"
#21 0x00007ffff7173f9c in serv_got_joined_chat (gc=0x555557b2dcd0, id=id@entry=1355357904, name=name@entry=0x555556850f70 "Tdlib-Purple Discussion")
    at ././libpurple/server.c:856
@--Type <RET> for more, q to quit, c to continue without paging--
        conv = <optimized out>
        chat = <optimized out>
        account = 0x555555864aa0
        __func__ = "serv_got_joined_chat"
#22 0x00007fffe87f4809 in tgp_chat_show (TLS=TLS@entry=0x555556c54000, P=P@entry=0x555558032440) at ./tgl/tgl.h:323
        chat = <optimized out>
        conv = <optimized out>
        name = <optimized out>
        __func__ = "tgp_chat_show"
#23 0x00007fffe87f2bd5 in tgp_chat_got_in
    (TLS=TLS@entry=0x555556c54000, chat=0x555558032440, from=..., message=message@entry=0x555558f6b3b0 "Group добавил пользователя andres cienfuegos по ссылке.", flags=6, when=1618710446) at tgp-2prpl.c:86
        __func__ = "tgp_chat_got_in"
#24 0x00007fffe87f7368 in tgp_msg_display (C=0x555558cf08d0, TLS=0x555556c54000) at tgp-msg.c:839
        P = <optimized out>
        M = 0x555558701ca0
        text = 0x555558f6b3b0 "Group добавил пользователя andres cienfuegos по ссылке."
        flags = 6
        __func__ = "tgp_msg_display"
@--Type <RET> for more, q to quit, c to continue without paging--
        conn = 0x555558ced0e0
        C = 0x555558cf08d0
#25 tgp_msg_process_in_ready (TLS=0x555556c54000) at tgp-msg.c:881
        conn = 0x555558ced0e0
        C = 0x555558cf08d0
#26 0x00007fffe87f3cbb in tgp_channel_load_finish (TLS=0x555556c54000, D=0x555555f35e10, success=1) at tgp-chat.c:519
        cb = 0x555559d25180 = {0x7fffe87f7ee0 <tgp_msg_on_loaded_channel_history>, 0x0}
        extra = 0x555559d31840 = {0x555558cf08d0, 0x0}
#27 0x00007fffe880ed22 in channels_get_members_on_answer (TLS=0x555556c54000, q=0x55555989b630, D=0x555558eb4180) at queries.c:2898
        DS_CP = 0x555558eb4180
        count = 0
        E = 0x5555595163d0
        i = <optimized out>
#28 0x00007fffe8806d0c in tglq_query_result (TLS=0x555556c54000, id=<optimized out>) at queries.c:479
        save = <optimized out>
        DS = 0x555558eb4180
        op = <optimized out>
        end = 0x0
        eend = 0x0
@--Type <RET> for more, q to quit, c to continue without paging--
        q = 0x55555989b630
        __PRETTY_FUNCTION__ = "tglq_query_result"
#29 0x00007fffe87fea96 in work_rpc_result (c=<optimized out>, msg_id=<optimized out>, TLS=<optimized out>) at mtproto-client.c:848
        id = <optimized out>
        op = <optimized out>
        __PRETTY_FUNCTION__ = "work_rpc_result"
        op = <optimized out>
#30 rpc_execute_answer (TLS=<optimized out>, c=<optimized out>, msg_id=<optimized out>) at mtproto-client.c:949
        op = <optimized out>
#31 0x0000000000010c3d in  ()
#32 0x0000555557a67480 in  ()
#33 0x0000000000000001 in  ()
#34 0x41d81efcf6000000 in  ()
#35 0x0000555557a67480 in  ()
#36 0x000000000000b31c in  ()
#37 0x0000000000000000 in  ()

I'm not already sure if skypeweb is guilty here... can an other prpl corrupt its memory?

EionRobb commented 3 years ago

That last one is caused by the telegram plugin.

bodqhrohro commented 3 years ago

How about this one?

(20:51:58) autorecon: do_signon called
(20:51:58) autorecon: calling purple_account_connect
(20:51:58) account: Connecting to account bodqhrohro@gmail.com.
(20:51:58) connection: Connecting. gc = 0x55555b81c140
(20:52:04) dnsquery: Performing DNS lookup for gateway.discord.gg
(20:52:04) autorecon: done calling purple_account_connect
(20:52:04) http: Performing new request 0x55555c212600 to contacts.skype.com.
(20:52:04) http: pool is destroying
(20:52:04) http: Request 0x55555c212600 performed without success.
(20:52:04) skypeweb: No data in response

(Pidgin:3921122): Json-CRITICAL **: 20:52:04.348: json_node_get_object: assertion 'JSON_NODE_IS_VALID (node)' failed

Thread 1 "pidgin" received signal SIGSEGV, Segmentation fault.
0x00007ffff09f06ae in purple_http_connection_set_add () from /usr/lib/purple-2/libskypeweb.so
@(gdb) bt
#0  0x00007ffff09f06ae in purple_http_connection_set_add () at /usr/lib/purple-2/libskypeweb.so
#1  0x00007ffff09dc3b0 in skypeweb_post_or_get () at /usr/lib/purple-2/libskypeweb.so
#2  0x00007ffff09e152e in skypeweb_check_authrequests () at /usr/lib/purple-2/libskypeweb.so
#3  0x00007ffff7275614 in g_timeout_dispatch (source=0x555559f99190, callback=<optimized out>, user_data=<optimized out>)
    at ../../../glib/gmain.c:4849
#4  0x00007ffff7274a8f in g_main_dispatch (context=0x555555689860) at ../../../glib/gmain.c:3325
#5  g_main_context_dispatch (context=0x555555689860) at ../../../glib/gmain.c:4016
#6  0x00007ffff7274e38 in g_main_context_iterate (context=0x555555689860, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../../../glib/gmain.c:4092
#7  0x00007ffff727512b in g_main_loop_run (loop=0x555555ba1770) at ../../../glib/gmain.c:4290
#8  0x00007ffff775812a in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#9  0x000055555559097c in main (argc=<optimized out>, argv=<optimized out>) at ././pidgin/gtkmain.c:939

It happened when the system was overloaded.

bodqhrohro commented 3 years ago
#0  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
#1  0x00007ffff6d5f25c in printf_positional
    (s=s@entry=0x7fffffffb5c0, format=format@entry=0x7ffff0847079 "%s://%s%s", readonly_format=readonly_format@entry=0, ap=ap@entry=0x7fffffffb740, ap_savep=ap_savep@entry=0x7fffffffb168, done=8, nspecs_done=1, lead_str_end=<optimized out>, work_buffer=<optimized out>, save_errno=<optimized out>, grouping=<optimized out>, thousands_sep=<optimized out>, mode_flags=<optimized out>) at vfprintf-internal.c:2073
        len = <optimized out>
        string_malloced = 0
        function_done = <optimized out>
        is_negative = <optimized out>
        alt = 0
        space = <optimized out>
        is_long_double = 0
        showsign = <optimized out>
        workend = 0x7fffffffb578 ""
        step4_jumps = {0 <repeats 14 times>, 3707, 3511, 3840, 3763, 3828, 3381, 1959, 3487, 2503, 3296, 2162, 1637, -841, 0, 0, 0}
        string = 0xa0 <error: Cannot access memory at address 0xa0>
        width = <optimized out>
        use_outdigits = 0
        pad = 32 ' '
@--Type <RET> for more, q to quit, c to continue without paging--c
        group = 0
        is_short = <optimized out>
        is_char = <optimized out>
        is_long = <optimized out>
        number = {longlong = <optimized out>, word = <optimized out>}
        base = <optimized out>
        left = 0
        prec = <optimized out>
        spec = 115 's'
        specsbuf = {data = 0x7fffffffa7b0, length = 1024, __space = {__align = {__max_align_ll = 4294967295, __max_align_ld = <invalid float value>}, __c = "\377\377\377\377\000\000\000\000s\000\000\000\000\340\000\000 \000\000\000\003\000\000\000{p\204\360\377\177\000\000~p\204\360\377\177\000\000\377\377\377\377\377\377\377\377\000\000\000\000\003\000\000\000\001\000\000\000\000\000\000\000\377\377\377\377\377\177\000\000\377\377\377\377\000\000\000\000s\000\000\000\000\340\000\000 \000\000\000\003\000\000\000\200p\204\360\377\177\000\000\200p\204\360\377\177\000\000\377\377\377\377\377\377\377\377\001\000\000\000\003\000\000\000\001\000\000\000\000\000\000\000\377\377\377\377\000\000\000\000\377\377\377\377\000\000\000\000s\000\000\000\000\000\000\000 \000\000\000\003\000\000\000\202p\204\360\377\177\000\000\202p\204\360\377\177\000\000\377\377\377\377\377\377\377\377\002\000\000\000\003\000\000\000"...}}
        specs = <optimized out>
        specs_limit = <optimized out>
        argsbuf = {data = 0x7fffffffabc0, length = 1024, __space = {__align = {__max_align_ll = 140737228599406, __max_align_ld = <invalid float value>}, __c = "np\204\360\377\177\000\000\003\000\000\000\003\000\000\000\240\000\000\000\000\000\000\000\000\004\000\000\000\000\000\000\260\222\204\360\377\177\000\000\000\004\000\000\000\000\000\000", '\377' <repeats 12 times>, "\003\000\000\000\003\000\000\000\003\000\000\000\020\372\037YUU\000\000 \254\377\377\377\177\000\000\000\224S\372\037\027\030i\000\200\255\373\000\000\000\000p\000\000\000\000\000\000\000\020J\231ZUU\000\000\200K\353\366\377\177\000\000P\000\000\000\000\000\000\000\200J\231ZUU", '\000' <repeats 11 times>, "\224S\372\037\027\030it\372\037YUU\000\000\000\000\000\000\000\000\000\000@\262\377\377\377\177\000\000\024/\022\367\377\177\000\000г\377\377\377\177\000\000\002"...}}
        nspecs = <optimized out>
        nargs = <optimized out>
        max_ref_arg = 0
        cnt = <optimized out>
        workstart = 0x0
        args_value = <optimized out>
        args_size = <optimized out>
        args_type = <optimized out>
        __PRETTY_FUNCTION__ = "printf_positional"
#2  0x00007ffff6d6018d in __vfprintf_internal (s=s@entry=0x7fffffffb5c0, format=format@entry=0x7ffff0847079 "%s://%s%s", ap=ap@entry=0x7fffffffb740, mode_flags=mode_flags@entry=2) at vfprintf-internal.c:1733
        _buffer = {__routine = 0x7fffffffb830, __arg = 0x3000000018, __canceltype = -18432, __prev = 0x7fffffffb740}
        _avail = <optimized out>
        thousands_sep = <optimized out>
        grouping = <optimized out>
        done = <optimized out>
        f = 0x7ffff0847079 "%s://%s%s"
        lead_str_end = 0x7ffff0847079 "%s://%s%s"
        end_of_spec = <optimized out>
        work_buffer = "\000\000\000\000\000\000\000\000/\371\327\366\377\177\000\000@", '\000' <repeats 15 times>, "\002\000\000\000\060\000\000\000\200K\353\366\377\177\000\000\260\274\373YUU\000\000<\000\000\000\000\000\000\000<\000\000\000\000\000\000\000\240\274\373YUU\000\000p\000\000\000\000\000\000\000z\360\327\366\377\177\000\000\364t\242WUU\000\000\340K\353\366\377\177\000\000\000\000\000\000\000\000\000\000\240\263\377\377\377\177\000\000 \000\000\000\000\000\000\000\004\000\000\000\000\000\000\000\002\000\000\000\000\000\000\000\220t\242WUU\000\000@\262\377\377\377\177\000\000\000\000\000\000\000\000\000\000\002\000\000\000\060\000\000\000n\000\000\000|", '\000' <repeats 11 times>...
        workstart = 0x0
        workend = <optimized out>
        ap_save = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7fffffffb820, reg_save_area = 0x7fffffffb760}}
        nspecs_done = <optimized out>
        save_errno = 2
        readonly_format = <optimized out>
        __PRETTY_FUNCTION__ = "__vfprintf_internal"
#3  0x00007ffff6d73631 in __vasprintf_internal (result_ptr=result_ptr@entry=0x7fffffffb720, format=0x7ffff0847079 "%s://%s%s", format@entry=0x7fffffffb720 "", args=0x7fffffffb740, mode_flags=mode_flags@entry=2) at vasprintf.c:57
        string = 0x5555574f6710 "https://"
        sf = {_sbf = {_f = {_flags = -72515584, _IO_read_ptr = 0x5555574f6710 "https://", _IO_read_end = 0x5555574f6710 "https://", _IO_read_base = 0x5555574f6710 "https://", _IO_write_base = 0x5555574f6710 "https://", _IO_write_ptr = 0x5555574f6718 "", _IO_write_end = 0x5555574f6774 "", _IO_buf_base = 0x5555574f6710 "https://", _IO_buf_end = 0x5555574f6774 "", _IO_save_base = 0x0, _IO_backup_base = 0x0, _IO_save_end = 0x0, _markers = 0x0, _chain = 0x0, _fileno = 1538129024, _flags2 = 128, _old_offset = 223, _cur_column = 0, _vtable_offset = -104 '\230', _shortbuf = "[", _lock = 0x0, _offset = 223, _codecvt = 0x55555aa3c520, _wide_data = 0xffffffffffffffff, _freeres_list = 0x0, _freeres_buf = 0xd68, __pad5 = 93825081263392, _mode = -1, _unused2 = '\000' <repeats 19 times>}, vtable = 0x7ffff6eb6560 <_IO_str_jumps>}, _s = {_allocate_buffer_unused = 0x7ffff6d800f0 <__GI___libc_malloc>, _free_buffer_unused = 0x7ffff6d80720 <__GI___libc_free>}}
        ret = <optimized out>
        needed = <optimized out>
        allocated = <optimized out>
#4  0x00007ffff6e032d8 in __vasprintf_chk (result_ptr=result_ptr@entry=0x7fffffffb720, flag=flag@entry=1, format=format@entry=0x7fffffffb720 "", ap=<optimized out>) at vasprintf_chk.c:36
        mode = 2
#5  0x00007ffff7209a1f in vasprintf (__ap=<optimized out>, __fmt=0x7fffffffb720 "", __ptr=0x7fffffffb720) at /usr/include/x86_64-linux-gnu/bits/stdio2.h:213
        len = <optimized out>
        __func__ = "g_vasprintf"
#6  g_vasprintf (string=string@entry=0x7fffffffb720, format=<optimized out>, args=args@entry=0x7fffffffb740) at ../../../glib/gprintf.c:337
        len = <optimized out>
        __func__ = "g_vasprintf"
#7  0x00007ffff71dcbfd in g_strdup_vprintf (format=<optimized out>, args=args@entry=0x7fffffffb740) at ../../../glib/gstrfuncs.c:519
        string = 0x0
#8  0x00007ffff71dccb9 in g_strdup_printf (format=<optimized out>) at ../../../glib/gstrfuncs.c:549
        buffer = <optimized out>
        args = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7fffffffb820, reg_save_area = 0x7fffffffb760}}
#9  0x00007ffff082eedd in skypeweb_post_or_get () at /usr/lib/purple-2/libskypeweb.so
#10 0x00007ffff0838e92 in skypeweb_poll () at /usr/lib/purple-2/libskypeweb.so
#11 0x00007ffff0838ab2 in skypeweb_timeout () at /usr/lib/purple-2/libskypeweb.so
#12 0x00007ffff71bd8f4 in g_timeout_dispatch (source=0x555559e44ba0, callback=<optimized out>, user_data=<optimized out>) at ../../../glib/gmain.c:4877
        timeout_source = 0x555559e44ba0
        again = <optimized out>
#13 0x00007ffff71bcd6f in g_main_dispatch (context=0x5555556b3ed0) at ../../../glib/gmain.c:3325
        dispatch = 0x7ffff71bd8e0 <g_timeout_dispatch>
        prev_source = 0x0
        begin_time_nsec = 0
        was_in_call = 0
        user_data = 0x555557b1f790
        callback = 0x7ffff0838a92 <skypeweb_timeout>
        cb_funcs = <optimized out>
        cb_data = 0x5555582a2790
        need_destroy = <optimized out>
        source = 0x555559e44ba0
        current = 0x5555560bf5e0
        i = 6
        __func__ = "g_main_dispatch"
#14 g_main_context_dispatch (context=0x5555556b3ed0) at ../../../glib/gmain.c:4043
#15 0x00007ffff71bd118 in g_main_context_iterate (context=0x5555556b3ed0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4119
        max_priority = 0
        timeout = 0
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = <optimized out>
        fds = 0x55555ab81dd0
#16 0x00007ffff71bd40b in g_main_loop_run (loop=0x5555577094b0) at ../../../glib/gmain.c:4317
        __func__ = "g_main_loop_run"
#17 0x00007ffff788db2a in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#18 0x0000555555591d81 in main (argc=<optimized out>, argv=<optimized out>) at ././pidgin/gtkmain.c:947
        opt_force_online = 0
        opt_help = <optimized out>
        opt_login = 0
        opt_nologin = 0
        opt_version = <optimized out>
        opt_si = <optimized out>
        opt_config_dir_arg = <optimized out>
        opt_login_arg = <optimized out>
        opt_session_arg = <optimized out>
        search_path = <optimized out>
        accounts = <optimized out>
        sig_indx = 1
        sigset = {__val = {91142, 0 <repeats 15 times>}}
        errmsg = '\000' <repeats 1304 times>...
        signal_channel = 0x7fffffffbb30
        signal_status = <optimized out>
        signal_channel_watcher = 1
        segfault_message_tmp = <optimized out>
        error = 0x0
        opt = <optimized out>
        gui_check = <optimized out>
        debug_enabled = <optimized out>
        migration_failed = 0
        active_accounts = <optimized out>
        long_options = {{name = 0x5555556391f7 "config", has_arg = 1, flag = 0x0, val = 99}, {name = 0x555555626f79 "debug", has_arg = 0, flag = 0x0, val = 100}, {name = 0x555555634090 "force-online", has_arg = 0, flag = 0x0, val = 102}, {name = 0x555555628ace "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x5555556342c1 "login", has_arg = 2, flag = 0x0, val = 108}, {name = 0x55555563409d "multiple", has_arg = 0, flag = 0x0, val = 109}, {name = 0x5555556340a6 "nologin", has_arg = 0, flag = 0x0, val = 110}, {name = 0x55555563920a "session", has_arg = 1, flag = 0x0, val = 115}, {name = 0x55555562b263 "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x555555639200 "display", has_arg = 1, flag = 0x0, val = 68}, {name = 0x5555556354cb "sync", has_arg = 0, flag = 0x0, val = 83}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}

Nothing skypeweb-related in the debug log right before:

(11:31:30) prpl-hehoe-signald: login
(11:31:30) prpl-hehoe-signald: using local socket /var/run/signald/signald.sock
(11:31:30) prpl-hehoe-signald: connecting ... 0 s
(11:31:31) prpl-hehoe-signald: Sending: {"type":"list_accounts"}
(11:31:31) autorecon: done calling purple_account_connect
(11:31:31) util: Writing file blist.xml to directory /home/bodqhrohro/.purple
(11:31:31) util: Writing file /home/bodqhrohro/.purple/blist.xml
(11:31:31) util: Writing file accounts.xml to directory /home/bodqhrohro/.purple
(11:31:31) util: Writing file /home/bodqhrohro/.purple/accounts.xml
bodqhrohro commented 2 years ago

This one is still relevant after my fix:

(14:08:09) connection: Destroying connection 0x5555579a8970

Thread 1 "pidgin" received signal SIGSEGV, Segmentation fault.
purple_http_keepalive_pool_ref (pool=0x70) at purple2compat/http.c:2149
2149        pool->ref_count++;
@(gdb) bt
#0  purple_http_keepalive_pool_ref (pool=0x70) at purple2compat/http.c:2149
#1  0x00007ffff081c95e in purple_http_request_set_keepalive_pool (request=0x555557b08dc0, pool=0x70) at purple2compat/http.c:2574
#2  0x00007ffff081079f in skypeweb_post_or_get
    (sa=sa@entry=0x55555802d4a0, method=method@entry=(SKYPEWEB_METHOD_POST | SKYPEWEB_METHOD_SSL), host=0x555557ab0680 " \213\003XUU", url=url@entry=0x7ffff08245d8 "/v1/users/ME/endpoints/SELF/subscriptions/0/poll", postdata=postdata@entry=0x0, callback_func=callback_func@entry=0x7ffff08198f0 <skypeweb_poll_cb>, user_data=0x0, keepalive=1) at skypeweb_connection.c:92
#3  0x00007ffff08170d7 in skypeweb_poll (sa=sa@entry=0x55555802d4a0) at skypeweb_messages.c:790
#4  0x00007ffff08170e9 in skypeweb_timeout (userdata=0x55555802d4a0, userdata@entry=<error reading variable: value has been optimized out>)
    at skypeweb_messages.c:706
#5  0x00007ffff72ee6e4 in g_timeout_dispatch (source=0x555557aaf8c0, callback=<optimized out>, user_data=<optimized out>)
    at ../../../glib/gmain.c:4933
#6  0x00007ffff72edb84 in g_main_dispatch (context=0x5555556c8710) at ../../../glib/gmain.c:3381
#7  g_main_context_dispatch (context=0x5555556c8710) at ../../../glib/gmain.c:4099
#8  0x00007ffff72edf28 in g_main_context_iterate (context=0x5555556c8710, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../../../glib/gmain.c:4175
#9  0x00007ffff72ee213 in g_main_loop_run (loop=0x5555579a9160) at ../../../glib/gmain.c:4373
#10 0x00007ffff79d0b2a in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#11 0x0000555555591d70 in main (argc=<optimized out>, argv=<optimized out>) at ././pidgin/gtkmain.c:947
bodqhrohro commented 2 years ago

And this:

Thread 1 "pidgin" received signal SIGSEGV, Segmentation fault.
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
120 ../sysdeps/x86_64/multiarch/../strlen.S: Нет такого файла или каталога.
@(gdb) bt
#0  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
#1  0x00007ffff6d4da18 in __vfprintf_internal
    (s=s@entry=0x7fffffffb4a0, format=format@entry=0x7ffff080949e "%s://%s%s", ap=ap@entry=0x7fffffffb620, mode_flags=mode_flags@entry=2)
    at vfprintf-internal.c:1647
#2  0x00007ffff6d5e1e1 in __vasprintf_internal (result_ptr=result_ptr@entry=0x7fffffffb600, format=0x7ffff080949e "%s://%s%s", 
    format@entry=0x7fffffffb600 "", args=0x7fffffffb620, mode_flags=mode_flags@entry=2) at vasprintf.c:57
#3  0x00007ffff6ded9c8 in __vasprintf_chk
    (result_ptr=result_ptr@entry=0x7fffffffb600, flag=flag@entry=1, format=format@entry=0x7fffffffb600 "", ap=<optimized out>) at vasprintf_chk.c:36
#4  0x00007ffff733c19f in vasprintf (__ap=<optimized out>, __fmt=0x7fffffffb600 "", __ptr=0x7fffffffb600)
    at /usr/include/x86_64-linux-gnu/bits/stdio2.h:216
#5  g_vasprintf (string=string@entry=0x7fffffffb600, format=<optimized out>, args=args@entry=0x7fffffffb620) at ../../../glib/gprintf.c:337
#6  0x00007ffff730df4d in g_strdup_vprintf (format=<optimized out>, args=args@entry=0x7fffffffb620) at ../../../glib/gstrfuncs.c:554
#7  0x00007ffff730e009 in g_strdup_printf (format=format@entry=0x7ffff080949e "%s://%s%s") at ../../../glib/gstrfuncs.c:584
#8  0x00007ffff07f7559 in skypeweb_post_or_get
    (sa=sa@entry=0x5555589cdfb0, method=method@entry=(SKYPEWEB_METHOD_POST | SKYPEWEB_METHOD_SSL), host=0x206e6170733c3e6c <error: Cannot access memory at address 0x206e6170733c3e6c>, url=url@entry=0x7ffff080b5d8 "/v1/users/ME/endpoints/SELF/subscriptions/0/poll", postdata=postdata@entry=0x0, callback_func=callback_func@entry=0x7ffff08008f0 <skypeweb_poll_cb>, user_data=0x0, keepalive=1) at skypeweb_connection.c:81
#9  0x00007ffff07fe0d7 in skypeweb_poll (sa=sa@entry=0x5555589cdfb0) at skypeweb_messages.c:790
#10 0x00007ffff07fe0e9 in skypeweb_timeout (userdata=0x5555589cdfb0, userdata@entry=<error reading variable: value has been optimized out>)
@--Type <RET> for more, q to quit, c to continue without paging--
    at skypeweb_messages.c:706
#11 0x00007ffff72ee6e4 in g_timeout_dispatch (source=0x555558930340, callback=<optimized out>, user_data=<optimized out>)
    at ../../../glib/gmain.c:4933
#12 0x00007ffff72edb84 in g_main_dispatch (context=0x5555556c8710) at ../../../glib/gmain.c:3381
#13 g_main_context_dispatch (context=0x5555556c8710) at ../../../glib/gmain.c:4099
#14 0x00007ffff72edf28 in g_main_context_iterate (context=0x5555556c8710, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../../../glib/gmain.c:4175
#15 0x00007ffff72ee213 in g_main_loop_run (loop=0x5555579b42a0) at ../../../glib/gmain.c:4373
#16 0x00007ffff79d0b2a in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#17 0x0000555555591d70 in main (argc=<optimized out>, argv=<optimized out>) at ././pidgin/gtkmain.c:947
bodqhrohro commented 2 years ago
(12:27:58) connection: Destroying connection 0x55555dd68310
(12:27:59) http: Performing new request 0x555557b88900 to .
(12:27:59) http: Invalid URL requested.
(12:27:59) http: Request 0x555557b88900 performed without success.
(12:27:59) skypeweb: No data in response

Thread 1 "pidgin" received signal SIGSEGV, Segmentation fault.
0x00007ffff72e38b6 in g_hash_table_remove_all (hash_table=<error reading variable: Cannot access memory at address 0xa8>0x70)
    at ../../../glib/ghash.c:1879
1879    ../../../glib/ghash.c: Нет такого файла или каталога.
@(gdb) bt
#0  0x00007ffff72e38b6 in g_hash_table_remove_all (hash_table=<error reading variable: Cannot access memory at address 0xa8>0x70)
    at ../../../glib/ghash.c:1879
#1  0x00007ffff72e394e in g_hash_table_destroy (hash_table=<error reading variable: Cannot access memory at address 0xa8>0x70)
    at ../../../glib/ghash.c:1486
#2  0x00007ffff027743a in purple_http_keepalive_pool_free (pool=0x555559f90e60) at purple2compat/http.c:2140
#3  purple_http_keepalive_pool_unref (pool=0x555559f90e60) at purple2compat/http.c:2164
#4  0x00007ffff02776bf in purple_http_request_free (request=0x55555f6f73d0) at purple2compat/http.c:2476
#5  purple_http_request_unref (request=0x55555f6f73d0) at purple2compat/http.c:2501
#6  0x00007ffff026b762 in skypeweb_post_or_get
    (sa=sa@entry=0x5555587c9e00, method=method@entry=(SKYPEWEB_METHOD_POST | SKYPEWEB_METHOD_SSL), host=0x55555ad00680 "Нет доступных действий", url=url@entry=0x7ffff027f5d8 "/v1/users/ME/endpoints/SELF/subscriptions/0/poll", postdata=postdata@entry=0x0, callback_func=callback_func@entry=0x7ffff02748f0 <skypeweb_poll_cb>, user_data=0x0, keepalive=1) at skypeweb_connection.c:154
#7  0x00007ffff02720d7 in skypeweb_poll (sa=sa@entry=0x5555587c9e00) at skypeweb_messages.c:790
#8  0x00007ffff02720e9 in skypeweb_timeout (userdata=0x5555587c9e00, userdata@entry=<error reading variable: value has been optimized out>)
    at skypeweb_messages.c:706
#9  0x00007ffff72f6744 in g_timeout_dispatch (source=0x55555e649130, callback=<optimized out>, user_data=<optimized out>)
    at ../../../glib/gmain.c:4933
#10 0x00007ffff72f5be4 in g_main_dispatch (context=0x5555556c8780) at ../../../glib/gmain.c:3381
#11 g_main_context_dispatch (context=0x5555556c8780) at ../../../glib/gmain.c:4099
@--Type <RET> for more, q to quit, c to continue without paging--
#12 0x00007ffff72f5f88 in g_main_context_iterate (context=0x5555556c8780, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../../../glib/gmain.c:4175
#13 0x00007ffff72f6273 in g_main_loop_run (loop=0x5555579f9af0) at ../../../glib/gmain.c:4373
#14 0x00007ffff79d8b2a in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#15 0x0000555555591d70 in main (argc=<optimized out>, argv=<optimized out>) at ././pidgin/gtkmain.c:947
bodqhrohro commented 2 years ago

https://github.com/EionRobb/skype4pidgin/issues/650#issuecomment-876271003 is also still relevant.

#0  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
#1  0x00007ffff6d51104 in printf_positional
    (s=s@entry=0x7fffffffb4e0, format=format@entry=0x7ffff009249e "%s://%s%s", readonly_format=readonly_format@entry=0, ap=ap@entry=0x7fffffffb660, ap_savep=ap_savep@entry=0x7fffffffb088, done=8, 
    done@entry=0, nspecs_done=1, lead_str_end=<optimized out>, work_buffer=<optimized out>, save_errno=<optimized out>, grouping=<optimized out>, thousands_sep=<optimized out>, mode_flags=<optimized out>) at vfprintf-internal.c:1997
        len = <optimized out>
        function_done = <optimized out>
        is_negative = <optimized out>
        alt = 0
        space = <optimized out>
        is_long_double = 0
        showsign = <optimized out>
        workend = 0x7fffffffb498 ""
        step4_jumps = {0 <repeats 14 times>, 3249, 3177, 3155, 2883, 3166, 1514, 1017, 3331, 1829, 2651, 1211, -813, 2743, 0, 0, 0}
        string = 0x66206e6170733c3e <error: Cannot access memory at address 0x66206e6170733c3e>
        width = 0
        use_outdigits = 0
        pad = <optimized out>
        group = 0
        is_short = <optimized out>
        is_char = <optimized out>
        is_long = 0
        number = {longlong = <optimized out>, word = <optimized out>}
        base = <optimized out>
        left = 0
        prec = <optimized out>
        spec = 115 's'
        specsbuf = 
            {data = 0x7fffffffa6e0, length = 1024, __space = {__align = {__max_align_ll = 4294967295, __max_align_ld = <invalid float value>}, __c = "\377\377\377\377\000\000\000\000s\000\000\000\000`\000\000 \000\000\000\377\177\000\000\240$\t\360\377\177\000\000\243$\t\360\377\177\000\000\377\377\377\377\377\377\377\377\000\000\000\000\003\000\000\000\001\000\000\000\000\000\000\000\377\377\377\377\000\000\000\000\377\377\377\377\000\000\000\000s\000\000\000\000`\000\000 \000\000\000\000\000\000\000\245$\t\360\377\177\000\000\245$\t\360\377\177\000\000\377\377\377\377\377\377\377\377\001\000\000\000\003\000\000\000\001\000\000\000\000\000\000\000\377\377\377\377\377\177\000\000\377\377\377\377\000\000\000\000s\000\000\000\000@\000\000 \000\000\000\000\000\000\000\247$\t\360\377\177\000\000\247$\t\360\377\177\000\000\377\377\377\377\377\377\377\377\002\000\000\000\003\000\000\000"...}}
        specs = <optimized out>
        specs_limit = <optimized out>
        argsbuf = 
            {data = 0x7fffffffaaf0, length = 1024, __space = {__align = {__max_align_ll = 140737220519059, __max_align_ld = <invalid float value>}, __c = "\223$\t\360\377\177\000\000\220\254\377\377\377\177\000\000><span f\000\222\247\301\366\020\270\340\330E\t\360\377\177\000\000p\000\000\000\000\000\000\000", '\377' <repeats 12 times>, "\003\000\000\000\003\000\000\000\003\000\000\000\220\253\360YUU\000\000\000\000\000\000\000\000\000\000\017\v\327\366\377\177\000\000 \000\000\000\000\000\000\000\f\000\000\000\000\000\000\000\002\000\000\000UU\000\000\000\000\000\000\000\000\000\000\060\253\360YUU\000\000;\000\000\000\000\000\000\000;\000\000\000\000\000\000\000 \253\360YUU\000\000p\000\000\000\000\000\000\000\273\036\327\366\377\177\000\000\240K\352\366\377\177\000\000\000\222\247\301\366\020\270\340\060\253\360YUU\000\000"...}}
        nspecs = <optimized out>
        nargs = <optimized out>
        max_ref_arg = 0
        cnt = <optimized out>
        args_value = <optimized out>
        args_size = <optimized out>
        args_type = <optimized out>
        __PRETTY_FUNCTION__ = "printf_positional"
#2  0x00007ffff6d519d9 in __vfprintf_internal
    (s=s@entry=0x7fffffffb4e0, format=format@entry=0x7ffff009249e "%s://%s%s", ap=ap@entry=0x7fffffffb660, mode_flags=mode_flags@entry=2)
    at vfprintf-internal.c:1683
        _buffer = {__routine = 0x1, __arg = 0x7fffffffb110, __canceltype = -20112, __prev = 0x7fffffffb0c0}
        _avail = <optimized out>
        thousands_sep = 0x0
        grouping = 0xffffffffffffffff <error: Cannot access memory at address 0xffffffffffffffff>
        done = 0
        f = 0x7ffff009249e "%s://%s%s"
        lead_str_end = 0x7ffff009249e "%s://%s%s"
        end_of_spec = <optimized out>
        work_buffer = "\270^\322WUU\000\000\320^\322WUU\000\000\260\212\271UUU\000\000\000\222\247\301\366\020\270\340`\360-\366\377\177\000\000`\360-\366\377\177\000\000`\360-\366\377\177\000\000`\360-\366\377\177\000\000`\360-\366\377\177\000\000\000\222\247\301\366\020\270\340\003\000\000\000\000\000\000\000)\262\365\367\377\177\000\000P\261\377\377\377\177\000\000\251\304\365\367\377\177\000\000\200\361-\366\377\177\000\000\004\000\000\000\005\000\000\000\240\212\271UUU\000\000\000\000\000\000\000\000\000\000\320_\t\367\377\177\000\000\240\260\377\377\377\177\000\000а\377\377\377\177\000\000\300\260\377\377\377\177\000\000l\000\000\000\000\000\000\000\000\261\377\377\377\177\000\000\002\000\000\000\005\000\000\000а"...
        workend = <optimized out>
        ap_save = {{gp_offset = 32, fp_offset = 48, overflow_arg_area = 0x7fffffffb740, reg_save_area = 0x7fffffffb680}}
        nspecs_done = <optimized out>
        save_errno = 2
        readonly_format = 0
#3  0x00007ffff6d63db1 in __vasprintf_internal (result_ptr=result_ptr@entry=0x7fffffffb640, format=0x7ffff009249e "%s://%s%s", 
    format@entry=0x7fffffffb640 "", args=0x7fffffffb660, mode_flags=mode_flags@entry=2) at vasprintf.c:57
        string = 0x555557dd5db0 "https://"
        sf = 
            {_sbf = {_f = {_flags = -72515584, _IO_read_ptr = 0x555557dd5db0 "https://", _IO_read_end = 0x555557dd5db0 "https://", _IO_read_base = 0x555557dd5db0 "https://", _IO_write_base = 0x555557dd5db0 "https://", _IO_write_ptr = 0x555557dd5db8 "", _IO_write_end = 0x555557dd5e14 "", _IO_buf_base = 0x555557dd5db0 "https://", _IO_buf_end = 0x555557dd5e14 "", _IO_save_base = 0x0, _IO_backup_base = 0x0, _IO_save_end = 0x0, _markers = 0x0, _chain = 0x0, _fileno = 5, _flags2 = 128, _old_offset = 140737335937952, _cur_column = 0, _vtable_offset = -52 '\314', _shortbuf = "W", _lock = 0x0, _offset = 21, _codecvt = 0x7ffff6d71481 <__GI___libc_malloc+449>, _wide_data = 0xffffffffffffffff, _freeres_list = 0x0, _freeres_buf = 0x5, __pad5 = 140737353533499, _mode = -1, _unused2 = "UU\000\000\000\222\247\301\366\020\270\340\310H\317UUU\000"}, vtable = 0x7ffff6ea6560 <_IO_str_jumps>}, _s = {_allocate_buffer_unused = 0x7ffff6d712c0 <__GI___libc_malloc>, _free_buffer_unused = 0x7ffff6d71920 <__GI___libc_free>}}
        ret = <optimized out>
        needed = <optimized out>
        allocated = <optimized out>
#4  0x00007ffff6df2be8 in __vasprintf_chk
    (result_ptr=result_ptr@entry=0x7fffffffb640, flag=flag@entry=1, format=format@entry=0x7fffffffb640 "", ap=<optimized out>) at vasprintf_chk.c:36
        mode = 2
#5  0x00007ffff73441ff in vasprintf (__ap=<optimized out>, __fmt=0x7fffffffb640 "", __ptr=0x7fffffffb640)
    at /usr/include/x86_64-linux-gnu/bits/stdio2.h:216
        saved_errno = <optimized out>
        len = <optimized out>
        __func__ = "g_vasprintf"
#6  g_vasprintf (string=string@entry=0x7fffffffb640, format=<optimized out>, args=args@entry=0x7fffffffb660) at ../../../glib/gprintf.c:337
        saved_errno = <optimized out>
        len = <optimized out>
        __func__ = "g_vasprintf"
#7  0x00007ffff7315fdd in g_strdup_vprintf (format=<optimized out>, args=args@entry=0x7fffffffb660) at ../../../glib/gstrfuncs.c:554
        string = 0x0
#8  0x00007ffff7316099 in g_strdup_printf (format=format@entry=0x7ffff009249e "%s://%s%s") at ../../../glib/gstrfuncs.c:584
        buffer = <optimized out>
        args = {{gp_offset = 8, fp_offset = 48, overflow_arg_area = 0x7fffffffb740, reg_save_area = 0x7fffffffb680}}
#9  0x00007ffff0080559 in skypeweb_post_or_get
    (sa=sa@entry=0x555557ba0c00, method=method@entry=(SKYPEWEB_METHOD_POST | SKYPEWEB_METHOD_SSL), host=0x66206e6170733c3e <error: Cannot access memory at address 0x66206e6170733c3e>, url=url@entry=0x7ffff00945d8 "/v1/users/ME/endpoints/SELF/subscriptions/0/poll", postdata=postdata@entry=0x0, callback_func=callback_func@entry=0x7ffff00898f0 <skypeweb_poll_cb>, user_data=0x0, keepalive=1) at skypeweb_connection.c:81
        conn = <optimized out>
        request = <optimized out>
        languages = <optimized out>
        language_names = <optimized out>
        real_url = <optimized out>
        __func__ = "skypeweb_post_or_get"
#10 0x00007ffff00870d7 in skypeweb_poll (sa=sa@entry=0x555557ba0c00) at skypeweb_messages.c:790
#11 0x00007ffff00870e9 in skypeweb_timeout (userdata=0x555557ba0c00, userdata@entry=<error reading variable: value has been optimized out>)
    at skypeweb_messages.c:706
        sa = 0x555557ba0c00
#12 0x00007ffff72f6744 in g_timeout_dispatch (source=0x5555581fdd90, callback=<optimized out>, user_data=<optimized out>)
    at ../../../glib/gmain.c:4933
        timeout_source = 0x5555581fdd90
        again = <optimized out>
#13 0x00007ffff72f5be4 in g_main_dispatch (context=0x5555556c8780) at ../../../glib/gmain.c:3381
        dispatch = 0x7ffff72f6730 <g_timeout_dispatch>
        prev_source = 0x0
        begin_time_nsec = 0
        was_in_call = 0
        user_data = 0x555557ba0c00
        callback = 0x7ffff00870e0 <skypeweb_timeout>
        cb_funcs = <optimized out>
        cb_data = <optimized out>
        need_destroy = <optimized out>
        source = 0x5555581fdd90
        current = 0x555555f69040
        i = 4
        __func__ = "g_main_dispatch"
#14 g_main_context_dispatch (context=0x5555556c8780) at ../../../glib/gmain.c:4099
#15 0x00007ffff72f5f88 in g_main_context_iterate (context=0x5555556c8780, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../../../glib/gmain.c:4175
        max_priority = 0
        timeout = 0
        some_ready = 1
        nfds = <optimized out>
        allocated_nfds = <optimized out>
        fds = 0x55555ae3afb0
#16 0x00007ffff72f6273 in g_main_loop_run (loop=0x5555579fd000) at ../../../glib/gmain.c:4373
        __func__ = "g_main_loop_run"
#17 0x00007ffff79d8b2a in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#18 0x0000555555591d70 in main (argc=<optimized out>, argv=<optimized out>) at ././pidgin/gtkmain.c:947
        opt_force_online = 0
        opt_help = <optimized out>
        opt_login = 0
        opt_nologin = 0
        opt_version = <optimized out>
        opt_si = <optimized out>
        opt_config_dir_arg = <optimized out>
        opt_login_arg = <optimized out>
        opt_session_arg = <optimized out>
        search_path = <optimized out>
        accounts = <optimized out>
        sig_indx = 1
        sigset = {__val = {91142, 0 <repeats 15 times>}}
        errmsg = '\000' <repeats 1208 times>...
        signal_channel = <optimized out>
        signal_status = <optimized out>
        signal_channel_watcher = 1
        segfault_message_tmp = <optimized out>
        error = 0x0
        opt = <optimized out>
        gui_check = <optimized out>
        debug_enabled = 1
        migration_failed = 0
        active_accounts = <optimized out>
        long_options = 
            {{name = 0x5555556382b7 "config", has_arg = 1, flag = 0x0, val = 99}, {name = 0x555555625f79 "debug", has_arg = 0, flag = 0x0, val = 100}, {name = 0x555555633be6 "force-online", has_arg = 0, flag = 0x0, val = 102}, {name = 0x555555627aec "help", has_arg = 0, flag = 0x0, val = 104}, {name = 0x555555633a92 "login", has_arg = 2, flag = 0x0, val = 108}, {name = 0x555555633bf3 "multiple", has_arg = 0, flag = 0x0, val = 109}, {name = 0x555555633bfc "nologin", has_arg = 0, flag = 0x0, val = 110}, {name = 0x5555556382ca "session", has_arg = 1, flag = 0x0, val = 115}, {name = 0x55555562a283 "version", has_arg = 0, flag = 0x0, val = 118}, {name = 0x5555556382c0 "display", has_arg = 1, flag = 0x0, val = 68}, {name = 0x55555563454b "sync", has_arg = 0, flag = 0x0, val = 83}, {name = 0x0, has_arg = 0, flag = 0x0, val = 0}}
bodqhrohro commented 2 years ago

Still relevant with old tgl as well:

Thread 1 "pidgin" received signal SIGSEGV, Segmentation fault.
@--Type <RET> for more, q to quit, c to continue without paging--
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
120 ../sysdeps/x86_64/multiarch/../strlen.S: Нет такого файла или каталога.
@(gdb) bt
#0  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
#1  0x00007ffff6d3e5e8 in __vfprintf_internal
    (s=s@entry=0x7fffffffb380, format=format@entry=0x7ffff046349e "%s://%s%s", ap=ap@entry=0x7fffffffb500, mode_flags=mode_flags@entry=2)
    at vfprintf-internal.c:1647
#2  0x00007ffff6d4edb1 in __vasprintf_internal (result_ptr=result_ptr@entry=0x7fffffffb4e0, format=0x7ffff046349e "%s://%s%s", 
    format@entry=0x7fffffffb4e0 "", args=0x7fffffffb500, mode_flags=mode_flags@entry=2) at vasprintf.c:57
#3  0x00007ffff6dddbe8 in __vasprintf_chk
    (result_ptr=result_ptr@entry=0x7fffffffb4e0, flag=flag@entry=1, format=format@entry=0x7fffffffb4e0 "", ap=<optimized out>) at vasprintf_chk.c:36
#4  0x00007ffff732f1ff in vasprintf (__ap=<optimized out>, __fmt=0x7fffffffb4e0 "", __ptr=0x7fffffffb4e0)
    at /usr/include/x86_64-linux-gnu/bits/stdio2.h:216
#5  g_vasprintf (string=string@entry=0x7fffffffb4e0, format=<optimized out>, args=args@entry=0x7fffffffb500) at ../../../glib/gprintf.c:337
#6  0x00007ffff7300fdd in g_strdup_vprintf (format=<optimized out>, args=args@entry=0x7fffffffb500) at ../../../glib/gstrfuncs.c:554
#7  0x00007ffff7301099 in g_strdup_printf (format=format@entry=0x7ffff046349e "%s://%s%s") at ../../../glib/gstrfuncs.c:584
#8  0x00007ffff04515b9 in skypeweb_post_or_get
    (sa=sa@entry=0x5555576a4e80, method=method@entry=(SKYPEWEB_METHOD_POST | SKYPEWEB_METHOD_SSL), host=0x50 <error: Cannot access memory at address 0x50>, url=url@entry=0x7ffff04655d8 "/v1/users/ME/endpoints/SELF/subscriptions/0/poll", postdata=postdata@entry=0x0, callback_func=callback_func@entry=0x7ffff045aac0 <skypeweb_poll_cb>, user_data=0x0, keepalive=1) at skypeweb_connection.c:81
#9  0x00007ffff0458267 in skypeweb_poll (sa=sa@entry=0x5555576a4e80) at skypeweb_messages.c:794
#10 0x00007ffff0458279 in skypeweb_timeout (userdata=0x5555576a4e80, userdata@entry=<error reading variable: value has been optimized out>)
@--Type <RET> for more, q to quit, c to continue without paging--
    at skypeweb_messages.c:706
#11 0x00007ffff72e1744 in g_timeout_dispatch (source=0x555558d15260, callback=<optimized out>, user_data=<optimized out>)
    at ../../../glib/gmain.c:4933
#12 0x00007ffff72e0be4 in g_main_dispatch (context=0x5555556c8b10) at ../../../glib/gmain.c:3381
#13 g_main_context_dispatch (context=0x5555556c8b10) at ../../../glib/gmain.c:4099
#14 0x00007ffff72e0f88 in g_main_context_iterate (context=0x5555556c8b10, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../../../glib/gmain.c:4175
#15 0x00007ffff72e1273 in g_main_loop_run (loop=0x5555561ad6f0) at ../../../glib/gmain.c:4373
#16 0x00007ffff79d7b2a in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#17 0x0000555555591d70 in main (argc=<optimized out>, argv=<optimized out>) at ././pidgin/gtkmain.c:947
@(gdb) up
#1  0x00007ffff6d3e5e8 in __vfprintf_internal (s=s@entry=0x7fffffffb380, format=format@entry=0x7ffff046349e "%s://%s%s", ap=ap@entry=0x7fffffffb500, 
    mode_flags=mode_flags@entry=2) at vfprintf-internal.c:1647
1647    vfprintf-internal.c: Нет такого файла или каталога.
@(gdb) up
#2  0x00007ffff6d4edb1 in __vasprintf_internal (result_ptr=result_ptr@entry=0x7fffffffb4e0, format=0x7ffff046349e "%s://%s%s", 
    format@entry=0x7fffffffb4e0 "", args=0x7fffffffb500, mode_flags=mode_flags@entry=2) at vasprintf.c:57
57  vasprintf.c: Нет такого файла или каталога.
@(gdb) up
#3  0x00007ffff6dddbe8 in __vasprintf_chk (result_ptr=result_ptr@entry=0x7fffffffb4e0, flag=flag@entry=1, format=format@entry=0x7fffffffb4e0 "", 
    ap=<optimized out>) at vasprintf_chk.c:36
36  vasprintf_chk.c: Нет такого файла или каталога.
@(gdb) up
#4  0x00007ffff732f1ff in vasprintf (__ap=<optimized out>, __fmt=0x7fffffffb4e0 "", __ptr=0x7fffffffb4e0)
    at /usr/include/x86_64-linux-gnu/bits/stdio2.h:216
warning: Source file is more recent than executable.
216           __gnuc_va_list __ap))
@(gdb) up
#5  g_vasprintf (string=string@entry=0x7fffffffb4e0, format=<optimized out>, args=args@entry=0x7fffffffb500) at ../../../glib/gprintf.c:337
337 ../../../glib/gprintf.c: Нет такого файла или каталога.
@(gdb) up
#6  0x00007ffff7300fdd in g_strdup_vprintf (format=<optimized out>, args=args@entry=0x7fffffffb500) at ../../../glib/gstrfuncs.c:554
554 ../../../glib/gstrfuncs.c: Нет такого файла или каталога.
@(gdb) up
#7  0x00007ffff7301099 in g_strdup_printf (format=format@entry=0x7ffff046349e "%s://%s%s") at ../../../glib/gstrfuncs.c:584
584 in ../../../glib/gstrfuncs.c
@(gdb) up
#8  0x00007ffff04515b9 in skypeweb_post_or_get (sa=sa@entry=0x5555576a4e80, method=method@entry=(SKYPEWEB_METHOD_POST | SKYPEWEB_METHOD_SSL), 
    host=0x50 <error: Cannot access memory at address 0x50>, url=url@entry=0x7ffff04655d8 "/v1/users/ME/endpoints/SELF/subscriptions/0/poll", 
    postdata=postdata@entry=0x0, callback_func=callback_func@entry=0x7ffff045aac0 <skypeweb_poll_cb>, user_data=0x0, keepalive=1)
    at skypeweb_connection.c:81
81      real_url = g_strdup_printf("%s://%s%s", method & SKYPEWEB_METHOD_SSL ? "https" : "http", host, url);
@(gdb) up
#9  0x00007ffff0458267 in skypeweb_poll (sa=sa@entry=0x5555576a4e80) at skypeweb_messages.c:794
794     skypeweb_post_or_get(sa, SKYPEWEB_METHOD_POST | SKYPEWEB_METHOD_SSL, sa->messages_host, "/v1/users/ME/endpoints/SELF/subscriptions/0/poll", NULL, skypeweb_poll_cb, NULL, TRUE);
@(gdb) p *sa
$7 = {username = 0x200000000 <error: Cannot access memory at address 0x200000000>, 
  primary_member_name = 0x500000004 <error: Cannot access memory at address 0x500000004>, 
  self_display_name = 0x900000007 <error: Cannot access memory at address 0x900000007>, account = 0xd0000000b, pc = 0xf, 
  keepalive_pool = 0x555557cef6a8, conns = 0x2, cookie_jar = 0x55555794c558, messages_host = 0x50 <error: Cannot access memory at address 0x50>, 
  sent_messages_hash = <error reading variable: Cannot access memory at address 0x59>0x21, poll_timeout = 1485059984, watchdog_timeout = 32061, 
  authcheck_timeout = 1485059984, last_authrequest = 0, skype_token = 0x41 <error: Cannot access memory at address 0x41>, 
  registration_token = 0x555557d03dd0 "P\025\062VUU", vdms_token = 0x0, endpoint = 0x0, registration_expiry = 0, vdms_expiry = 0}

Looks like I'll have to blow the dust off Valgrind again.

bodqhrohro commented 2 years ago
Thread 1 "pidgin" received signal SIGSEGV, Segmentation fault.
__strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
120 ../sysdeps/x86_64/multiarch/../strlen.S: Нет такого файла или каталога.
@(gdb) bt
#0  __strlen_sse2 () at ../sysdeps/x86_64/multiarch/../strlen.S:120
#1  0x00007ffff6d3e5e8 in __vfprintf_internal
    (s=s@entry=0x7fffffffb380, format=format@entry=0x7ffff046349e "%s://%s%s", ap=ap@entry=0x7fffffffb500, mode_flags=mode_flags@entry=2)
    at vfprintf-internal.c:1647
#2  0x00007ffff6d4edb1 in __vasprintf_internal (result_ptr=result_ptr@entry=0x7fffffffb4e0, format=0x7ffff046349e "%s://%s%s", 
    format@entry=0x7fffffffb4e0 "", args=0x7fffffffb500, mode_flags=mode_flags@entry=2) at vasprintf.c:57
#3  0x00007ffff6dddbe8 in __vasprintf_chk
    (result_ptr=result_ptr@entry=0x7fffffffb4e0, flag=flag@entry=1, format=format@entry=0x7fffffffb4e0 "", ap=<optimized out>) at vasprintf_chk.c:36
#4  0x00007ffff732f1ff in vasprintf (__ap=<optimized out>, __fmt=0x7fffffffb4e0 "", __ptr=0x7fffffffb4e0)
    at /usr/include/x86_64-linux-gnu/bits/stdio2.h:216
#5  g_vasprintf (string=string@entry=0x7fffffffb4e0, format=<optimized out>, args=args@entry=0x7fffffffb500) at ../../../glib/gprintf.c:337
#6  0x00007ffff7300fdd in g_strdup_vprintf (format=<optimized out>, args=args@entry=0x7fffffffb500) at ../../../glib/gstrfuncs.c:554
#7  0x00007ffff7301099 in g_strdup_printf (format=format@entry=0x7ffff046349e "%s://%s%s") at ../../../glib/gstrfuncs.c:584
#8  0x00007ffff04515b9 in skypeweb_post_or_get
    (sa=sa@entry=0x5555582a1740, method=method@entry=(SKYPEWEB_METHOD_POST | SKYPEWEB_METHOD_SSL), host=0x30 <error: Cannot access memory at address 0x30>, url=url@entry=0x7ffff04655d8 "/v1/users/ME/endpoints/SELF/subscriptions/0/poll", postdata=postdata@entry=0x0, callback_func=callback_func@entry=0x7ffff045aac0 <skypeweb_poll_cb>, user_data=0x0, keepalive=1) at skypeweb_connection.c:81
#9  0x00007ffff0458267 in skypeweb_poll (sa=sa@entry=0x5555582a1740) at skypeweb_messages.c:794
#10 0x00007ffff0458279 in skypeweb_timeout (userdata=0x5555582a1740, userdata@entry=<error reading variable: value has been optimized out>)
@--Type <RET> for more, q to quit, c to continue without paging--
    at skypeweb_messages.c:706
#11 0x00007ffff72e1744 in g_timeout_dispatch (source=0x55555d6ce6a0, callback=<optimized out>, user_data=<optimized out>)
    at ../../../glib/gmain.c:4933
#12 0x00007ffff72e0be4 in g_main_dispatch (context=0x5555556c8b10) at ../../../glib/gmain.c:3381
#13 g_main_context_dispatch (context=0x5555556c8b10) at ../../../glib/gmain.c:4099
#14 0x00007ffff72e0f88 in g_main_context_iterate (context=0x5555556c8b10, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>)
    at ../../../glib/gmain.c:4175
#15 0x00007ffff72e1273 in g_main_loop_run (loop=0x5555574d42a0) at ../../../glib/gmain.c:4373
#16 0x00007ffff79d7b2a in gtk_main () at /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
#17 0x0000555555591d70 in main (argc=<optimized out>, argv=<optimized out>) at ././pidgin/gtkmain.c:947
@(gdb) up
#1  0x00007ffff6d3e5e8 in __vfprintf_internal (s=s@entry=0x7fffffffb380, format=format@entry=0x7ffff046349e "%s://%s%s", ap=ap@entry=0x7fffffffb500, 
    mode_flags=mode_flags@entry=2) at vfprintf-internal.c:1647
1647    vfprintf-internal.c: Нет такого файла или каталога.
@(gdb) up
#2  0x00007ffff6d4edb1 in __vasprintf_internal (result_ptr=result_ptr@entry=0x7fffffffb4e0, format=0x7ffff046349e "%s://%s%s", 
    format@entry=0x7fffffffb4e0 "", args=0x7fffffffb500, mode_flags=mode_flags@entry=2) at vasprintf.c:57
57  vasprintf.c: Нет такого файла или каталога.
@(gdb) up
#3  0x00007ffff6dddbe8 in __vasprintf_chk (result_ptr=result_ptr@entry=0x7fffffffb4e0, flag=flag@entry=1, format=format@entry=0x7fffffffb4e0 "", 
    ap=<optimized out>) at vasprintf_chk.c:36
36  vasprintf_chk.c: Нет такого файла или каталога.
@(gdb) up
#4  0x00007ffff732f1ff in vasprintf (__ap=<optimized out>, __fmt=0x7fffffffb4e0 "", __ptr=0x7fffffffb4e0)
    at /usr/include/x86_64-linux-gnu/bits/stdio2.h:216
warning: Source file is more recent than executable.
216           __gnuc_va_list __ap))
@(gdb) up
#5  g_vasprintf (string=string@entry=0x7fffffffb4e0, format=<optimized out>, args=args@entry=0x7fffffffb500) at ../../../glib/gprintf.c:337
337 ../../../glib/gprintf.c: Нет такого файла или каталога.
@(gdb) up
#6  0x00007ffff7300fdd in g_strdup_vprintf (format=<optimized out>, args=args@entry=0x7fffffffb500) at ../../../glib/gstrfuncs.c:554
554 ../../../glib/gstrfuncs.c: Нет такого файла или каталога.
@(gdb) up
#7  0x00007ffff7301099 in g_strdup_printf (format=format@entry=0x7ffff046349e "%s://%s%s") at ../../../glib/gstrfuncs.c:584
584 in ../../../glib/gstrfuncs.c
@(gdb) up
#8  0x00007ffff04515b9 in skypeweb_post_or_get (sa=sa@entry=0x5555582a1740, method=method@entry=(SKYPEWEB_METHOD_POST | SKYPEWEB_METHOD_SSL), 
    host=0x30 <error: Cannot access memory at address 0x30>, url=url@entry=0x7ffff04655d8 "/v1/users/ME/endpoints/SELF/subscriptions/0/poll", 
    postdata=postdata@entry=0x0, callback_func=callback_func@entry=0x7ffff045aac0 <skypeweb_poll_cb>, user_data=0x0, keepalive=1)
    at skypeweb_connection.c:81
81      real_url = g_strdup_printf("%s://%s%s", method & SKYPEWEB_METHOD_SSL ? "https" : "http", host, url);
@(gdb) p *sa
$1 = {username = 0x5555580df610 " ozUUU", primary_member_name = 0x5555580df610 " ozUUU", self_display_name = 0x555558d0f980 "\001", account = 0x31, 
  pc = 0x7fff00000066, keepalive_pool = 0x7ffff6e8fc20 <main_arena+128>, conns = 0x2120676e69727473, cookie_jar = 0x20274c4c554e203d, 
  messages_host = 0x30 <error: Cannot access memory at address 0x30>, 
  sent_messages_hash = <error reading variable: Cannot access memory at address 0x59>0x21, poll_timeout = 1902407522, watchdog_timeout = 1752134248, 
  authcheck_timeout = 28530, last_authrequest = 93460440875108, skype_token = 0x31 <error: Cannot access memory at address 0x31>, 
  registration_token = 0x55500d8500f1 <error: Cannot access memory at address 0x55500d8500f1>, vdms_token = 0x0, 
  endpoint = 0x746f72702f67726f <error: Cannot access memory at address 0x746f72702f67726f>, registration_expiry = 1819239279, 
  vdms_expiry = 1668640047}

Probably unrelated to telegram-purple as it was disabled at all at the time (but was enabled once during this run).

bodqhrohro commented 2 years ago

Does libpurple free the connection itself without closing the prpl? o_O pidgin-vg15.txt.gz

bodqhrohro commented 2 years ago

Debug log before:

(20:47:10) discord: got frame data: {"t":null,"s":null,"op":10,"d":{"heartbeat_interval":41250,"_trace":["[\"gateway-prd-main-dtf5\",{\"micros\":0.0}]"]}}
(20:47:11) discord: sending frame: {"op":6,"d":{"token":"MzUzOTk4MzE5NTM5ODQ3MTg4.Dn_fng.Yg7tmKlrsnlRFEwISpjMZ--QWC4","session_id":"4773440d622db0d0c687369ba6f25774","seq":11}}
(20:47:11) GLib: Source ID 16914 was not found when attempting to remove it
(20:47:14) autorecon: do_signon called
(20:47:14) autorecon: calling purple_account_connect
(20:47:14) account: Connecting to account pinkiepork@xmpp.ru/Pidgin.
(20:47:14) connection: Connecting. gc = 0x916cf00
(20:47:14) dnssrv: querying SRV record for xmpp.ru: _xmpp-client._tcp.xmpp.ru
(20:47:15) autorecon: done calling purple_account_connect
Pidgin 2.14.8 были с ошибками сегментации и попытались просмотреть файл ядра.