Skip to content
This repository was archived by the owner on Aug 10, 2025. It is now read-only.

Conversation

@fuzzko
Copy link
Contributor

@fuzzko fuzzko commented May 18, 2025

@fuzzko
Copy link
Contributor Author

fuzzko commented May 18, 2025

Trying to figure out how to patch libbacktrace to use Nixpkgs libbacktrace.

@xTrayambak xTrayambak requested a review from AshtakaOOf May 18, 2025 09:53
@xTrayambak
Copy link
Collaborator

Trying to figure out how to patch libbacktrace to use Nixpkgs libbacktrace.

I think they're using their own in-tree version because they patched some stuff.

@fuzzko
Copy link
Contributor Author

fuzzko commented May 18, 2025

Found the main culprit.

https://github.com/status-im/nim-libbacktrace/blob/ce966b1c469dda179b54346feaaf1a62202c984f/Makefile#L135

It has hardcoded root path which is pretty nasty for cross-compilation (or building in general).
I don't know how to patch that on the fly, but I'll try my best to fix it

@fuzzko fuzzko requested a review from xTrayambak May 18, 2025 10:54
@xTrayambak
Copy link
Collaborator

Also, Equinox needs to be passed --define:packagedInstall so that the GUI shell knows how to locate the Equinox CLI. Otherwise, it won't be able to locate it.

@fuzzko
Copy link
Contributor Author

fuzzko commented May 19, 2025

@xTrayambak I found a bug while testing the Equinox GTK app.
The bug was a segfault that happened after user clicked on the setup button.

Here's the output of strace equinox_gui auto and ltrace equinox_gui auto.

@xTrayambak
Copy link
Collaborator

@xTrayambak I found a bug while testing the Equinox GTK app. The bug was a segfault that happened after user clicked on the setup button.

Here's the output of strace equinox_gui auto and ltrace equinox_gui auto.

Ah, it seems like it can't find the equinox binary. Without it, it seems to crash.

@xTrayambak
Copy link
Collaborator

Can you try to compile a debug build of Equinox? That should hopefully tell you where that occurs.

@fuzzko
Copy link
Contributor Author

fuzzko commented May 19, 2025

@xTrayambak I found a bug while testing the Equinox GTK app. The bug was a segfault that happened after user clicked on the setup button.

Here's the output of strace equinox_gui auto and ltrace equinox_gui auto.

Ah, it seems like it can't find the equinox binary. Without it, it seems to crash.

Yeah, seems so. I can create another PR to fix it. Are you fine with that?

@fuzzko
Copy link
Contributor Author

fuzzko commented May 19, 2025

Can you try to compile a debug build of Equinox? That should hopefully tell you where that occurs.

