Overview
| Artifact ID: | c69bb1bae444db4cbd26a97438f48e8943ffcfb07959fea684b1c33811248f1e |
|---|---|
| Ticket: | 7842f33a5cc5eed080a57f8af9ac1e7e3cee444a
TCL crash (core) |
| User & Date: | dkf on 2024-05-20 15:16:02 |
Changes
- icomment:
The problem was in the computation of stereotypical call chains when the object in question had already gone rather a long way through the destruction process. Nasty! Things no longer crash, but if you want to get the `MkObjectRpc` destructor to run and successfully call into the `RpcClient write` method, you'd better explicitly destroy the object created by `LcConfigRpc_create_bug` in the `LcConfigRpcClient` destructor. Without that, there's just slightly too much state ripped out of the way of things by the point when destruction happens and TclOO instead builds empty call chains (resulting in calls doing nothing; normally calls to non-existent methods result in call chains that go to the `unknown` method handler, in `oo::object` if not overridden).
- login: "dkf"
- mimetype: "text/x-markdown"