On Thu, 28 Dec 2000, Johannes Zellner wrote:

> On Thu, Dec 28, 2000 at 12:24:23PM +0100, Christoph Egger wrote:
> [...]
> > I don't know. The bug Johannes found is already well-known since
> > I have written the X/Xlib-target. It causes a crash, when
> > ggiSetMode() is called _after_ xmiAttach().
> [...]
> 
> unfortunately it also present when doing twice an
> initialization / cleanup cycle (but /not/ using
> ggiSetMode after xmiAttach):
> 
>     ggiInit();
>     ggiOpen();
>     ggiSetSimpleMode();
>     xmiInit();
>     xmiAttach();
>     xmiDetach();
>     xmiExit();
>     ggiExit();
> 
>     ggiInit();
>     ggiOpen();
>     ggiSetSimpleMode();
>     xmiInit();
>     xmiAttach();
>     xmiDetach();
>     xmiExit();
>     ggiExit();
> 
> The second time my application crashes (only sometimes unfortunately)
> during the xmiAttach().

This kind of segfault isn't libxmi-specific. You can find it in
_every_ extension. That is one of the reasons why Marcus isn't happy
the extension-system (Marcus: Correct me, If I am wrong!).


Christoph Egger
E-Mail: [EMAIL PROTECTED]

Reply via email to