pidgin crashed with SIGSEGV

Bug #393943 reported by kungmidas
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pidgin (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: pidgin

jan@hp530:~$ pidgin -d
(19:09:12) prefs: Reading /home/jan/.purple/prefs.xml
(19:09:12) prefs: Finished reading /home/jan/.purple/prefs.xml
(19:09:12) dbus: okkk
(19:09:12) plugins: probing /usr/lib/pidgin/timestamp_format.so
(19:09:12) plugins: probing /usr/lib/pidgin/markerline.so
(19:09:12) plugins: probing /usr/lib/pidgin/gevolution.so
(19:09:12) plugins: probing /usr/lib/pidgin/gestures.so
(19:09:12) plugins: probing /usr/lib/pidgin/nautilus.so
(19:09:12) plugins: probing /usr/lib/pidgin/pidgin-otr.so
(19:09:12) plugins: probing /usr/lib/pidgin/xmppconsole.so
(19:09:12) plugins: probing /usr/lib/pidgin/extplacement.so
(19:09:12) plugins: probing /usr/lib/pidgin/spellchk.so
(19:09:12) plugins: probing /usr/lib/pidgin/ticker.so
(19:09:12) plugins: probing /usr/lib/pidgin/timestamp.so
(19:09:12) plugins: probing /usr/lib/pidgin/pidginrc.so
(19:09:12) plugins: probing /usr/lib/pidgin/history.so
(19:09:12) plugins: probing /usr/lib/pidgin/iconaway.so
(19:09:12) plugins: probing /usr/lib/pidgin/notify.so
(19:09:12) plugins: probing /usr/lib/pidgin/musicmessaging.so
(19:09:12) plugins: probing /usr/lib/pidgin/cap.so
(19:09:12) plugins: probing /usr/lib/pidgin/sendbutton.so
(19:09:12) plugins: probing /usr/lib/pidgin/convcolors.so
(19:09:12) plugins: probing /usr/lib/pidgin/gtkbuddynote.so
(19:09:12) plugins: probing /usr/lib/purple-2/statenotify.so
(19:09:12) plugins: probing /usr/lib/purple-2/log_reader.so
(19:09:12) plugins: probing /usr/lib/purple-2/perl.so
(19:09:12) plugins: probing /usr/lib/purple-2/autoaccept.so
(19:09:12) plugins: probing /usr/lib/purple-2/libirc.so
(19:09:12) plugins: probing /usr/lib/purple-2/libsametime.so
(19:09:12) plugins: /usr/lib/purple-2/libsametime.so has a prefs_info, but is a prpl. This is no longer supported.
(19:09:12) plugins: probing /usr/lib/purple-2/libbonjour.so
(19:09:12) plugins: probing /usr/lib/purple-2/libaim.so
(19:09:12) plugins: probing /usr/lib/purple-2/libzephyr.so
(19:09:13) plugins: probing /usr/lib/purple-2/libicq.so
(19:09:13) plugins: probing /usr/lib/purple-2/psychic.so
(19:09:13) plugins: probing /usr/lib/purple-2/libsilcpurple.so
(19:09:13) plugins: probing /usr/lib/purple-2/ssl-nss.so
(19:09:13) plugins: probing /usr/lib/purple-2/dbus-example.so
(19:09:13) plugins: probing /usr/lib/purple-2/libnovell.so
(19:09:13) plugins: probing /usr/lib/purple-2/tcl.so
(19:09:13) plugins: /usr/lib/purple-2/tcl.so is not loadable: libtk8.4.so.0: cannot open shared object file: No such file or directory
(19:09:13) plugins: probing /usr/lib/purple-2/newline.so
(19:09:13) plugins: probing /usr/lib/purple-2/liboscar.so
(19:09:13) plugins: /usr/lib/purple-2/liboscar.so is not usable because the 'purple_init_plugin' symbol could not be found. Does the plugin call the PURPLE_INIT_PLUGIN() macro?
(19:09:13) plugins: probing /usr/lib/purple-2/libsimple.so
(19:09:13) plugins: probing /usr/lib/purple-2/pidgin-libnotify.so
(19:09:13) plugins: probing /usr/lib/purple-2/offlinemsg.so
(19:09:13) plugins: probing /usr/lib/purple-2/libxmpp.so
Segmentation fault (core dumped)

ProblemType: Crash
Architecture: i386
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/pidgin
NonfreeKernelModules: wl
Package: pidgin 1:2.5.5-1ubuntu8.1
ProcCmdline: pidgin -d
ProcEnviron:
 SHELL=/bin/bash
 LANG=en_US.UTF-8
Signal: 11
SourcePackage: pidgin
StacktraceTop:
 ?? () from /lib/ld-linux.so.2
 ?? () from /lib/ld-linux.so.2
 ?? () from /lib/ld-linux.so.2
 ?? () from /lib/ld-linux.so.2
 ?? () from /lib/tls/i686/cmov/libdl.so.2
Title: pidgin crashed with SIGSEGV
Uname: Linux 2.6.28-13-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin plugdev sambashare vboxusers video

Revision history for this message
kungmidas (ih82b) wrote :
visibility: private → public
Revision history for this message
Montel Edwards (montel) wrote :

Hmmm. Could you try purging Pidgin and re installing?? This can be done by doing
'sudo aptitude purge pidgin && sudo aptitude install pidgin' and let us know if you have any more luck.

Best of luck
-Montel Edwards

Revision history for this message
kungmidas (ih82b) wrote :
Download full text (3.3 KiB)

Sorry, did not work. The problem is still the same. There were some strange messages about unmet dependencies though...
(
Below is the output. Afterwards, I also tried to remove everything "pidgin" in its name using Synaptic, and then reinstall pidgin and everything it depends on. Did not help. :-(

jan@hp530:~$ sudo aptitude purge pidgin && sudo aptitude install pidgin
[sudo] password for jan:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
Writing extended state information... Done
The following packages are BROKEN:
  pidgin-libnotify pidgin-otr
The following packages will be REMOVED:
  pidgin{p}
0 packages upgraded, 0 newly installed, 1 to remove and 1 not upgraded.
Need to get 0B of archives. After unpacking 1655kB will be freed.
The following packages have unmet dependencies:
  pidgin-libnotify: Depends: pidgin (< 1:3.0) but it is not installable
                    Depends: pidgin (>= 1:2.5) but it is not installable
  pidgin-otr: Depends: pidgin (< 1:3.0) but it is not installable
              Depends: pidgin (>= 1:2.5) but it is not installable
The following actions will resolve these dependencies:

Remove the following packages:
pidgin-libnotify
pidgin-otr

Leave the following dependencies unresolved:
ubuntu-desktop recommends pidgin
ubuntu-desktop recommends pidgin-libnotify
ubuntu-desktop recommends pidgin-otr
Score is -412

Accept this solution? [Y/n/q/?] Y
The following packages will be REMOVED:
  pidgin{p} pidgin-libnotify{a} pidgin-otr{a}
0 packages upgraded, 0 newly installed, 3 to remove and 1 not upgraded.
Need to get 0B of archives. After unpacking 2286kB will be freed.
Do you want to continue? [Y/n/?] Y
Writing extended state information... Done
(Reading database ... 174534 files and directories currently installed.)
Removing pidgin-otr ...
Removing pidgin-libnotify ...
(Reading database ... 174519 files and directories currently installed.)
Removing pidgin ...
Purging configuration files for pidgin ...
Processing triggers for man-db ...
Processing triggers for menu ...
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done

Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following NEW packages will be installed:
  pidgin
0 packages upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 0B/519kB of archives. After unpacking 1655kB will be used.
Writing extended state information... Done
Selecting previously deselected package pidgin.
(Reading database ... 174485 files and directories currently installed.)
Unpacking pidgin (from .../pidgin_1%3a2.5.5-1ubuntu8.1_i386.deb) ...
Processing triggers for menu ...
Processing triggers for man-db ...
Setting up pidgin (1:2.5.5-1ubuntu8.1) ...

Processing triggers for menu ...
Reading package lists... Done
Building dependency tree
Reading state info...

Read more...

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt (retraced)

StacktraceTop:_dl_relocate_object (scope=0x8e69a20, lazy=0, consider_profiling=0) at dl-reloc.c:237
dl_open_worker (a=0xbfafdabc) at dl-open.c:404
_dl_catch_error (objname=0xbfafdae4, errstring=0xbfafdae0, mallocedp=0xbfafdaeb,
_dl_open (file=0xbfafed56 "/usr/lib/sasl2/libdigestmd5.so.2", mode=-2147483646,
dlopen_doit (a=0xbfafdc50) at dlopen.c:67

Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt (retraced)
Changed in pidgin (Ubuntu):
importance: Undecided → Medium
tags: removed: need-i386-retrace
Revision history for this message
Luca Casagrande (luca-casagrande) wrote :
Download full text (3.6 KiB)

Same problem..
using 65bit Ubuntu 9.04.
Note that this happen also with pidgin coming from pidgin-develop repository
this is the backtrace:

doktoreas@doktoreas-laptop:~$ gdb pidgin
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
(gdb) handle SIGPIPE nostop noprint
Signal Stop Print Pass to program Description
SIGPIPE No No Yes Broken pipe
(gdb) run
Starting program: /usr/bin/pidgin
[Thread debugging using libthread_db enabled]
[New Thread 0x7f2699b4a7d0 (LWP 11070)]
[New Thread 0x7f2687e0a950 (LWP 11073)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7f2699b4a7d0 (LWP 11070)]
0x0000000000464551 in pidgin_docklet_init () at ../../pidgin/gtkdocklet.c:849
849 ../../pidgin/gtkdocklet.c: No such file or directory.
 in ../../pidgin/gtkdocklet.c
(gdb) bt full
#0 0x0000000000464551 in pidgin_docklet_init ()
    at ../../pidgin/gtkdocklet.c:849
 conn_handle = (void *) 0x7f2696c64d00
 conv_handle = (void *) 0x7f2696c64d10
 accounts_handle = (void *) 0x7f2696c64bd8
 status_handle = (void *) 0x7f2696c65014
#1 0x000000000047d36d in pidgin_ui_init () at ../../pidgin/gtkmain.c:310
No locals.
#2 0x00007f26969c51f2 in purple_core_init (ui=<value optimized out>)
    at ../../libpurple/core.c:182
 ops = (PurpleCoreUiOps *) 0x6d86a0
 __PRETTY_FUNCTION__ = "purple_core_init"
#3 0x000000000047da1f in main (argc=1, argv=0x7fffa1b87c98)
    at ../../pidgin/gtkmain.c:766
 opt_help = 0
 opt_login = 0
 opt_nologin = 0
 opt_version = <value optimized out>
 opt_si = 1
 opt_config_dir_arg = 0x0
 opt_login_arg = 0x0
 opt_session_arg = 0x0
 accounts = <value optimized out>
---Type <return> to continue, or q <return> to quit---
 sigset = {__val = {81927, 0 <repeats 15 times>}}
 prev_sig_disp = (void (*)(int)) 0
 errmsg = "\001\000\000\000&\177\000\000\0000�\231&\177\000\000P[���\177\000\000\000\000\000\000\000\000\000\000�\203\230\226&\177\000\0007O\227\231&\177\000\000\0000�\231&\177\000\000�T�\231&\177\000\000���\231&\177\000\000�ĵ\231&\177\000\000\000 �\231&\177\000\000\000��\231&\177\000\000\000е\231&\177\000\000�ɵ\231&\177\000\000\000��\231&\177\000\000�4�\231&\177\000\000�9�\231&\177\000\000�ٵ\231&\177\000\000\000��\231&\177\000\000\000\000\000\000\000\000\000\000p��\226&\177\000\000\001\000\000\000\000\000\000\000\000е\231&\177\000\000\000\000\200�pC��\000\000V�.3M�"...
 error = (GError *) 0x0
 opt = <value optimized out>
 gui_check = <value optimized out>
 debug_enabled = <value optimized out>
 migration_failed = 0
 active_accounts = <value optimized out>
 long_options = {{name = 0x4c1ae2 "config", has_arg = 1, flag = 0x0,
    val = 99}, {name = 0x4aef36 "debug", has_arg = 0, flag = 0x0, val = 100}, {
    name = 0x4b2de5 "help", has_arg = 0, flag = 0x0, val = 104}, {
    name = 0x4af201 "login", has_arg = 2, flag = 0x0, val = 108}, {
    name = 0x4bda28 "multiple", has_arg = 0, flag = 0x0, val = 109...

Read more...

Revision history for this message
kungmidas (ih82b) wrote :

Maybe I should point out I am running 32-bit 9.04. The problem appeared less than a week ago, when suddenly Pidgin just wont start. Possibly related to some updates?

Revision history for this message
kungmidas (ih82b) wrote :

There was an automatic update for pidgin this morning, did not help.
I've tried starting older kernels; same problem in old 2.6.24.
I've tried deleting the /home/<username>/.pidgin folder, did not help.

This is very frustrating, this is the second time the automatic updates breaks something in my system (fourth if including distribution updates) since I started using Ubuntu... :-(

Revision history for this message
kungmidas (ih82b) wrote :

I've found a workaround.

As the "-d" output suggests, the problem is with the XMPP library, which I am not using (I'm only using MSN and ICQ). I renamed "/usr/lib/purple-2/libxmpp.so" to "libxmpp.no" and now Pidgin starts successfully.

Before this, I tried removing the "gstreamer-0.10-plugins-bad" package, and removing the "/home/<me>/.purple" folder. Neither helped.

Revision history for this message
kungmidas (ih82b) wrote :

I have now updated pidgin/libpurple to 2.5.8 using the instructions here: http://pidgin.im/download/ubuntu/

The problem is still there. Again, moving/deleting the libxmpp.so file "solved" the issue.

Help->About confirmed pidgin and libpurple has been updated to 2.5.8.

Revision history for this message
kungmidas (ih82b) wrote :

I removed /usr/lib/sasl2/*digestmd5*, then did "apt-get --reinstall install libsasl2-modules".

Pidgin no longer crashes, and I am no longer able to reproduce the issue.

Revision history for this message
J. Austin Rodriguez (jeanaustinr) wrote :

This bug report is being closed due to your last comment regarding this being fixed with an update/configuration change. For future reference you can manage the status of your own bugs by clicking on the current status in the yellow line and then choosing a new status in the revealed drop down box. You can learn more about bug statuses at https://wiki.ubuntu.com/Bugs/Status. Thank you again for taking the time to report this bug and helping to make Ubuntu better. Please submit any future bugs you may find.

Changed in pidgin (Ubuntu):
status: New → 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.