Ok, simpler test case.  Add reverb (concert hall sound effect) to
track and it crashes occasionally when played.
Heres the error:

cinelerra: pthread_mutex_lock.c:80: __pthread_mutex_lock: Assertion
`mutex->__data.__owner == 0' failed.
Aborted (core dumped)

The backtrace on the core file says this:

(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb737c129 in raise () from /lib/libc.so.6
#2  0xb737d553 in abort () from /lib/libc.so.6
#3  0xb7375cbd in __assert_fail () from /lib/libc.so.6
#4  0xb74961be in pthread_mutex_lock () from /lib/libpthread.so.0
#5  0xb7a117d9 in Mutex::lock (this=0x8e622d0, location=0x0) at mutex.C:47
#6  0xb24e0bdc in ReverbEngine::run (this=0x8e622b0) at reverb.C:501
#7  0xb7a1ccd9 in Thread::entrypoint (parameters=0x8e622b0) at thread.C:48
#8  0xb7494167 in start_thread () from /lib/libpthread.so.0
#9  0xb740ab7e in clone () from /lib/libc.so.6

Line 501 of reverb.C is this:
                input_lock.lock();

I guess I need to read up on pthread locking.

Anyway, can anyone help out here?  Does this crash happen for other people?

Should I file another bug for this?

I'd like to help out and start understanding what's going on and
solving some of the crashes that I run into.  But I'm at a loss right
now.

-matt

On 10/28/06, [EMAIL PROTECTED]
<[EMAIL PROTECTED]> wrote:
http://bugs.cinelerra.org/show_bug.cgi?id=347

------- Additional Comments From [EMAIL PROTECTED]  2006-10-29 00:02 -------
Here's backtrace info from the core dump:

(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7395129 in raise () from /lib/libc.so.6
#2  0xb7396553 in abort () from /lib/libc.so.6
#3  0xb7a03d94 in signal_entry (signum=11) at bcsignals.C:182
#4  <signal handler called>
#5  0xb24f9e44 in ReverbEngine::run (this=0x8e63ce8) at reverb.C:505
#6  0xb7a35cd9 in Thread::entrypoint (parameters=0x8e63ce8) at thread.C:48
#7  0xb74ad167 in start_thread () from /lib/libpthread.so.0
#8  0xb7423b7e in clone () from /lib/libc.so.6

Line 505 looks like this (in reverb.C):
                for(i = 0; i < plugin->total_in_buffers; i++)

I'm not familiar with the flow of the code but, I can only find one place where
total_in_buffers is set on the plugin.

If anyone can shed some light on how to fix this I'd be very happy.

thanks



------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

_______________________________________________
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

Reply via email to