Re: [CinCVS] It freezes when opening any project !

2006-02-27 Thread Brendan Conoboy

Nicolas wrote:

Anyone has an idea?


The strace output is pretty unrevealing.  You might try building with 
debugging enabled then running it under gdb (or attaching to it). 
That'll give you a better idea of where the problem is.


-Brendan ([EMAIL PROTECTED])

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCVS] It freezes when opening any project !

2006-02-25 Thread Nicolas
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


Re: [CinCVS] It freezes when opening any project !

2006-02-21 Thread Brendan Conoboy

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

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCVS] It freezes when opening any project !

2006-02-21 Thread Nicolas
On Mon, Feb 20, 2006 at 01:54:20PM -0500, [EMAIL PROTECTED] wrote:
> On Mon, 20 Feb 2006, Nicolas wrote:
> > I discovered Cinelerra freezes when opening ANY project (I have 4 on my
> > computer), when launched from the "normal" user.
> >
> > What could I do? Don't you have any idea ?
> 
> I'd check permissions on the sound and RTC devices.
> -- 
> Matthew Skala
> [EMAIL PROTECTED]Embrace and defend.
> http://ansuz.sooke.bc.ca/

I check /dev and looked for rtc and snd :

# ls -l /dev | grep snd
drwxr-x--- 2 root audio   4096 2005-03-05 21:26 snd
crw-rw 1 root audio14,   6 2005-03-05 21:26 sndstat

My "normal" user is in the audio group.

For rtc:
# ls -l | grep rtc
crw-rw-r-- 1 root root 10, 135 2002-03-14 22:54 rtc
I changed the permissions to 666 and it did not change anything. I put
it back to 664.

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?

Thanks.
Nicolas.

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


Re: [CinCVS] It freezes when opening any project !

2006-02-20 Thread mskala
On Mon, 20 Feb 2006, Nicolas wrote:
> I discovered Cinelerra freezes when opening ANY project (I have 4 on my
> computer), when launched from the "normal" user.
>
> What could I do? Don't you have any idea ?

I'd check permissions on the sound and RTC devices.
-- 
Matthew Skala
[EMAIL PROTECTED]Embrace and defend.
http://ansuz.sooke.bc.ca/

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra


[CinCVS] It freezes when opening any project !

2006-02-20 Thread Nicolas
I discovered Cinelerra freezes when opening ANY project (I have 4 on my
computer), when launched from the "normal" user.

What could I do? Don't you have any idea ?

Nicolas.

-- 
 Conti   O
-- Kawasaki-Nikon-Linux ---  ._ /\_>
--- Powered ---  (x)> (x)
~~~

___
Cinelerra mailing list
Cinelerra@skolelinux.no
https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra