These bugs seem to deal with the same issue:
82194 gnucash crash when printing 92598 Broken dependency
These bugs seem to deal with the same issue:
82194 gnucash crash when printing
92598 Broken dependency