application terminates after click on scrollbar arrow

i have 2 systems with QNX 4.25I, photon 1.13D installed on it. and i have
a application which behaves diffrently on these 2 systems. i have used
scrollbar in this application, when i click on the arrow of scrollbar
application terminates on the first system while it runs fine on the second
system. i even tried running same executable on these system but result was
same. ( same behaviour is also seen with list box, scroll area widgets )
could this be problem of shared library. if yes, how can i find this and
correct the same…