My SVN is currently on 1.9 to debug the savegames that were posted, so I can't check what's wrong right now. I'll take care of that later.
Edit: I've fixed the tech trade trading company crash. The problem was essentially that all elements of a trade deal are handled step by step (i.e. if civ A trades a tech for another tech and a world map, then first A's tech is given to B, then B's tech is given to A, then the map is handed over, then a peace treaty is signed). The problem was that the effects of each part are handled immediately, i.e. when Economics arrives in France the units are spawned and the war is declared before the other parts of the trade are handled. Since the code doesn't expect the diplomatic conditions to change while it handles a trade deal, it comes to a crash at some point (still don't know where exactly).
Circumventing that wasn't easy, but now in every step of the trade execution it's checked whether you're at war with the other side and if so, peace treaties aren't signed anymore. I'll commit a fix to the SVN later (v1.9 players must live with the bug, unfortunately).
Edit: I've fixed the tech trade trading company crash. The problem was essentially that all elements of a trade deal are handled step by step (i.e. if civ A trades a tech for another tech and a world map, then first A's tech is given to B, then B's tech is given to A, then the map is handed over, then a peace treaty is signed). The problem was that the effects of each part are handled immediately, i.e. when Economics arrives in France the units are spawned and the war is declared before the other parts of the trade are handled. Since the code doesn't expect the diplomatic conditions to change while it handles a trade deal, it comes to a crash at some point (still don't know where exactly).
Circumventing that wasn't easy, but now in every step of the trade execution it's checked whether you're at war with the other side and if so, peace treaties aren't signed anymore. I'll commit a fix to the SVN later (v1.9 players must live with the bug, unfortunately).