KAddressBook crashes on creating a group

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

KAddressBook crashes on creating a group

Postby kateto » Nov 27th, '17, 10:50

The title says it all: everytime I try to create a group on KAddressBook, it crashes, and Akonadi Server too with it. This is just after clicking OK, without putting any address into the new group.
Besides, all the groups I created on Mageia 5 seem lost. This is a Mageia 6 fresh install that preserves my previous home partition. KAddressBook version is 5.4.3.
Am I the only one having this problem?
kateto
 
Posts: 72
Joined: Jul 31st, '12, 13:00

Re: KAddressBook crashes on creating a group

Postby kateto » Dec 3rd, '17, 08:39

37 views and no reply??
Can't you at least try and confirm whether it happens to you too?
kateto
 
Posts: 72
Joined: Jul 31st, '12, 13:00

Re: KAddressBook crashes on creating a group

Postby richardwest » Dec 3rd, '17, 11:36

Happens here too.
Richard.
richardwest
 
Posts: 50
Joined: May 26th, '11, 12:28
Location: Suffolk, England

Re: KAddressBook crashes on creating a group

Postby wintpe » Dec 3rd, '17, 12:02

i believe the view counter includes anonymous views, which could be from persons clicking through searches from google, who dont run magia, so they may just move on, rather than register to an os forum they dont run, so its not nessasarily that people arnt willing to help you.
i dont run kaddressbook, i remove all the kde minor apps and choose, more common apps, that are available on all platforms, ie thunderbird in this case, but ill try and install it later on one of my test machines to confirm for you.
regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: KAddressBook crashes on creating a group

Postby wintpe » Dec 3rd, '17, 22:24

I thought id just jump to mga7, as if it worked ok there , then it may be fixed.

however not so does it on mga7 as well

id suggest filing a bug

heres some more info

start in a terminal.......create group
Code: Select all
terminate called after throwing an instance of 'Akonadi::PayloadException'
  what():  Akonadi::PayloadException: Wrong payload type (requested: sp(0)<QByteArray>; present: sp(0)<KContacts::ContactGroup>
Aborted (core dumped)


so next try strace -f

Code: Select all
strace -f kaddressbook

####lines up till i hit create excluded

[pid 17098] write(2, "QXcbConnection: XCB error: 3 (Ba"..., 129QXcbConnection: XCB error: 3 (BadWindow), sequence: 1724, resource id: 35667859, major code: 40 (TranslateCoords), minor code: 0
) = 129
[pid 17098] write(5, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 17098] write(5, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 17098] poll([{fd=5, events=POLLIN}, {fd=14, events=POLLIN}, {fd=23, events=POLLIN}], 3, 0) = 1 ([{fd=5, revents=POLLIN}])
[pid 17098] read(5, "\7\0\0\0\0\0\0\0", 16) = 8
[pid 17098] write(5, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 17098] write(5, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 17101] <... poll resumed> )        = 1 ([{fd=18, revents=POLLIN}])
[pid 17098] write(5, "\1\0\0\0\0\0\0\0", 8 <unfinished ...>
[pid 17101] ioctl(18, FIONREAD <unfinished ...>
[pid 17098] <... write resumed> )       = 8
[pid 17101] <... ioctl resumed> , [31]) = 0
[pid 17101] read(18, "\0\0\0\0\0\0\0\5d\n\0\0\0PLD:RFC822\377\377\377\377\0\0\0\0", 31) = 31
[pid 17101] write(5, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 17098] write(5, "\1\0\0\0\0\0\0\0", 8 <unfinished ...>
[pid 17101] poll([{fd=17, events=POLLIN}, {fd=18, events=POLLIN}, {fd=20, events=POLLIN}, {fd=21, events=POLLIN}, {fd=22, events=POLLIN}], 5, -1 <unfinished ...>
[pid 17098] <... write resumed> )       = 8
[pid 17098] write(5, "\1\0\0\0\0\0\0\0", 8) = 8
[pid 17098] poll([{fd=5, events=POLLIN}, {fd=14, events=POLLIN}, {fd=23, events=POLLIN}], 3, 0) = 1 ([{fd=5, revents=POLLIN}])
[pid 17098] read(5, "\6\0\0\0\0\0\0\0", 16) = 8
[pid 17098] futex(0x7f7cea51e1a0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
[pid 17098] write(2, "terminate called after throwing "..., 48terminate called after throwing an instance of ') = 48
[pid 17098] write(2, "Akonadi::PayloadException", 25Akonadi::PayloadException) = 25
[pid 17098] write(2, "'\n", 2'
)          = 2
[pid 17098] write(2, "  what():  ", 11  what():  ) = 11
[pid 17098] write(2, "Akonadi::PayloadException: Wrong"..., 116Akonadi::PayloadException: Wrong payload type (requested: sp(0)<QByteArray>; present: sp(0)<KContacts::ContactGroup>) = 116
[pid 17098] write(2, "\n", 1
)           = 1
[pid 17098] rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
[pid 17098] tgkill(17098, 17098, SIGABRT) = 0
[pid 17098] --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=17098, si_uid=1000} ---
[pid 17101] <... poll resumed> )        = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
[pid 17100] <... poll resumed> <unfinished ...>) = ?
[pid 17103] <... poll resumed> <unfinished ...>) = ?
[pid 17099] <... poll resumed> <unfinished ...>) = ?
[pid 17101] +++ killed by SIGABRT (core dumped) +++
[pid 17100] +++ killed by SIGABRT (core dumped) +++
[pid 17099] +++ killed by SIGABRT (core dumped) +++
[pid 17103] +++ killed by SIGABRT (core dumped) +++
+++ killed by SIGABRT (core dumped) +++
Aborted (core dumped)


how ever start it as root, and it does not crash, but is not fully functional.

it appears to be already filed s a kde bug many years ago....... so has it resurfaced, i dont know

https://mail.kde.org/pipermail/kdepim-b ... 46708.html

but its wrong that it core dumps for any reason



regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: KAddressBook crashes on creating a group

Postby kateto » Dec 5th, '17, 10:20

kateto
 
Posts: 72
Joined: Jul 31st, '12, 13:00

Re: KAddressBook crashes on creating a group

Postby wintpe » Dec 6th, '17, 16:05

as Doktor was saying last night on the bug, it works on his setup, and like me hes never previously used kaddressbook.

so while the first 3 of us seeing the problem, rightly assumed it was a generic issue, Doktors 1 working instance throws that into doubt.

need to set this up in a fresh account with no prior history or old home.

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: KAddressBook crashes on creating a group

Postby doktor5000 » Dec 6th, '17, 16:26

wintpe wrote:need to set this up in a fresh account with no prior history or old home.

That is the same that OP could have done to confirm if it is present with a fresh /home.

Apart from that, only Richard mentioned that "it happens here too" but without any actual output of the crash to check if that is the same issue or something totally different.
So that leaves only 1 report not 3, as you tested on mga7 which might be an even different issue, as other library versions and other base system come into play.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: KAddressBook crashes on creating a group

Postby richardwest » Dec 6th, '17, 22:26

Further to my earlier "Me too" reply, I can confirm that on Mageia 6 64 bit fully updated, new user, I get a crash when trying to add a group to kaddressbook.

