rtreffer / asmack

xmpp library smack 3.1.0 build env for android (see http://asmack.googlecode.com/ for binaries)
http://asmack.googlecode.com/
Other
114 stars 5 forks source link

PacketListener on XMPPConnection flooded with repeated processPacket() #4

Open ge0rg opened 14 years ago

ge0rg commented 14 years ago

In yaxim, the processPacket() function for incoming chat messages is sometimes called several times right after each other for one single message (pfleidi/yaxim#12). It seems to be caused by a misbehavior in either smacks PacketReader.listenerExecutor or maybe in Androids ExecutorService. I assume it is caused by the phone being half-asleep, becaue it only happens ocassionally. I'm opening the report here because it might affect other users of asmack as well, and because you might be able to help us track it down ;)