Is it possible to replace the atom information in the simulation box defined from one read_data command with another read_data command?

Dear Lammps developers,

Thank you for your valuable suggestions. I have used the ‘clear’ command to solve my problem of using ‘read_data’ command multiple times without using any add keyword. But when I do this there is an error of 'Segmentation fault’. I found the similar kind of problem is discussed in the [Materials Science Community Discourse] page at Clear command trigger a segmentation fault. There, it is suggested that the source code should have small changes. Since the version of LAMMPS have changed from the time that the above question is posted, do you suggest a different solution for this 'Segmentation fault’ error?