Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#5971 closed defect (fixed)

Receiving files via Bonjour crashes Pidgin

Reported by: pirast Owned by: datallah
Milestone: 2.5.0 Component: Bonjour
Version: 2.4.1 Keywords:
Cc:

Description

Hi, I am using Pidgin 2.4.1 on Fedora 9. I have two computers running Pidgin with the Bonjour protocol in my LAN.

When I send a file via Bonjour from computer A to computer B, the Pidgin on computer B crashes after selecting where to store the file.

I will attach the backtrace.

Btw., maybe Bonjour should be renamed to Zeroconf, as Bonjour is an implentation and Zeroconf is the actual protocol.. Just an idea.

Attachments (2)

gdb-pidgin.txt (7.9 KB) - added by pirast 11 years ago.
pidgin backtrace
gdb-pidgin.2.txt (5.0 KB) - added by pirast 11 years ago.
new backtrace 2

Download all attachments as: .zip

Change History (10)

Changed 11 years ago by pirast

pidgin backtrace

comment:1 Changed 11 years ago by datallah

  • pending changed from 0 to 1

There's some sort of memory corruption here - it shouldn't be trying to call purple_dnsquery_destroy() because the DNS query data is set to NULL in connection_host_resolve()

Does this happen consistently?

Please follow the directions to get a crash report with MALLOC_CHECK_=2 set.

comment:2 Changed 11 years ago by pirast

  • pending changed from 1 to 0

Does this happen consistently?

Yes :(

Hope that helps, now I followed the Pidgin instructions:

(gdb) bt full #0 0x00110416 in kernel_vsyscall () No symbol table info available. #1 0x00223660 in raise (sig=<value optimized out>)

at ../nptl/sysdeps/unix/sysv/linux/raise.c:64

resultvar = <value optimized out> pid = <value optimized out> selftid = <value optimized out>

#2 0x00225028 in abort () at abort.c:88

act = Could not find the frame base for "abort".

comment:3 Changed 11 years ago by datallah

  • pending changed from 0 to 1

Unfortunately, this backtrace doesn't help, is there more to it than the two frames?

I can't recreate this issue when I try - can you provide steps that I can follow to recreate it?

comment:4 Changed 11 years ago by pirast

  • pending changed from 1 to 0

is there more to it than the two frames?

no, but I'll try to install more debuginfos, maybe there's more then.

can you provide steps that I can follow to recreate it?

well PC A send PC B a file whereas PC B is firewalled. Did not try without firewall yet.

Changed 11 years ago by pirast

new backtrace 2

comment:5 Changed 11 years ago by pirast

new backtace attached, sorry for the delay. i hope that it is more helpful.

comment:6 Changed 11 years ago by datallah@…

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

(In 3d39da6c8014095cac3a0741bf6fc26219e7aff8):
Fix a double free when connecting to the sender of a bonjour file fails. Also plug a small leak. Fixes #5971.

comment:7 Changed 11 years ago by datallah@…

(In e935afc929a5049cfa89072e6e9dd8e3ab0afa54):
Fix a double free when connecting to the sender of a bonjour file fails. Also plug a small leak. Fixes #5971. (this time only commit the one file instead of my whole tree)

comment:8 Changed 11 years ago by pirast

Thanks for the fix. Works fine now :)

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!