Tried to compile and use it with ASan (haven't tried UbSan and MemSan), and it doesn't throw segfaults when I have it. I don't know why it did that.

@fuzzko
Copy link
Contributor Author

fuzzko commented May 19, 2025

ASan throws memory leaks detection when I SIGINT'd the program.

==1870970==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.
==1871061==ASan runtime does not come first in initial library list; you should either link runtime to your application or manually preload it with LD_PRELOAD.
==1871080==Running thread 1870951 was not suspended. False leaks are possible.
==1871081==Running thread 1870951 was not suspended. False leaks are possible.

=================================================================
==1870952==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 89856 byte(s) in 16 object(s) allocated from:
    #0 0x7ebca82fc110 in calloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc110)
    #1 0x7ebca54847ed in Curl_open (/nix/store/v578vkzh0qhzczjvrzf64lqb2c74d5pk-curl-8.13.0/lib/libcurl.so.4+0x8b7ed) (BuildId: dda95622de56bd929695de39f9f7c9f626c67002)
    #2 0x580d129fde2d in atzpbagnvareatfhgvyfatfuggcdotnim_Init000 (/nix/store/y0km2fzs32fvin34scksr5nxxk0zxvgq-equinox-0.1.41/bin/.equinox_gui-wrapped+0x231e2d)
    #3 0x580d12a3ff3f in PreMain (/nix/store/y0km2fzs32fvin34scksr5nxxk0zxvgq-equinox-0.1.41/bin/.equinox_gui-wrapped+0x273f3f)
    #4 0x580d12a4260c in main (/nix/store/y0km2fzs32fvin34scksr5nxxk0zxvgq-equinox-0.1.41/bin/.equinox_gui-wrapped+0x27660c)
    #5 0x7ebca682a47d in __libc_start_call_main (/nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6+0x2a47d) (BuildId: 295697e46737532f05317823a9a421b7e462a933)

Direct leak of 1 byte(s) in 1 object(s) allocated from:
    #0 0x7ebca82fc757 in malloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc757)
    #1 0x580d12815581 in typedthreads::createThread(var<Thread<ptr<curly::CurlyObj> > >, proc<ptr<curly::CurlyObj> >, ptr<curly::CurlyObj>) (/nix/store/y0km2fzs32fvin34scksr5nxxk0zxvgq-equinox-0.1.41/bin/.equinox_gui-wrapped+0x49581)
    #2 0x580d129fdb28 in curly::newCurly(int) (/nix/store/y0km2fzs32fvin34scksr5nxxk0zxvgq-equinox-0.1.41/bin/.equinox_gui-wrapped+0x231b28)
    #3 0x580d129fde2d in atzpbagnvareatfhgvyfatfuggcdotnim_Init000 (/nix/store/y0km2fzs32fvin34scksr5nxxk0zxvgq-equinox-0.1.41/bin/.equinox_gui-wrapped+0x231e2d)
    #4 0x580d12a3ff3f in PreMain (/nix/store/y0km2fzs32fvin34scksr5nxxk0zxvgq-equinox-0.1.41/bin/.equinox_gui-wrapped+0x273f3f)
    #5 0x580d12a4260c in main (/nix/store/y0km2fzs32fvin34scksr5nxxk0zxvgq-equinox-0.1.41/bin/.equinox_gui-wrapped+0x27660c)
    #6 0x7ebca682a47d in __libc_start_call_main (/nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6+0x2a47d) (BuildId: 295697e46737532f05317823a9a421b7e462a933)

Indirect leak of 5616 byte(s) in 1 object(s) allocated from:
    #0 0x7ebca82fc110 in calloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc110)
    #1 0x7ebca54847ed in Curl_open (/nix/store/v578vkzh0qhzczjvrzf64lqb2c74d5pk-curl-8.13.0/lib/libcurl.so.4+0x8b7ed) (BuildId: dda95622de56bd929695de39f9f7c9f626c67002)

Indirect leak of 4200 byte(s) in 1 object(s) allocated from:
    #0 0x7ebca82fc110 in calloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc110)
    #1 0x7ebca549c1ee in Curl_ssl_scache_create (/nix/store/v578vkzh0qhzczjvrzf64lqb2c74d5pk-curl-8.13.0/lib/libcurl.so.4+0xa31ee) (BuildId: dda95622de56bd929695de39f9f7c9f626c67002)

Indirect leak of 728 byte(s) in 1 object(s) allocated from:
    #0 0x7ebca82fc110 in calloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc110)
    #1 0x7ebca546139e in Curl_multi_handle (/nix/store/v578vkzh0qhzczjvrzf64lqb2c74d5pk-curl-8.13.0/lib/libcurl.so.4+0x6839e) (BuildId: dda95622de56bd929695de39f9f7c9f626c67002)
    #2 0x580d129fde2d in atzpbagnvareatfhgvyfatfuggcdotnim_Init000 (/nix/store/y0km2fzs32fvin34scksr5nxxk0zxvgq-equinox-0.1.41/bin/.equinox_gui-wrapped+0x231e2d)
    #3 0x580d12a3ff3f in PreMain (/nix/store/y0km2fzs32fvin34scksr5nxxk0zxvgq-equinox-0.1.41/bin/.equinox_gui-wrapped+0x273f3f)
    #4 0x580d12a4260c in main (/nix/store/y0km2fzs32fvin34scksr5nxxk0zxvgq-equinox-0.1.41/bin/.equinox_gui-wrapped+0x27660c)
    #5 0x7ebca682a47d in __libc_start_call_main (/nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6+0x2a47d) (BuildId: 295697e46737532f05317823a9a421b7e462a933)

Indirect leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x7ebca82fc110 in calloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc110)
    #1 0x7ebca549c207 in Curl_ssl_scache_create (/nix/store/v578vkzh0qhzczjvrzf64lqb2c74d5pk-curl-8.13.0/lib/libcurl.so.4+0xa3207) (BuildId: dda95622de56bd929695de39f9f7c9f626c67002)

