Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53065 - Evolution crashes with a SIG32 signal (Real-time event) using 2.4 or 2.6 kernel
Summary: Evolution crashes with a SIG32 signal (Real-time event) using 2.4 or 2.6 kernel
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 All
: High normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-05 08:27 UTC by Stephen Torri
Modified: 2004-07-06 02:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
strace of evolution execution (evolution.txt.tar.bz2,44.84 KB, text/plain)
2004-06-05 14:37 UTC, Stephen Torri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stephen Torri 2004-06-05 08:27:52 UTC
Evolution crashes when running either on a 2.4 or 2.6 kernel. The best information that i can receive on this was collected through gdb.

Program received signal SIG32, Real-time event 32.
---Type <return> to continue, or q <return> to quit---q

It happens on startup most of the time. Sometimes I can get the application started but if I try to do too much work (e.g. reading and deleting emails) then evolution crashes with this signal.

At present I am running on a 2.6.5-gentoo-r1 kernel but I tested this on 2.4.25-gentoo-r2 kernel and got the same result. I don't believe its a kernel issue. It started after I received emails a few days back. I cannot determine if the issue is evolutions inability to read certain emails, which I find bizarre, or a unknown bug issue hidden until this time.

Portage 2.0.50-r7 (default-x86-2004.0, gcc-3.3.2, glibc-2.3.2-r9, 2.6.5-gentoo-r1)
=================================================================
System uname: 2.6.5-gentoo-r1 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache fixpackages sandbox strict userpriv"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="X alsa apm arts avi berkdb cdr crypt cups doc encode esd foomaticdb gdbm gif gnome gpm gtk gtk2 imap imlib jack jpeg kde libg++ libwww mad maildir mbox mikmod motif mpeg mysql ncurses nls nntp oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sasl sdl slang spell ssl svga tcpd tetex truetype x86 xml2 xmms xv zlib"
Comment 1 Joseph Booker 2004-06-05 08:31:31 UTC
32 doesn't seem to be a valid signal in 'man kill', weird, try doing 'strace evolution' and see if it shows your problem, else, copy and paste that output to a file and attach it here
Comment 2 Stephen Torri 2004-06-05 14:37:19 UTC
Created attachment 32748 [details]
strace of evolution execution
Comment 3 Stephen Torri 2004-06-05 14:38:07 UTC
Double check me on this but it appears that evolution segfaults when it attempts to close a file handle on /usr/lib/pango/1.4.0/modules/pango-hangul-fc.so.
Comment 4 Alexander Isacson 2004-06-07 07:04:21 UTC
I also get the Real-time event error. I haven't a clue what it means of or where to go from here but I get it every startup and evolution is now useless to me.
Comment 5 Alexander Isacson 2004-06-07 11:17:31 UTC
Moving the local maildir to a new location and then starting Evolution changed the situation somewhat. Starting evolution gave me an error that the maildir wasn't found (obviously) and so I quit evolution an moved the maildir back to it's original location. Now Evolution doesn't crash on startup anymore as the folder list belonging to the local mail list isn't displayed but it does crash as soon as I try to view it.

What made me try this was that I got the following output on terminal once. Now the terminal is quiet.

asked to activate component_id `OAFIID:GNOME_Evolution_Addressbook_Component:1.5'
asked to activate component_id `OAFIID:GNOME_Evolution_Addressbook_Component:1.5'
 
(evolution-1.5:20009): camel-local-provider-WARNING **: Could not save summary for /home/alexander/.maildir//./INBOX/Sent: No such file or directory
 
(evolution-1.5:20010): widgets-WARNING **: Could not open converter for 'UNKNOWN' to 'UTF-8' charset
 
(evolution-1.5:20009): camel-local-provider-WARNING **: Could not save summary for /home/alexander/.maildir//./INBOX/Spam: No such file or directory
 
(evolution-1.5:20010): camel-local-provider-WARNING **: Could not save summary for /home/alexander/.maildir///INBOX/Work: No such file or directory
 
(evolution-1.5:20010): camel-local-provider-WARNING **: Could not save summary for /home/alexander/.maildir///INBOX/Work/Xjobb: No such file or directory
 
(evolution-1.5:20010): camel-local-provider-WARNING **: Could not save summary for /home/alexander/.maildir///INBOX/Work/AeroTech: No such file or directory
 
(evolution-1.5:20010): widgets-WARNING **: Could not open converter for 'iso-1323-9' to 'UTF-8' charset
 
(evolution-1.5:20010): camel-WARNING **: Cannot create charset conversion from iso-1323-9 to UTF-8: Invalid argument
 
(evolution-1.5:20010): camel-WARNING **: Cannot convert 'iso-1323-9' to 'UTF-8', message index may be corrupt
 
(evolution-1.5:20009): camel-WARNING **: Cannot create charset conversion from iso-1323-9 to UTF-8: No such file or directory
 
(evolution-1.5:20009): camel-WARNING **: Cannot convert 'iso-1323-9' to 'UTF-8', message index may be corrupt
 
(evolution-1.5:20009): camel-WARNING **: Could not find key entry for word '00000000': No such file or directory
 
 
(evolution-1.5:20010): camel-WARNING **: Could not find key entry for word '00000000': Invalid argument
 
 
(evolution-1.5:20009): camel-local-provider-WARNING **: Failed to move new maildir message /home/alexander/.maildir//./INBOX/Lists/ACPI/new/1086610362_2.9384.alexanders,U=3144,FMD5=be23bd96783685fa8cec1c3ef085eed2:2, to cur /home/alexander/.maildir//./INBOX/Lists/ACPI/cur/1086610362_2.9384.alexanders,U=3144,FMD5=be23bd96783685fa8cec1c3ef085eed2:2,:2,
 
(evolution-1.5:20010): camel-local-provider-WARNING **: Failed to move new maildir message /home/alexander/.maildir///INBOX/Lists/ACPI/new/1086610362_0.9382.alexanders,U=3142,FMD5=be23bd96783685fa8cec1c3ef085eed2:2, to cur /home/alexander/.maildir///INBOX/Lists/ACPI/cur/1086610362_0.9382.alexanders,U=3142,FMD5=be23bd96783685fa8cec1c3ef085eed2:2,:2,
 
(evolution-1.5:20009): camel-local-provider-WARNING **: Failed to move new maildir message /home/alexander/.maildir//./INBOX/Lists/ACPI/new/1086610362_3.9385.alexanders,U=3145,FMD5=be23bd96783685fa8cec1c3ef085eed2:2, to cur /home/alexander/.maildir//./INBOX/Lists/ACPI/cur/1086610362_3.9385.alexanders,U=3145,FMD5=be23bd96783685fa8cec1c3ef085eed2:2,:2,
 
(evolution-1.5:20010): camel-local-provider-WARNING **: Failed to move new maildir message /home/alexander/.maildir///INBOX/Lists/ACPI/new/1086610362_1.9383.alexanders,U=3143,FMD5=be23bd96783685fa8cec1c3ef085eed2:2, to cur /home/alexander/.maildir///INBOX/Lists/ACPI/cur/1086610362_1.9383.alexanders,U=3143,FMD5=be23bd96783685fa8cec1c3ef085eed2:2,:2,
 
(evolution-1.5:20009): camel-local-provider-WARNING **: Failed to move new maildir message /home/alexander/.maildir//./INBOX/Lists/ACPI/new/1086610361_11.9381.alexanders,U=3141,FMD5=be23bd96783685fa8cec1c3ef085eed2:2, to cur /home/alexander/.maildir//./INBOX/Lists/ACPI/cur/1086610361_11.9381.alexanders,U=3141,FMD5=be23bd96783685fa8cec1c3ef085eed2:2,:2,
 
(evolution-1.5:20009): camel-local-provider-WARNING **: Could not save summary for /home/alexander/.maildir//./INBOX/Lists/ACPI: No such file or directory
Comment 6 Joe McCann (RETIRED) gentoo-dev 2004-06-07 11:27:59 UTC
last poster: you are refering to a version of evolution that isn't in the portage tree. Don't bring those bug reports here.
Comment 7 Alexander Isacson 2004-06-07 13:36:50 UTC
that's true. Sorry. 
I'll go to the forums instead.
Comment 8 foser (RETIRED) gentoo-dev 2004-06-08 03:33:44 UTC

*** This bug has been marked as a duplicate of 45937 ***
Comment 9 Stephen Torri 2004-06-08 08:08:34 UTC
The original bug report was for evolution-1.4.6 which is a part of the portage system. This is not the version that was reported in aleis959's messages.
Comment 10 Stephen Torri 2004-06-30 13:23:48 UTC
What is the status of this bug report? 
Comment 11 Alastair Tse (RETIRED) gentoo-dev 2004-06-30 17:50:59 UTC
without any backtrace from gdb, there isn't much to go on. have you tried re-merging evolution will less optimised cflags, like "-O2"?
Comment 12 Stephen Torri 2004-06-30 18:14:59 UTC
So true. I apologize for not giving a backtrace sooner. Here is what I have now. Is there a way to just be a debug build for evolution only or do you require more than that rebuild with debugging enabled?

