Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#13554 closed patch (fixed)

multiple empty messages when receiving image

Reported by: tomkiewicz Owned by: bartosz
Milestone: 2.8.0 Component: Gadu-Gadu
Version: 2.7.11 Keywords: images
Cc:

Description (last modified by tomkiewicz)

When somebody sends me an image, I get some (depends on image size) empty messages. It's about one empty message for every 2kB of image.

Steps to reproduce:

  1. install and run AQQ on Windows (or any other gadu-gadu client with image sending support), login with one gg account
  2. run Pidgin 2.7.11 under linux (maybe on Windows too), login with another gg account
  3. send ~50kB image from AQQ to Pidgin
  4. you should get 20-30 received empty messages in Pidgin and one with image after it

I fixed it by checking if gg message is empty and - if true - drops the message and print warning in debug window.

Attachments (2)

pidgin-gg-empty-messages.patch (465 bytes) - added by tomkiewicz 8 years ago.
Fixes empty messages bug
pidgin-gg-empty-messages-2.patch (730 bytes) - added by tomkiewicz 8 years ago.
Fixes empty messages bug with libgadu 1.10.1

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by tomkiewicz

Fixes empty messages bug

comment:1 Changed 8 years ago by tomkiewicz

  • Description modified (diff)

Libgadu 1.10.1 puts NULL instead of empty string in broken messages - so after update to 1.10.1 (#13525) the second patch will be suitable.

Changed 8 years ago by tomkiewicz

Fixes empty messages bug with libgadu 1.10.1

comment:2 Changed 8 years ago by tomkiewicz@…

  • Milestone set to 2.8.0
  • Resolution set to fixed
  • Status changed from new to closed

(In e9ea8bc5cf8940fcb13b6b9e7e660580089a5bb0):
When somebody sends me an image, I get some (depends on image size) empty messages. It's about one empty message for every 2kB of image.

Steps to reproduce:

  1. install and run AQQ on Windows (or any other gadu-gadu client with image sending support), login with one gg account
  2. run Pidgin 2.7.11 under linux (maybe on Windows too), login with another gg account
  3. send ~50kB image from AQQ to Pidgin
  4. you should get 20-30 received empty messages in Pidgin and one with image after it

I fixed it by checking if gg message is empty and - if true - drops the message and print warning in debug window.

Fixes #13554.

comment:3 Changed 8 years ago by rekkanoryo@…

(In b3c06126ca7f8cd5cee3392834487b121d707685):
Credit Tomasz for his patch. Refs #13554.

Note: See TracTickets for help on using tickets.
All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!