I tried running the simulation using
tick() and till now no deadlock occured. So there seems to be something
wrong with tick(min,max)...
I tried to debug into the blocked federate
but I got not much information. Here's the stack:
ntdll.dll!773bf8b1()
[Unten
angegebene Rahmen sind möglicherweise nicht korrekt und/oder fehlen, keine
Symbole geladen für ntdll.dll]
ntdll.dll!773bf8b1()
mswsock.dll!72d317cd()
mswsock.dll!72d36d30()
ntdll.dll!773ce38c()
msvcp80.dll!std::basic_string<char,std::char_traits<char>,std::allocator<char>
>::_Grow(unsigned int _Newsize=269108997, bool _Trim=false) Zeile
2056 C++
CERTI.dll!certi::Message::Message()
Zeile 40 C++
ws2_32.dll!75236a28()
msvcr80.dll!free(void
* pBlock=0x00000000) Zeile 110 C
> rtia.exe!certi::rtia::Communications::readMessage(int
& n=2, certi::NetworkMessage * * msg_reseau=0x00dcfe6c, certi::Message
* * msg=0x00dcfe74, timeval * timeout=0x00dcfe60) Zeile 256 + 0x19
Bytes C++
rtia.exe!certi::rtia::RTIA::execute()
Zeile 152 C++
rtia.exe!main(int
argc=3, char * * argv=0x00e08ac8) Zeile 118
C++
rtia.exe!__tmainCRTStartup()
Zeile 597 + 0x17 Bytes C
kernel32.dll!7644339a()
ntdll.dll!773d9ef2()
ntdll.dll!773d9ec5()
Seems to me as the federate is waiting
for incoming messages, but I guess no know it better...
Hope that helps,
Michael
Dipl.-Inform. Michael Raab
Fraunhofer-Institut für Fabrikbetrieb und -automatisierung IFF
Virtuell Interaktives Training
Sandtorstr. 22, 39106 Magdeburg, Germany
Telefon +49 (0) 391/ 40 90 122
Telefax +49 (0) 391/ 40 90 115
address@hidden http://www.iff.fraunhofer.de
oder http://www.vdtc.de
Von:
Eric Noulard <address@hidden>
An:
CERTI development discussions
<address@hidden>
Datum:
18.06.2012 17:44
Betreff:
Re: [certi-dev]
CERTI deadlock
Gesendet von:
address@hidden
2012/6/18 Michael Raab <address@hidden>:
> I'll check running with tick() instead of tick(min, max) and let you
know
> tomorrow...
One last check you can try to make.
Do your federates implements all callbacks or not?
The "freezed" federate may be getting an exception in a callback?