Program received signal SIG32, Real-time event 32.
0x413199f4 in pthread_getconcurrency () from /lib/libpthread.so.0
(gdb) bt
#0  0x413199f4 in pthread_getconcurrency () from /lib/libpthread.so.0
#1  0x41319838 in pthread_getconcurrency () from /lib/libpthread.so.0
#2  0x41318ef2 in pthread_create () from /lib/libpthread.so.0
#3  0x4009b78d in e_thread_put () from /usr/lib/evolution/1.4/libeutil.so.0
#4  0x4179c717 in ?? ()
#5  0x08148200 in ?? ()
#6  0x08192a98 in ?? ()
#7  0x00000034 in ?? ()
#8  0x417ee290 in ?? ()
#9  0x08192d78 in ?? ()
#10 0x08192b68 in ?? ()
#11 0xbfffe8a8 in ?? ()
#12 0x4178f067 in ?? ()
#13 0x08191580 in ?? ()
Comment 13 Alastair Tse (RETIRED) gentoo-dev 2004-07-01 10:54:36 UTC
you need to add "-g" in your CFLAGS and also emerge with FEATURES="nostrip"

you'll probably want to merge gal, libgtkhtml and libsoup as well as evolution.
Comment 14 Stephen Torri 2004-07-01 12:05:44 UTC
I rebuild evolution using debug in the USE variable and nostrip in FEATURES of the /etc/make.conf. I then used emerge to rebuild it: emerge -v evolution. The backtrace from gdb is a bit more informative but not much:

(gdb) thread apply all bt
(gdb) bt
#0  0x413699f4 in pthread_getconcurrency () from /lib/libpthread.so.0
#1  0x41369838 in pthread_getconcurrency () from /lib/libpthread.so.0
#2  0x41368ef2 in pthread_create () from /lib/libpthread.so.0
#3  0x400a78bd in e_thread_put (e=0x814c140, msg=0x81b1498) at e-msgport.c:754
#4  0x417f075e in ?? ()
#5  0x0814c140 in ?? ()
#6  0x081b1498 in ?? ()
#7  0x00000034 in ?? ()

From frame #3:

(gdb) print *e
$1 = {next = 0x400b3e88, prev = 0x814c098, server_port = 0x814c198,
  reply_port = 0x8155050, mutex = {__m_reserved = 0, __m_count = 0,
    __m_owner = 0x0, __m_kind = 0, __m_lock = {__status = 1111497312,
      __spinlock = 0}}, type = E_THREAD_NEW, queue_limit = 10, waiting = 0,
  id = 4294967295, id_list = 0x0, destroy = 0x417ec36c, destroy_data = 0x0,
  received = 0x417ec395, received_data = 0x0, lost = 0, lost_data = 0x0}

(gdb) print *msg
$2 = {ln = {next = 0x814c19c, prev = 0x814c198}, reply_port = 0x8155050}
Comment 15 Stephen Torri 2004-07-01 12:07:02 UTC
Adding debug to the make.conf emerge then added -g to the CFLAGS. I will rebuild gal, libgtkhtml and libsoup and give the results of a backtrace when I am done.
Comment 16 Stephen Torri 2004-07-01 12:58:59 UTC
This result was after rebuilding gal, libgtkhtml and libsoup with 'debug' on and nostrip. I did not rebuild evolution after that.

Program received signal SIG32, Real-time event 32.
0x413809f4 in pthread_getconcurrency () from /lib/libpthread.so.0
(gdb) bt
#0  0x413809f4 in pthread_getconcurrency () from /lib/libpthread.so.0
#1  0x41380838 in pthread_getconcurrency () from /lib/libpthread.so.0
#2  0x4137fef2 in pthread_create () from /lib/libpthread.so.0
#3  0x400a78bd in e_thread_put (e=0x8153f58, msg=0x81b1150) at e-msgport.c:754
#4  0x4180775e in ?? ()
#5  0x08153f58 in ?? ()
#6  0x081b1150 in ?? ()
#7  0x00000034 in ?? ()
Comment 17 Alastair Tse (RETIRED) gentoo-dev 2004-07-02 06:34:14 UTC
that backtrace still doesn't have any debugging symbols, its not really useful at all.
Comment 18 Stephen Torri 2004-07-02 07:35:30 UTC
Here are my settings:

CFLAGS="-march=pentium3 -pipe"
CXXFLAGS="${CFLAGS}"
FEATURES="sandbox strict buildpkg userpriv fixpackages nostrip"
USE="X kde alsa jack mysql doc mbox imap nntp sasl maildir java mmx xml samba p pds tiff bonobo gimpprint debug mozilla"

Anything wrong with these? I will try the following which has worked for a project:

CFLAGS="-march=pentium3 -ggdb3"

I will remove 'debug' from the USE variable and recompile evolution. 

Please give me more guidance as to have to get debugging symbols to be displayed rather than commenting on the obvious fact they are missing. This would enable me to assist you better.
Comment 19 Stephen Torri 2004-07-02 09:09:32 UTC
I unmerged evolution and then set the CFLAGS and USE flags that I mentioned. Unfortunately I still do not have debugging symbols. Here is all that I get from gdb:

