[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-pim
Subject:    Re: [Kde-pim] libkcal Segfault Proglems!
From:       Eduardo Pereira Habkost <ehabkost () conectiva ! com ! br>
Date:       2005-01-10 13:53:36
Message-ID: 20050110135335.GH24920 () duckman ! distro ! conectiva
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Mon, Jan 10, 2005 at 02:06:07PM +0100, Tobias Koenig wrote:
> On Mon, Jan 10, 2005 at 02:04:46AM -0800, Andrew De Ponte wrote:
> > Tobias Koenig wrote:
> Hi Andrew,
> 
> > I do realize this. The calendar has not been closed as of this point. 
> > How can I clone Todo::items if I can't even traverse through them with 
> > an iterator because the begin() member of the Todo::List type is causing 
> > the segfault?
> Could you send us the part of code you are talking about, please?
> 
> > This really does not make any sense to me. This does not happen if it is 
> > above three function calls. Those three function calls have nothing to 
> > do with the libkcal in anyway shape or form.
> Really sure? ;)

Recently I've spent three days to figure out the cause of a problem on
my code, and libkcal wasn't working if I called it on a point of my code,
but if I called the same function on the beginning of the program, it was
working. And I was sure the code had nothing to do with libkcal, too.  :)

On my case, I discovered that if I loaded the evolution plugin of
opensync before the libkcal plugin, libkcal just refused to load
my calendar data. Then I've found that the cause was a RTLD_GLOBAL
dlopen() call (actually a g_module_open() call without flags, that
is equivalent). Probably libkcal has some symbol conflicts with the
evolution libraries.

If the error really doesn't make any sense, maybe Andrew can use the same
"binary search" method I had to use to find where exactly is the point
after which the libkcal calls stopped to work. i.e. see after which of
the three function calls libkcal stops to work, see on which point of
the called function the code stops to work, until you find the exact
line that make libkcal stop working.

-- 
Eduardo

[Attachment #5 (application/pgp-signature)]

_______________________________________________
kde-pim mailing list
kde-pim@kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
kde-pim home page at http://pim.kde.org/

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic