Re: Serious Bonobo Problem for Sun



Brian Cameron wrote:

> This problem can be demonstrated using the Bonobo test program
> test-container which is found in the Bonobo source tree under tests.
> First I run oaf-slay to make sure no oaf processes are running (and
> then I verify this by running "ps -ef | grep oaf | grep -v "grep oaf")
> Then I follow these steps:
>
> $ test-container
>
> Then I select "text/plain -> Add a new text/plain component" and a text area
> shows up in the window.
> Then I select "Canvas-based -> Add a new Simple-Canvas item on the AA canvas"
> and a graphic shows up in the window.
>
> Then I run "ps -ef | grep oaf | grep -v "grep oaf" and sure enough I see the
> following oaf processes:
>
>  bc99092 28993     1  1 13:02:32 ?        0:00 bonobo-sample-canvas-item
> --oaf-activate-iid=OAFIID:Bonobo_Sample_CanvasItem_Fa
>  bc99092 28989     1  1 13:02:30 ?        0:00 bonobo-text-plain
> --oaf-activate-iid=OAFIID:Bonobo_Sample_Text_Factory --oaf-io
>  bc99092 28985     1  3 13:02:29 ?        0:01 oafd --ac-activate
> --ior-output-fd=10
>
> Regardless if I exit this test program by selecting "File->Exit" or by
> sending a SIGV to the test-container processes, I notice that the
> above three processes are still active.

This is "only" a reference counting problem. If a program does correct reference

counting the components exits after you release the last reference.

- Dietmar





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]