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