A strange problem while using variable allocated by ber_memalloc_x().