Yandex Mobile Ads actively crashes on Android

There was an ANR in my Android app, but a few days later Yandex Mobile Ads started to actively crash messing up my statistics:

(more…)

PYYPL card does not work in Russia

I was able to top up my PYYPL account with BUSD and make one payment, but all subsequent payments failed. For example, I got the following message:

(more…)

ANR in Yandex Mobile Ads on Android

I got ANR in my Android app on HUAWEI HWJMM (honor 6C Pro) Android 7.0 (SDK 24) with the following stack trace:

  at J.N.M1Y_XVCN (Native method)
  at org.chromium.content.browser.BrowserStartupControllerImpl.b (chromium-Monochrome.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:10)
  at org.chromium.content.browser.BrowserStartupControllerImpl.i (chromium-Monochrome.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:62)
  at hp.run (chromium-Monochrome.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:59)
  at org.chromium.base.ThreadUtils.f (chromium-Monochrome.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:7)
  at org.chromium.android_webview.AwBrowserProcess.l (chromium-Monochrome.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:23)
  at com.android.webview.chromium.M.e (chromium-Monochrome.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:146)
  at com.android.webview.chromium.M.b (chromium-Monochrome.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:172)
  at com.android.webview.chromium.WebViewChromiumFactoryProvider.getWebViewDatabase (chromium-Monochrome.aab-stable-<US_SOCIAL_SECURITY_NUMBER>:7)
  at android.webkit.WebViewDatabase.getInstance (WebViewDatabase.java:38)
  at com.yandex.mobile.ads.impl.e6.a (SourceFile:7)
  at com.yandex.mobile.ads.impl.m60.a (SourceFile:4)
  at com.yandex.mobile.ads.impl.dd.t (SourceFile:1)
  at com.yandex.mobile.ads.impl.dd$a.run (SourceFile:3)
  at android.os.Handler.handleCallback (Handler.java:846)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:205)
  at android.app.ActivityThread.main (ActivityThread.java:6783)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run (ZygoteInit.java:1225)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1086)
(more…)

How to get a history of running processes

Follow the steps from superuser.com:

(more…)

Investigating SDFile in RenderDoc

When we click on a node in Event Viewer: see renderdoc\qrenderdoc\Windows\APIInspector.cpp:

void APIInspector::OnSelectedEventChanged(uint32_t eventId)
{
  ui->apiEvents->saveExpansion(ui->apiEvents->getInternalExpansion(m_EventID), 0);

  ui->apiEvents->clearSelection();

  fillAPIView();

  m_EventID = eventId;
  ui->apiEvents->applyExpansion(ui->apiEvents->getInternalExpansion(m_EventID), 0);
}
(more…)

Debugging RenderDoc

Visual Studio 2022 was able to display rdcstr:

(more…)

How RenderDoc works with Vulkan app

Launching a Windows app

I built Vulkan samples for Windows as follows:

set MY_VS_GENERATOR="Visual Studio 17 2022"
set MY_DRIVE=D:
%MY_DRIVE%
cd \dev\build\v
set MY_CMAKE_EXE=%MY_DRIVE%\dev\tools\cmake-3.24.2-windows-x86_64\bin\cmake.exe
%MY_CMAKE_EXE% ..\..\repos\Vulkan -G %MY_VS_GENERATOR% -A x64
rem Open generated vulkanExamples.sln and build.

and launched bloom.exe with RenderDoc:

(more…)

How RenderDoc works with OpenGL app

I cloned RenderDoc’s repository:

git clone https://github.com/baldurk/renderdoc.git

easily built renderdoc\renderdoc.sln with MSVC2022 on my home machine, opened my Lines Game built on Windows with OpenGL:

(more…)

Setting up QT Creator with MinGW + CMake + Ninja

Add C and C++ compilers:

(more…)

Google Play Console displays std::exception message

My Android game crashed on a user’s device at the highlighted line:

GameMovement::GameMovement(GameField& field, CellCoord from, CellCoord to) :
    m_field(field),
    pBall(m_field.GetCell(from))
{
    GameGraph graph(&m_field, from, to);

    m_path.reserve(m_field.GetColumnCount() + m_field.GetRowCount());

    if (!graph.FindPath(m_path))
    {
        throw std::runtime_error("Path not found.");
    }

    if (m_path.size() < 2)
    {
        throw std::runtime_error("Wrong path.");
    }
}
(more…)