SUMMARY: AddressSanitizer: 100441 byte(s) leaked in 21 allocation(s).

=================================================================
==1870950==ERROR: LeakSanitizer: detected memory leaks

Direct leak of 89856 byte(s) in 16 object(s) allocated from:
    #0 0x7ebca82fc110 in calloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc110)
    #1 0x7ebca54847ed in Curl_open (/nix/store/v578vkzh0qhzczjvrzf64lqb2c74d5pk-curl-8.13.0/lib/libcurl.so.4+0x8b7ed) (BuildId: dda95622de56bd929695de39f9f7c9f626c67002)
    #2 0x580d129fde2d in atzpbagnvareatfhgvyfatfuggcdotnim_Init000 (/nix/store/y0km2fzs32fvin34scksr5nxxk0zxvgq-equinox-0.1.41/bin/.equinox_gui-wrapped+0x231e2d)
    #3 0x580d12a3ff3f in PreMain (/nix/store/y0km2fzs32fvin34scksr5nxxk0zxvgq-equinox-0.1.41/bin/.equinox_gui-wrapped+0x273f3f)
    #4 0x580d12a4260c in main (/nix/store/y0km2fzs32fvin34scksr5nxxk0zxvgq-equinox-0.1.41/bin/.equinox_gui-wrapped+0x27660c)
    #5 0x7ebca682a47d in __libc_start_call_main (/nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6+0x2a47d) (BuildId: 295697e46737532f05317823a9a421b7e462a933)

Direct leak of 11520 byte(s) in 18 object(s) allocated from:
    #0 0x7ebca82fb658 in realloc.part.0 (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfb658)
    #1 0x7ebca72638c8 in FcPatternObjectInsertElt (/nix/store/ldn53xpxivf489d7z673c95fkihs5l8r-fontconfig-2.16.0-lib/lib/libfontconfig.so.1+0x268c8)

Direct leak of 256 byte(s) in 1 object(s) allocated from:
    #0 0x7ebca82fc757 in malloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc757)
    #1 0x7ebca72637fd in FcPatternObjectInsertElt (/nix/store/ldn53xpxivf489d7z673c95fkihs5l8r-fontconfig-2.16.0-lib/lib/libfontconfig.so.1+0x267fd)

Direct leak of 84 byte(s) in 1 object(s) allocated from:
    #0 0x7ebca82fc757 in malloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc757)
    #1 0x580d12a42cfe in internal_init (/nix/store/y0km2fzs32fvin34scksr5nxxk0zxvgq-equinox-0.1.41/bin/.equinox_gui-wrapped+0x276cfe)

Direct leak of 72 byte(s) in 3 object(s) allocated from:
    #0 0x7ebca82fc757 in malloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc757)
    #1 0x7ebca6f0ae2d in g_malloc (/nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0+0x6ae2d) (BuildId: f71b621ab2dc0699049b38ca34669092c499df20)

Direct leak of 48 byte(s) in 1 object(s) allocated from:
    #0 0x7ebca82fc110 in calloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc110)
    #1 0x7ebca6f0ae95 in g_malloc0 (/nix/store/bkpj51fz88rbyjd60i6lrp0xdax1b24g-glib-2.84.1/lib/libglib-2.0.so.0+0x6ae95) (BuildId: f71b621ab2dc0699049b38ca34669092c499df20)

