Re: [CinCVS] cinelerra problems w/ glibc 2.5...

2007-07-19 Thread Johannes Sixt
On Wednesday 18 July 2007 22:00, Rafael Diniz wrote:
 hi all,
 don't use those patches, here is another gdb trace of the freeze in a
 glibc 2.5 system:

 (gdb) bt
 #0  0x2aabe1282076 in pthread_cond_wait () from /lib64/libpthread.so.0
 #1  0x00816809 in Condition::lock (this=0x1223cd0, location=value
 optimized out)
 at condition.C:43
 #2  0x00801b34 in BC_Synchronous::run (this=0x12238e0) at
 bcsynchronous.C:155
 #3  0x0080085d in BC_Synchronous::start (this=0x1223cd4) at
 bcsynchronous.C:118
 #4  0x005d5904 in MWindow::start (this=0x7fffcc134090) at
 mwindow.C:1329
 #5  0x005bf10c in main (argc=1, argv=0x7fffcc134338) at main.C:268

Does this patch help?

http://developer.skolelinux.no/~j6t/alternatemutex-2.1.diff

-- Hannes

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


Re: [CinCVS] cinelerra problems w/ glibc 2.5...

2007-07-19 Thread Rafael Diniz
hi hannes,
still the same problem.
the output:
http://juba.tvlivre.org/out.cin

and the same gdb trace here:
(gdb) bt
#0  0xb70c1402 in pthread_join () from /lib/libpthread.so.0
#1  0xb794fde5 in Thread::join (this=0x85fc978) at thread.C:121
#2  0xb78e7d09 in BC_Clipboard::stop_clipboard (this=0x85fc978) at
bcclipboard.C:64
#3  0xb793bdf6 in ~BC_WindowBase (this=0x85e3fd0) at bcwindowbase.C:142
#4  0xb7932d75 in ~BC_Window (this=0x85e3fd0) at bcwindow.C:42
#5  0x083145e4 in ~SplashGUI (this=0x85e3fd0) at splashgui.C:32
#6  0x0824f393 in MWindow::hide_splash (this=0xbfb78518) at mwindow.C:1373
#7  0x0825612b in MWindow::create_objects (this=0xbfb78518, want_gui=1,
want_new=1,
config_path=0xbfb77d18 ) at mwindow.C:1353
#8  0x0821d64a in main (argc=1, argv=0xbfb78744) at main.C:257


thanks!
rafael diniz

 Does this patch help?


 http://developer.skolelinux.no/~j6t/alternatemutex-2.1.diff


 -- Hannes


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


[CinCVS] cinelerra problems w/ glibc 2.5...

2007-07-18 Thread Rafael Diniz
hi all,
i managed to run cinelerra in my slack 12 (glibc 2.5) w/ two different hacks.
(use one _or_ another, not both).

the first:

Index: cinelerra/mwindow.C
===
--- cinelerra/mwindow.C (revision 1013)
+++ cinelerra/mwindow.C (working copy)
@@ -1348,9 +1348,9 @@
if(preferences-use_tipwindow)
init_tipwindow();

-SET_TRACE
+   //SET_TRACE

-   hide_splash();
+   //  hide_splash();
 SET_TRACE
init_shm();
 }

===

the second:

Index: guicast/bcwindowbase.C
===
--- guicast/bcwindowbase.C  (revision 1013)
+++ guicast/bcwindowbase.C  (working copy)
@@ -138,8 +138,8 @@
 #ifdef HAVE_GL
if(!gl_win_context || !get_resources()-get_synchronous())
 #endif
-   XCloseDisplay(display);
-   clipboard-stop_clipboard();
+   XCloseDisplay(display);
+   //clipboard-stop_clipboard();
delete clipboard;
}
else

===

this first one seens more sane (the splash window will not go away).

the gdb backtrace:

