davidgfnet / whatsapp-purple

WhatsApp protocol implementation for libpurple (pidgin)
855 stars 211 forks source link

Crash (throwing an instance of 'int') #380

Open Imhotep-2700bc opened 8 years ago

Imhotep-2700bc commented 8 years ago

Hello, I'm using version whatsapp-purple 0.9.0 with Pidgin 2.10.12 (libpurple 2.10.12) on Linux. It crashes not every time but quite often after the start with:

(18:33:29) whatsapp: Updating user profile picture for 49xxxxxxxxx terminate called after throwing an instance of 'int' dns[19317]: Oops, father has gone, wait for me, wait...! Abgebrochen $ dns[19316]: Oops, father has gone, wait for me, wait...! dns[19315]: Oops, father has gone, wait for me, wait...! dns[19314]: Oops, father has gone, wait for me, wait...!

The problem appeared after I was added to an additional chat group. As a workaround it helps when I remove some buddys, regardless of which.

Amount of buddys: 96 Count of members in chat group 1: 45 Count of members in chat group 2: 13 Count of members in chat group 3: 45

Another hint: It seems pidgin starts well, when a message is waiting in one of the chat rooms. It crashes when there is no message to pick up.

Greetings

anmol26s commented 8 years ago

I have similar problem.#385 I confirm it do not crashes if there is a messages waiting to be delivered in a group chat. Any solution ?

Imhotep-2700bc commented 8 years ago

Unfortunately no solution, only a workaround. Meanwhile group 3 has been deleted and I reduced the amount of buddys. Now it works again.

KottV commented 8 years ago

Have same issue. Removing couple of contacts from whatsapp list solves it =/

githans1 commented 8 years ago

Have the same issue. It looks like only a maximum number of contacts is possible. Pidgin starts crashing when I add an extra contact, irrespective of which one. The issue goes away when I remove a contact.

PS: I have 21 whatsapp contacts, and 7 groups.

davidgfnet commented 8 years ago

Issue #385 is related to this. The fix is trivial, I'll try to commit it at some point.

KottV commented 8 years ago

It has started to crash with half-cleaned blist.xml David, please, do something.