B. Bogart wrote:
Hi all again,
Time is running out for this machine...
After spending some time on debian-glibc it seems they are not convinced that it is pthread crashing on my machine, but something happening in the other threads.
just to make sure: do other threaded objects work (like [readsf~] ?)
So lets get to the tracing...
after I manually kill PD this is what I'm seeing in gdb:
Program received signal SIGTERM, Terminated. [Switching to Thread 1076308992 (LWP 9384)] 0xffffe410 in __kernel_vsyscall () (gdb) (gdb) bt #0 0xffffe410 in __kernel_vsyscall () #1 0x4012f288 in pthread_join () from /lib/tls/i686/cmov/libpthread.so.0
i see you are using libc6-i686 could you try deinstalling it ?
What I'm confused about it how this libc differs from /lib/libc.so.6:
yours should be optimized for i686, while the normal lib6 is just generic.
So why is /lib/tls/i686/cmov/libc.so.6 used and not /lib/libc.so.6 ?
i guess that /etc/ld.so.conf is overriding /lib/ (but my guess might be pretty nonsense; anyhow it should be something like that)
what i would do (if the above doesn't help) is to add post()s in the videoV4L.cpp code and random/strategic positions to see what it is doing (e.g. whether it is really hanging at pthread_join())
another solution would be to make the use of threads optional (if pthreads are the problem) but this would make video really not smooth
mfg.a.frew IOhannes