Motif 2.1 migration from Motif 1.2

An application was getting built using Motif 1.2 that used come along Solaris 6 OS for compiling and linking. Application is run using Motif 2.1 on Solaris 10 and it is working fine.

Application compilation and linking is working fine on Solaris 10 with Motif 2.1.0 but running the application gives segmentation fault, core dump. Even though, there are some apis that are deprecated from Motif 1.2 to Motif 2.1, still the compilation and linking is working fine but runtime.

After analyzing the core dump file, it is found that while loading libXrender.so.1 file, crash occurs.

Please let me know if you have any pointers on the same.