Giter Club home page Giter Club logo

Comments (3)

jbms avatar jbms commented on May 25, 2024 1

The failing check is here:

This may be triggered by your metric registrations here: https://github.com/sameeul/omepyrgen/blob/0d75ade9b05388aef76d50dab16e0da040e58ca3/src/ts_driver/tiled_tiff/tiled_tiff_key_value_store.cc#L79

But I don't see anything wrong there.

Note that the Metric type is a Poly alias, which is like std::function but supports multiple signatures. I don't see any code path that could lead to it being a null (uninitialized) Poly.

A few things you could try to debug this issue:

  • Try building a Windows wheel from the upstream tensorstore sources, without your modifications, but using the same build process. This will confirm that the crash on Windows is due to your changes, rather than how you are building the Windows wheel.
  • Try using a windows debugger to see what is causing the null Poly instance. The stack trace will tell you the specific metric registration that is causing the issue.
  • Try removing those metrics and their uses to see if it fixes the problem.

from tensorstore.

sameeul avatar sameeul commented on May 25, 2024

Removing those metrics resolved the issue. Thanks!

from tensorstore.

laramiel avatar laramiel commented on May 25, 2024

Hm, changing that to ABSL_CHECK(m) << metric_name; would let me know precisely which metric; I'll add that.

from tensorstore.

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.