majn / telegram-purple

Adds support for Telegram to Pidgin, Adium, Finch and other Libpurple based messengers.
GNU General Public License v2.0
735 stars 81 forks source link

Enabling Telegram on Windows Crashes Pidgin (again) #416

Closed Reilsss closed 6 years ago

Reilsss commented 6 years ago

Hello, I'm not sure where to address this, so I thougth I should write here.

The problem I have is Identical to Issue

324 https://github.com/majn/telegram-purple/issues/324

220 https://github.com/majn/telegram-purple/issues/220

And kinda

222 https://github.com/majn/telegram-purple/issues/222

I luckly do know 'why' pidgin crashes. But unfroently I do not know where the Pidgin Logfiles is located to copy past the debug info.

I readed thougth all this 3 threads and tryed the alternative plugin dll's posted in #220. Saddly without success. So I'm unsure what I can try to do to get away from the problem.

The problem appears for me when I join a secret telegram group of my friend. The group contains only posted images of the resoultion 1024*1280 (or the like). And from what I can see from telegram client. There like 50+ of thise images posted in that group.

I preusme rigth now that pidgin crashes on start up because it atempts to sync itself with the messages of that group. (Means it atempts to download this 50 and more large images and explodes (crashes) while atempting that).

I can avoid the problem, currently only by leacing that group in the telegram main client. (So pidgin is not told to sync with the messages of that very group.)

I do run the plugin Downloadable from here: http://eion.robbmob.com/telegram/ together with Pidgin Version 2.12.0.0 I saddly can't figure out if its a 32 or 64 bit version of pidgin.

Does anyone maybe have a advice, about what I should try. Besides obvious stay away from picture heavy groups until a new version is avalible?

Thanks anyone in advance.

EionRobb commented 6 years ago

https://developer.pidgin.im/wiki/GetABacktrace

The backtrace is really the only way to work out where the crash it being caused. Also if you can get the version number of the plugin from Help->Plugin Information, that would really help

Reilsss commented 6 years ago

Hello EionRobb, sorry for the delay. Thank you for giving me a link how to backtrace with pidgin.

Here is my backtrace for the crash: `-------------------

Error occured on Monday, October 2, 2017 at 17:25:21.

Windows Version 6.2 Build 9200

D:\Programs\Pidgin\pidgin.exe caused an Access Violation at location 0366b446 in module D:\Programs\Pidgin\plugins\libtelegram.dll Reading from location 00000014.

Registers: eax=00000000 ebx=00000001 ecx=762570f4 edx=000000b4 esi=00000000 edi=00000001 eip=0366b446 esp=0061eaf0 ebp=0061eb38 iopl=0 nv up ei pl nz na pe nc cs=0023 ss=002b ds=002b es=002b fs=0053 gs=002b efl=00010202

Call stack: 0366B446 D:\Programs\Pidgin\plugins\libtelegram.dll purple_init_plugin 03691728 D:\Programs\Pidgin\plugins\libtelegram.dll purple_init_plugin 0368AD32 D:\Programs\Pidgin\plugins\libtelegram.dll purple_init_plugin 036763AE D:\Programs\Pidgin\plugins\libtelegram.dll purple_init_plugin 03676961 D:\Programs\Pidgin\plugins\libtelegram.dll purple_init_plugin 036774FD D:\Programs\Pidgin\plugins\libtelegram.dll purple_init_plugin 036777FC D:\Programs\Pidgin\plugins\libtelegram.dll purple_init_plugin 03662579 D:\Programs\Pidgin\plugins\libtelegram.dll 036626FA D:\Programs\Pidgin\plugins\libtelegram.dll 03661BAB D:\Programs\Pidgin\plugins\libtelegram.dll D:\Programs\Pidgin\pidgin.dll [2.12.0.0] Using Debug Symbols from: D:\Programs\Pidgin\pidgin-2.12.0-dbgsym\pidgin.dll.dbgsym 53E4FA48 D:\Programs\Pidgin\pidgin.dll pidgin_docklet_uninit D:\Programs\Pidgin\Gtk\bin\libglib-2.0-0.dll [2.28.8.0] 685EB90D D:\Programs\Pidgin\Gtk\bin\libglib-2.0-0.dll g_main_context_dispatch 685EBD9D D:\Programs\Pidgin\Gtk\bin\libglib-2.0-0.dll g_main_loop_run D:\Programs\Pidgin\Gtk\bin\libgtk-win32-2.0-0.dll [2.16.6.0] 61854260 D:\Programs\Pidgin\Gtk\bin\libgtk-win32-2.0-0.dll gtk_main`

Here the software Versions that I readed from pidgin -> Help About and Help Plugin Information: Pidgin Version 2.12.0 Telegram Plugin: Version 1.3.0 with libtgl in Version 2.1.0 (This is the telegram-purple-1.3.0rev2.exe Version from 2016-09-02 from this website: http://eion.robbmob.com/telegram/ ) Windows is windows 10 Pro (64 bit) Install partion for pidgin is on a SSD. Not sure if that relevant.

How I reproduce the error:

  1. I join that group with the many large pictures of my frind. By using a join group link inside the telegram windows Client. I join the group there fine.
  2. I close pidgin.
  3. I try to start pidgin, it crashes now on start with the above given backtrace. To undo the problem. I need to leave that group in the telegram client. From that point on can pidgin start without crashing.

Is there anything else I can do to provide additonal information?

BenWiederhake commented 6 years ago

Hey @Reilsss, does the bug still happen with the new windows installer?

azharisan commented 6 years ago

do you live???

Reilsss commented 6 years ago

@Azharisan, I'm unsure, I'm still struggling with the aftermath situation of my fathers accident (he recied braindamage saddly). As a result of this I lost focus about many online related things like this. I'm sorry for the enterly long wait till responce.

@BenWiederhake: I tryed out the new windows installer. Sofar I have not seen any crashes. I also visited the image focused group that used to give me the crashes. And sofar everything seems to work as it is supposed to.

Therefore I belive that the problem I faced has been fixed. If I should find something I guess I can always submit a new issue?

BenWiederhake commented 6 years ago

Sounds awesome!