When you have max cpu usage when there should be none, what you need to do is at least two, but even better three gdb backtraces like this...
than it becomes obvious where the program is looping. bye andraz On Sun, 2006-10-15 at 16:10 -0400, Scott C. Frase wrote: > Andraz, > I been noticing that the Titler window hangs sometimes, usually with a > high CPU condition. After the high CPU runs for about one-two minutes, > the CPU frees up and Cin is usable again. > > During the high CPU condition, I was able to do a gdb backtrace as you > suggest below. Here is the output: > http://content.serverftp.net/video/titleWindowHang.txt > > hopefully, this helps. > scott > > On Sat, 2006-10-14 at 22:14 +0200, Andraž Tori wrote: > > Thanks for debug info, but what i really need is this: > > When cinelerra freezes, go to other terminal and type "ps aux" ... now > > you can read the process id of cinelerra, then you should type "gdb > > cinelerra 12345" (12345 being the proper process id), after that you > > should run "thread apply all bt" and report the whole output you get... > > > > bye > > andraz > > > > On Sat, 2006-10-14 at 15:51 -0400, Scott C. Frase wrote: > > > Andraz, > > > I compiled the latest svn. At first, I thought your new code had fixed > > > my hang problem. However, upon loading an older project it hung. I > > > looked at the terminal window and noticed that I got a message: > > > mpeg3io_open_file: No such file or directory > > > > > > Note that this message was not captured in the new Cinelerra Error > > > dialog box. > > > > > > I CTRL-C'd out of the project and have included the output below. Since > > > most of the hangs that I'm getting occur on projects that were > > > originally 2.0 projects that I've since migrated to 2.1 format, I will > > > create a pure 2.1 project and see if I get hangs. > > > > > > thanks for the help, > > > scott > > > > > > mpeg3io_open_file: No such file or directory > > > signal_entry: got SIGINT my pid=22773 execution table size=16: > > > mwindowedit.C: paste_edls: 1435 > > > mwindowedit.C: paste_edls: 1439 > > > mwindowedit.C: paste_edls: 1480 > > > mwindowedit.C: paste_edls: 1562 > > > mwindowedit.C: paste_edls: 1591 > > > mwindowedit.C: paste_edls: 1595 > > > mwindowedit.C: paste_edls: 1606 > > > mwindowedit.C: paste_edls: 1609 > > > filempeg.C: open_file: 164 > > > filempeg.C: open_file: 496 > > > filempeg.C: read_frame: 1174 > > > vrender.C: run: 414 > > > vrender.C: process_buffer: 103 > > > vrender.C: process_buffer: 113 > > > filempeg.C: read_frame: 1180 > > > filempeg.C: read_frame: 1209 > > > signal_entry: lock table size=19 > > > 0x84b8c58 BC_Synchronous::next_command BC_Synchronous::run > > > 0xace1fe98 BC_WindowBase::event_condition BC_WindowBase::get_event > > > 0xacea37b0 Cinelerra: 20060627newgarbage.xml BC_Repeater::run > > > 0x8b29400 TransportQue::output_lock PlaybackEngine::run > > > 0xacea37b0 Cinelerra: 20060627newgarbage.xml MWindow::paste_edls * > > > 0xacea37b0 Cinelerra: 20060627newgarbage.xml MainIndexes::run 1 > > > 0xb6592138 RotateEngine::input_lock RotateEngine::run > > > 0xb657daa0 RotateEngine::input_lock RotateEngine::run > > > 0xacea37b0 Cinelerra: 20060627newgarbage.xml BC_Repeater::run > > > 0xace76028 Canvas::canvas_lock VDeviceX11::new_output_buffer * > > > 0xace20cf0 Cinelerra: Song 6 - heavy VDeviceX11::new_output_buffer 1 > > > 0xacea2790 TransportQue::output_lock PlaybackEngine::run > > > 0xacea37b0 Cinelerra: 20060627newgarbage.xml > > > ResourceThread::do_video > > > 0xace20cf0 Cinelerra: Song 6 - heavy BC_Repeater::run > > > 0x8a5b418 BC_WindowBase::event_condition BC_WindowBase::get_event > > > 0xaa43b2a0 BC_WindowBase::event_condition BC_WindowBase::get_event > > > 0x893ab80 BC_WindowBase::event_condition BC_WindowBase::get_event > > > 0x8b2ac88 BC_WindowBase::event_condition BC_WindowBase::get_event > > > 0x8ad1e50 BC_WindowBase::event_condition BC_WindowBase::get_event > > > BC_Signals::dump_buffers: buffer table size=0 > > > BC_Signals::delete_temps: deleting 0 temp files > > > SigHandler::signal_handler total files=0 > > > Aborted > > > > > > On Sat, 2006-10-14 at 18:47 +0200, Andraž Tori wrote: > > > > This might be it or it might not be. > > > > > > > > Recompiling from SVN is the only way to be sure. Please do it and report > > > > results ASAP (while i still have time to fix stuff :). > > > > > > > > I don't plan any new fixes right now. > > > > > > > > bye > > > > andraz > > > > > > > On Sat, 2006-10-14 at 12:01 -0400, Scott C. Frase wrote: > > > > > Thanks Andraz, > > > > > Because I've been plagued by the freezes, can I recompile now with a > > > > > svn > > > > > update or do you think you'll have more fixes coming? > > > > > scott > > > > > > > > > > On Sat, 2006-10-14 at 17:48 +0200, Andraž Tori wrote: > > > > > > A small fix that adds locking of cwindowgui where it was forgotten > > > > > > previously. > > > > > > > > > > > > I got at least one freeze because of this. > > > > > > > > > > > > bye > > > > > > andraz > > > > > > > > > > > > > > > _______________________________________________ > > > > > Cinelerra mailing list > > > > > [email protected] > > > > > https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra > > > > > > > > > > > > _______________________________________________ > > > > Cinelerra mailing list > > > > [email protected] > > > > https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra > > > > > > > > > _______________________________________________ > > > Cinelerra mailing list > > > [email protected] > > > https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra > > > > > > _______________________________________________ > > Cinelerra mailing list > > [email protected] > > https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra > > > _______________________________________________ > Cinelerra mailing list > [email protected] > https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra _______________________________________________ Cinelerra mailing list [email protected] https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
