Kontact 4.13.3 and kolab on OSX Problem (kaddressbook and organizer crash - kolabproxy) !
Franz Skale
i.bin at dah.am
Mon Jul 28 10:28:39 CEST 2014
Hi,
i'm using the git version of libkolab.
Segfaults occur in function fromKABC or toKABC.
It seems, that the clang++ compiler treats uninitialzed variables
different than the gcc on linux.
All addressee custom fields causing segfaults.
E.g.: kabccoversion.cpp
(SEGFAULT, const office gets a pointer to an uninitialzed memory
area ans so segfaults)
const QString &office =
addressee.custom(QLatin1String("KADDRESSBOOK"), QLatin1String("X-Office"));
if (!office.isEmpty()) {
Kolab::Address a;
a.setTypes(Kolab::Address::Work);
a.setLabel(toStdString(addressee.custom(QLatin1String("KADDRESSBOOK"),
QLatin1String("X-Office"))));
businessAff.setAddresses(std::vector<Kolab::Address>() << a);
}
So, i tried to initialize office, but failed. I'm not so fit in c++ ;-)
Using C it would be:
const char *office = ""; (so empty)
And then assign the pointer.
Perhaps anyone has a workaround for those custom fields ?
Rgds.
Franz
Am 26.07.14 17:05, schrieb Franz Skale:
>
>
>
> Found an old bug report regarding addressbook handling.
> Link:
> https://bugs.kde.org/show_bug.cgi?id=306576
> Will try the GIT release of libkolab.
> Will keep you informed.
> I think, i'm not the only one interested in using kontact on OSX.
>
> Rgds.
>
> Franz
>
>
> Am 26.07.14 12:33, schrieb Franz Skale:
>> Hi,
>> perhaps Jeroen's able to answer.
>> Some weeks ago i started to port kde using homebrew.
>> It was a compilation challenge since there were serveral typos, wrong
>> data types and so on.
>> But now, i hav a running kontact version 4.13.3.
>> All is working except the kolabproxy resource.
>> At compilation time i noticed, that the calendering Cmake File lacks
>> of support for OSX.
>> The APPLE relevant definitions are commented.
>> So, before filing a bug report at bugs.kde.org i want to know about
>> the calendering libs, and why OSX seems not to be officially supported.
>> I pachted the Cmakefile.txt and some sources. Klocale_mac wasn't
>> included in the header files ans so on ;-)
>> So, KDE could not be compiled with debugging sysmbols, so the
>> debugging is very hard.
>> With the newest version of KDE 4.13.3 all is working. But accessing
>> the calendar or the organizer, kolabproxy always crashes.
>> The IMAP log is clean, so i think, that the calendaring lib is fully
>> working with kolab 3. Or is it libkolab(xml) ?
>> i have one contact im my personal address book on the server for
>> testing purposes.
>> It woks with roundcube, thunderbird but not with kontact using
>> kolabproxy.
>> The accountwizard worked without any problems. btw. Alle resources
>> have been generated w/o any problems !!!
>> It receives the contact and then dies with SIGSEGV.
>> IMHO, it could be a xml parser malfunction, since the proxy dies
>> after data retrieval.
>>
>> version Infos:
>> libcalendaring: stable 4.9.0
>> libkolab: stable 0.5.0
>> libkolabxml: stable 1.0.1
>>
>> I/O before crash: (IMAP)
>>
>> Content-Type: multipart/mixed;
>> boundary="=_8d12d6e1d82973725f999a597781a104"
>> From: example.info at example.com
>> To: example.info at example.com
>> Date: Wed, 23 Jul 2014 20:08:29 +0200
>> X-Kolab-Type: application/x-vnd.kolab.contact
>> X-Kolab-Mime-Version: 3.0
>> Subject: 63932b59-9a39-4da8-95c3-ac9f56cdcadc
>> User-Agent: Kolab 3.1/Roundcube 1.0-git
>>
>> --=_8d12d6e1d82973725f999a597781a104
>> Content-Transfer-Encoding: quoted-printable
>> Content-Type: text/plain; charset=ISO-8859-1
>>
>> This is a Kolab Groupware object. To view this object you will need
>> an emai=
>> l client that understands the Kolab Groupware format. For a list of
>> such em=
>> ail clients please visit http://www.kolab.org/
>>
>>
>> --=_8d12d6e1d82973725f999a597781a104
>> Content-Transfer-Encoding: 8bit
>> Content-Type: application/vcard+xml; charset=UTF-8;
>> name=kolab.xml
>> Content-Disposition: attachment;
>> filename=kolab.xml;
>> size=817
>>
>> <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
>> <vcards xmlns="urn:ietf:params:xml:ns:vcard-4.0">
>>
>> <vcard>
>> <uid>
>> <uri>urn:uuid:63932b59-9a39-4da8-95c3-ac9f56cdcadc</uri>
>> </uid>
>> <x-kolab-version>
>> <text>3.1.0</text>
>> </x-kolab-version>
>> <prodid>
>> <text>Roundcube-libkolab-0.9 Libkolabxml-1.0.1</text>
>> </prodid>
>> <rev>
>> <timestamp>20140723T180829Z</timestamp>
>> </rev>
>> <kind>
>> <text>individual</text>
>> </kind>
>> <fn>
>> <text>Hans Test</text>
>> </fn>
>> <n>
>> <surname>Test</surname>
>> <given>Hans</given>
>> </n>
>> <email>
>> <parameters>
>> <type>
>> <text>home</text>
>> </type>
>> </parameters>
>> <text>test.test1 at test.com</text>
>> </email>
>> </vcard>
>>
>> </vcards>
>>
>> --=_8d12d6e1d82973725f999a597781a104--
>> )
>> S: A000087 OK Completed ( 0.000 sec )
>> C: A000088 GETMETADATA (DEPTH infinity) "Contacts/Personal Contacts"
>> (/shared)
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/kolab/folder-type contact )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/x-toltec/test NIL )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/horde/share-params NIL )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/kolab/h-share-attr-desc NIL )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/kolab/uniqueid NIL )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/kolab/pxfb-readable-for NIL )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/kolab/incidences-for NIL )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/kolab/folder-test NIL )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/kolab/displayname NIL )
>> S: * METADATA Contacts/Personal Contacts ( /shared/vendor/kolab/color
>> NIL )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/kolab/activesync NIL )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/cmu/cyrus-imapd/uniqueid 6106697e53bb0791 )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/cmu/cyrus-imapd/squat NIL )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/cmu/cyrus-imapd/size 1780 )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/cmu/cyrus-imapd/sieve NIL )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/cmu/cyrus-imapd/sharedseen false )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/cmu/cyrus-imapd/pop3showafter NIL )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/cmu/cyrus-imapd/pop3newuidl true )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/cmu/cyrus-imapd/partition default )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/cmu/cyrus-imapd/news2mail NIL )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/cmu/cyrus-imapd/lastupdate 23-Jul-2014 20:08:29 +0200 )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/cmu/cyrus-imapd/lastpop NIL )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/cmu/cyrus-imapd/expire NIL )
>> S: * METADATA Contacts/Personal Contacts (
>> /shared/vendor/cmu/cyrus-imapd/duplicatedeliver false )
>> S: * METADATA Contacts/Personal Contacts ( /shared/thread NIL )
>> S: * METADATA Contacts/Personal Contacts ( /shared/specialuse NIL )
>> S: * METADATA Contacts/Personal Contacts ( /shared/sort NIL )
>> S: * METADATA Contacts/Personal Contacts ( /shared/comment NIL )
>> S: * METADATA Contacts/Personal Contacts ( /shared/checkperiod NIL )
>> S: * METADATA Contacts/Personal Contacts ( /shared/check NIL )
>> S: * METADATA Contacts/Personal Contacts ( /shared NIL )
>> S: A000088 OK Completed
>> C: A000089 GETACL "Contacts/Personal Contacts"
>> S: * ACL Contacts/Personal Contacts example.info at example.com
>> lrswipkxtecdan
>> S: A000089 OK Completed
>> C: A000090 MYRIGHTS "Contacts/Personal Contacts"
>> S: * MYRIGHTS Contacts/Personal Contacts lrswipkxtecdan
>> S: A000090 OK Completed
>> C: A000091 GETQUOTAROOT "Contacts/Personal Contacts"
>> S: * QUOTAROOT Contacts/Personal Contacts INBOX
>> S: * QUOTA INBOX ( STORAGE 2023 1048576 )
>> S: A000091 OK Completed
>>
>>
>> Rgds.
>>
>>
>> Franz
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> users mailing list
>> users at lists.kolab.org
>> https://lists.kolab.org/mailman/listinfo/users
>
>
>
> _______________________________________________
> users mailing list
> users at lists.kolab.org
> https://lists.kolab.org/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kolab.org/pipermail/users/attachments/20140728/598470f7/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4254 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.kolab.org/pipermail/users/attachments/20140728/598470f7/attachment-0001.p7s>
More information about the users
mailing list