Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
mail-notification crash since glibc 2.6
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
THuLiuM
n00b
n00b


Joined: 13 Apr 2005
Posts: 19

PostPosted: Thu Oct 18, 2007 6:39 am    Post subject: mail-notification crash since glibc 2.6 Reply with quote

Hi,

Since glibc 2.6 upgrade mail-notification keeps crashing after few minutes.
Here is the debug informations and emerge --info:

debug:

Code:

System: Linux 2.6.22-gentoo-r8 #1 SMP PREEMPT Thu Sep 27 18:28:20 CEST 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 10300000
Selinux: No
Accessibility: Disabled
GTK+ Theme: MurrinaCandy
Icon Theme: nuoveXT.2.2

Memory status: size: 253349888 vsize: 253349888 resident: 65310720 share: 55009280 rss: 65310720 rss_rlim: 4294967295
CPU usage: start_time: 1192689174 rtime: 63 utime: 51 stime: 12 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 100

Backtrace was generated from '/usr/bin/mail-notification'

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xffffe410 in __kernel_vsyscall ()
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb71498bb in waitpid () from /lib/libpthread.so.0
#2  0xb7dff131 in ?? () from /usr/lib/libgnomeui-2.so.0
The program is running.  Quit anyway (and detach it)? (y or n) [answered Y; input not from terminal]


and

Code:

Portage 2.1.3.9 (default-linux/x86/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22-gentoo-r8 i686)
=================================================================
System uname: 2.6.22-gentoo-r8 i686 Intel(R) Pentium(R) 4 CPU 2.40GHz
Timestamp of tree: Thu, 18 Oct 2007 06:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.3.5-r3, 2.4.4-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/usr/share/X11/xkb /var/bind"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"


of course i tried to re-emerge several times mail-notification but didn't help
Code:

[ebuild   R   ] mail-client/mail-notification-4.0  USE="gmail ipv6 maildir mbox mozilla pop ssl -debug -evo -imap -sasl -sylpheed" 934 kB


I guess there is an issue with the new glibc and mail-notification
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Thu Oct 18, 2007 7:23 am    Post subject: Reply with quote

1. Disable ccache
2. Try to execute emerge -e world
3. You should disable kernel preemption
Back to top
View user's profile Send private message
THuLiuM
n00b
n00b


Joined: 13 Apr 2005
Posts: 19

PostPosted: Thu Oct 18, 2007 9:55 am    Post subject: Reply with quote

preemption removed but I don't see the point of others advises. ccache is a compiler booster and emerge whole system again for 1 buggy package ? I might have others packages crashes if problem was system or librairies to be rebuilt, don't you think ?
Back to top
View user's profile Send private message
Keruskerfuerst
Advocate
Advocate


Joined: 01 Feb 2006
Posts: 2289
Location: near Augsburg, Germany

PostPosted: Thu Oct 18, 2007 10:29 am    Post subject: Reply with quote

Glibc is a base package of the core system.

Ccache should be disabled during upgrade of core system packages: GCC, Glibc,...
Back to top
View user's profile Send private message
movrev
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2004
Posts: 114
Location: Berkeley, CA - USA

PostPosted: Sat Oct 20, 2007 8:57 pm    Post subject: Reply with quote

