Quoting Ralf Stephan <ralf@...748...>:
So I'm aware of that, but what can I do if no one gives me a backtrace?
Find the various places in the code that can call the affected function and sanity-check them, working upwards in the call tree. rgrep helps here. It's what the rest of us do.
May I suggest implementing the creation of core files asap?
As long as Inkscape calls abort() or the appropriate default handler to exit, a core file will be created if the operating system is appropriately configured (and supports core files).
The problem is that these days it often isn't -- e.g. Windows, and some distros which turn off core files by default using ulimit. There's nothing we can do about that ourselves.
I'm fed up with stale and nonsensical bug reports.
I understand that you're frustrated, but comitting nonsensical changes without thinking isn't the answer.
I just looked at the code more carefully. typeid() doesn't dereference pointers, so the typeid(dlgPtr) and typeid(example) will never have the same type (void * versus Dialog *). This effectively disables hiding and showing dialogs completely.
On the other hand, it's fortunate that typeid(example) doesn't dereference pointers, since example is uninitialized...
-mental