(gdb) bt
#0  0xb7011402 in pthread_join () from /lib/libpthread.so.0
#1  0xb789fe2f in Thread::join (this=0x85fc778) at thread.C:123
#2  0xb7837d59 in BC_Clipboard::stop_clipboard (this=0x85fc778) at
bcclipboard.C:64
#3  0xb788be46 in ~BC_WindowBase (this=0x85e3a68) at bcwindowbase.C:142
#4  0xb7882dc5 in ~BC_Window (this=0x85e3a68) at bcwindow.C:42
#5  0x083145d0 in ~SplashGUI (this=0x85e3a68) at splashgui.C:32
#6  0x0824f393 in MWindow::hide_splash (this=0xbfdfb798) at mwindow.C:1373
#7  0x0825612b in MWindow::create_objects (this=0xbfdfb798, want_gui=1,
want_new=1, config_path=0xbfdfaf98 ) at mwindow.C:1353
#8  0x0821d64a in main (argc=1, argv=0xbfdfb9c4) at main.C:257


- keep hacking...


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


Re: [CinCVS] cinelerra problems w/ glibc 2.5...

2007-07-18 Thread Rafael Diniz
hi all,
don't use those patches, here is another gdb trace of the freeze in a
glibc 2.5 system:

(gdb) bt
#0  0x2aabe1282076 in pthread_cond_wait () from /lib64/libpthread.so.0
#1  0x00816809 in Condition::lock (this=0x1223cd0, location=value
optimized out)
at condition.C:43
#2  0x00801b34 in BC_Synchronous::run (this=0x12238e0) at
bcsynchronous.C:155
#3  0x0080085d in BC_Synchronous::start (this=0x1223cd4) at
bcsynchronous.C:118
#4  0x005d5904 in MWindow::start (this=0x7fffcc134090) at
mwindow.C:1329
#5  0x005bf10c in main (argc=1, argv=0x7fffcc134338) at main.C:268


...

On Wed, July 18, 2007 12:39 pm, Rafael Diniz wrote:
 hi all, i managed to run cinelerra in my slack 12 (glibc 2.5) w/ two
 different hacks. (use one _or_ another, not both).


 the first:

 Index: cinelerra/mwindow.C
 ===
 --- cinelerra/mwindow.C (revision 1013)
 +++ cinelerra/mwindow.C (working copy)
 @@ -1348,9 +1348,9 @@
 if(preferences-use_tipwindow) init_tipwindow();

 -SET_TRACE
 +   //SET_TRACE


 -   hide_splash();
 +   //  hide_splash();
 SET_TRACE
 init_shm(); }


 ===


 the second:

 Index: guicast/bcwindowbase.C
 ===
 --- guicast/bcwindowbase.C  (revision 1013)
 +++ guicast/bcwindowbase.C  (working copy)
 @@ -138,8 +138,8 @@
 #ifdef HAVE_GL
 if(!gl_win_context || !get_resources()-get_synchronous()) #endif
 -   XCloseDisplay(display);
 -   clipboard-stop_clipboard();
 +   XCloseDisplay(display);
 +   //clipboard-stop_clipboard();
 delete clipboard; }
 else

 ===


 this first one seens more sane (the splash window will not go away).

 the gdb backtrace:

 (gdb) bt
 #0  0xb7011402 in pthread_join () from /lib/libpthread.so.0
 #1  0xb789fe2f in Thread::join (this=0x85fc778) at thread.C:123
 #2  0xb7837d59 in BC_Clipboard::stop_clipboard (this=0x85fc778) at
 bcclipboard.C:64
 #3  0xb788be46 in ~BC_WindowBase (this=0x85e3a68) at bcwindowbase.C:142
 #4  0xb7882dc5 in ~BC_Window (this=0x85e3a68) at bcwindow.C:42
 #5  0x083145d0 in ~SplashGUI (this=0x85e3a68) at splashgui.C:32
 #6  0x0824f393 in MWindow::hide_splash (this=0xbfdfb798) at mwindow.C:1373
  #7  0x0825612b in MWindow::create_objects (this=0xbfdfb798, want_gui=1,
 want_new=1, config_path=0xbfdfaf98 ) at mwindow.C:1353 #8  0x0821d64a in
 main (argc=1, argv=0xbfdfb9c4) at main.C:257


 - keep hacking...



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




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


