Gentoo Archives: gentoo-user

From: dhk <dhkuhl@×××××××××.net>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Kino Crashes Opening Files
Date: Fri, 15 May 2009 12:12:17
Message-Id: 4A0D5C1E.9090705@optonline.net
In Reply to: Re: [gentoo-user] Kino Crashes Opening Files by Saphirus Sage
1 Saphirus Sage wrote:
2 > dhk wrote:
3 >> I originally posted this question to the kino group. The chain of
4 >> emails is below.
5 >>
6 >> The problem is that kino crashes when opening a file, clicking on a
7 >> folder that has a video file in it, or when passing it in on the
8 >> command line. I removed and reinstalled kino, but the same thing
9 >> happens. I compiled the source manually and the problem wasn't
10 >> there. Now I think it has something to do with the Gentoo environment
11 >> or the ebuild.
12 >>
13 >> One thing I noticed on my system is that in
14 >> /usr/portage/media-video/kino there are two ebuilds a 1.3.1 and a
15 >> 1.3.3 I have 1.3.1 installed. The diffs to these files are as follows.
16 >>
17 >> $ diff kino-1.3.1.ebuild kino-1.3.3.ebuild
18 >> 1c1
19 >> < # Copyright 1999-2008 Gentoo Foundation
20 >> ---
21 >>> # Copyright 1999-2009 Gentoo Foundation
22 >> 3c3
23 >> < # $Header:
24 >> /var/cvsroot/gentoo-x86/media-video/kino/kino-1.3.1.ebuild,v 1.7
25 >> 2008/12/21 14:44:31 nixnut Exp $
26 >> ---
27 >>> # $Header:
28 >> /var/cvsroot/gentoo-x86/media-video/kino/kino-1.3.3.ebuild,v 1.1
29 >> 2009/03/29 13:39:42 patrick Exp $
30 >> 11c11
31 >> < KEYWORDS="amd64 ppc ppc64 sparc x86"
32 >> ---
33 >>> KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
34 >> 29a30
35 >>> dev-util/intltool
36 >> I'm not sure if the 1.3.3 file is causing a problem somehow.
37 >>
38 >> Any ideas?
39 >>
40 >> Thanks,
41 >> dhk
42 >>
43 >> Dan Dennedy wrote:
44 >>> On Wed, May 13, 2009 at 4:54 AM, dhk <dhkuhl@×××××××××.net> wrote:
45 >>>> Dan Dennedy wrote:
46 >>>>> On Tue, May 12, 2009 at 3:08 AM, dhk <dhkuhl@×××××××××.net> wrote:
47 >>>>>> dhk wrote:
48 >>>>>>> Carl Karsten wrote:
49 >>>>>>>> On Sat, May 9, 2009 at 5:27 AM, dhk <dhkuhl@×××××××××.net> wrote:
50 >>>>>>>>> I don't edit video very often so I don't know exactly when this
51 >>>>>>>>> problem
52 >>>>>>>>> started.
53 >>>>>>>>>
54 >>>>>>>>> Whenever I try to open a file kino crashes. It starts fine,
55 >>>>>>>>> but as
56 >>>>>>>>> soon
57 >>>>>>>>> as I try to open a .kino, .dv and other type files it crashes.
58 >>>>>>>>> When
59 >>>>>>>>> I'm
60 >>>>>>>>> in the kino gui the crash occurs when I click on the folder
61 >>>>>>>>> that has
62 >>>>>>>>> the
63 >>>>>>>>> .kino file. On the command line it crashes when I pass the
64 >>>>>>>>> file in as
65 >>>>>>>>> a
66 >>>>>>>>> parameter.
67 >>>>> More than likely the libdv or libavcodec libraries changed somehow and
68 >>>>> Kino needs to be rebuilt. If you are going to rebuild it, see if there
69 >>>>> is a v1.3.3, the latest release, available - it will clear up many of
70 >>>>> those GTK+ warnings.
71 >>>>>
72 >>>>>>>> post the command line and resulting output.
73 >>>>>>>>
74 >>>>> [...]
75 >>>>>>> /Video/Capture/MomAndDad50thAnniversary $ kino take1.kino
76 >>>>> [...]
77 >>>>>>> Kino experienced a segmentation fault.
78 >>>>> $ gdb kino
79 >>>>> (gdb) run take1.kino
80 >>>>> ...segfault
81 >>>>> (gdb) where
82 >>>>>
83 >>>>> send the output.
84 >>>>>
85 >>>> I think the problem is in the environment or setup somewhere. I
86 >>>> don't have
87 >>>> the answer, but I think I'm getting closer. So please bear with me
88 >>>> as I
89 >>>> explain.
90 >>>>
91 >>>> First) This is kino version 1.3.1 I'm working with. There isn't any
92 >>>> libavcodec package in the portage tree as far as I've seen, but
93 >>>> there is a
94 >>>> libavc1394 version 0.5.3. The highest version of lbdv is 1.0.0-r2.
95 >>> I do not know the gentoo package names; libavcodec is a part of FFmeg.
96 >>>
97 >>> $ ldd $(which kino)
98 >>> and see if it is linked to a libavcodec
99 >>>
100 >>>> Second) I tried compiling the source so I could run the program
101 >>>> through the
102 >>>> gdb debugger. When I ran the program without gdb it runs fine, but
103 >>>> the same
104 >>>> problem exists with the crashing. However, when running the program
105 >>>> through
106 >>>> gdb it SIGSEGV because it can't find the magick.glade and kino.glade
107 >>>> file.
108 >>>> The program was looking for them in /usr/local/share/kino/ and that
109 >>>> path
110 >>>> and the file don't exist.
111 >>> You have to install it to put resources in the expected location.
112 >>>
113 >>>> Third) Then I did a make clean and ran configure with my own
114 >>>> --prefix and
115 >>>> copied the two .glade file to that location. I redid the steps above
116 >>>> running kino with and without gdb and to my surprise everything worked.
117 >>>> Except for some missing icons , which is understandable since I
118 >>>> change the
119 >>>> --prefix, everything I tested was functional. I could open files
120 >>>> and play
121 >>>> them.
122 >>> Like I said, Kino needed to be rebuilt for some reason or another. Or,
123 >>> something special about the gentoo build is triggering a bug.
124 >>>
125 >>>> So now is the problem with the way kino is getting installed on
126 >>>> Gentoo amd64
127 >>>> or am I picking up older files from previous versions that don't
128 >>>> work? Any
129 >>>> ideas? I think we're getting closer?
130 >>> Remove it entirely, re-emerge it. If the problem remains, file a bug
131 >>> with gentoo. If there is a patch that belongs upstream, someone should
132 >>> attach it to the Kino SourceForge tracker. Kino is no longer actively
133 >>> maintained, so someone needs to step up if they need it to work for
134 >>> them because no one else is going out of there way to resolve issues
135 >>> for various environments.
136 >>>
137 >>
138 > I've only been using Kino for a short time, but 1.3.3 has been perfectly
139 > find on my amd64 system. Consider unmasking it and installing that
140 > version, see if that gets around whatever the problem is.
141 >
142 >
143
144 I don't see a version 1.3.3 on my amd64, but I seem to have an ebuild
145 for it. I don't think I have it masked either. All I see is
146 media-video/kino gstreamer dvdr sox in the package.use file.
147
148 # emerge --search kino
149 !!! CONFIG_PROTECT is emptySearching...
150 [ Results for search key : kino ]
151 [ Applications found : 1 ]
152
153 * media-video/kino
154 Latest version available: 1.3.1
155 Latest version installed: 1.3.1
156 Size of files: 10,804 kB
157 Homepage: http://www.kinodv.org/
158 Description: Kino is a non-linear DV editor for GNU/Linux
159 License: GPL-2

Replies

Subject Author
Re: [gentoo-user] Kino Crashes Opening Files dhk <dhkuhl@×××××××××.net>