get the same error on edgy and here it's more dramatic because LinuxThreads 
support appears to be gone.
Some more research brings up glibc bug # 3328
http://sources.redhat.com/bugzilla/show_bug.cgi?id=3328

that one was rejected and points to gcc bug # 29415
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29415

That in turn suggests that an addition to gcc after 4.1.1. introduces a
bug. And edgy has some gcc additions after 4.1.1:
gcc version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-13ubuntu5)

On the other hand, that would not explain why I was seeing this on
dapper.

Looking at the backtrace of the crash, it strikes me that it always
happens in the same spot (where the application uses a number of mutex
locks):

Core was generated by `/home/kb87850/xvidcap/bin/xvidcap --file test-%d.avi 
--fps 10 --continue yes --'.
Program terminated with signal 6, Aborted.
#0  0xffffe410 in __kernel_vsyscall ()
(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0xb7544770 in raise () from /lib/tls/i686/cmov/libc.so.6
#2  0xb7545ef3 in abort () from /lib/tls/i686/cmov/libc.so.6
#3  0xb753ddbb in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#4  0xb7725591 in pthread_mutex_lock () from /lib/tls/i686/cmov/libpthread.so.0
#5  0xb775e517 in g_source_attach () from /usr/lib/libglib-2.0.so.0
#6  0xb775e67c in g_idle_add_full () from /usr/lib/libglib-2.0.so.0
#7  0xb775e6e8 in g_idle_add () from /usr/lib/libglib-2.0.so.0
#8  0x08060cf2 in commonCapture (xtp=0xb77c21e4, capfunc=1) at capture.c:721
#9  0x08060f9c in TCbCaptureSHM (xtp=0x0) at capture.c:808
#10 0x080641b6 in do_record_thread (job=0x87178b0) at gnome_ui.c:974
#11 0xb7723504 in start_thread () from /lib/tls/i686/cmov/libpthread.so.0
#12 0xb75e851e in clone () from /lib/tls/i686/cmov/libc.so.6
(gdb) 

I'm ALWAYS seeing the crash after a call to g_idle_add which would point at 
glib ...
But perhaps that's just because it or glibc were compiled with gcc 4.1.1+
If the binaries for glib or glibc are broken, I'd call that bad.

Karl.

-- 
get libpthread assertion on multicore CPU
https://launchpad.net/bugs/60708

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to