GithubHelp home page GithubHelp logo

Segmentation fault: 11? about imageclipper HOT 6 CLOSED

roryw10 avatar roryw10 commented on June 12, 2024
Segmentation fault: 11?

from imageclipper.

Comments (6)

JoakimSoderberg avatar JoakimSoderberg commented on June 12, 2024

Hello,

Sorry for the later reply

Did you compile it yourself? Exactly how did you compile it if that is the case?

Also I'm not sure what conda has to do with anything? You mean you used that to install the prerequisites? I need more information of exactly what you mean, exactly what dependencies you have including the versions.

A segmentation fault is of course bad, possibly due to a bug. But is there no other output whatsoever? It is quite hard to know anything unless I understand the issue in more detail

from imageclipper.

ysyyork avatar ysyyork commented on June 12, 2024

I also encountered a segment fault issue. I'm on Ubuntu 16.04 and I just followed exactly how you described in the readme to install it. No error occurs. But when I run the built executable, it raise segment fault directly.

Sorry, actually the error message is this: "Segmentation fault (core dumped)"

from imageclipper.

JoakimSoderberg avatar JoakimSoderberg commented on June 12, 2024

@ysyyork ok could you do the following:

# ... Normal instructions
# In the build/ directory according to the instructions
cmake -DCMAKE_BUILD_TYPE=Debug ..
make

Now instead of just running the program by normal, run it inside of gdb

gdb bin/imageclipper

Now when you crash you should get a traceback of the exact place in the code, please paste the full backlog.

from imageclipper.

ysyyork avatar ysyyork commented on June 12, 2024

The crash comes from boost::filesystem::is_directory. I don't know. Actually I managed to run it last week and I still have a successful build of that. However, this week I want to rebuild, it throws segmentation fault again. I tried deleting boost and reinstall again it's still fail. I don't know what's going on. I just use macports to install the boost.

from imageclipper.

ysyyork avatar ysyyork commented on June 12, 2024

Well, I kind of solved the issue. I found I have two boost versions and the compile time and runtime use different boost which makes it get chaotic.

from imageclipper.

JoakimSoderberg avatar JoakimSoderberg commented on June 12, 2024

ok good to know that might happen. I'll close this then

from imageclipper.

Related Issues (17)

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.