Indirect leak of 30240 byte(s) in 945 object(s) allocated from:
    #0 0x7ebca82fc757 in malloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc757)
    #1 0x7ebca724bd7f in FcConfigValues (/nix/store/ldn53xpxivf489d7z673c95fkihs5l8r-fontconfig-2.16.0-lib/lib/libfontconfig.so.1+0xed7f)

Indirect leak of 16187 byte(s) in 1117 object(s) allocated from:
    #0 0x7ebca82f6860 in strdup (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xf6860)
    #1 0x7ebca7262f8c in IA__FcValueSave (/nix/store/ldn53xpxivf489d7z673c95fkihs5l8r-fontconfig-2.16.0-lib/lib/libfontconfig.so.1+0x25f8c)

Indirect leak of 10336 byte(s) in 323 object(s) allocated from:
    #0 0x7ebca82fc110 in calloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc110)
    #1 0x7ebca72640c8 in FcPatternObjectAddWithBinding (/nix/store/ldn53xpxivf489d7z673c95fkihs5l8r-fontconfig-2.16.0-lib/lib/libfontconfig.so.1+0x270c8)

Indirect leak of 8032 byte(s) in 251 object(s) allocated from:
    #0 0x7ebca82fc110 in calloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc110)
    #1 0x7ebca726332a in FcValueListDuplicate (/nix/store/ldn53xpxivf489d7z673c95fkihs5l8r-fontconfig-2.16.0-lib/lib/libfontconfig.so.1+0x2632a)

Indirect leak of 5616 byte(s) in 1 object(s) allocated from:
    #0 0x7ebca82fc110 in calloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc110)
    #1 0x7ebca54847ed in Curl_open (/nix/store/v578vkzh0qhzczjvrzf64lqb2c74d5pk-curl-8.13.0/lib/libcurl.so.4+0x8b7ed) (BuildId: dda95622de56bd929695de39f9f7c9f626c67002)

Indirect leak of 4200 byte(s) in 1 object(s) allocated from:
    #0 0x7ebca82fc110 in calloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc110)
    #1 0x7ebca549c1ee in Curl_ssl_scache_create (/nix/store/v578vkzh0qhzczjvrzf64lqb2c74d5pk-curl-8.13.0/lib/libcurl.so.4+0xa31ee) (BuildId: dda95622de56bd929695de39f9f7c9f626c67002)

Indirect leak of 1664 byte(s) in 52 object(s) allocated from:
    #0 0x7ebca82fc110 in calloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc110)
    #1 0x7ebca72631d7 in FcValueListPrepend (/nix/store/ldn53xpxivf489d7z673c95fkihs5l8r-fontconfig-2.16.0-lib/lib/libfontconfig.so.1+0x261d7)

Indirect leak of 728 byte(s) in 1 object(s) allocated from:
    #0 0x7ebca82fc110 in calloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc110)
    #1 0x7ebca546139e in Curl_multi_handle (/nix/store/v578vkzh0qhzczjvrzf64lqb2c74d5pk-curl-8.13.0/lib/libcurl.so.4+0x6839e) (BuildId: dda95622de56bd929695de39f9f7c9f626c67002)
    #2 0x580d129fde2d in atzpbagnvareatfhgvyfatfuggcdotnim_Init000 (/nix/store/y0km2fzs32fvin34scksr5nxxk0zxvgq-equinox-0.1.41/bin/.equinox_gui-wrapped+0x231e2d)
    #3 0x580d12a3ff3f in PreMain (/nix/store/y0km2fzs32fvin34scksr5nxxk0zxvgq-equinox-0.1.41/bin/.equinox_gui-wrapped+0x273f3f)
    #4 0x580d12a4260c in main (/nix/store/y0km2fzs32fvin34scksr5nxxk0zxvgq-equinox-0.1.41/bin/.equinox_gui-wrapped+0x27660c)
    #5 0x7ebca682a47d in __libc_start_call_main (/nix/store/cg9s562sa33k78m63njfn1rw47dp9z0i-glibc-2.40-66/lib/libc.so.6+0x2a47d) (BuildId: 295697e46737532f05317823a9a421b7e462a933)

