![]() It ends just before the test results are printed. Not ok 15 - threadB epicsThreadIsOk ToBlock( ) = 6279168 Not ok 14 - threadA epicsThreadIsOk ToBlock( ) = 1280 getPriority( ) = epicsThreadGetP riority( self) Not ok 4 - Join delayed parent (0 seconds) # TODO Thread join doesn't work Not ok 2 - Join delayed parent (0 seconds) # TODO Thread join doesn't work The faulty address 0x00000004 hints to a dereferenced NULL pointer. Unfortunately the stack is so corrupted that it is not tracable. Or skip the whole test #ifndef EPICS_THREAD_ CAN_JOIN.Since commit 8fdaa13 "errlog: eltc() re-add flush", epicsThreadTest (and thus epicsRunLibComT ests) crashes on vxWorks 6.9.0 (but not on 6.7!) on my mv5100 PPC IOC:Įxception current instruction address: 0x00000004 The solution is to make infoA and infoB static (or global). This overwrites local variables (or the call stack) in the next function eltc(). This takes the local variables infoA and infoB out of context while the test threads are still using them. My analysis shows that the crash is most likely related to the fact that epicsThreadMust Join() is non-functional on vxWorks 6.9.0 and thus testOkToBlock() exits before the test threads finish. ![]() Since commit 8fdaa13 "errlog: eltc() re-add flush", epicsThreadTest (and thus epicsRunLibComT ests) crashes on vxWorks 6.9.0 (but not on 6.7!) on my mv5100 PPC IOC:Įxception current instruction address: 0x00000004 ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |