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 #873692

in research_update() [../../src/common/research.c::548]: assertion 'state == TECH_UNKNOWN' failed.

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

Status:
Closed
Priority:
Normal
Category:
Server
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

On master commit 66397335c4, attached autogame fails assert
research_update() [../../src/common/research.c::548]: assertion 'state == TECH_UNKNOWN'
on turn 277.

History

#1 Updated by Marko Lindqvist about 1 year ago

(gdb) bt
#0 raise (sig=<optimized out>) at ../sysdeps/unix/sysv/linux/raise.c:50
#1 0x00005555557dc6df in fc_assert_fail (file=0x5555558902d0 "../../src/common/research.c",
function=0x555555890710 <__FUNCTION__.23690> "research_update", line=548,
assertion=0x555555890417 "state == TECH_UNKNOWN", message=0x55555589463d "nologmsg:%s")
at ../../src/utility/log.c:569
#2 0x00005555557ba800 in research_update (presearch=0x555555b2dc18 <research_array+13144>)
at ../../src/common/research.c:548
#3 0x000055555558a8cd in found_new_tech (presearch=0x555555b2dc18 <research_array+13144>,
tech_found=57, was_discovery=false, saving_bulbs=true) at ../../src/server/techtools.c:404
#4 0x0000555555589c16 in do_tech_parasite_effect (pplayer=0x55555822e770)
at ../../src/server/techtools.c:226
#5 0x000055555556e131 in end_phase () at ../../src/server/srv_main.c:1406
#6 0x000055555557225f in srv_running () at ../../src/server/srv_main.c:2849
#7 0x0000555555573c10 in srv_main () at ../../src/server/srv_main.c:3407
#8 0x00005555555664e2 in main (argc=6, argv=0x7fffffffe088) at ../../src/server/civserver.c:481

#2 Updated by Marko Lindqvist about 1 year ago

It's is_alive = false player getting a tech via do_tech_parasite_effect()

#3 Updated by Marko Lindqvist about 1 year ago

#4 Updated by Marko Lindqvist about 1 year ago

  • Status changed from Resolved to Closed
  • Assignee set to Marko Lindqvist

Also available in: Atom PDF