Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kmail is crashing got signal 6 / double free or corruption
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
DieterK
n00b
n00b


Joined: 28 Oct 2010
Posts: 68

PostPosted: Tue May 15, 2012 7:57 am    Post subject: kmail is crashing got signal 6 / double free or corruption Reply with quote

Hello,

not sure why, but since yesterday my kmail2 client is crashing seconds after the start.

The kmail window is visible and kmail is loading the akonadi imap ressources one by one, but while loading the Crash Handler is visible.

While loading the Ressources there is just this animated symbol shown:
http://img600.imageshack.us/img600/3287/kmail.png

Then kmail crashes.

Here is the logfile from the start:
http://pastebin.com/XrW9w6wD

Interesting parts could be:
Code:
*** glibc detected *** kmail: double free or corruption (fasttop): 0x000000000389d910 ***
KMail got signal 6 (Exiting)
*** Dead letters dumped.


This error was there before and kmail worked fine with it:
Code:
Unable to load library icui18n "Cannot load library icui18n: (libicui18n.so.48: cannot open shared object file: No such file or directory)"


Here is the backtrace:
http://pastebin.com/vrATrXBL

Version:
Code:
 kmail --version
Qt: 4.8.1
KDE Development Platform: 4.8.3 (4.8.3)
KMail: 4.8.3


Hmm, Qt is 4.8.1 and KMail 4.8.3, could that be a problem?

I upgraded some packets the last days, not sure if there is a problem:
Code:
x11-libs/gtk+-3.4.3
app-arch/libarchive-3.0.4
kde-base/kdebase-meta-4.8.3
kde-base/systemsettings-4.8.3
kde-misc/kde-gtk-config-2.0
media-libs/lensfun-0.2.5_p153-r1
media-libs/libvpx-1.1.0
x11-themes/gtk-engines-qtcurve-1.8.14
sys-devel/gcc-4.5.3-r2


