From: Joogab Yun Date: Mon, 8 Oct 2018 06:15:04 +0000 (+0900) Subject: [ITC][dali-adaptor][Non-ACR][fixed crash issue] X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=72e28bab57befe13a1b50029014e969fa0378c8e;p=test%2Ftct%2Fnative%2Fapi.git [ITC][dali-adaptor][Non-ACR][fixed crash issue] Thread 2 "RenderThread" received signal SIGSEGV, Segmentation fault. [Switching to LWP 8824] 0xb7a6a9b2 in ?? () from /lib/libc.so.6 (gdb) bt full No symbol table info available. (this=0x80091cd4, newSurface=0x800a2428) at ../../../dali/internal/graphics/common/render-helper.cpp:117 __FUNCTION__ = "ReplaceSurface" Dali::Internal::Adaptor::CombinedUpdateRenderController::UpdateRenderThread (this=0x80091cb8) at ../../../dali/internal/adaptor/common/combined-update-render-controller.cpp:460 timeSinceLastFrame = newSurface = 0x800a2428 frameDelta = keepUpdatingStatus = surfaceResized = currentFrameStartTime = 5203762643050 isRenderingToFbo = currentTime = renderStatus = {needsUpdate = false, needsPostRender = false} nextFrameTime = noOfFramesSinceLastUpdate = updateStatus = {keepUpdating = 3082720424, needsNotification = 144, surfaceRectChanged = 255, secondsFromLastFrame = 1.40129846e-45} lastFrameTime = 5203762643050 useElapsedTime = true updateRequired = timeToSleepUntil = 0 extraFramesDropped = 0 renderToFboInterval = 0 renderToFboEnabled = frameCount = 0 __FUNCTION__ = "UpdateRenderThread" Dali::Internal::Adaptor::CombinedUpdateRenderController::InternalUpdateRenderThreadEntryFunc (This=0x80091cb8) at ../../../dali/internal/adaptor/common/combined-update-render-controller.h:249 No locals. Change-Id: Ie433f95d60506b54c1838976a3bcce89ab859ccd --- diff --git a/src/itc/dali-adaptor/application/ITs-application.cpp b/src/itc/dali-adaptor/application/ITs-application.cpp index aa1fa61a4..3127433a5 100755 --- a/src/itc/dali-adaptor/application/ITs-application.cpp +++ b/src/itc/dali-adaptor/application/ITs-application.cpp @@ -105,6 +105,7 @@ namespace bool Tick() { + Validate(); mTimer.Stop(); mApplication.Quit(); return true; @@ -130,10 +131,6 @@ namespace //~ ApplicationResetSignal(mApplication); //~ break; - case APPLICATION_REPLACE_WINDOW: - ApplicationReplaceWindow(mApplication); - break; - case APPLICATION_ASSIGNMENT_OPERATOR: ApplicationAssignmentOperator(mApplication); break; @@ -172,6 +169,16 @@ namespace } } + void Validate() + { + switch( mTestCase ) + { + case APPLICATION_REPLACE_WINDOW: + ApplicationReplaceWindow(mApplication); + break; + } + } + void OnIdle() { gIdleCalled = true;