Re: [CinCVS] cinelerra problems w/ glibc 2.5...

2007-07-18 Thread Rafael Diniz
hi all,
this last gdb trace was done in cinelerra 2.1 from HV, sorry, it was gave
to me in irc by LMJ, so, the patches i made still can have some use ;)


On Wed, July 18, 2007 1:00 pm, Rafael Diniz wrote:
 hi all, don't use those patches, here is another gdb trace of the freeze
 in a glibc 2.5 system:

 (gdb) bt
 #0  0x2aabe1282076 in pthread_cond_wait () from /lib64/libpthread.so.0
  #1  0x00816809 in Condition::lock (this=0x1223cd0,
 location=value optimized out) at condition.C:43 #2  0x00801b34 in
 BC_Synchronous::run (this=0x12238e0) at
 bcsynchronous.C:155
 #3  0x0080085d in BC_Synchronous::start (this=0x1223cd4) at
 bcsynchronous.C:118
 #4  0x005d5904 in MWindow::start (this=0x7fffcc134090) at
 mwindow.C:1329
 #5  0x005bf10c in main (argc=1, argv=0x7fffcc134338) at main.C:268



 ...


 On Wed, July 18, 2007 12:39 pm, Rafael Diniz wrote:

 hi all, i managed to run cinelerra in my slack 12 (glibc 2.5) w/ two
 different hacks. (use one _or_ another, not both).


 the first:

 Index: cinelerra/mwindow.C
 ===
 --- cinelerra/mwindow.C (revision 1013)
 +++ cinelerra/mwindow.C (working copy)
 @@ -1348,9 +1348,9 @@
 if(preferences-use_tipwindow) init_tipwindow();

 -SET_TRACE
 +   //SET_TRACE



 -   hide_splash();
 +   //  hide_splash();
 SET_TRACE
 init_shm(); }


 ===



 the second:

 Index: guicast/bcwindowbase.C
 ===
 --- guicast/bcwindowbase.C  (revision 1013)
 +++ guicast/bcwindowbase.C  (working copy)
 @@ -138,8 +138,8 @@
 #ifdef HAVE_GL
 if(!gl_win_context || !get_resources()-get_synchronous()) #endif -
 XCloseDisplay(display);
 -   clipboard-stop_clipboard();
 +   XCloseDisplay(display);
 +   //clipboard-stop_clipboard();
 delete clipboard; } else

 ===



 this first one seens more sane (the splash window will not go away).

 the gdb backtrace:

 (gdb) bt
 #0  0xb7011402 in pthread_join () from /lib/libpthread.so.0
 #1  0xb789fe2f in Thread::join (this=0x85fc778) at thread.C:123
 #2  0xb7837d59 in BC_Clipboard::stop_clipboard (this=0x85fc778) at
 bcclipboard.C:64
 #3  0xb788be46 in ~BC_WindowBase (this=0x85e3a68) at bcwindowbase.C:142
 #4  0xb7882dc5 in ~BC_Window (this=0x85e3a68) at bcwindow.C:42
 #5  0x083145d0 in ~SplashGUI (this=0x85e3a68) at splashgui.C:32
 #6  0x0824f393 in MWindow::hide_splash (this=0xbfdfb798) at
 mwindow.C:1373
 #7  0x0825612b in MWindow::create_objects (this=0xbfdfb798, want_gui=1,
 want_new=1, config_path=0xbfdfaf98 ) at mwindow.C:1353 #8  0x0821d64a
 in main (argc=1, argv=0xbfdfb9c4) at main.C:257


 - keep hacking...


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