Re: Visible parent cannot be found

Nathan Fiedler (n_fiedler@earthlink.com)
Wed, 29 Jan 1997 08:33:53 -0800

diel@intbuso.boeblingen.netsurf.de wrote:
> After getting to a satisfying intermediate state, I restructered and
> renamed my application and did some further cleanup.
> Now, when I start it by use of Swat (without Swat it just goes into a
> loop), I get before any window appears
>
> Execution died in patient ui:
> VisSpecBuild+92: mov .....
> A visible parent cannot be found for this object, for some reason
> <MSG_SPEC_GET_VIS_PARENT didn't return anything>
>
> I assume this refers to trying to build the topmost ui object.
>
> Has anybody ever had a similar problem ?
> Any suggestions what the reason might be ?

There should be something of a hint in the backtrace. When you get
this crash again use the "bt" Swat command to see where the error is
originating. That should help narrow down your search.

If that doesn't work, I recommend using the "spawn" command in Swat to
start your application. This will stop the application's start-up
sequence early enough for you to use commands like "gentree" and
"vistree" to analyze the object tree of your geode. Using those two
commands you can check that all of the objects are attached to the
object tree.

Nathan