[descriptor builder] fix segv
[descriptor builder] WIP: building descriptor
[descriptor builder] add missing addref
[descriptor] improve dump method