Program received signal SIG32, Real-time event 32.
0x413809f4 in pthread_getconcurrency () from /lib/libpthread.so.0
(gdb) bt
#0  0x413809f4 in pthread_getconcurrency () from /lib/libpthread.so.0
#1  0x41380838 in pthread_getconcurrency () from /lib/libpthread.so.0
#2  0x4137fef2 in pthread_create () from /lib/libpthread.so.0
#3  0x400a78dd in e_thread_put (e=0x81542a0, msg=0x81b14a8) at e-msgport.c:754
#4  0x4180776e in ?? ()
#5  0x081542a0 in ?? ()
#6  0x081b14a8 in ?? ()
#7  0x00000034 in ?? ()
Comment 20 Alastair Tse (RETIRED) gentoo-dev 2004-07-02 11:12:22 UTC
you might want to look at http://xarg.net/

seems like you need to compile glibc with debugging symbols as well, so it might be that your glibc thats causing the problem
Comment 21 Stephen Torri 2004-07-02 12:20:53 UTC
Calculating dependencies ...done!
[ebuild   R   ] sys-libs/glibc-2.3.3.20040420  -build -debug -debug -erandom +nls -nptl -pic  18 kB

This is what glibc was compiled with before. Which of the build options should I set? I was thinking: +debug +nptl.

I am using a 2.6.5 kernel.
Comment 22 Stephen Torri 2004-07-05 13:51:00 UTC
I rebuilt evolution, glibc, gal, libgtkhtml, and libsoup with my regular USE flags plus 'debug'. I changed the FEATURES to have nostrip in it. Evolution does not segfault do to a SIG32. I got the following segfault just deleting select emails a mail box. I would use the first click to select the start of the block and hold down SHIFT while selecting the bottom. Afterwards I pressed Ctrl+d.

(gdb) thread apply all bt

Thread 5 (Thread 49156 (LWP 6835)):
#0  0x413809f4 in __pthread_sigsuspend () from /lib/libpthread.so.0
#1  0x41380838 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
#2  0x00000020 in ?? ()
#3  0x4364e898 in ?? ()
#4  0x42500010 in ?? ()

Thread 4 (Thread 32771 (LWP 6834)):
#0  0x413809f4 in __pthread_sigsuspend () from /lib/libpthread.so.0
#1  0x41380838 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
#2  0x00000020 in ?? ()
#3  0x42dff898 in ?? ()
#4  0x42500010 in ?? ()

Thread 3 (Thread 16386 (LWP 6833)):
#0  0x413809f4 in __pthread_sigsuspend () from /lib/libpthread.so.0
#1  0x41380838 in __pthread_wait_for_restart_signal () from /lib/libpthread.so.0
#2  0x00000020 in ?? ()
#3  0x42418898 in ?? ()
#4  0x42500010 in ?? ()

Thread 2 (Thread 32769 (LWP 6832)):
#0  0x4159d13a in poll () from /lib/libc.so.6
#1  0x4137dbaa in __pthread_manager () from /lib/libpthread.so.0
#2  0x4137de73 in __pthread_manager_event () from /lib/libpthread.so.0
#3  0x415a57aa in clone () from /lib/libc.so.6

Thread 1 (Thread 16384 (LWP 6825)):
#0  0x43651aac in script_engine_create () from /usr/lib/pango/1.4.0/modules/pango-hangul-fc.so
#1  0x00003000 in ?? ()
#2  0x415ff580 in __libc_tsd_MALLOC_data () from /lib/libc.so.6
#3  0x4146a5ec in ?? () from /usr/lib/libgobject-2.0.so.0
#4  0x4138213e in __pthread_alt_unlock () from /lib/libpthread.so.0
Previous frame inner to this frame (corrupt stack?)
Comment 23 foser (RETIRED) gentoo-dev 2004-07-05 16:12:05 UTC
that looks like a pango problem. Could you remove the hangul plugin & rerun 'pango-querymodules > /etc/pango/pango.modules' 

see if evo still crashes, if it doesn't could you rebuild pango with debugging suport and get another backtrace ? (or maybe do that first)
Comment 24 Stephen Torri 2004-07-05 19:51:10 UTC
The previous crash that I had was while I was trying to delete emails. I redid the pango-querymodules > /etc/pango/pango.modules as well as rebuilding pango with debug symbols. So far I have been able to clear up my inbox. So I will have to try and see if I can break evolution another way or fail trying.
Comment 25 foser (RETIRED) gentoo-dev 2004-07-06 02:30:11 UTC
you have the preview pane on & were deleting spam i bet ? I guess one of the spam mails made it crash then. If you can't reproduce it, I'm closing this until you can.