HostedRedmine.com has moved to the Planio platform. All logins and passwords remained the same. All users will be able to login and use Redmine just as before. "Read more...":https://support.plan.io/news/187
Bug #885482
closedClient fails at unspecified unit activity target
0%
Description
This bug is not noticed with a standard server build but got on an experimental one in a Gtk 3.22 client: if unit's activity requires target (it was Pillage) but it is not set, the client, trying to get the appropriate sprite (rmact
), gets segfault. IMHO it should be more tolerant to server errors.
Files
Related issues
Updated by Alexandro Ignatiev over 2 years ago
- File 0001-Stop-segfaults-in-clients-for-no-activity-targets.patch 0001-Stop-segfaults-in-clients-for-no-activity-targets.patch added
This patch may help.
Updated by Alexandro Ignatiev over 2 years ago
- Related to Bug #887748: Segfault in Qt client city dialog added
Updated by Alexandro Ignatiev over 2 years ago
- File 0001-Prevent-clients-segfault-if-server-lacks-target-for-.patch 0001-Prevent-clients-segfault-if-server-lacks-target-for-.patch added
Wrote a patch. Clients will still fail in a ruleset that lacks any extras but I doubt nothing else will fail with such a ruleset. Maybe the first patch should also auto-find an appropriate extra as the second one does.
Updated by Marko Lindqvist over 2 years ago
- File 0043-Avoid-client-crash-if-workertask-requiring-target-do.patch 0043-Avoid-client-crash-if-workertask-requiring-target-do.patch added
- Status changed from New to Resolved
Alexandro Ignatiev wrote:
Maybe ... should also auto-find an appropriate extra
As this is clearly an server error situation that should never happen, I don't think it makes sense to build much functionality to cater for it. Attached patch just adds check that makes client more robust i.e., avoids the crash, but does not otherwise try to fix the situation.
Updated by Marko Lindqvist over 2 years ago
- Status changed from Resolved to Closed
- Assignee set to Marko Lindqvist