Search found 714 matches

by Ats
Sat Oct 05, 2024 3:49 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 139
Views: 39692

Re: Google Play New problem : 64bits

Ok, so I can confirm that the mere presence of a Sound component is crashing the app after a certain amount of time.
The problem does not occur with the Music or Sample component.
The app doesn't crash when procedure Platform_InitAudio; is deactivated.
by Ats
Sat Oct 05, 2024 1:09 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 139
Views: 39692

Re: Google Play New problem : 64bits

I think I tried everything in order to build the library with a more recent ndk. I set the paths in fpc.cfg I managed to build the obj files. Then ppcrossarm is expecting a program to link those objects that does not exist anymore. So I manually linked them using what is available in recent ndk. Thi...
by Ats
Fri Oct 04, 2024 3:44 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 139
Views: 39692

Re: Google Play New problem : 64bits

I tried -gl and -gw. This doesn't help. So now I'm onto something entirely different: trying to build the library with a more recent NDK, again. A few hours ago, I thought I was able to finaly build libzgeandroid.so using the current NDK 27b instead of the very old 21e. Turns out that ppcrossarm was...
by Ats
Fri Oct 04, 2024 12:37 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 139
Views: 39692

Re: Google Play New problem : 64bits

So I replaced the click screen to get to the BitmapExpression bug by a timer, so the gdb has the time to launch, and I can really see when the logcat is moving from the first AppState to the second, all while gdb displays its results. Here are two gbd logs until the app crashes in the second AppStat...
by Ats
Thu Oct 03, 2024 1:41 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 139
Views: 39692

Re: Google Play New problem : 64bits

I'm currently toying widh ndk-gdb, which needs the app to be running in order to work. So I added a purple splash screen before summoning the BitmapExpression of death: <?xml version="1.0" encoding="iso-8859-1" ?> <ZApplication Name="App" Caption="ZGE" ClearCo...
by Ats
Thu Oct 03, 2024 10:35 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 139
Views: 39692

Re: Google Play New problem : 64bits

I'm still discovering the Android Studio. I didn't manage to create a project to test the library yet. But the Android emulator is running pretty nicely. It's simple to install, simple to use, and simple to root, when compared to the real thing. So I thought I could check memory usages with it, or s...
by Ats
Wed Oct 02, 2024 8:59 pm
Forum: Bug reports
Topic: Problem with TexCoords Generated on Android
Replies: 6
Views: 68

Re: Problem with TexCoords Generated on Android

I just verified, on my screenshot, the problem really was coming from the MaterialTexture.TextureX that was far from 0. I have the same screenshot as you...

But not with your example :?
I copied and paste your code to get this on PC:
Screenshot 2024-10-02 225701.png
Screenshot 2024-10-02 225701.png (73.29 KiB) Viewed 33 times
by Ats
Wed Oct 02, 2024 6:00 pm
Forum: Bug reports
Topic: Problem with TexCoords Generated on Android
Replies: 6
Views: 68

Re: Problem with TexCoords Generated on Android

Oh, right. Thanks.

About the screenshot, I left some TexCoords coordinate numbers in my example that I edited afterwards. But that doesn't explain the bottom right cube... :?
(ModelDefined + Clamp)
by Ats
Wed Oct 02, 2024 5:25 pm
Forum: Bug reports
Topic: Problem with TexCoords Generated on Android
Replies: 6
Views: 68

Problem with TexCoords Generated on Android

While doing my daily tests with the 64-bit stuff, I just realized that the texture positions are completely off on Android when the TexCoords is set to Generated, both in 32-bit and 64-bit. Didn't we already fix that? Or maybe I'm confusing it with something else, I don't know. Anyway, here's what i...
by Ats
Tue Oct 01, 2024 3:56 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 139
Views: 39692

Re: Google Play New problem : 64bits

Let's roll back a bit. Could there be problems with the size of the variables I changed in this commit?
Like in Platform_CreateThread when I added this?

Code: Select all

{$IFDEF CPU64}
id: QWord;
{$ELSE}
id: LongWord;
{$ENDIF}
by Ats
Mon Sep 30, 2024 9:59 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 139
Views: 39692

Re: Google Play New problem : 64bits

I installed the whole Android Studio, but there is nothing more than what I already had using adb and ndk-stack. But I tried to build libzgeandroid.so with audio off and tasks off and launch Omeganaut, which is crashing every time I try to set a Vec3. Yet I wasn't able to strip it down... But I get ...
by Ats
Fri Sep 27, 2024 8:09 am
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 139
Views: 39692

Re: Google Play New problem : 64bits

With audio disable, it is still crashing after a random number of frames (currently 25 to 78).
But I like the idea. Are there other functions that I could totally disable like that without breaking anything?
(other than Platform_GetCpuCount and ZClasses.Tasks.Enabled :lol:)
by Ats
Thu Sep 26, 2024 9:08 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 139
Views: 39692

Re: Google Play New problem : 64bits

Do you think this problem could appear on linux 64 or windows 64? Maybe it could be easier to debug? Or that is specifically a problem with android?
by Ats
Thu Sep 26, 2024 3:31 pm
Forum: General discussion
Topic: Google Play New problem : 64bits
Replies: 139
Views: 39692

Re: Google Play New problem : 64bits

cthreads and cmem are in the dpr-file Platform_GetCpuCount and ZClasses.Tasks.Enabled aren't deactivated I use CallStaticObjectMethod instead of CallStaticObjectMethodV {$STACKFRAMES ON} is added Here's the complete logcat for MeshExpression only: 09-26 17:26:49.353 I/ActivityTaskManager( 2043): ST...