Project

Profile

Help

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...

Bug #847688

Qt-client: assertion '((void *)0) != pcity && ((void *)0) != building' failed.

Added by Marko Lindqvist about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
gui-qt
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

After some city worklist arrangements and building selling I have a bunch of assertion failures in the console:
1: in get_building_bonus() [../../../src/common/effects.c::804]: assertion '((void *)0) != pcity && ((void *)0) != building' failed.

Seen on current master.

3: Backtrace:
3: 0: ./client/freeciv-qt(backtrace_print+0x29) [0x55901e82f569]
3: 1: ./client/freeciv-qt(vdo_log+0x8a) [0x55901e8349fa]
3: 2: ./client/freeciv-qt(do_log+0x93) [0x55901e834aa3]
3: 3: ./client/freeciv-qt(fc_assert_fail+0x9b) [0x55901e834cab]
3: 4: ./client/freeciv-qt(get_building_bonus+0x7b) [0x55901e74521b]
3: 5: ./client/freeciv-qt(impr_build_shield_cost+0x11) [0x55901e74e861]
3: 6: ./client/freeciv-qt(_Z23get_tooltip_improvementP9impr_typeP4cityb+0x4d8) [0x55901e6200a8]
3: 7: ./client/freeciv-qt(_ZN11city_dialog19update_improvementsEv+0x3b3) [0x55901e631aa3]
3: 8: ./client/freeciv-qt(_ZN11city_dialog7refreshEv+0x7c) [0x55901e6322fc]
3: 9: ./client/freeciv-qt(+0x1333cb) [0x55901e6103cb]
3: 10: ./client/freeciv-qt(+0x133132) [0x55901e610132]
3: 11: ./client/freeciv-qt(_ZN7mr_idle6idlingEv+0x2f) [0x55901e6889cf]

History

#2 Updated by Marko Lindqvist about 1 year ago

  • Status changed from New to Resolved
  • Assignee set to Marko Lindqvist
  • Sprint/Milestone set to 2.6.1

#3 Updated by Marko Lindqvist about 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF