Looks like this uses a pointer that is now invalid: https://github.com/yast/yast-pkg-bindings/blob/master/src/YRepo.cc#L42 try { _maccess->release(); }