1 |
dhk wrote: |
2 |
> I originally posted this question to the kino group. The chain of |
3 |
> emails is below. |
4 |
> |
5 |
> The problem is that kino crashes when opening a file, clicking on a |
6 |
> folder that has a video file in it, or when passing it in on the |
7 |
> command line. I removed and reinstalled kino, but the same thing |
8 |
> happens. I compiled the source manually and the problem wasn't |
9 |
> there. Now I think it has something to do with the Gentoo environment |
10 |
> or the ebuild. |
11 |
> |
12 |
> One thing I noticed on my system is that in |
13 |
> /usr/portage/media-video/kino there are two ebuilds a 1.3.1 and a |
14 |
> 1.3.3 I have 1.3.1 installed. The diffs to these files are as follows. |
15 |
> |
16 |
> $ diff kino-1.3.1.ebuild kino-1.3.3.ebuild |
17 |
> 1c1 |
18 |
> < # Copyright 1999-2008 Gentoo Foundation |
19 |
> --- |
20 |
> > # Copyright 1999-2009 Gentoo Foundation |
21 |
> 3c3 |
22 |
> < # $Header: |
23 |
> /var/cvsroot/gentoo-x86/media-video/kino/kino-1.3.1.ebuild,v 1.7 |
24 |
> 2008/12/21 14:44:31 nixnut Exp $ |
25 |
> --- |
26 |
> > # $Header: |
27 |
> /var/cvsroot/gentoo-x86/media-video/kino/kino-1.3.3.ebuild,v 1.1 |
28 |
> 2009/03/29 13:39:42 patrick Exp $ |
29 |
> 11c11 |
30 |
> < KEYWORDS="amd64 ppc ppc64 sparc x86" |
31 |
> --- |
32 |
> > KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" |
33 |
> 29a30 |
34 |
> > dev-util/intltool |
35 |
> |
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 |
>> |
96 |
>> I do not know the gentoo package names; libavcodec is a part of FFmeg. |
97 |
>> |
98 |
>> $ ldd $(which kino) |
99 |
>> and see if it is linked to a libavcodec |
100 |
>> |
101 |
>>> Second) I tried compiling the source so I could run the program |
102 |
>>> through the |
103 |
>>> gdb debugger. When I ran the program without gdb it runs fine, but |
104 |
>>> the same |
105 |
>>> problem exists with the crashing. However, when running the program |
106 |
>>> through |
107 |
>>> gdb it SIGSEGV because it can't find the magick.glade and kino.glade |
108 |
>>> file. |
109 |
>>> The program was looking for them in /usr/local/share/kino/ and that |
110 |
>>> path |
111 |
>>> and the file don't exist. |
112 |
>> |
113 |
>> You have to install it to put resources in the expected location. |
114 |
>> |
115 |
>>> Third) Then I did a make clean and ran configure with my own |
116 |
>>> --prefix and |
117 |
>>> copied the two .glade file to that location. I redid the steps above |
118 |
>>> running kino with and without gdb and to my surprise everything worked. |
119 |
>>> Except for some missing icons , which is understandable since I |
120 |
>>> change the |
121 |
>>> --prefix, everything I tested was functional. I could open files |
122 |
>>> and play |
123 |
>>> them. |
124 |
>> |
125 |
>> Like I said, Kino needed to be rebuilt for some reason or another. Or, |
126 |
>> something special about the gentoo build is triggering a bug. |
127 |
>> |
128 |
>>> So now is the problem with the way kino is getting installed on |
129 |
>>> Gentoo amd64 |
130 |
>>> or am I picking up older files from previous versions that don't |
131 |
>>> work? Any |
132 |
>>> ideas? I think we're getting closer? |
133 |
>> |
134 |
>> Remove it entirely, re-emerge it. If the problem remains, file a bug |
135 |
>> with gentoo. If there is a patch that belongs upstream, someone should |
136 |
>> attach it to the Kino SourceForge tracker. Kino is no longer actively |
137 |
>> maintained, so someone needs to step up if they need it to work for |
138 |
>> them because no one else is going out of there way to resolve issues |
139 |
>> for various environments. |
140 |
>> |
141 |
> |
142 |
> |
143 |
I've only been using Kino for a short time, but 1.3.3 has been perfectly |
144 |
find on my amd64 system. Consider unmasking it and installing that |
145 |
version, see if that gets around whatever the problem is. |