(1) Explain your problem, don't simply post "This isn't working". What were you doing when you faced the problem? What have you tried to resolve - did you look for a solution using "Search" ? Has it happened just once or several times?
(2) It's also good to get feedback when a solution is found, return to the original post to explain how it was resolved so that more people can also use the results.
Good scheduling software does not enforce impossible schedules; in case there is an attempt to model such scenarios it will enforce a realistic solution. Then the scheduler will take notice and if necessary, make manual adjustments.
Among the impossible scenarios are the infamous loops. These loops can be created by mean of logic links as well as by means of date constraints. As I use software that does not enforce impossible schedules I will present a scenario with impossible to meet date constraints on a single activity, it will yield a realistic solution. I do not have P6 so please mimic the scenario in your software and let me know if it created a loop. Hoover the following image and zoom.
Best Regards,
Rafael