Opened 11 years ago
Last modified 5 years ago
#1836 new defect
Validation errors in the special/player.xml template causes segmentation fault
Reported by: | zoot | Owned by: | |
---|---|---|---|
Priority: | If Time Permits | Milestone: | Backlog |
Component: | Simulation | Keywords: | grace |
Cc: | Patch: |
Description (last modified by )
RNG validation errors, such as a mispelled component name, in the special/player.xml template causes the game to undergo an all-out segmentation fault. It would be nice if it handled it more gracefully, and for example just ignored the element in question.
Change History (3)
comment:1 by , 11 years ago
Description: | modified (diff) |
---|---|
Summary: | Misspelling a component name in the special/player.xml template causes segmentation fault → Validation errors in the special/player.xml template causes segmentation fault |
comment:2 by , 11 years ago
comment:3 by , 5 years ago
Component: | UI & Simulation → Simulation |
---|
Move tickets to Simulation
as UI & Simulation
got some sub components.
Note:
See TracTickets
for help on using tickets.
I think the nicest thing that could happen is to fail to load the map but give the user a reasonable error message. It sounds like something in the engine is assuming valid player entities exist without checking.