pidgin crashed with SIGSEGV in notify_get_server_caps()

Bug #537208 reported by Alexey Maximov
84
This bug affects 15 people
Affects Status Importance Assigned to Milestone
libnotify (Ubuntu)
Invalid
Medium
Unassigned
Lucid
Won't Fix
Low
Unassigned

Bug Description

Binary package hint: pidgin

bug occurs after enable/disable notify applet

ProblemType: Crash
Architecture: i386
Date: Thu Mar 11 11:12:51 2010
DistroRelease: Ubuntu 10.04
ExecutablePath: /usr/bin/pidgin
InstallationMedia: Error: [Errno 13] Отказано в доступе: '/var/log/installer/media-info'
Package: pidgin 1:2.6.6-1ubuntu4
ProcCmdline: pidgin
ProcEnviron:
 SHELL=/bin/bash
 LANG=ru_UA.utf8
ProcVersionSignature: Ubuntu 2.6.32-16.25-generic
SegvAnalysis:
 Segfault happened at: 0x16441cb <notify_get_server_caps+235>: mov 0x8(%eax),%eax
 PC (0x016441cb) ok
 source "0x8(%eax)" (0x00000008) not located in a known VMA region (needed readable region)!
 destination "%eax" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: pidgin
StacktraceTop:
 notify_get_server_caps () from /usr/lib/libnotify.so.1
 ?? () from /usr/lib/purple-2/pidgin-libnotify.so
 purple_plugin_load () from /usr/lib/libpurple.so.0
 ?? ()
 g_cclosure_marshal_VOID__STRING ()
Title: pidgin crashed with SIGSEGV in notify_get_server_caps()
Uname: Linux 2.6.32-16-generic i686
UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
XsessionErrors:
 (polkit-gnome-authentication-agent-1:8260): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed
 (bluetooth-applet:8262): Gtk-CRITICAL **: gtk_action_set_sensitive: assertion `GTK_IS_ACTION (action)' failed
 (gnome-terminal:8443): Gtk-CRITICAL **: gtk_accel_map_unlock_path: assertion `entry != NULL && entry->lock_count > 0' failed

Revision history for this message
Alexey Maximov (amax) wrote :
Revision history for this message
Alexey Maximov (amax) wrote :

should I recompile pidgin with debug and try again ?

Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 notify_get_server_caps () at notify.c:228
 plugin_load (plugin=0x8930a88) at pidgin-libnotify.c:1193
 purple_plugin_load (plugin=0x8930a88)
 plugin_toggled (cell=0x96bbcf8, pth=0x9428858 "15",
 g_signal_handler_block () from /usr/lib/libgobject-2.0.so.0

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in pidgin (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
visibility: private → public
affects: pidgin (Ubuntu) → pidgin-libnotify (Ubuntu)
Changed in pidgin-libnotify (Ubuntu):
status: New → Confirmed
Revision history for this message
Ted Gould (ted) wrote :

Looking at this it seems to be fixed in libnotify 0.5.0 in that it doesn't use the message in the error from proxy_call which doesn't always set it.

affects: pidgin-libnotify (Ubuntu) → libnotify (Ubuntu)
Changed in libnotify (Ubuntu):
status: Confirmed → Won't Fix
status: Won't Fix → Fix Released
Changed in libnotify (Ubuntu Lucid):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Ted Gould (ted) wrote :

I've got a package built in my bugfix PPA:

  https://launchpad.net/~ted/+archive/bugfix

It's libnotify 0.4.5-1ubuntu4 which removes the print which is causing this bug. Packaging branch is attached to the bug. If folks could try it and ensure it fixes the bug for them that would be wonderful. Thanks!

Revision history for this message
Sebastien Bacher (seb128) wrote :

I've sponsored the change now

Changed in libnotify (Ubuntu Lucid):
status: Confirmed → Fix Committed
Revision history for this message
John Dong (jdong) wrote :

ACK from SRU team

Revision history for this message
Martin Pitt (pitti) wrote :

Seb, I rejected your upload so that I could add the patch in bug 570462. I re-uploaded this now.

tags: added: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted libnotify into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Revision history for this message
Rafal-maj-it (rafal-maj-it) wrote :
Download full text (5.2 KiB)

Sorry it seems to not be fixed.
Ubuntu lucid-proposed amd64.

Im on libnotify1 0.4.5-1ubuntu4 (is this correct? how to check?)

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff0b29d75 in dbus_g_proxy_call () from /usr/lib/libdbus-glib-1.so.2
(gdb) bt
#0 0x00007ffff0b29d75 in dbus_g_proxy_call () from /usr/lib/libdbus-glib-1.so.2
#1 0x00007fffe1b47ce2 in notify_get_server_caps () from /usr/lib/libnotify.so.1
#2 0x00007fffe23752fc in notify_check_caps (plugin=0x7e7480) at pidgin-libnotify.c:1193
#3 plugin_load (plugin=0x7e7480) at pidgin-libnotify.c:1218
#4 0x00007ffff4b90c1f in purple_plugin_load () from /usr/lib/libpurple.so.0
#5 0x000000000048e8eb in plugin_toggled (cell=<value optimized out>, pth=<value optimized out>, data=<value optimized out>) at /build/buildd/pidgin-2.6.6/./pidgin/gtkplugin.c:271
#6 0x00007ffff53235de in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#7 0x00007ffff5337598 in ?? () from /usr/lib/libgobject-2.0.so.0
#8 0x00007ffff5338a76 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#9 0x00007ffff5339033 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#10 0x00007ffff61bd529 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x00007ffff635e5f0 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x00007ffff635e9cb in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00007ffff635bc14 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x00007ffff6257178 in ?? () from /usr/lib/l...

Read more...

Changed in libnotify (Ubuntu Lucid):
status: Fix Committed → In Progress
Revision history for this message
Rafal-maj-it (rafal-maj-it) wrote :

restarting pidgin, and re-logging in into desktop (logout/login) did not help. Toggling that plugin 1 or 2 times crashes as above

Martin Pitt (pitti)
tags: added: verification-failed
removed: verification-needed
Changed in libnotify (Ubuntu):
assignee: nobody → Ted Gould (ted)
status: Fix Released → Confirmed
Changed in libnotify (Ubuntu Lucid):
status: In Progress → Confirmed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libnotify - 0.4.5-1ubuntu4

---------------
libnotify (0.4.5-1ubuntu4) lucid-proposed; urgency=low

  [ Ted Gould ]
  * debian/patches/04_no_error_msg.patch: Remove reporting
    of proxy_call error messages as they don't always exist and
    have been removed upstream in 0.5.0. (LP: #537208)

  [ Guillaume Mazoyer ]
  * debian/patches/04_assertion-on-exit.patch: Fix an assertion when a process
    would init and uninit libnotify without send a notification (LP: #570462).
 -- Ted Gould <email address hidden> Wed, 07 Jul 2010 11:57:03 -0500

Changed in libnotify (Ubuntu Lucid):
status: Confirmed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Reopening since this failed verification.

Changed in libnotify (Ubuntu Lucid):
status: Fix Released → Confirmed
tags: removed: verification-failed
Ted Gould (ted)
Changed in libnotify (Ubuntu):
assignee: Ted Gould (ted) → nobody
Revision history for this message
Rolf Leggewie (r0lf) wrote :

lucid has seen the end of its life and is no longer receiving any updates. Marking the lucid task for this ticket as "Won't Fix".

Changed in libnotify (Ubuntu Lucid):
status: Confirmed → Won't Fix
Changed in libnotify (Ubuntu):
status: Confirmed → Invalid
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.