Ok, it sucks that we have to rebuild everything and I understand that we might want to disable ccache for upgrading the core system (although, wouldn't that slow down the whole upgrade process in general?).

Now, what has kernel preemption to do with mail-notification and the such (gnome-power-manager as well) crashing? By the way, both programs seem to crash when they are about to display notifications (either on new mail or when the UPS starts working on battery power).

I think I added the preemptible kernel feature for skype, but I forgot now.

Thanks.
_________________
Shuttle SN25P - FN25 mobo nForce 4 - AMD Athlon 64 3500+ - nVidia GeForce 6800 - Maxtor 200Gb - 2x1024 Mb Corsair XMS RAM
Back to top
View user's profile Send private message
Dagger
Retired Dev
Retired Dev


Joined: 11 Jun 2003
Posts: 765
Location: UK

PostPosted: Sun Oct 21, 2007 9:54 am    Post subject: Reply with quote

I had similar problem some time ago with evolution and email notification. In my case new evo solved it, as it contains it's own mail notification. It also solved all other 2.10 evo problems.

Don't know if that helps, since I'm not sure which email client you're using.
_________________
95% of all computer errors occur between chair and keyboard (TM)
Join the FSF as an Associate Member!
Post under CC license.
Back to top
View user's profile Send private message
movrev
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2004
Posts: 114
Location: Berkeley, CA - USA

PostPosted: Sun Oct 21, 2007 6:03 pm    Post subject: Reply with quote

Nope, lamentably it doesn't as I use mail notification for checking my gmail account. In any case, gnome-power-manager crashes as well and I need to solve that issue as well. Thanks anyway.
_________________
Shuttle SN25P - FN25 mobo nForce 4 - AMD Athlon 64 3500+ - nVidia GeForce 6800 - Maxtor 200Gb - 2x1024 Mb Corsair XMS RAM
Back to top
View user's profile Send private message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 265
Location: Warsaw, Poland

PostPosted: Sat Oct 27, 2007 9:54 am    Post subject: Reply with quote

movrev wrote:
Nope, lamentably it doesn't as I use mail notification for checking my gmail account. In any case, gnome-power-manager crashes as well and I need to solve that issue as well. Thanks anyway.


Exactly the same thing happens here, and it saddens me cause I find mail-notification very useful. I haven't figured it out how to fix the problem, but at least you'll know that you're not alone. I'm going to compile mail-notification with debug on and send the results to the author, maybe that would help.

J.
Back to top
View user's profile Send private message
THuLiuM
n00b
n00b


Joined: 13 Apr 2005
Posts: 19

PostPosted: Sat Oct 27, 2007 12:27 pm    Post subject: Reply with quote

oki i found time to compile system and world. So i've a fresh gentoo and mail-notification works again. So everyone who has the problem has to emerge -e system / world due to new glibc :?

Btw i noticed a boost of my gentoo , kinda faster :)
Back to top
View user's profile Send private message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 265
Location: Warsaw, Poland

PostPosted: Sat Oct 27, 2007 10:52 pm    Post subject: Reply with quote

THuLiuM wrote:
oki i found time to compile system and world. So i've a fresh gentoo and mail-notification works again. So everyone who has the problem has to emerge -e system / world due to new glibc :?

Btw i noticed a boost of my gentoo , kinda faster :)


Did you re-emerge glibc with no ccache? I don't feel like doing emerge -e world cause on my P4 laptop it would take ages, does anyone have an idea which specific package(s) should be recompiled with new glibc?

J.
Back to top
View user's profile Send private message
movrev
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2004
Posts: 114
Location: Berkeley, CA - USA

PostPosted: Sun Oct 28, 2007 1:51 am    Post subject: Reply with quote

I keep having this problem so I set to rebuild everything. So far, I've rebuilt all of my system save for gcc-4.1.2 which segfaults and generally freezes my keyboard. I think it meses up with the kernel as I sometimes get processor segfaulting afterwards and have to manually reboot as it freezes halfway through the reboot process.

I'll keep trying (perhaps unmasking gcc-4.2.2) and I'll keep you guys posted. If anyone has any idea, please drop me a line.
_________________
Shuttle SN25P - FN25 mobo nForce 4 - AMD Athlon 64 3500+ - nVidia GeForce 6800 - Maxtor 200Gb - 2x1024 Mb Corsair XMS RAM
Back to top
View user's profile Send private message
movrev
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2004
Posts: 114
Location: Berkeley, CA - USA

PostPosted: Sun Oct 28, 2007 1:54 am    Post subject: Reply with quote

p.s. I've disabled ccache but haven't disabled kernel preemption because I want it for skype. This might be the issue as skype exited while compilation was ongoing. As long as I need to disable it just for the compile, I'll do it, although maybe exiting skype or even X would work, right? If anyone has more insight in this matter I'll appreciate it.
_________________
Shuttle SN25P - FN25 mobo nForce 4 - AMD Athlon 64 3500+ - nVidia GeForce 6800 - Maxtor 200Gb - 2x1024 Mb Corsair XMS RAM
Back to top
View user's profile Send private message
movrev
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2004
Posts: 114
Location: Berkeley, CA - USA

