MantisBT

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000998VCMIMechanics - Adventure Mappublic2012-06-09 22:082012-06-23 15:56
ReporterRisto 
Assigned To 
PrioritynormalSeveritycrashReproducibilitysometimes
StatusclosedResolutionduplicate 
PlatformLinuxOSLubuntuOS Version12.04
Product Version0.89 
Target VersionFixed in Version 
Summary0000998: Cannot find player info
DescriptionThe error occurs after the death of one of the heroes during its controller's player. next turn.

The error message:

Player 0 starting turn
System message: You are not allowed to perform this action!
const PlayerState * CGameInfoCallback :: getPlayer (int, bool) const: Cannot find player info!
vcmiclient: CGameState.cpp: 2740: void CPathfinder :: calculatePaths (int3, int): Assertion `hero == getHero (hero-> id) 'failed.

Derivation of the debugger:

Functions
0 0 0x132416 __kernel_vsyscall
A raise /lib/i386-linux-gnu/libc.so.6 0 0x1c611ef
2 abort /lib/i386-linux-gnu/libc.so.6 0 0x1c64835
3 ?? /Lib/i386-linux-gnu/libc.so.6 0 0x1c5a095
4 __assert_fail /lib/i386-linux-gnu/libc.so.6 0 0x1c5a147
5 CPathfinder :: calculatePaths (int3, int) /usr/local/lib/vcmi/libvcmi.so.0 0 0x6ed4fb
6 CGameState :: calculatePaths (CGHeroInstance const *, CPathsInfo &, int3, int) /usr/local/lib/vcmi/libvcmi.so.0 0 0x6e8c1c
=> 7 CClient :: calculatePaths Client.cpp 611 0x81483e9
8 CCallback :: setSelection CCallback.cpp 241 0x8086227
9 VCAI :: makeTurnInternal () /usr/local/lib/vcmi/AI/libVCAI.so 0 0x2be6659
10 VCAI :: makeTurn () /usr/local/lib/vcmi/AI/libVCAI.so 0 0x2be61eb
11 boost :: _mfi :: mf0 <void, VCAI> :: operator () (VCAI *) const /usr/local/lib/vcmi/AI/libVCAI.so 0 0x2c4d2f0
12 void boost :: _bi :: list1 <boost :: _bi :: value <VCAI*>> :: operator () <boost :: _mfi :: mf0 <void, VCAI>, boost :: _bi :: list0> ( boost :: _bi :: type <void>, boost :: _mfi :: mf0 <void, VCAI> &, boost :: _bi :: list0 &, int) /usr/local/lib/vcmi/AI/libVCAI.so 0 0x2c4d27e
13 boost :: _bi :: bind_t <void, boost :: _mfi :: mf0 <void, VCAI>, boost :: _bi :: list1 <boost :: _bi :: value <VCAI*> >> :: operator () () /usr/local/lib/vcmi/AI/libVCAI.so 0 0x2c4d230
14 boost :: detail :: thread_data <boost :: _bi :: bind_t <void, boost :: _mfi :: mf0 <void, VCAI>, boost :: _bi :: list1 <boost :: _bi :: value <VCAI * >>>> :: run () /usr/local/lib/vcmi/AI/libVCAI.so 0 0x2c4c106
15 thread_proxy /usr/lib/libboost_thread.so.1.46.1 0 0x19a048c
16 start_thread /lib/i386-linux-gnu/libpthread.so.0 0 0x1dded4c
17 clone /lib/i386-linux-gnu/libc.so.6 0 0x1d1dace

Local variables
__PRETTY_FUNCTION__ @ 0x8275ae0 char [52]
[0] 118 char
[1] 111 char
[2] 105 char
[3] 100 char
[4] 32 char
[5] 67 char
[6] 67 char
[7] 108 char
[8] 105 char
[9] 101 char
[10] 110 char
[11] 116 char
[12] 58 char
[13] 58 char
[14] 99 char
[15] 97 char
[16] 108 char
[17] 99 char
[18] 117 char
[19] 108 char
[20] 97 char
[21] 116 char
[22] 101 char
[23] 80 char
[24] 97 char
[25] 116 char
[26] 104 char
[27] 115 char
[28] 40 char
[29] 99 char
[30] 111 char
[31] 110 char
[32] 115 char
[33] 116 char
[34] 32 char
[35] 67 char
[36] 71 char
[37] 72 char
[38] 101 char
[39] 114 char
[40] 111 char
[41] 73 char
[42] 110 char
[43] 115 char
[44] 116 char
[45] 97 char
[46] 110 char
[47] 99 char
[48] ​​101 char
[49] 42 char
[50] 41 char
[51] 0 char
h CGHeroInstance
pathLock boost :: unique_lock <boost::mutex>
is_locked true bool
m boost :: mutex
m pthread_mutex_t
__align a long
__data pthread_mutex_t :: __pthread_mutex_s
__count 0 unsigned int
__kind 0 int
__list __ pthread_slist_t
__next 0x0 __ pthread_internal_slist *
__lock an int
__nusers an unsigned int
__owner 30382 int
__spins 0 int
__size @ 0xaa1768ec char [24]
[0] 1 char
[1] 0 char
[2] 0 char
[3] 0 char
[4] 0 char
[5] 0 char
[6] 0 char
[7] 0 char
[8] -82 char
[9] 118 char
[10] 0 char
[11] 0 char
[12] 0 char
[13] 0 char
[14] 0 char
[15] 0 char
[16] a char
[17] 0 char
[18] 0 char
[19] 0 char
[20] 0 char
[21] 0 char
[22] 0 char
[23] 0 char
this CClient
[IGameCallback] IGameCallback
battleints <9 items> std :: map <unsigned char, CBattleGameInterface *, std :: less <unsigned char>, std :: allocator <std :: pair <unsigned char const, CBattleGameInterface*> >>
callbacks <8 items> std :: map <unsigned char, std :: shared_ptr <CCallback>, std :: less <unsigned char>, std :: allocator <std :: pair <unsigned char const, std :: shared_ptr <CCallback >>>>
cb 0x0 CCallback *
connectionHandler boost :: thread
curbaction 0x0 BattleAction *
erm 0x0 CScriptingModule *
hotSeat false bool
packs std :: queue <CPack *, std :: deque <CPack *, std :: allocator <CPack*> >>
c <0 items> std :: deque <CPack *, std :: allocator <CPack*>>
packsM boost :: mutex
m pthread_mutex_t
__align 0 long
__data pthread_mutex_t :: __pthread_mutex_s
__count 0 unsigned int
__kind 0 int
__list __ pthread_slist_t
__next 0x0 __ pthread_internal_slist *
__lock 0 int
__nusers 0 unsigned int
__owner 0 int
__spins 0 int
__size @ 0xaa17699c char [24]
[0] 0 char
[1] 0 char
[2] 0 char
[3] 0 char
[4] 0 char
[5] 0 char
[6] 0 char
[7] 0 char
[8] 0 char
[9] 0 char
[10] 0 char
[11] 0 char
[12] 0 char
[13] 0 char
[14] 0 char
[15] 0 char
[16] 0 char
[17] 0 char
[18] 0 char
[19] 0 char
[20] 0 char
[21] 0 char
[22] 0 char
[23] 0 char
pathInfo CPathsInfo
pathMx boost :: mutex
playerint <8 items> std :: map <unsigned char, CGameInterface *, std :: less <unsigned char>, std :: allocator <std :: pair <unsigned char const, CGameInterface*> >>
privilagedBattleEventReceivers <0 items> std :: vector <IBattleEventsReceiver *, std :: allocator <IBattleEventsReceiver*>>
privilagedGameEventReceivers <0 items> std :: vector <IGameEventsReceiver *, std :: allocator <IGameEventsReceiver*>>
serv CConnection
terminate false bool
waitingRequest ThreadSafeVector <int>
TagsNo tags attached.
Attached Files

- Relationships
duplicate of 0000954closedTow AI crashes after losing hero on enemy's turn 
has duplicate 0001002closed Unexpected behavior when AI loses its hero 

-  Notes
(0002647)
Warmonger (administrator)
2012-06-10 06:57

Duplicate of 0000954 I believe?
(0002648)
Risto (reporter)
2012-06-10 08:03

Yes, it seems. I'm sorry, I do not very good use of local search. Information to the debugger is attached to bug reports to the original?
(0002766)
Ivan (developer)
2012-06-23 15:56

Closing duplicates

- Issue History
Date Modified Username Field Change
2012-06-09 22:08 Risto New Issue
2012-06-10 06:57 Warmonger Note Added: 0002647
2012-06-10 06:57 Warmonger Relationship added duplicate of 0000954
2012-06-10 08:03 Risto Note Added: 0002648
2012-06-13 20:03 Warmonger Relationship added has duplicate 0001002
2012-06-23 15:56 Ivan Note Added: 0002766
2012-06-23 15:56 Ivan Status new => closed
2012-06-23 15:56 Ivan Resolution open => duplicate

Site | Forums | Wiki | Slack | GitHub


Copyright © 2000 - 2024 MantisBT Team
Hosting provided by DigitalOcean