Open CanadianEngineer opened 7 years ago
Can you get a backtrace? https://developer.pidgin.im/wiki/GetABacktrace
I can't seem to get the backtracing to work, but now its telling
me that "The resource could not be found."
Hello,
Thanks for the help.
I am running into the same issue. Below is the back trace that resulted from the link you provided above.
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1 Copyright (C) 2016 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/. Find the GDB manual and other documentation resources online at: http://www.gnu.org/software/gdb/documentation/. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from pidgin...Reading symbols from /usr/lib/debug//usr/bin/pidgin...done. done. (gdb) handle SIGPIPE nostop noprint Signal Stop Print Pass to program Description SIGPIPE No No Yes Broken pipe (gdb) run Starting program: /usr/bin/pidgin [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". Couldn't create plugins dir [New Thread 0x7fffdc1f1700 (LWP 2992)] [New Thread 0x7fffdb52a700 (LWP 2994)] [New Thread 0x7fffdad29700 (LWP 2995)] [New Thread 0x7fffda528700 (LWP 2996)] [New Thread 0x7fffd8aa8700 (LWP 2997)] [Thread 0x7fffdad29700 (LWP 2995) exited] [Thread 0x7fffd8aa8700 (LWP 2997) exited]
Thread 1 "pidgin" received signal SIGSEGV, Segmentation fault.
purple_account_get_int (account=0x31,
name=name@entry=0x7fffde867b20 "last_message_timestamp",
default_value=default_value@entry=0)
at /build/pidgin-DIrcTX/pidgin-2.10.12/./libpurple/account.c:2443
2443 /build/pidgin-DIrcTX/pidgin-2.10.12/./libpurple/account.c: No such file or directory.
(gdb) bt full
0 purple_account_get_int (account=0x31,
name=name@entry=0x7fffde867b20 "last_message_timestamp",
default_value=default_value@entry=0)
at /build/pidgin-DIrcTX/pidgin-2.10.12/./libpurple/account.c:2443
setting =
I'm running into the same issue as well. Here's what my backtrace looks like from gdb:
(Pidgin:30380): Json-CRITICAL **: json_object_get_string_member: assertion 'node != NULL' failed
(Pidgin:30380): Json-CRITICAL **: json_object_get_array_member: assertion 'node != NULL' failed
(Pidgin:30380): Json-CRITICAL **: json_array_get_length: assertion 'array != NULL' failed
(Pidgin:30380): Json-CRITICAL **: json_object_get_string_member: assertion 'node != NULL' failed
(Pidgin:30380): Json-CRITICAL **: json_object_get_array_member: assertion 'node != NULL' failed
(Pidgin:30380): Json-CRITICAL **: json_array_get_length: assertion 'array != NULL' failed
(Pidgin:30380): Json-CRITICAL **: json_object_get_array_member: assertion 'node != NULL' failed
(Pidgin:30380): Json-CRITICAL **: json_array_get_length: assertion 'array != NULL' failed
Program received signal SIGSEGV, Segmentation fault. g_hash_table_lookup (hash_table=0x51, key=0x7fffe8216e20) at ghash.c:1147 1147 ghash.c: No such file or directory. in ghash.c Missing separate debuginfos, use: debuginfo-install pidgin-2.10.12-0.x86_64 (gdb) bt full
node_hash = <value optimized out>
__FUNCTION__ = "g_hash_table_lookup"
srv_txt_query_ui_ops = 0x0
No symbol table info available.
No symbol table info available.
No symbol table info available.
No symbol table info available.
dispatch = 0x7ffff6a0ff30 <g_io_unix_dispatch>
prev_source = <value optimized out>
was_in_call = 0
user_data = 0xf5f170
callback = 0x468f80 <pidgin_io_invoke>
cb_funcs = 0x7ffff6c8cf80
cb_data = 0x150a6b0
need_destroy = <value optimized out>
source = 0x18275e0
current = 0xe25cb0
i = <value optimized out>
No locals.
) at gmain.c:3927
max_priority = 2147483647
timeout = 2192
some_ready = 1
nfds =
__FUNCTION__ = "g_main_loop_run"
No symbol table info available.
No symbol table info available.
I'm running on RHEL6 with Pidgin version 2.10.12 and libpurple 2.10.12.
It turns out I was hitting this issue due to issue #13. After following the steps outlined in that issue by nelmsee on Dec 12, 2016, I was able to get things working.
When I enter in my gmail email, and my token, Pidgin crashes when it tries to connect.
When I was installing the app, after running make && sudo make install, I was getting the following warnings:
gcc -Wall -I. -g -O2 -fPIC -pipe libpushbullet.c -o libpushbullet.so -pthread -I/usr/include/json-glib-1.0 -I/usr/include/glib-2.0 -I/usr/lib/x86_64-linux-gnu/glib-2.0/include -I/usr/include/libpurple -ljson-glib-1.0 -lgio-2.0 -lgobject-2.0 -lpurple -lglib-2.0 -shared libpushbullet.c: In function ‘pb_set_base64_icon_for_buddy’: libpushbullet.c:112:19: warning: variable ‘icon’ set but not used [-Wunused-but-set-variable] PurpleBuddyIcon *icon; ^ libpushbullet.c: In function ‘pb_fetch_url’: libpushbullet.c:200:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘size_t’ [-Wformat=] g_string_append_printf(headers, "Content-Length: %d\r\n", strlen(postdata)); ^ libpushbullet.c: In function ‘pb_socket_got_data’: libpushbullet.c:324:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘guint64’ [-Wformat=] purple_debug_info("pushbullet", "frame_len: %d\n", frame_len); ^ libpushbullet.c: In function ‘pb_got_phone_thread’: libpushbullet.c:509:8: warning: unused variable ‘len’ [-Wunused-variable] guint len; ^ libpushbullet.c: In function ‘pb_got_everything’: libpushbullet.c:792:16: warning: unused variable ‘type’ [-Wunused-variable] const gchar *type = json_object_get_string_member(error, "type"); ^ libpushbullet.c:923:17: warning: unused variable ‘image_url’ [-Wunused-variable] const gchar *image_url = json_object_get_string_member(contact, "image_url"); ^ libpushbullet.c:941:17: warning: unused variable ‘image_url’ [-Wunused-variable] const gchar *image_url = json_object_get_string_member(contact, "image_url"); ^ libpushbullet.c:955:16: warning: unused variable ‘text’ [-Wunused-variable] JsonObject *text = json_array_get_object_element(texts, i); ^ andrew@lampert:~/Downloads/pidgin-pushbullet-master$ sudo make install mkdir -m 0755 -p /usr/lib/purple-2 install -m 0644 libpushbullet.so /usr/lib/purple-2/libpushbullet.so mkdir -m 0755 -p /usr/share/pixmaps/pidgin/protocols/16 install -m 0644 icons/pushbullet16.png /usr/share/pixmaps/pidgin/protocols/16/pushbullet.png mkdir -m 0755 -p /usr/share/pixmaps/pidgin/protocols/22 install -m 0644 icons/pushbullet22.png /usr/share/pixmaps/pidgin/protocols/22/pushbullet.png mkdir -m 0755 -p /usr/share/pixmaps/pidgin/protocols/48 install -m 0644 icons/pushbullet48.png /usr/share/pixmaps/pidgin/protocols/48/pushbullet.png