Indirect leak of 432 byte(s) in 9 object(s) allocated from:
    #0 0x7ebca82fc757 in malloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc757)
    #1 0x7ebca725c1a9 in FcLangSetCopy (/nix/store/ldn53xpxivf489d7z673c95fkihs5l8r-fontconfig-2.16.0-lib/lib/libfontconfig.so.1+0x1f1a9)

Indirect leak of 40 byte(s) in 1 object(s) allocated from:
    #0 0x7ebca82fc110 in calloc (/nix/store/7n3q3rgy5382di7ccrh3r6gk2xp51dh7-gcc-14.2.1.20250322-lib/lib/libasan.so+0xfc110)
    #1 0x7ebca549c207 in Curl_ssl_scache_create (/nix/store/v578vkzh0qhzczjvrzf64lqb2c74d5pk-curl-8.13.0/lib/libcurl.so.4+0xa3207) (BuildId: dda95622de56bd929695de39f9f7c9f626c67002)

SUMMARY: AddressSanitizer: 179311 byte(s) leaked in 2741 allocation(s).

@fuzzko
Copy link
Contributor Author

fuzzko commented May 21, 2025

@xTrayambak Managed to get things to work, except when it tries to start the container. For some reason, lxc-start always throws an error, I suspected that it doesn't executed as root.

@xTrayambak
Copy link
Collaborator

@0komo Does your system have Polkit?

@fuzzko
Copy link
Contributor Author

fuzzko commented May 21, 2025

@0komo Does your system have Polkit?

I'm using NixOS, it should have Polkit.

@AshtakaOOf AshtakaOOf removed their request for review May 21, 2025 11:48
@AshtakaOOf
Copy link
Collaborator

I'm not relevant for Nix stuff anyway

@xTrayambak
Copy link
Collaborator

@0komo Does your system have Polkit?

I'm using NixOS, it should have Polkit.

Try compiling it with the new fixes I just pushed.

@fuzzko
Copy link
Contributor Author

fuzzko commented May 21, 2025

@xTrayambak Still the same

MESA-INTEL: warning: Haswell Vulkan support is incomplete
MESA-INTEL: warning: ../src/intel/vulkan_hasvk/anv_formats.c:752: FINISHME: support YUV colorspace with DRM format modifiers
MESA-INTEL: warning: ../src/intel/vulkan_hasvk/anv_formats.c:783: FINISHME: support more multi-planar formats with DRM modifiers
WARN   net: service is already running (if you believe this is a bug, remove: /run/equinox-lxc/network_up)
INFO   equinox: starting android runtime
INFO   Clearing all previous logs
INFO   equinox: mounting rootfs
mount: /var/lib/equinox/rootfs: fsconfig system call failed: /var/lib/equinox/images/system.img: Can't lookup blockdev.
       dmesg(1) may have more information after failed mount system call.
mount: /var/lib/equinox/rootfs/vendor: fsconfig system call failed: /var/lib/equinox/images/vendor.img: Can't lookup blockdev.
       dmesg(1) may have more information after failed mount system call.
INFO   hal: using gralloc implementation: minigbm_gbm_mesa
INFO   hal: you have EGL support.
INFO   hal: you have Vulkan support.
list: {
  DFFlagPerformanceControlAddMemoryPercentageTelemetry: false,
  DFFlagEnableRewardedAdsLog: false,
  DFFlagEnableRewardedAdsSessionTrackingFields: false,
  FFlagFutureIsBrightPhase3Vulkan: true,
  FFlagSendMobileAdvertisingIdEnabledAndroid2: false,
  FFlagUserFyosDetectionHorseFly: true,
  AndroidAnimateSoftwareKeyboardOpenClose: false,
  DFFlagReportAppSuspended: false,
  DFFlagHttpReportWhenAppSuspended: false,
  DFFlagNumOpenFilesAndroid: false,
  FFlagSendLowMemoryTelemetry: false,
  DFFlagDisableDPIScale: true,
  EnableAppsFlyerFacebookTracking: false,
  FFlagLuaIdentityGetPhoneNumber: false,
  FFlagEnableFlickerFixIOS: false,
  FFlagSendMobileAdvertisingIdEnabled2: false,
  FFlagDebugDisableTelemetryPoint: true,
  FFlagTextureDeduplicationByHash4: false,
  FFlagAdServiceEnabled: false,
  FLogFMOD: 0,
  DFIntTaskSchedulerTargetFps: 60,
  FFlagDebugDisableTelemetryV2Event: true,
  FFlagUserHandleChatHotKeyWithContextActionService: true,
  AndroidShiftViewportDownOnKeyboardClose: false,
  FFlagEnableKeyboardVisibilityCheckOnPasswordFocus: false,
  FFlagDebugDisableTelemetryEventIngest: true,
  FFlagDebugDisableTelemetryEphemeralCounter: true,
  FFlagDebugDisableTelemetryV2Counter: true,
  FFlagDebugDisableTelemetryV2Stat: true,
  FFlagSendMeshTTMQTelemetry: false,
  DFFlagAndroidOomScoreTelemetry: false,
  DFFlagReportDeviceNameInCrashes: false,
  FFlagSendMobileAdvertisingIdEnabled: false,
  FFlagDebugDisableTelemetryEphemeralStat: true,
  FFlagGameBasicSettingsFramerateCap5: true,
  DFFlagAndroidDebugHeapTelemetry: false,
  FFlagLuaEnableLandingPageTTIMeasurements: false
}.toTable
WARN   equinox: TODO: first-boot fflag patching support
INFO   lifecycle: event dispatcher is being initialized
lxc-start: equinox: ../src/lxc/tools/lxc_start.c: lxc_start_main: 267 No container config specified
Error: unhandled exception: The container did not start after 32 iterations. It might be deadlocked.
Consider running the following command to forcefully kill it:
sudo equinox halt -F
 [Defect]
ERROR  install: Failed to install Roblox APK

@xTrayambak
Copy link
Collaborator

@0komo Can you run this code once?

import std/os

echo("pkexec is at " & findExe("pkexec"))

@fuzzko
Copy link
Contributor Author

fuzzko commented May 22, 2025

@0komo Can you run this code once?

import std/os

echo("pkexec is at " & findExe("pkexec"))
pkexec is at /run/wrappers/bin/pkexec

@xTrayambak
Copy link
Collaborator

Can you run ls /var/lib/equinox? @0komo

@fuzzko
Copy link
Contributor Author

fuzzko commented May 22, 2025

Can you run ls /var/lib/equinox? @0komo

/var/lib/equinox
├── equinox.prop
├── host-permissions
├── images
│   └── system.img
├── lxc
│   └── equinox
│       ├── config_session
│       └── equinox.log
├── overlay
│   └── vendor
├── overlay_rw
│   ├── system
│   └── vendor
└── rootfs
    └── vendor
        └── waydroid.prop

@xTrayambak
Copy link
Collaborator

Yeah, it seems like it just failed to download the vendor image and failed to create the actual LXC config. Can you remove that directory and rerun the onboarding? Run this: equinox_gui onboarding -v

@xTrayambak
Copy link
Collaborator

@0komo Can we just merge this for now? The rest of the problems can be fixed later.

@fuzzko
Copy link
Contributor Author

fuzzko commented May 25, 2025

@0komo Can we just merge this for now? The rest of the problems can be fixed later.

Sure, I can do that. It just needs some clean-up.

@Henry-Hiles
Copy link

Hi, any updates on this? It would be nice to have?

@fuzzko
Copy link
Contributor Author

fuzzko commented Aug 3, 2025

Hi, any updates on this? It would be nice to have?

Yeah sorry, I've been a bit busy with life. There are a lot of uncommitted changes in my local repo, I'll push it when I have time.

@fuzzko
Copy link
Contributor Author

fuzzko commented Aug 9, 2025

Gonna work on it today, until my internet was being so slow that I can't clone the repo...

@xTrayambak
Copy link
Collaborator

Hiya, we're stopping work on this since it broke due to a Roblox update. Thanks for your efforts, though!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pre-built binary Nix flake

4 participants