Code: Select all
[shop@BigBox ~]$ kaddressbook
org.kde.akonadi.ETM: GEN true false true
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: Subtree:  11 QSet(11)
org.kde.akonadi.ETM: collection: "Personal Contacts"
org.kde.akonadi.ETM: Fetch job took  143 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 1
org.kde.akonadi.ETM: first fetched collection: "Personal Contacts"
org.kde.akonadi.ETM: Fetch job took  3 msec
org.kde.akonadi.ETM: was item fetch job: items: 0
org.kde.akonadi.ETM: GEN true false true
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: Subtree:  11 QSet(11)
org.kde.akonadi.ETM: Fetch job took  14 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 1
org.kde.akonadi.ETM: first fetched collection: "Personal Contacts"
terminate called after throwing an instance of 'Akonadi::PayloadException'
  what():  Akonadi::PayloadException: Wrong payload type (requested: sp(0)<QByteArray>; present: sp(0)<KContacts::ContactGroup>
KCrash: Application 'kaddressbook' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi from kdeinit
sock_file=/run/user/1001/kdeinit5__1

[1]+  Stopped                 kaddressbook
[shop@BigBox ~]$
Richard.
richardwest
 
Posts: 50
Joined: May 26th, '11, 12:28
Location: Suffolk, England

Re: KAddressBook crashes on creating a group

Postby wintpe » Dec 7th, '17, 14:28

I confirm its happening on mga6 64bit dvd build plasma desktop

Code: Select all
[peter@localhost Downloads]$ kaddressbook
org.kde.pim.akonadicore: "QLocalSocket::connectToServer: Connection refused" "/tmp/akonadi-peter.L1nEYK/akonadiserver-cmd.socket"
org.kde.pim.akonadicore: "QLocalSocket::connectToServer: Connection refused" "/tmp/akonadi-peter.L1nEYK/akonadiserver-cmd.socket"
org.kde.pim.akonadicore: Socket error occurred: "QLocalSocket::connectToServer: Connection refused"
org.kde.pim.akonadicore: Socket error occurred: "QLocalSocket::connectToServer: Connection refused"
org.kde.akonadi.ETM: GEN true false true
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: GEN true false true
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: Subtree:  5 QSet(5)
org.kde.akonadi.ETM: collection: "Personal Contacts"
org.kde.akonadi.ETM: Fetch job took  37 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 1
org.kde.akonadi.ETM: first fetched collection: "Personal Contacts"
org.kde.akonadi.ETM: Fetch job took  1 msec
org.kde.akonadi.ETM: was item fetch job: items: 0
org.kde.akonadi.ETM: GEN true false true
org.kde.akonadi.ETM: collection: QVector()
org.kde.akonadi.ETM: Subtree:  5 QSet(5)
org.kde.akonadi.ETM: Fetch job took  43 msec
org.kde.akonadi.ETM: was collection fetch job: collections: 1
org.kde.akonadi.ETM: first fetched collection: "Personal Contacts"
terminate called after throwing an instance of 'Akonadi::PayloadException'
  what():  Akonadi::PayloadException: Wrong payload type (requested: sp(0)<QByteArray>; present: sp(0)<KContacts::ContactGroup>
KCrash: Application 'kaddressbook' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0

[1]+  Stopped                 kaddressbook
[peter@localhost Downloads]$ QSocketNotifier: Invalid socket 9 and type 'Read', disabling...
QSocketNotifier: Invalid socket 19 and type 'Read', disabling...
QSocketNotifier: Invalid socket 12 and type 'Read', disabling...
QSocketNotifier: Invalid socket 20 and type 'Read', disabling...
QSocketNotifier: Invalid socket 15 and type 'Read', disabling...
QSocketNotifier: Invalid socket 17 and type 'Read', disabling...
QSocketNotifier: Invalid socket 16 and type 'Read', disabling...
QSocketNotifier: Invalid socket 18 and type 'Read', disabling...
Unable to start Dr. Konqi
Re-raising signal for core dump handling.


so thats 3 of us again

regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK

Re: KAddressBook crashes on creating a group

Postby wintpe » Dec 7th, '17, 14:37

the problem seems to be as follows.

Code: Select all
pid  4900] <... poll resumed> )        = 1 ([{fd=15, revents=POLLIN}])
[pid  4900] ioctl(15, FIONREAD, [28])   = 0
[pid  4900] read(15, "\0\0\0\0\0\0\0\5d\n\0\0\0PLD:RFC822\0\377\377\377\377", 28) = 28
[pid  4900] write(5, "\1\0\0\0\0\0\0\0", 8) = 8
[pid  4900] poll([{fd=10, events=POLLIN}, {fd=15, events=POLLIN}, {fd=16, events=POLLIN}, {fd=17, events=POLLIN}, {fd=19, events=POLLIN}], 5, -1 <unfinished ...>
[pid  4897] poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=13, events=POLLIN}], 3, 0) = 1 ([{fd=5, revents=POLLIN}])
[pid  4897] read(5, "\4\0\0\0\0\0\0\0", 16) = 8
[pid  4897] futex(0x7faf23bcf1b0, FUTEX_WAKE_PRIVATE, 2147483647) = 0
[pid  4897] write(2, "terminate called after throwing "..., 48terminate called after throwing an instance of ') = 48
[pid  4897] write(2, "Akonadi::PayloadException", 25Akonadi::PayloadException) = 25
[pid  4897] write(2, "'\n", 2'
)          = 2
[pid  4897] write(2, "  what():  ", 11  what():  ) = 11
[pid  4897] write(2, "Akonadi::PayloadException: Wrong"..., 116Akonadi::PayloadException: Wrong payload type (requested: sp(0)<QByteArray>; present: sp(0)<KContacts::ContactGroup>) = 116
[pid  4897] write(2, "\n", 1
)           = 1
[pid  4897] rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
[pid  4897] tgkill(4897, 4897, SIGABRT) = 0
[pid  4897] --- SIGABRT {si_signo=SIGABRT, si_code=SI_TKILL, si_pid=4897, si_uid=1000} ---
[pid  4897] rt_sigaction(SIGALRM, {sa_handler=SIG_DFL, sa_mask=[ALRM], sa_flags=SA_RESTORER|SA_RESTART, sa_restorer=0x7faf236398a0}, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
[pid  4897] alarm(3)                    = 0
[pid  4897] getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=4*1024}) = 0
[pid  4897] close(3)                    = 0
[pid  4897] close(4)                    = 0
[pid  4897] close(5)                    = 0
[pid  4897] close(6)                    = 0
[pid  4897] close(7)                    = 0
[pid  4897] close(8)                    = 0
[pid  4897] close(9)                    = 0
[pid  4897] close(10)                   = 0
[pid  4897] close(11)                   = 0
[pid  4897] close(12)                   = 0
[pid  4897] close(13)                   = 0
[pid  4897] close(14)                   = 0
[pid  4897] close(15)                   = 0
[pid  4897] close(16)                   = 0
[pid  4897] close(17)                   = 0
[pid  4897] close(18)                   = 0
[pid  4897] close(19)                   = 0
[pid  4897] close(20)                   = 0
[pid  4897] close(21)                   = -1 EBADF (Bad file descriptor)
[pid  4897] close(22)                   = 0
[pid  4897] close(23)                   = 0
[pid  4897] close(24)                   = -1 EBADF (Bad file descriptor)
[pid  4897] close(25)                   = -1 EBADF (Bad file descriptor)



then thousands if the last line,


then

[pid  4897] close(1021)                 = -1 EBADF (Bad file descriptor)
[pid  4897] close(1022)                 = -1 EBADF (Bad file descriptor)
[pid  4897] close(1023)                 = -1 EBADF (Bad file descriptor)
[pid  4897] write(2, "KCrash: Application 'kaddressboo"..., 47KCrash: Application 'kaddressbook' crashing...
) = 47
[pid  4897] write(2, "KCrash: Attempting to start /usr"..., 62KCrash: Attempting to start /usr/libexec/drkonqi from kdeinit
) = 62
[pid  4897] socket(AF_UNIX, SOCK_STREAM, 0) = 3
[pid  4897] fstat(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 0), ...}) = 0
[pid  4897] mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7faef4012000
[pid  4897] write(1, "sock_file=/run/user/1000/kdeinit"..., 37sock_file=/run/user/1000/kdeinit5__0
) = 37
[pid  4897] connect(3, {sa_family=AF_UNIX, sun_path="/run/user/1000/kdeinit5__0"}, 110) = 0
[pid  4897] getcwd("/home/peter/Downloads", 1999) = 22
[pid  4897] write(3, "\f\0\0\0\0\0\0\0\22\1\0\0\0\0\0\0", 16) = 16
[pid  4897] write(3, "\25\0\0\0\0\0\0\0/usr/libexec/drkonqi\0-pl"..., 274) = 274
[pid  4897] read(3, "\4\0\0\0\0\0\0\0\10\0\0\0\0\0\0\0", 16) = 16
[pid  4897] read(3, "s\23\0\0\0\0\0\0", 8) = 8
[pid  4897] alarm(0)                    = 3
[pid  4897] prctl(PR_SET_PTRACER, 4979) = -1 EINVAL (Invalid argument)
[pid  4897] kill(4979, SIG_0)           = 0
[pid  4897] rt_sigprocmask(SIG_BLOCK, [CHLD], [ABRT], 8) = 0
[pid  4897] rt_sigaction(SIGCHLD, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
[pid  4897] rt_sigprocmask(SIG_SETMASK, [ABRT], NULL, 8) = 0
[pid  4897] nanosleep({tv_sec=1, tv_nsec=0}, 0x7ffd74585300) = 0
[pid  4897] kill(4979, SIG_0)           = 0
[pid  4897] rt_sigprocmask(SIG_BLOCK, [CHLD], [ABRT], 8) = 0
[pid  4897] rt_sigaction(SIGCHLD, NULL, {sa_handler=SIG_DFL, sa_mask=[], sa_flags=0}, 8) = 0
[pid  4897] rt_sigprocmask(SIG_SETMASK, [ABRT], NULL, 8) = 0
[pid  4897] nanosleep({tv_sec=1, tv_nsec=0}, {tv_sec=0, tv_nsec=39843341}) = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
[pid  4897] --- SIGSTOP {si_signo=SIGSTOP, si_code=SI_USER, si_pid=4979, si_uid=1000} ---
[pid  4897] --- stopped by SIGSTOP ---
[pid  4900] <... poll resumed> )        = 5 ([{fd=10, revents=POLLNVAL}, {fd=15, revents=POLLNVAL}, {fd=16, revents=POLLNVAL}, {fd=17, revents=POLLNVAL}, {fd=19, revents=POLLNVAL}])
[pid  4900] --- stopped by SIGSTOP ---
[pid  4899] <... poll resumed> )        = 3 ([{fd=8, revents=POLLNVAL}, {fd=9, revents=POLLNVAL}, {fd=12, revents=POLLNVAL}])
[pid  4898] <... poll resumed> )        = ? ERESTART_RESTARTBLOCK (Interrupted by signal)
[pid  4899] --- stopped by SIGSTOP ---
[pid  4898] --- stopped by SIGSTOP ---
[pid  4901] <... poll resumed> )        = 3 ([{fd=14, revents=POLLNVAL}, {fd=18, revents=POLLNVAL}, {fd=20, revents=POLLNVAL}])
terminate called after throwing an instance of 'Akonadi::ProtocolException'
  what():  Failed to write data to stream
KCrash: Application 'akonadiserver' crashing...
KCrash: Attempting to start /usr/libexec/drkonqi from kdeinit
sock_file=/run/user/1000/kdeinit5__0


regards peter
Redhat 6 Certified Engineer (RHCE)
Sometimes my posts will sound short, or snappy, however its realy not my intention to offend, so accept my apologies in advance.
wintpe
 
Posts: 1204
Joined: May 22nd, '11, 17:08
Location: Rayleigh,, Essex , UK


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron