GNOME Bugzilla – Bug 701420
Segmentation fault when starting up pitivi
Last modified: 2014-01-02 19:22:59 UTC
Hi, I get segmentation fault when starting up pitivi built from source using pitivi-git-environment.sh ulrik@G74Sx:/usr/local/pitivi_installation$ MYPITIVI=/usr/local/pitivi_installation/ ./pitivi-git-environment.sh Package gstreamer-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gstreamer-1.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gstreamer-1.0' found Package gstreamer-1.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gstreamer-1.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gstreamer-1.0' found Using a local build of GStreamer 1.0 [ptv] ulrik@G74Sx:/usr/local/pitivi_installation/pitivi$ pitivi Segmentation fault (core dumped) It happens each time I try to start pitivi. The back trace from the core dump contains:
+ Trace 232009
Cheers, Ulrik
Interesting, you installed the whole thing systemwide/into usr local? I haven't tried that yet... I suppose it doesn't work simply uninstalled, running from the checked out copy? What distro release is this?
I'm running Ubuntu 12.04 with an old GStreamer version (0.10.36), so I tried the command: MYPITIVI=/usr/local/pitivi_installation ./pitivi-git-environment.sh --build It cloned and compiled everything (pitivi, gstreamer, gst, glib, ...) just fine, after I installed some required ubuntu packages such as libffi-dev, python-cairo-dev and libxml2-dev. Then I also installed the ubuntu package gir1.2-clutter-1.0 to avoid a runtime error message about 'Clutter', that did not appear during the build phase, but was printed when I tried to start pitivi. I have not actually installed anything build by pitivi-git-environment.sh into /usr/local/bin, /usr/local/lib, etc, or anything like that. I just choosed /usr/local/pitivi_installation as the build directory instead of ~/pitivi-git. Then I get the segmentation fault when I try to start pitivi by: MYPITIVI=/usr/local/pitivi_installation ./pitivi-git-environment.sh pitiv If I try to start pitiv, without first executing pitivi-git-environment.sh, I get this error message: ['/usr/local/pitivi_installation/gst-editing-services/bindings/python/gi/overrides', '/usr/local/pitivi_installation/gst-python/gi/overrides', '/usr/local/pitivi_installation/pygobject/gi/overrides', '/usr/lib/python2.7/dist-packages/gi/overrides'] gi.overrides Traceback (most recent call last):
+ Trace 232011
_check_dependencies()
missing_hard_deps = check_hard_dependencies()
from gi.repository import Gst
from ..importer import DynamicImporter
from .module import DynamicModule
from .overrides import registry
Changing from NEEDINFO to UNCONFIRMED since I have provided more info. Do you need any more information?
It sounds like Gst has not been properly initialized to me. It is pretty weird and do not get how it was no catched before. Can you check that Gst is initialized please?
Hi there, As Pitivi 0.91 has now been released, we would like to encourage you to test it. It is quite possible that your issue is fixed in this version, as it is a very significant technical overhaul compared to the 0.15 series. Read more about the 0.91 release here: http://wiki.pitivi.org/wiki/0.91 If you can reproduce this bug against 0.91 or newer (such as the git version), please update this bug report accordingly with detailed instructions to reproduce the bug, updated sample files/projects in xges format, etc. Drop by our IRC channel if you need help getting started or want to help out! Thanks!
Hi. I have the same problem. I have tested with : _ the debian packages (0.91 and 0.92 versions ) _ the source package 0.92 _ the master branch of git project (now 8/12/2013) The only console output is a message : "segmentation fault" After analyze, the SEGFAULT occurs when executing the function def _try_import_from_gi(modulename): (line 75) of file pitivi/check.py My computer is on debian testing and up-to-date. Suggested package for 0.92 version are installed and version 0.15 works fine. Cheers, Fabien
Well if it segfaults just trying to import a module (you'd need to specify which one it is), not cool... but for developers to find out what's going on you need to provide a backtrace at least. Take a look at https://wiki.gnome.org/GettingInTouch/Bugzilla/GettingTraces and http://wiki.pitivi.org/wiki/Bug_reporting#Stack_traces_for_crashes
Some new of bugs. As https://bugzilla.gnome.org/show_bug.cgi?id=721068 , the segmentation fault disappear with a recent update of Debian. Pitivi working well now.
Closing this bug report as no further information has been provided and the similar bug that was reported turned out to be incomplete/notabug too. Please feel free to reopen this bug if you can provide the info asked for. Thanks!