This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Segmentation fault when starting the program after compile

Tags: None
(comma "," separated)
eduardofreitag
Registered Member
Posts
3
Karma
0
Hi, I've been trying to compile and install kdenlive 0.8 for some days now and so far it didn't work.

I have updated my ffmpeg version to the latest (compiled from source), and also mlt (also from source) and even x264 (also from source) because I wanted to make sure that it wasn't a problem with some outdated lib.

Then the compilation of kdenlive went OK, the problem is when trying to start the program.

Here is some more info:
===================================================
# gdb kdenlive
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
...
Reading symbols from /usr/bin/kdenlive...done.
(gdb) run
Starting program: /usr/bin/kdenlive
[Thread debugging using libthread_db enabled]
warning: the debug information found in "/usr/lib/debug//usr/lib/libXcursor.so.1.0.2" does not match "/usr/lib/libXcursor.so.1" (CRC mismatch).

warning: the debug information found in "/usr/lib/debug/usr/lib/libXcursor.so.1.0.2" does not match "/usr/lib/libXcursor.so.1" (CRC mismatch).

Program received signal SIGSEGV, Segmentation fault.
mlt_properties_fetch (self=0x0, name=0x837176c "id") at mlt_properties.c:424
424 mlt_property property = mlt_properties_find( self, name );
(gdb)
===================================================

Is it a problem with kdenlive or mlt? aparently the mlt_properties.c file is having some sort of problem. Is there some test that I can make to see what's wrong?

Thanks for the help,
Eduardo

ddennedy
Registered Member
Posts
1315
Karma
1
Your gdb lacks a full backtrace, but we usually see this error when Mlt's SDL plugin is not working (missing SDL dependency or incorrect libsdl version?).
At the command line, does 'melt noise:'show something in a new window?


eduardofreitag
Registered Member
Posts
3
Karma
0
"melt noise:" doesn't do anything. I mean, it shows me help from melt. I did an apt-get install libsdl* in my debian (even though I know that the version could be wrong) and it still does nothing in melt..

Any idea?

Thanks a lot!
Eduardo
j-b-m
Registered Member
Posts
804
Karma
1
Did you follow our compilation instructions for MLT at:

http://kdenlive.org/user-manual/downloading-and-installing-kdenlive/installing-source/installing-mlt-rendering-engine

If the required SDL packages were not installed, you need to recompile MLT and make sure to follow the instructions to correctly configure MLT.

You must also make sure to uninstall all MLT packages (if you previously installed MLT binary packages) to avoid conflicts.

regards
eduardofreitag
Registered Member
Posts
3
Karma
0
That was it!

I did have installed libmlt from source and had folowed all the steps, but I don't know, I may have left something out. So now I did the right thing and redid all the steps for removing old libs of libmlt and reinstalling.

Now it's working like a charm.

Thank you folks!
Eduardo


Bookmarks



Who is online

Registered users: Bing [Bot], Evergrowing, Google [Bot], rockscient