[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-kimageshop
Subject: Re: Plugins 2
From: Patrick Julien <freak () codepimps ! org>
Date: 2004-02-13 19:50:30
Message-ID: 200402131450.30988.freak () codepimps ! org
[Download RAW message or body]
On February 12, 2004 08:44 pm, Cyrille Berger wrote:
> > Is this on the first call of ktm -> tile(...)? It seems to be since the
> > tile number is 0, but the answer could always suprise me. Your problem
> > seems to be about overwritten memory, see details below. You may want to
> > try running the loop first without doing any modifications to the tile.
>
> Ok, I found what was wrong, KisTileMediatorSingleton
> KisTileMediator::m_instance is a static member of KisTileMediator, and as
> my filter is an external library which is load at run time, the value of
> KisTileMediator::m_instance is 0.
> I tried to compile my filter with -shared -fPIC and link with -shared -Wl,
> and to link the application with -Wl,--export-dynamic -rdynamic. But then
> krita will segfault at the beginning. If someone has an idea ?
Try putting the singleton global, that should do it.
_______________________________________________
kimageshop mailing list
kimageshop@kde.org
https://mail.kde.org/mailman/listinfo/kimageshop
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic