After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 721068 - Pitivi 0.92 under Debian experimental: segfault at launch
Pitivi 0.92 under Debian experimental: segfault at launch
Status: RESOLVED INCOMPLETE
Product: pitivi
Classification: Other
Component: General
0.92
Other Linux
: Normal blocker
: Git
Assigned To: Pitivi maintainers
Pitivi maintainers
Depends on:
Blocks:
 
 
Reported: 2013-12-26 03:28 UTC by Mathieu
Modified: 2013-12-27 17:07 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Mathieu 2013-12-26 03:28:26 UTC
I tried to install Pitivi 0.92 under Debian experimental:

 *** 0.92-1 0
          1 http://ftp.us.debian.org/debian/ experimental/main amd64 Packages

The install is successful (from the package manager's point of view), but the application does not launch, with an immediate segfault:

$ pitivi
Erreur de segmentation [french for "segfault"]

I tried to use the highest debug level, with no additional information:

$ PITIVI_DEBUG=6 pitivi
Erreur de segmentation

$ PITIVI_DEBUG=6 /usr/bin/pitivi
Erreur de segmentation

I'd be happy to provide any additional information, since I'm slightly in the dark right now...

My Debian version is Jessie (testing) with some pining to get packages from Sid (unstable) or experimental:

$ cat /etc/issue
Debian GNU/Linux jessie/sid \n \l
Comment 1 Mathieu 2013-12-26 04:05:11 UTC
Here is the backtrace using gdb:

$ gdb python
GNU gdb (GDB) 7.6.1 (Debian 7.6.1-1)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
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 "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python2.7...(no debugging symbols found)...done.
(gdb) set pagination 0  # avoids the need to press Enter to "scroll"
"on" or "off" expected.
(gdb) run pitivi # tell Python to launch the pitivi executable in the bin/ folderStarting program: /usr/bin/python pitivi # tell Python to launch the pitivi executable in the bin/ folder
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
/usr/bin/python: can't open file 'pitivi': [Errno 2] No such file or directory
[Inferior 1 (process 28360) exited with code 02]
Comment 2 Jean-François Fortin Tam 2013-12-26 04:44:35 UTC
Hi Mathieu, please install the debug packages (python-dbg, gstreamer*-dbg, etc.) for all the pitivi dependencies as much as possible, and try "run /usr/bin/pitivi" at the gdb prompt (instead of "run pitivi"), because it seems python doesn't know the full path otherwise (as the errors above indicate)...
Comment 3 Mathieu 2013-12-27 00:39:27 UTC
... and the magic happened!

Here is what I did: I installed first a few of the debug packages that you mentioned:

sudo aptitude install python-dbg gstreamer1.0-gnonlin-dbg gstreamer1.0-libav-dbg gstreamer1.0-plugins-bad-dbg gstreamer1.0-plugins-base-dbg gstreamer1.0-plugins-good-dbg gstreamer1.0-plugins-ugly-dbg

Then ran Pitivi from gdb using /usr/bin/pitivi... which opened Pitivi to my very surprise! I tried then just "run pitivi", which worked too... I then purged all the debug packages, just to see what happened... And still works!

Finally, I remembered that I had some upgrades since I reported the bug. Maybe the upgrade of python-gobject did it. Here is the report of the upgrade:

Start-Date: 2013-12-26  12:47:39
Upgrade: emacs-snapshot-common:amd64 (20131206-1, 20131226-1), at-spi2-core:amd64 (2.10.1-1, 2.10.2-1), python-gi-dev:amd64 (3.8.2-1, 3.10.2-1), gdebi-core:amd64 (0.9.1, 0.9.2), python-gobject:amd64 (3.8.2-1, 3.10.2-1), emacs-snapshot:amd64 (20131206-1, 20131226-1), python-gi:amd64 (3.8.2-1, 3.10.2-1), libatk-bridge2.0-0:amd64 (2.10.0-1+b1, 2.10.2-1), gdebi:amd64 (0.9.1, 0.9.2), gir1.2-atspi-2.0:amd64 (2.10.1-1, 2.10.2-1), libsdl-ttf2.0-0:amd64 (2.0.11-2, 2.0.11-3), openssh-client:amd64 (6.4p1-1, 6.4p1-2), python-gi-cairo:amd64 (3.8.2-1, 3.10.2-1), emacs-snapshot-bin-common:amd64 (20131206-1, 20131226-1), libatspi2.0-0:amd64 (2.10.1-1, 2.10.2-1), libatk-adaptor-data:amd64 (2.10.0-1, 2.10.2-1), python3-gi:amd64 (3.8.2-1, 3.10.2-1), libatk-bridge2.0-dev:amd64 (2.10.0-1+b1, 2.10.2-1), libatk-adaptor:amd64 (2.10.0-1+b1, 2.10.2-1), libsdl-net1.2:amd64 (1.2.8-3, 1.2.8-4)
Error: Sub-process /usr/bin/dpkg returned an error code (1)
End-Date: 2013-12-26  12:48:15

(the dpkg error is about emacs-snapshot)

Anyway, Pitivi is now working as expected, and I'm happy.
Comment 4 Jean-François Fortin Tam 2013-12-27 17:07:49 UTC
Alright, closing this bug report as no further information can be provided.
Please feel free to reopen this bug if you can reproduce and provide that info.
Thanks!