[UTC][dali-adaptor][Non-ACR][fixed crash issue]
authorJoogab Yun <joogab.yun@samsung.com>
Mon, 8 Oct 2018 06:16:24 +0000 (15:16 +0900)
committerSeoyeon Kim <seoyeon2.kim@samsung.com>
Fri, 12 Oct 2018 02:26:46 +0000 (11:26 +0900)
- Added to prevent 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 = <optimized out>
        newSurface = 0x800a2428
        frameDelta = <optimized out>
        keepUpdatingStatus = <optimized out>
        surfaceResized = <optimized out>
        currentFrameStartTime = 5203762643050
        isRenderingToFbo = <optimized out>
        currentTime = <optimized out>
        renderStatus = {needsUpdate = false, needsPostRender = false}
        nextFrameTime = <optimized out>
        noOfFramesSinceLastUpdate = <optimized out>
        updateStatus = {keepUpdating = 3082720424, needsNotification =
144, surfaceRectChanged = 255, secondsFromLastFrame = 1.40129846e-45}
        lastFrameTime = 5203762643050
        useElapsedTime = true
        updateRequired = <optimized out>
        timeToSleepUntil = 0
        extraFramesDropped = 0
        renderToFboInterval = 0
        renderToFboEnabled = <optimized out>
        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: Ib54bf7a893549254eca46e27b41dee85b2b38128

src/utc/dali-adaptor/application/utc-dali-application.cpp

index 32b92fb..e0d1540 100755 (executable)
@@ -210,9 +210,9 @@ namespace
 
     bool Tick()
     {
-      if( mTestCase == APPLICATION_REPLACE_WINDOW )
+      if( mTestCase == APPLICATION_REPLACE_WINDOW_P )
       {
-        TestReplaceWindow();
+        ApplicationReplaceWindowP( mApplication );
       }
 
       mTimer.Stop();
@@ -389,10 +389,6 @@ namespace
           ApplicationViewModeSetAndGetP(mApplication);
           break;
 
-        case APPLICATION_REPLACE_WINDOW_P:
-          ApplicationReplaceWindowP(mApplication);
-          break;
-
         case APPLICATION_REPLACE_WINDOW_N:
           ApplicationReplaceWindowN();
           break;
@@ -450,11 +446,6 @@ namespace
 
     }
 
-    void TestReplaceWindow()
-    {
-
-    }
-
     void TestViewMode()
     {
       mApplication.SetViewMode(STEREO_HORIZONTAL);