GithubHelp home page GithubHelp logo

Debug support in fiddle? about fiddle HOT 2 OPEN

ruby avatar ruby commented on June 21, 2024
Debug support in fiddle?

from fiddle.

Comments (2)

kou avatar kou commented on June 21, 2024

If segfaults happen in ruby, then I often get the exact name, stack tracke
and call stack; and I can use caller(). With fiddle I do not seem to get the
same information or at the least not as much as I think may be useful.

Could you show a sample output when a Ruby script that uses Fiddle is segfault-ed?

See also kojix2' comment

Could you show URL for it?

from fiddle.

kojix2 avatar kojix2 commented on June 21, 2024

To be honest, I don't really understand how to use Fiddle.
For example, I didn't even know about Fiddle::RUBY_FREE until recently.

They say that an OSS that is incomplete, flawed and full of things to fix will attract more people, and I think LibUI is such a case.
Various people find bugs in LibUI (which is relatively easy), make DSLs and teach me how to use ocra correctly. It's amazing. I am very grateful.

As for this issue, I think it's a question of what ordinary Ruby users should do when a segregation fault appears.
In my case, I simply copy it to an issue and ask kou to take a look at it.
However, I think many people don't know what to do the moment a segregation fault occurs.

So I think what you really need to do is to read the Segmentation fault error message.

from fiddle.

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.