PostPosted: Sun Oct 28, 2007 5:40 am    Post subject: Reply with quote

I've finally decided to disable kernel preemption to test upgrading gcc without it and solved part of my issues. I still get a compilation error, this time related to profiledbootstrap, but it doesn't segfault and freeze my keyboard anymore (I've tried it from a vt while not running X). Since I couldn't remerge gcc, I won't remerge world for now and so mail-notification keeps crashing.

If you want some more details on this gcc compilation error check out this thread which hasn't yet solved the issue.
_________________
Shuttle SN25P - FN25 mobo nForce 4 - AMD Athlon 64 3500+ - nVidia GeForce 6800 - Maxtor 200Gb - 2x1024 Mb Corsair XMS RAM
Back to top
View user's profile Send private message
THuLiuM
n00b
n00b


Joined: 13 Apr 2005
Posts: 19

PostPosted: Sun Oct 28, 2007 7:06 am    Post subject: Reply with quote

I did this emerge with ccache enabled because it's not the 1st time I emerge gentoo with it and each time it worked.

So basically glibc, gcc, ccache have to be emerge a 1st time then you can emerge system and world using the script to not compile twice the same package. On my P4 2.4HT it took 2 days to compile the whole box in a X session, browsing web and playing videos ;)
Back to top
View user's profile Send private message
movrev
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2004
Posts: 114
Location: Berkeley, CA - USA

PostPosted: Sun Oct 28, 2007 7:24 am    Post subject: Reply with quote

Yeah, I've been using ccache for a while now...this box has been running with it for more than 2 years, so I guess I'll add it again.

Also, disabling kernel preemption doesn't really solve any issues. I've tried recompiling gcc with downgraded or upgraded linux-headers (because of this post) and no matter what, gcc fails. It either tells me the profiledbootstrap error, or before even letting me know that, the kernel/processor issues a general protection fault somewhere during the compile and then everything goes to hell, leaving the system frozen after a while (mainly the keyboard I think) with a need to reboot.

So, I'm adding ccache and preemption back and will continue trying to fix this issue.
_________________
Shuttle SN25P - FN25 mobo nForce 4 - AMD Athlon 64 3500+ - nVidia GeForce 6800 - Maxtor 200Gb - 2x1024 Mb Corsair XMS RAM
Back to top
View user's profile Send private message
movrev
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2004
Posts: 114
Location: Berkeley, CA - USA

PostPosted: Mon Oct 29, 2007 9:50 am    Post subject: Reply with quote

I finally managed to compile gcc by removing the -O2 compilation flag (proposed in this post) from make.conf. Enabling it again makes gcc compilation fail. Now that I'm through with that, though, I'll recompile world with the -O2 flag and gcc without it. I hope they fix this soon, as there have been a lot of people having this same problem for months.

When my world finishes compiling, I'll post if I keep on having the mail-notification, etc, issue.
_________________
Shuttle SN25P - FN25 mobo nForce 4 - AMD Athlon 64 3500+ - nVidia GeForce 6800 - Maxtor 200Gb - 2x1024 Mb Corsair XMS RAM
Back to top
View user's profile Send private message
morda
Tux's lil' helper
Tux's lil' helper


Joined: 30 Nov 2005
Posts: 92
Location: UK

PostPosted: Mon Oct 29, 2007 6:11 pm    Post subject: Reply with quote

Hi,

try rebuilding dev-util/gob
Code:
emerge -av1 dev-util/gob


I can't remember if that's what helped me, but give it a try. Other package you might consider rebuilding would be dev-libs/gmime.

Regards - morda.
Back to top
View user's profile Send private message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 265
Location: Warsaw, Poland

PostPosted: Mon Oct 29, 2007 11:11 pm    Post subject: Reply with quote

morda wrote:
try rebuilding dev-util/gob
Code:
emerge -av1 dev-util/gob


I can't remember if that's what helped me, but give it a try. Other package you might consider rebuilding would be dev-libs/gmime.


Unfortunately, it didn't help much. I filed a bug here: https://bugs.gentoo.org/show_bug.cgi?id=197280, let's see what happens, and in the meantime I'll try to fix the issue myself. BTW, same crash happens with all versions of mail-notification available in the portage, so I think that something might be screwed up with my system.

J.
Back to top
View user's profile Send private message
bertaboy
l33t
l33t


Joined: 05 Nov 2004
Posts: 604

PostPosted: Tue Oct 30, 2007 2:10 am    Post subject: Reply with quote

I've been following this issue for a while now, since I've been having it too. So far, I've rebuilt system with ccache disabled and rebuilt gob and gmime, but the applet is still crashing on me. suppose I could rebuild world, but now is just a bad time for me to do that.
Back to top
View user's profile Send private message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 944
Location: we the north

PostPosted: Tue Oct 30, 2007 9:04 pm    Post subject: Reply with quote

same issue here. I just did an emerge -uDv system, glibc was updated and my mail-notification icon is crashing.

another thing that was broken was the passwd command, but reemerging cracklib fixed that.

I tried reemerging gob gmime anad m-n and it still crashes.

any news would be appreciataed
Back to top
View user's profile Send private message
bertaboy
l33t
l33t


Joined: 05 Nov 2004
Posts: 604

PostPosted: Tue Oct 30, 2007 11:30 pm    Post subject: Reply with quote

I'm almost in the final third of my emerge -e world, after doing emerge -e system. emerge -e system didn't fix anything (although it did come up with ~9 new config files....), but I'll let you know if -e world fixes anything after more than a day of compiling (800+ packages)
Back to top
View user's profile Send private message
paluszak
Apprentice
Apprentice


Joined: 28 Jun 2004
Posts: 265
Location: Warsaw, Poland

PostPosted: Thu Nov 01, 2007 9:09 am    Post subject: Reply with quote

I re-emerge gcc and glibc with ccache turned off, then cleaned ccache's cache, then re-emerge all packages owning libs which mail-notification is linked against (I checked it with ldd /usr/bin/mail-notification), all to no avail. :( I'm baffled.

J.
Back to top
View user's profile Send private message
bertaboy
l33t
l33t


Joined: 05 Nov 2004
Posts: 604

PostPosted: Thu Nov 01, 2007 9:10 pm    Post subject: Reply with quote

Well, after several days of recompiling my nearly 900 packages, it appears that emerge -e world did the trick. I don't know which package(s) in particular fixed the applet, but I'm not going to bother tracking that down. Some possibilities that come to mind are anything related to evolution, gnome-panel, or gnome-applets, but like I said, I'm putting that behind me.

It looks like I'm going to have to keep ccache off from now on, though, as I don't want to have to put up with this again should a major package break.
Back to top
View user's profile Send private message
movrev
Tux's lil' helper
Tux's lil' helper


Joined: 07 Mar 2004
Posts: 114
Location: Berkeley, CA - USA

PostPosted: Sun Nov 04, 2007 5:19 am    Post subject: Reply with quote

I've come through as well by re-emerging system/world. I still don't know what fixed it, but man, it's fixed. Mail-notification stopped crashing although gnome-power-manager is still giving some minor issues. The only way to re-emerge gcc, though, was without the -O2 flag. I had both ccache enabled during all the upgrade and kernel preemption is enabled. So, those are my 2 cents...if someone figures out how to rebuild gcc without having to disable optimization plz let me know. I'm even willing to upgrade gcc eventually, but I trully don't want to remerge everything again at this moment.
_________________
Shuttle SN25P - FN25 mobo nForce 4 - AMD Athlon 64 3500+ - nVidia GeForce 6800 - Maxtor 200Gb - 2x1024 Mb Corsair XMS RAM
Back to top
View user's profile Send private message
juniper
l33t
l33t


Joined: 22 Oct 2004
Posts: 944
Location: we the north

PostPosted: Sun Nov 04, 2007 4:58 pm    Post subject: Reply with quote

well, not in the mood to rebuild world, and I understand if the people who have solved this problem don't want to track exactly which packages need to be built. annoying, if anyone has any news, please share. I am going to rebuild evolution, gnome-panel, gnome-applets.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum