Bug 278396 - Akonadiserver crashed when I reboot or I launch it
Summary: Akonadiserver crashed when I reboot or I launch it
Status: RESOLVED NOT A BUG
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: server (show other bugs)
Version: unspecified
Platform: Unlisted Binaries FreeBSD
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-24 15:49 UTC by Alvaro
Modified: 2011-07-25 23:26 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alvaro 2011-07-24 15:49:41 UTC
Version:           unspecified (using Devel) 
OS:                FreeBSD

I want to reboot and crashed ever it! or when I triying to launch from console.

Reproducible: Always

Steps to Reproduce:
# reboot 
Uses Reboot over Kmenu

> akonadiserver

Actual Results:  
Segmentation fault by akonadiserver and akonadiserver.core is generated

Expected Results:  
I don't know... work? 

KDE 4.6.5 with revisions
Akonadiserver 1.6.0
FreeBSD 9.0-CURRENT

akonadiserver > Error: http://pastie.org/private/pytl2jydnppoowxspiy0w

akonadiserver.core (gdb) > http://pastie.org/private/aapu8goprxsneujf0bqgw
Comment 1 Christophe Marin 2011-07-24 16:35:21 UTC
you forgot to type 'bt' in gdb (That shouldn't change much given your akonadi server isn't built in debug mode)
Comment 2 Alvaro 2011-07-24 18:57:52 UTC
http://pastie.org/private/l3uihkjuyiozh54q95vcta
I tried to compile with make DEBUG=-g install clean

I think is Qt4-dbus
Connecting to deprecated signal QDBusConnectionInterface::serviceOwnerChanged(QString,QString,QString)
Comment 3 Raphael Kubo da Costa 2011-07-25 16:01:58 UTC
(In reply to comment #2)
> http://pastie.org/private/l3uihkjuyiozh54q95vcta
> I tried to compile with make DEBUG=-g install clean

As mentioned in the original FreeBSD PR, the correct way to build the port with debug symbols is to pass WITH_DEBUG=1 to make. Please rebuild akonadi and preferrably at least qt4-corelib with debug symbols, then use 'thr apply all bt' in gdb to get the needed backtraces (you can paste them here instead of using pastie if you prefer).
Comment 4 Alvaro 2011-07-25 22:11:40 UTC
http://pastie.org/private/ytjcoprkrycnhxswu41irw

qt4-corelib 4.7.3 and akonadiserver 1.6.0 built with make WITH_DEBUG=1 install clean
Comment 5 Raphael Kubo da Costa 2011-07-25 22:15:48 UTC
Is D-Bus correctly set up and running?
Comment 6 Alvaro 2011-07-25 22:25:59 UTC
I'm using default configuration installed. I added two lines on system.conf because I have a problem setting kdm GUI mode on systemsettings and fix it.

dbus and hald is running.
Comment 7 Christophe Marin 2011-07-25 22:44:04 UTC
How do you start the akonadi server ?

The correct way is to use 'akonadictl start' (your first paste shows that you run 'akonadiserver' which is incorrect)
Comment 8 Alvaro 2011-07-25 23:24:47 UTC
akonadiserver start, works fine. 

Didn't core dump generated when I was trying to reboot from Kmenu/terminal mode.

Seems solved.

Thanks