Segmentation fault (core dumped)

Bug #1543836 reported by Ivan on 2016-02-09
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linux Stopmotion

Bug Description

Stopmotion don't start and in the terminal appear: "Segmentation fault (core dumped) "

Tim Band (tim-band) wrote :

Hi Ivan- Looks like nobody has been looking at this bug tracker for a while... sorry!
Would you be prepared to try the latest version?

You need git, build tools, the dependencies and the source code. So try the following in a terminal:

sudo apt-get install git build-essential gdb pkg-config
sudo apt-get install libqt4-dev qt4-dev-tools libtar-dev libxml2-dev libvorbis-dev
git clone git:// lsm
cd lsm
git checkout release0.8.1beta10
make all

Does this version work for you?

LEGOManiac (bzflaglegomaniac) wrote :

I'm almost completely unfamilliar with git but I fumbled along anyway.

Everything went well until 'git checkout release0.8.1beta10' which failed. I see that in the lsm folder, there's a 'release0.8.1', so I used "git checkout release0.8.1" which reports that my branch is up-to-date.

It seems so-far, so good.

'qmake' reports: Project ERROR: Package sdl not found

So, bumbling around some more, I notice there is a 'src' directory, so I move into it and try 'qmake' again. This time it gives me it's (qmake's) help file.

Bumbling further, I see there is an applications folder so I transfer to it and try 'qmake' again.

This time it executes silently (no output - should it?)

I note that the lsm/src/applications folder now has a "Makefile". Hoping this means progess, I try "make all" which fails with:

g++ -c -m64 -pipe -O2 -Wall -W -D_REENTRANT -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I. -o camerahandler.o camerahandler.cpp
camerahandler.cpp:20:43: fatal error: src/application/camerahandler.h: No such file or directory
compilation terminated.
Makefile:254: recipe for target 'camerahandler.o' failed
make: *** [camerahandler.o] Error 1

So I go looking for camerahandler.h, which I find does indeed exist in src/application/ leading me to think that "make all" wants be executed from the lsm directory.

That fails with "make: *** No rule to make target 'all'. Stop." as does trying it in from the /lsm/src directory.

At this point I'm out of ideas.

Tim Band (tim-band) wrote :

Hi LEGOManiac-

Thanks for having a go. Looks like there was a mistake in the instructions above.

git checkout release0.8.1beta10

should have been

git checkout 0.8.1beta10

Sorry about that. Now there is a later version, so you can just use:

git checkout 0.8.1

qmake and make all should be run from the lsm directory as you tried. Your attempt did not compile was because there is no such branch as release0.8.1beta10 so you were still on the master branch.
The code on this branch requires SDL and you do not have it installed. For the later 0.8 version the SDL dependency has been removed, so you don't need it if you are compiling that version.

You do not need to go through the whole sequence again. Just go into your lsm directory and do

git clean -fdx (this removes any extra files you created in your earlier attempts)
git checkout 0.8.1
make all

Hope that helps!

I'd be really interested to hear how you get on.

Tim Band (tim-band) wrote :

you can now use
git checkout 0.8.2

If you like.
Can I close this bug report now.

Tim Band (tim-band) wrote :

Closed as Could Not Reproduce

Changed in lsm:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers