Segmentation fault when using mzclient

Bug #819323 reported by Juan Carlos Inostroza
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Pidgin
Fix Released
Unknown
pidgin (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When running mzclient locally and sending a message using pidgin, pidgin crashes.

How to replicate:
1.- Start mzclient

$ mzclient -p "_presence._tcp 5298 BOT TXT [ msg='STATUS']"

2.- Open pidgin and create a bonjour account

3.- Wait until BOT appears online

4.- Send a message using pidgin.

Backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x00007fffe2521835 in ?? () from /usr/lib/purple-2/libbonjour.so
(gdb) bt
#0 0x00007fffe2521835 in ?? () from /usr/lib/purple-2/libbonjour.so
#1 0x0000000000468f5e in ?? ()
#2 0x00007ffff4d61bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007ffff4d623a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4 0x00007ffff4d629f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5 0x00007ffff641daf7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#6 0x0000000000481d68 in main ()

Version:

$ apt-cache policy pidgin
pidgin:
  Installed: 1:2.7.11-1ubuntu2
  Candidate: 1:2.7.11-1ubuntu2
  Version table:
 *** 1:2.7.11-1ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
        100 /var/lib/dpkg/status

Strace:
sendto(38, "<message to='BOT' from='jci@socr"..., 199, 0, NULL, 0) = 199
sendto(40, "</stream:stream>", 16, 0, NULL, 0) = 16
close(40) = 0
read(7, 0xe8a9f4, 4096) = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=17, events=POLLIN}, {fd=18, events=POLLIN}, {fd=23, events=POLLIN}, {fd=19, events=POLLIN}, {fd=10, events=POLLIN}, {fd=16, events=POLLIN}, {fd=8, events=POLLIN}, {fd=25, events=POLLIN}, {fd=14, events=POLLIN}, {fd=39, events=POLLIN}, {fd=28, events=POLLIN}, {fd=4, events=POLLIN}, {fd=35, events=POLLIN}, {fd=37, events=POLLIN}, {fd=32, events=POLLIN}, {fd=34, events=POLLIN}, {fd=24, events=POLLIN}, {fd=38, events=POLLOUT}, {fd=38, events=POLLIN}], 21, 0) = 2 ([{fd=38, revents=POLLOUT|POLLERR|POLLHUP}, {fd=38, revents=POLLIN|POLLERR|POLLHUP}])
recvfrom(38, "</stream:stream>", 4095, 0, NULL, NULL) = 16
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault

Revision history for this message
Juan Carlos Inostroza (jci) wrote :

Backtrace full added

Revision history for this message
Juan Carlos Inostroza (jci) wrote :

backtrace with glib-gtk-pidgin symbols

Revision history for this message
Fabio Marconi (fabiomarconi) wrote :

Hello
I've reproduced this in the same version so I confirm
Thanks
Fabio

Changed in pidgin (Ubuntu):
status: New → Confirmed
Changed in pidgin:
status: Unknown → New
Changed in pidgin:
status: New → Unknown
Changed in pidgin:
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.