My QT app started to crash on x86_64 Android Emulator

My QT app started to crash on x86_64 Android Emulator with the following stack trace:

03-16 20:56:48.848 15806 15806 I crash_dump64: performing dump of process 15639 (target tid = 15717)
03-16 20:56:48.875 15806 15806 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
03-16 20:56:48.875 15806 15806 F DEBUG   : Build fingerprint: 'google/sdk_gphone_x86_64/generic_x86_64_arm64:11/RSR1.201211.001/7027799:user/release-keys'
03-16 20:56:48.875 15806 15806 F DEBUG   : Revision: '0'
03-16 20:56:48.875 15806 15806 F DEBUG   : ABI: 'x86_64'
03-16 20:56:48.905 15806 15806 F DEBUG   : Timestamp: 2024-03-16 20:56:48+0300
03-16 20:56:48.905 15806 15806 F DEBUG   : pid: 15639, tid: 15717, name: qtMainLoopThrea  >>> com.domain.MyApp <<<
03-16 20:56:48.905 15806 15806 F DEBUG   : uid: 10154
03-16 20:56:48.906 15806 15806 F DEBUG   : signal 4 (SIGILL), code -6 (SI_TKILL), fault addr --------
03-16 20:56:48.906 15806 15806 F DEBUG   :     rax 0000000000000000  rbx 0000795eb6bbdfe8  rcx 00007964be7b4c87  rdx 0000000000000004
03-16 20:56:48.907 15806 15806 F DEBUG   :     r8  0000000000000001  r9  0000000000000001  r10 00007ffff4f830a8  r11 0000000000000202
03-16 20:56:48.907 15806 15806 F DEBUG   :     r12 0000796216b00050  r13 00007962254b6828  r14 0000000000000000  r15 0000000000000004
03-16 20:56:48.907 15806 15806 F DEBUG   :     rdi 0000000000003d17  rsi 0000000000003d65
03-16 20:56:48.907 15806 15806 F DEBUG   :     rbp 0000795eb6bbceb0  rsp 0000795eb6bbcc78  rip 00007964be7b4c87
03-16 20:56:48.932 15806 15806 F DEBUG   : backtrace:
03-16 20:56:48.932 15806 15806 F DEBUG   :       #00 pc 00000000000b1c87  /apex/com.android.runtime/lib64/bionic/libc.so (tgkill+7) (BuildId: 3707c39fc397eeaa328142d90b50a973)
03-16 20:56:48.932 15806 15806 F DEBUG   :       #01 pc 00000000000faa12  /system/lib64/libndk_translation.so (ndk_translation::Decoder<ndk_translation::SemanticsPlayer<ndk_translation::(anonymous namespace)::Interpreter> >::DecodeSimdScalarTwoRegMisc()+642) (BuildId: 86c2b523febcecc53af82646dc316948)
03-16 20:56:48.932 15806 15806 F DEBUG   :       #02 pc 00000000000f2846  /system/lib64/libndk_translation.so (ndk_translation::Decoder<ndk_translation::SemanticsPlayer<ndk_translation::(anonymous namespace)::Interpreter> >::DecodeDataProcessingSimdAndFp()+2374) (BuildId: 86c2b523febcecc53af82646dc316948)
03-16 20:56:48.932 15806 15806 F DEBUG   :       #03 pc 00000000000eee3a  /system/lib64/libndk_translation.so (ndk_translation::Decoder<ndk_translation::SemanticsPlayer<ndk_translation::(anonymous namespace)::Interpreter> >::Decode(unsigned int)+1114) (BuildId: 86c2b523febcecc53af82646dc316948)
03-16 20:56:48.932 15806 15806 F DEBUG   :       #04 pc 00000000000ee996  /system/lib64/libndk_translation.so (ndk_translation::InterpretInsn(ndk_translation::ProcessState*)+118) (BuildId: 86c2b523febcecc53af82646dc316948)
03-16 20:56:48.932 15806 15806 F DEBUG   :       #05 pc 0000000000123fbe  /system/lib64/libndk_translation.so (BuildId: 86c2b523febcecc53af82646dc316948)
(more…)