Would be really nice to find a way to fix that. I really need my mail client :-(

Thanks
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4547

PostPosted: Tue May 15, 2012 8:00 am    Post subject: Reply with quote

Try downgrading dev-libs/icu to 4.8.x (from 49.x).
Back to top
View user's profile Send private message
DieterK
n00b
n00b


Joined: 28 Oct 2010
Posts: 68

PostPosted: Wed May 16, 2012 3:09 am    Post subject: Reply with quote

Thanks, icu isn't the problem. The new version is needed for chromium but kmail worked fine with that error. Now it's not working and i don't find a solution for it. I recompiled many ebuilds, i downgraded many. But i have still the same problem here.

Thinking about switching to Thunderbird now, because i don't know what i should do now :-(

There is no way to debug this :-(
Back to top
View user's profile Send private message
SlashRhumSlashNeisson
Apprentice
Apprentice


Joined: 30 Dec 2006
Posts: 200
Location: Lille

PostPosted: Wed May 16, 2012 5:43 am    Post subject: Reply with quote

hi, my config

Code:

kmail --version
Qt: 4.8.1
KDE Development Platform: 4.8.1 (4.8.1)
KMail: 4.8.0


Code:

eix -I kmail
[I] kde-base/kmail
     Available versions:  (4) 4.4.11.1 ~4.7.4!t 4.7.4-r1!t 4.8.1!t ~4.8.3!t
        {aqua debug +handbook kdeprefix +kontact test}
     Installed versions:  4.8.1(4)!t(12:55:13 05/04/2012)(handbook kontact -aqua -debug -test)
     Homepage:            http://www.kde.org/
     Description:         KMail is the email component of Kontact, the integrated personal information manager of KDE.


Note kmail-4.8.3 is unstable , try to comment line in /etc/portage/package.keywords.

And try before :

Code:

revdep-rebuild --library libicui18n.so.48

_________________
Gentoo only
Back to top
View user's profile Send private message
DieterK
n00b
n00b


Joined: 28 Oct 2010
Posts: 68

PostPosted: Wed May 16, 2012 7:04 am    Post subject: Reply with quote

Thanks, checked some things.

kmail is working fine with a different user and without a running akonadi. After i start akonadiserver kmail is crashing again while loading the ressourcen.

I tried to disable some ressources, but kmail seems to start them ;-(

Would be really nice to have a debug output for problems like this. But i found no way to debug this. I really don't want to reset everything and then need to set every thing for my >10 imap accounts ;-(

Thanks
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4547

PostPosted: Wed May 16, 2012 7:15 am    Post subject: Reply with quote

Could you add "-ggdb" to your CFLAGS and CXXFLAGS and rebuild kdepimlibs. Then make kmail crash and repost the backtrace.
Looking at the backtrace again, I saw the "free" in thread 2 + free +crash in Thread 1. Symbols for in libakonadi-kde.so are missing, hence the "-ggdb".
Back to top
View user's profile Send private message
DieterK
n00b
n00b


Joined: 28 Oct 2010
Posts: 68

PostPosted: Wed May 16, 2012 7:53 am    Post subject: Reply with quote

Thanks for the help.

It's still crashing with the new CFLAGS:
Code:
7fc4628cc000-7fc4628cd000 rw-p 0000b000 fd:00 533132                     /usr/lib64/kde4/plugins/gui_platform/libkde.so
7fc4628cd000-7fc4628d0000 r-xp 00000000 fd:00 350268                     /usr/lib64/gconv/UTF-16.so*** KMail got signal 6 (Exiting)
*** Dead letters dumped.
KCrash: Application 'kmail' crashing...
KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit
sock_file=/home/dieter/.kde4/socket-dieter/kdeinit4__0


Here the backtrace:
http://pastebin.com/q0sdp5dz

Thanks
Back to top
View user's profile Send private message
franzf
Advocate
Advocate


Joined: 29 Mar 2005
Posts: 4547

PostPosted: Wed May 16, 2012 8:38 am    Post subject: Reply with quote

There are still missing debugging symbols in libakonadi-kde.so. Did you only set CFLAGS and miss CXXFLAGS? because kde is C++ and needs CXXFLAGS adjusted. As said above, rebuilding kdepimlibs is required after the change.
If you still get "??" instead of proper function-names in the backtrace, you want to add -g3 to CFLAGS + CXXFLAGS.

And of course changing those flags won't keep kmail from crashing, it just will print the exact function-names + lines in Code (in the backtrace), where the "free" is triggered.
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1136
Location: /dev/koelsch

PostPosted: Wed Jun 20, 2012 5:40 pm    Post subject: Reply with quote

Hi Guys,

toady i found out that i had similar problems with kmail since yesterday's world update.
I tried out lots of things that doesn't work for me, like emerge -av $(qlist -IC x11-libs/qt).

Later i found out that i had this annoying automounting trouble again: (sorry, refer to german thread)
https://forums.gentoo.org/viewtopic-t-926552-highlight-.html?sid=9d219b51ce6bc0edff0022101ea04d71

So i downgrade to emerge -av =sys-auth/polkit-0.105 again, that seems to solve my kmail trouble too, so give it eventually also a try.

Since yesterday sys-fs/udisks-1.97.0-r1 is no longer available in portage, but udisks-1.98.0 needs sys-auth/polkit-0.106-r2 to get installed, so i couldn't solve all of my dependencies now.
Self masking of: echo "=sys-auth/polkit-0.106-r2" >> /etc/portage/package.mask doesn't worked for me.

I have to do a bug report if i found enough time....

Regards, Andy.
_________________
If you want to see a Distro done right, compile it yourself!
Back to top
View user's profile Send private message
Randy Andy
Veteran
Veteran


Joined: 19 Jun 2007
Posts: 1136
Location: /dev/koelsch

PostPosted: Wed Jun 20, 2012 7:21 pm    Post subject: Reply with quote

In the meantime i stumbled on a different solution here in the forum, which works also for me with the latest polkit and udisks version installed.

I 've done as root a
Code:
# usermod -d /var/lib/polkit-1 polkitd

and did a reboot or logout/login should also be enough.


I guess this should be a hint of the portage post install message to prevent others to run into problems.
_________________
If you want to see a Distro done right, compile it yourself!
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
Page 1 of 1

 
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