Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on getting facebook offline messages #259

Open
siwyandrew opened this issue Aug 8, 2016 · 8 comments
Open

Crash on getting facebook offline messages #259

siwyandrew opened this issue Aug 8, 2016 · 8 comments
Labels

Comments

@siwyandrew
Copy link

Hi , recently I have got a problem with my pidgin facebook plugin. When I try to open pidgin with "Show unread messages" option checked at start facebook crashes with error (sorry if i translated something wrong, because i have polish version of pidgin)
"0x06c434ds2 instruction reffers to memory address 0x6870683b. memory can't be read"

When i click ok pidgin closes itself. With this option checked Pidgin tries to show conversiation that I have already read on webpage. deleting whole history from .purple folder doesn't help.

http://wklej.org/id/2779887/ here is debug log

http://wklej.org/id/2779888/ here is pidgin rtp file

If i try to open pidgin with this unchecked, and when it loads check tris option manually it works, but i dont want to log into facebook manually to read offline messages. If some important informations are missing please ask

@siwyandrew siwyandrew changed the title crash on getting offline offline messages Crash on getting facebook offline messages Aug 8, 2016
@dequis
Copy link
Owner

dequis commented Aug 8, 2016

@EionRobb need help with this one, how do we get some proper debug symbols for this?

@siwyandrew
Copy link
Author

if you asked me, then I don't know , I hoped that I gave you all info, that could help.

@EionRobb
Copy link
Collaborator

EionRobb commented Aug 9, 2016

@siwyandrew do you have the debug symbols installed for Pidgin? (It's an option you pick when you run the Pidgin installer). If not, can you reinstall with debug symbols?

@siwyandrew
Copy link
Author

i have created this : http://wklej.org/id/2779888/ rtp using pidgin debug. If i have done something wrong please give me step by step solution how to create proper one. I had run pidgin with all additional plugins disabled, facebook tried to open group chat and then crashed application

@dequis
Copy link
Owner

dequis commented Aug 11, 2016

Welp it didn't get better. It's some sort of double free but really no clue where.

How about emailing a full debugging log? https://github.com/dequis/purple-facebook/wiki/Debugging-Logs (the one in the description is missing a lot of details, but the full ones have too many details to post publicly)

@siwyandrew
Copy link
Author

dequis i doesn't happen everytilme so it may take some time before i will get this error debug, but if it will happen i will send it directly to you by email/private message, but please send me contact to you, I can't find them on your prifile

@dequis
Copy link
Owner

dequis commented Aug 11, 2016

Well, sending them to jgeboski's address as mentioned in that page is fine too (he just forwards me facebook stuff nowadays), but i'm dx@dxzone.com.ar

@dequis
Copy link
Owner

dequis commented Sep 14, 2016

Posting stuff here because I keep forgetting where I left the logs.

C:\Program Files (x86)\Pidgin\pidgin.exe caused an Access Violation at location 68606191 in module C:\Program Files (x86)\Pidgin\Gtk\bin\libglib-2.0-0.dll Reading from location 69616d61.

Registers:
eax=69616d61 ebx=07796a90 ecx=00000019 edx=07250d40 esi=077cf2e8 edi=00000000
eip=68606191 esp=0028eba0 ebp=0028ebc8 iopl=0         nv up ei pl nz na pe nc
cs=0023  ss=002b  ds=002b  es=002b  fs=0053  gs=002b             efl=00210202

Call stack:
         C:\Program Files (x86)\Pidgin\Gtk\bin\libglib-2.0-0.dll [2.28.8.0]
68606191 C:\Program Files (x86)\Pidgin\Gtk\bin\libglib-2.0-0.dll  g_slist_remove
66AC4DB8 C:\Program Files (x86)\Pidgin\plugins\libfacebook.dll  purple_init_plugin
66ABA87A C:\Program Files (x86)\Pidgin\plugins\libfacebook.dll
         C:\Program Files (x86)\Pidgin\libpurple.dll [2.11.0.0]
         Using Debug Symbols from: C:\Program Files (x86)\Pidgin\pidgin-2.11.0-dbgsym\libpurple.dll.dbgsym
7415DA35 C:\Program Files (x86)\Pidgin\libpurple.dll  purple_connection_destroy
74165F8F C:\Program Files (x86)\Pidgin\libpurple.dll  purple_debug_info
         C:\Windows\SysWOW64\ntdll.dll [6.1.7601.23338]
7777E0A3 C:\Windows\SysWOW64\ntdll.dll  RtlFreeHeap
         C:\Program Files (x86)\Pidgin\libpurple.dll [2.11.0.0]
         Using Debug Symbols from: C:\Program Files (x86)\Pidgin\pidgin-2.11.0-dbgsym\libpurple.dll.dbgsym
74143F82 C:\Program Files (x86)\Pidgin\libpurple.dll  purple_account_disconnect
7415CD81 C:\Program Files (x86)\Pidgin\libpurple.dll  purple_cmds_uninit
         C:\Windows\syswow64\msvcrt.dll [7.0.7601.21878]
765C98DA C:\Windows\syswow64\msvcrt.dll  free
         C:\Program Files (x86)\Pidgin\Gtk\bin\libglib-2.0-0.dll [2.28.8.0]
685E839E C:\Program Files (x86)\Pidgin\Gtk\bin\libglib-2.0-0.dll  g_list_sort_with_data
685EC49E C:\Program Files (x86)\Pidgin\Gtk\bin\libglib-2.0-0.dll  g_source_get_time
685EB167 C:\Program Files (x86)\Pidgin\Gtk\bin\libglib-2.0-0.dll  g_main_context_dispatch
685EB90D C:\Program Files (x86)\Pidgin\Gtk\bin\libglib-2.0-0.dll  g_main_context_dispatch
685EBD9D C:\Program Files (x86)\Pidgin\Gtk\bin\libglib-2.0-0.dll  g_main_loop_run
         C:\Program Files (x86)\Pidgin\Gtk\bin\libgtk-win32-2.0-0.dll [2.16.6.0]
020D4260 C:\Program Files (x86)\Pidgin\Gtk\bin\libgtk-win32-2.0-0.dll  gtk_main

Not much better but somewhat improved.

Log stuff:

(20:17:53) http: Performing new request 0773D298 for https://graph.facebook.com/graphql.
(20:17:53) http: Connecting to https://graph.facebook.com/graphql...
(20:17:53) facebook: HTTP Request (0773D298):
(20:17:53) facebook:   Request URL: https://graph.facebook.com/graphql
(20:17:53) facebook:   Request Data: fb_api_req_friendly_name=ThreadQuery&locale=pl&query_params=%7B%220%22%3A%5B%22730714030****4%22%5D%2C%2210%22%3A%22false%22%2C%2211%22%3A%22false%22%2C%2213%22%3A%22false%22%7D&format=json&device_id=ff39f614-58e1-429b-9aee-****&api_key=256002347743983&sig=5421337b4d810df62bc1ddb38b37beb1&method=get&query_id=10153919752036729
[...]

(20:17:53) facebook: HTTP Response (0773D298):
(20:17:53) facebook:   Response Error: 200
(20:17:53) facebook:   Response Data: {"error":{"code":1675030,"api_error_code":null,"summary":"Query Error","description":"Error performing query.","is_silent":false,"is_transient":false,"requires_reauth":false,"allow_user_retry":false,"debug_info":null,"query_path":null,"fbtrace_id":"..."}}

The debug log doesn't have the mqtt stuff but whatever, this http stuff might be enough.

Looks like a classic wrong-time-to-disconnect issue.

note to self, ~/test/gits/purple-facebook/ticket259.{log,rpt}

@dequis dequis added the bug label Oct 13, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants