On Tue, Feb 21, 2006 at 06:05:45PM -0700, Brendan Conoboy wrote:
> Nicolas wrote:
> >There're 1659 devices in /dev. How can I know which ones are used by
> >cinelerra?
> >I reduced the number of devices by not taking into account the devices
> >in 666 mode, or devices whose group is one of the groups which the
> >"normal" user belongs to. I get 1332 devices nodes "only".
> >
> >Any idea?
>
> The quick and dirty way is to run cinelerra under strace like so:
>
> strace -o /tmp/strace.output cinelerra
>
> You can then look at the open()'s issued by cinelerra. It'll show you
> what path was attempted and whether or not it succeeded.
>
> For a better idea of what might be causing a crash, you could run
> cinelerra under a debugger such as gdb.
>
> -Brendan
Here are the last things which are written in /tmp/strace.output :
# tail -30 /tmp/strace.output
futex(0x8b13408, FUTEX_WAKE, 1) = 1
futex(0x8b174d8, FUTEX_WAKE, 1) = 1
futex(0x8b174dc, FUTEX_WAIT, 2843, NULL) = -1 EAGAIN (Resource temporarily
unavailable)
futex(0x8497b0c, FUTEX_WAKE, 1) = 1
futex(0x8497b08, FUTEX_WAKE, 1) = 1
futex(0x8b13408, FUTEX_WAKE, 1) = 1
futex(0x8b12b64, FUTEX_WAIT, 517, NULL) = 0
futex(0x8b12b90, FUTEX_WAKE, 1) = 0
write(22, "8\30\4\0\4\0\200\4\4\0\0\0\377\377\377\0F\0\5\0\333\2\200"..., 332)
= 332
write(22, "F\30\5\0a\3\200\4\4\0\200\4\0\0\0\0\241\0\26\0008\2\4\0"..., 316) =
316
write(22, "F\30\5\0\347\3\200\4\4\0\200\4\0\0\0\0\241\0\26\0008\2"..., 316) =
316
write(22, "F\30\5\0\225\2\200\4\4\0\200\4\0\0\0\0\202\0\26\0008\2"..., 324) =
324
write(22, "F\30\5\0\251\2\200\4\4\0\200\4\0\0\0\0Z\0\26\0008\2\4\0"..., 320) =
320
write(22, "F\30\5\0\253\2\200\4\4\0\200\4\0\0\0\0Z\0\26\0008\2\4\0"..., 320) =
320
write(22, "F\30\5\0\255\2\200\4\4\0\200\4\0\0\0\0Z\0\26\0008\2\4\0"..., 320) =
320
write(22, "\2\30\4\0\27\2\200\4\1\0\0\0\30\2\200\4=\0\4\0\27\2\200"..., 32) = 32
futex(0x8b12b64, FUTEX_WAIT, 519, NULL) = 0
futex(0x8b12b60, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily
unavailable)
futex(0x8b12b60, FUTEX_WAKE, 1) = 0
futex(0x8b12b90, FUTEX_WAKE, 1) = 0
futex(0x8b12b64, FUTEX_WAIT, 521, NULL) = 0
futex(0x8b12b60, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily
unavailable)
futex(0x8b12b60, FUTEX_WAKE, 1) = 0
futex(0x8b12b90, FUTEX_WAKE, 1) = 0
futex(0x8b13408, FUTEX_WAIT, 2, NULL) = 0
futex(0x8b13408, FUTEX_WAKE, 1) = 1
futex(0x8b132bc, FUTEX_WAIT, 137, NULL) = 0
futex(0x8b13408, FUTEX_WAIT, 2, NULL) = -1 EAGAIN (Resource temporarily
unavailable)
futex(0x8b13408, FUTEX_WAKE, 1) = 0
futex(0x8b132bc, FUTEX_WAIT, 139, NULL
--
Here are the lines containing open( in /tmp/strace.output :
#cat /tmp/strace.output | grep "open(" | tail
open("/home/oxstone/.icons/default/cursors/watch", O_RDONLY) = -1 ENOENT (No
such file or directory)
open("/home/oxstone/.icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/share/icons/default/cursors/watch", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/share/icons/default/index.theme", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/share/pixmaps/default/cursors/watch", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/share/pixmaps/default/index.theme", O_RDONLY) = -1 ENOENT (No such
file or directory)
open("/usr/X11R6/lib/X11/icons/default/cursors/watch", O_RDONLY) = -1 ENOENT
(No such file or directory)
open("/usr/X11R6/lib/X11/icons/default/index.theme", O_RDONLY) = 26
open("/home/oxstone/.Xauthority", O_RDONLY|O_LARGEFILE) = 27
open("/home/oxstone/.Xauthority", O_RDONLY|O_LARGEFILE) = 28
I'm not quite sure the problem comes from cinelerra. I did not changed
anything with cinelerra before the problem occured. I just installed the
latest SVN version, and the problem is still there. I assume a package
was upgrade on my system which broke something.
A strange thing is the last line in strace.output. The line isn't
finished. The futex lines regularly in strace.output before I open the
project. I assume it's normal to see them appearing in the
strace.output.
Anyone has an idea?
I continue to use cinelerra from the root account. But that's no good...
:-/
Thanks.
Nicolas.
--
Conti O
-- Kawasaki-Nikon-Linux --- ._ /\_>
--- Powered --- (x)> (x)
~~~
___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra