Bug 373199 - Crash when using frei0r emboss effect
Summary: Crash when using frei0r emboss effect
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Effects & Transitions (show other bugs)
Version: 16.08.2
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Vincent PINON
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-12-02 19:15 UTC by yves.desgagne
Modified: 2017-10-20 19:11 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yves.desgagne 2016-12-02 19:15:13 UTC
On ubuntu 16.04, install from the stable ppa:kdenlive/kdenlive-stable. This will give you Kdenlive 16.08.2 and melt 6.3.0.

Just use the frei0r emboss effect (created with a previous version or with the fix below). If you click on the timeline where that effect is, Kdenlive will crash.

The dump will show you that the frei0r emboss library cannot find symbols sin() and cos().

Ideally, the library provided should be fixed.

If you execute the following steps in a shell, this will fix the broken library.

# install frei0r as the one provided is broken

git clone https://github.com/dyne/frei0r
cd frei0r
./autogen.sh
./configure --prefix=/usr
make
sudo make install
cd ..
rm -rf frei0r

# create missing kdenlive file

{
  echo "<!DOCTYPE kpartgui>"
  echo "<effect  tag=\"frei0r.emboss\" id=\"frei0r.emboss\">"
  echo "  <name>Emboss</name>"
  echo "        <description>Emboss the image</description>"
  echo "        <author>RG</author>"
  echo "  <parameter type=\"constant\" name=\"0\" default=\"375\" min=\"0\" max=\"1000\" factor=\"1000\">"
  echo "    <name>amount of azimuth</name>"
  echo "  </parameter>"
  echo "  <parameter type=\"constant\" name=\"1\" default=\"333\" min=\"0\" max=\"1000\" factor=\"1000\">"
  echo "    <name>amount of elevation</name>"
  echo "  </parameter>"
  echo "  <parameter type=\"constant\" name=\"2\" default=\"250\" min=\"0\" max=\"1000\" factor=\"1000\">"
  echo "    <name>amount of width45</name>"
  echo "  </parameter>"
  echo "</effect>"
} > frei0r_emboss.xml

sudo mv -f frei0r_emboss.xml /usr/share/kdenlive
Comment 1 farid 2016-12-04 23:45:47 UTC
I cannot reproduce, please try to download the provided snap or appimage packages and test since i think it has to do with your system...
Comment 2 yves.desgagne 2016-12-12 19:17:11 UTC
The devel appimage is indeed working fine. But you are comparing apples and oranges. I'm talking about the stable version that is not working here.

Do you recommend to leave the stable version in an unstable state until this devel version is promoted to test and then stable?
Comment 3 farid 2016-12-12 19:29:23 UTC
This can be an issue with your system if the AppImage is working and I can't reproduce it as well. The next stable version will be out on the 15th (three days from now) in case you wanna test and report back.

thanks
Comment 4 farid 2017-01-12 21:08:22 UTC
Any feedback?
Comment 5 yves.desgagne 2017-01-12 21:11:49 UTC
We still have the issue. We are installing from ppa:kdenlive/kdenlive-stable. The problem is frei0r compiled in this PPA.

frei0r	1.5+git201610091912~ubuntu16.10.1	Kdenlive (2016-10-11)

Until this is recompiled properly the problem will remain.
Comment 6 rpiggott 2017-02-19 17:46:06 UTC
I am also having this issue.  I have tried all PPA's from Kdenlive to resolve without success.  ( kdenlive-stable , kdenlive-testing , kdenlive-master )

Is there a new release of 'frei0r'?  Or if you remain unable to reproduce this on your computer what set of installation instructions should?
Comment 7 Vincent PINON 2017-10-20 19:11:20 UTC
frei0r 1.6.1 was deployed on PPA's in march...