Git Product home page Git Product logo

Comments (8)

triplef avatar triplef commented on September 24, 2024
base/NSProxy/test00.m:
Failed test:     (2022-09-27 18:44:56.871 +0000) test00.m:126 ... subclass isEqual: to proxy
Failed test:     (2022-09-27 18:44:56.871 +0000) test00.m:132 ... subclass isEqualToString: to proxy
Failed test:     (2022-09-27 18:44:56.871 +0000) test00.m:138 ... subclass compare: proxy
Failed test:     (2022-09-27 18:44:56.871 +0000) test00.m:139 ... remote compare: proxy

from libs-base.

hmelder avatar hmelder commented on September 24, 2024

I am not quite sure where this comes from. Just logging the class description returns the same description for the subclass and the proxy. The test files as well as NSProxy or NSObject were not changed between the commits.

So I have to debug it on a x86_64 Windows machine which I don't have access to rn.

from libs-base.

hmelder avatar hmelder commented on September 24, 2024

And the commits seem to be unrelated. The Source/NSByteCountFormatter.m commit is the only change I can imagine that is causing these issues.

from libs-base.

triplef avatar triplef commented on September 24, 2024

Yeah super weird, and I can’t even reproduce it here on my machine so far...

The only thing I found comparing logs I found that between the last run that worked and the first one that didn’t, libffi was updated from v3.4.2 to v3.4.3. Since I think NSProxy uses libffi via NSInvocation and there were quite a few changes between the two libffi versions, maybe we’re exposing some sort of bug there (like a memory corruption).

I’ll keep trying to reproduce it here.

from libs-base.

triplef avatar triplef commented on September 24, 2024

Might have something to do with this: libffi/libffi#733. While I don’t understand the specifics, the commit causing this mentions MSVC and has since been reverted for the next libffi release.

The working version’s libffi configure output was:

checking whether byte ordering is bigendian... no
checking assembler .cfi pseudo-op support... no
checking assembler supports pc related relocs... yes

The broken one:

checking whether byte ordering is bigendian... no
grep: conftest.s: No such file or directory
checking compiler generates .cfi pseudo-ops... no
checking assembler supports pc related relocs... yes

from libs-base.

hmelder avatar hmelder commented on September 24, 2024

from libs-base.

triplef avatar triplef commented on September 24, 2024

Ok I was able to reproduce it after properly updating libffi to v3.4.3, and unfortunately also on libffi master (so the reversion of the above-linked commit didn’t fix it).

Unfortunately I don’t have the time to investigate this further atm, so for the time being we’re now using v3.4.2 (gnustep/tools-windows-msvc@551015a) and I again disallowed test failures on Windows (f1961f4).

from libs-base.

hmelder avatar hmelder commented on September 24, 2024

from libs-base.

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.