On Tue, Nov 01, 2022 at 10:37:57AM -0700, Ali Çehreli via Digitalmars-d-learn 
wrote:
> On 11/1/22 10:27, H. S. Teoh wrote:
> 
> > Maybe try running Digger to reduce the code for you?
> 
> Did you mean dustmite, which is accessible as 'dub dustmite
> <destination-path>' but I haven't used it.

Oh yes, sorry, I meant dustmite, not digger. :-P


> My guess for the segmentation fault is that the OP is executing
> destructor code that assumes some members are alive. If so, the code
> should be moved from destructors to functions to be called like
> obj.close(). But it's just a guess...
[...]

Yes, that's a common gotcha.


T

-- 
We are in class, we are supposed to be learning, we have a teacher... Is it too 
much that I expect him to teach me??? -- RL

Reply via email to