Giter VIP home page Giter VIP logo

Comments (14)

1Jajen1 avatar 1Jajen1 commented on June 10, 2024 2

@calvellido that looks like something different: @nomisRev should take a look at that ^^

from arrow-core.

calvellido avatar calvellido commented on June 10, 2024 2

I tried:

  • 4.15.0-74
  • 4.15.0-72
  • 4.15.0-70
  • 4.10.0-38
  • 4.8.0-53

All of them leading to the same error:

> Task :arrow-core:kaptKotlin FAILED
e: [kapt] An exception occurred: java.lang.StackOverflowError

😭

from arrow-core.

nomisRev avatar nomisRev commented on June 10, 2024 1

@1Jajen1 thanks for the poke!
@calvellido that is definitely something else, looks like a bad merge to me. I will take a look asap ;)

from arrow-core.

rachelcarmena avatar rachelcarmena commented on June 10, 2024

Thanks @abelkov! However, I think we could look at something else. I'm on Ubuntu 18.04 and I don't have that problem. We're using Ubuntu 18.04 on GitHub environments and it also works properly:

Run cat /proc/version
Linux version 5.0.0-1027-azure (buildd@lgw01-amd64-033) 
(gcc version 7.4.0 (Ubuntu 7.4.0-1ubuntu1~18.04.1)) 
arrow-kt/arrow#29~18.04.1-Ubuntu SMP Mon Nov 25 21:18:57 UTC 2019

Run java -version
openjdk version "1.8.0_232"
OpenJDK Runtime Environment (Zulu 8.42.0.23-CA-linux64) (build 1.8.0_232-b18)
OpenJDK 64-Bit Server VM (Zulu 8.42.0.23-CA-linux64) (build 25.232-b18, mixed mode)

Please, does it happen with previous commits? Thanks in advance!

from arrow-core.

rachelcarmena avatar rachelcarmena commented on June 10, 2024

And please, check your running processes, Gradle daemons, ...

from arrow-core.

abelkov avatar abelkov commented on June 10, 2024

Yes, it also fails on some previous commits and on a different JDK 8 from Azul, and when I run gradle with --no-daemon. Given that it's not blocking me and nobody else seems to have this problem, I think we can ignore this for now. Thanks.

from arrow-core.

rachelcarmena avatar rachelcarmena commented on June 10, 2024

Yes, it also fails on some previous commits and on a different JDK 8 from Azul, and when I run gradle with --no-daemon. Given that it's not blocking me and nobody else seems to have this problem, I think we can ignore this for now. Thanks.

Thank @abelkov so much for the info!! There is another person with the same problem. Let's see if we find some clue...

from arrow-core.

calvellido avatar calvellido commented on June 10, 2024

It also happens to me (similar environment), but I haven't been able to dig deeper on what could be the source for this 😢

from arrow-core.

calvellido avatar calvellido commented on June 10, 2024

Current tests are also failing due to a StackOverflow error, though I don't know how related these two are:

https://github.com/arrow-kt/arrow/pull/1934/checks?check_run_id=394918808#step:4:4960

from arrow-core.

rachelcarmena avatar rachelcarmena commented on June 10, 2024

I was reviewing this issue with @nomisRev because he got an error with JitPack.io.

We observed that the same commit produced different results:

The only difference is the assigned machine.

After doing more checks with other commits, we observed that JitPack.io assigned machines in a random way:

  • Linux 4.10.0-28-generic amd64
  • Linux 4.14.63-xxxx-std-ipv6-64 amd64
  • Linux 4.18.0-13-generic amd64

Just it works with 4.10.0-28-generic amd64.

More data from personal dev environments:

  • KO: Linux 4.15.0-74-generic amd64
  • OK: Linux 5.3.0-26-generic amd64

And GitHub Actions environment for ubuntu-latest: Linux 5.0.0-1028-azure amd64

from arrow-core.

rachelcarmena avatar rachelcarmena commented on June 10, 2024

Hi! this could be tried again with the new organization. Thanks!!

from arrow-core.

calvellido avatar calvellido commented on June 10, 2024

Still failing for me after the split 😭

  • 4.15.0-88

from arrow-core.

aballano avatar aballano commented on June 10, 2024

After seeing #91 it seems to me that there might be some recursive calling in the Meta processors that some systems are able to handle due to bigger heap memory than others, that's why it could be happening "randomly" on CI based on #25 (comment) cc @raulraja @i-walker

from arrow-core.

raulraja avatar raulraja commented on June 10, 2024

After seeing #91 it seems to me that there might be some recursive calling in the Meta processors that some systems are able to handle due to bigger heap memory than others, that's why it could be happening "randomly" on CI based on #25 (comment) cc @raulraja @i-walker

That is the case, recursion in our kapt processors is not stack safe. It will also not terminate in some cases if you make complex recursive type nesting. We don't plan to fix it as we have reencoded most of them in meta or will be superceded soon by this new features.

from arrow-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.