Deleting partitions with diskpart on Windows

PowerShell as Administrator:

PS C:\WINDOWS\system32> diskpart

Microsoft DiskPart version 10.0.19041.3636

Copyright (C) Microsoft Corporation.
On computer: DESKTOP-0DRJUG2

DISKPART> list disk

  Disk ###  Status         Size     Free     Dyn  Gpt
  --------  -------------  -------  -------  ---  ---
  Disk 0    Online          476 GB   476 GB        *
  Disk 1    Online         5589 GB  1024 KB        *
  Disk 2    Online         5589 GB  1024 KB        *
  Disk 3    Online          931 GB      0 B        *
  Disk 4    Online           14 GB      0 B
(more…)

Configuring QT Creator with QT 6.6.2

I built QT 6.6.2, installed QT Creator and updated "%SystemDrive%\Documents and Settings\%USERNAME%\Application Data\QtProject\qtcreator\android\sdk_definitions.json" file as follows:

...

"specific_qt_versions": [
    {
        "versions": ["default"],
        "sdk_essential_packages": ["build-tools;34.0.0", "ndk;26.2.11394342"]
    },
    {
        "versions": ["6.4"],
        "sdk_essential_packages": ["build-tools;31.0.0", "ndk;23.1.7779620"]
    },
    {
        "versions": ["6.3", "6.2", "5.15.[9-20]"],
        "sdk_essential_packages": ["build-tools;31.0.0", "ndk;22.1.7171670"]
    },
    {
        "versions": ["5.15.[0-8]", "5.14.[0-2]", "5.13.2", "6.0", "6.1"],
        "sdk_essential_packages": ["build-tools;31.0.0", "ndk;21.3.6528147"]
    },
    {
        "versions": ["5.12.[0-5]", "5.13.[0-1]"],
        "sdk_essential_packages": ["build-tools;28.0.2", "ndk;19.2.5345600"]
    }
]

...

(more…)

Building QT 6.6.2 for Windows and Android

I installed MS Visual Studio, Android Studio and the following tools:

cmake-3.24.2-windows-x86_64
nasm-2.15.05
ninja-win
Python35
Strawberry
VulkanSDK
x86_64-12.2.0-release-win32-seh-rt_v10-rev0

and built QT for Windows with the following commands:

(more…)

Configuring RAID on Auros Z390 mainboard

I installed Intel RST driver:

(more…)

I’ll never use NEOXA wallet anymore

First when I recovered the wallet from the passphrase it displayed me a zero balance, I did a quick google search and fixed this by leaving password field empty, but after that I got “Transaction too large” message while trying to send some NEOXA amount to an exchange:

I was able to send 10 000 NEOXA, but not 20 000. What is the difference?

(more…)

Using GDPR with 3-rd party Advertising SDKs

It is clear enough from Google docs how to show consent form in an Android app with Google Mobile Ads SDK:

First I call requestConsentInfoUpdate and then I call loadAndShowConsentFormIfRequired that shows the consent form if required.

I did not test this code, but as far as I can guess, Google Mobile Ads SDK checks if the user belongs to the region GDPR applies to, shows its own consent form and internally saves a flag indicating if the user agreed (pressed some Allow button in consent form).

(more…)

Unification of Win32 and UWP

Looks like QT6 does not support UWP:

During this year’s Microsoft Build conference Microsoft announced the
unification of Win32 and UWP for their IoT offering. In general, it
looks like Microsoft is stepping away from their strict stance about the
usage of UWP technology and the Windows Store. Getting a classic Windows
application into the Windows Store is much easier nowadays and will be
even simpler in the future. Microsoft’s new direction in their IoT
offering will bring more “classic Windows development” into the IoT
world and there will be no need for a dedicated UWP port.

Creating a puzzle game cell with Proportional Editing in Blender

Add->Mesh->Plane, Subdivide 100:

(more…)

Creating a puzzle game cell in Blender

Two transformed cubes:

(more…)