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