> So it's running into a NULL pointer but it's still unclear where and why. > Perhaps it's an unchecked allocation failure, perhaps some other problem. > > Are you comfortable with adding some debug printf to see which function in > bwi is the last called one before the crash? Would you need help with that?
Yes, I can add in some debugging if you could tell me how/where it is needed. I see in the later emails no-one else seems to have this issue so if it is just specific to my systems then I can do some further tests as needed.