[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

glibc pthread_join freezing on sarge



Hello all,

I'm running a stock sarge machine with the 32bit 2.6.8 kernel on a AMD64
3200+ machine. I'm using some unstable and demudi packages.

Problem I'm having is that a few apps (actually almost all my v4l apps)
crash when I try and capture video. Actually there is no fault, but the
software hangs. I traced it down to the use of pthread_join() which is
where the code hangs. (I've been doing a backtrace after manually
killing the application)

I tried upgrading my libc6 to  2.3.2.ds1-22.d still getting the same
crash. Here are a couple examples of traces:

(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x40128f18 in pthread_join () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x44bd97bd in videoV4L::stopTransfer () from
/usr/lib/pd/extra/Gem.pd_linux
#3  0x44bd504c in pix_videoNEW::stopRendering ()
   from /usr/lib/pd/extra/Gem.pd_linux
#4  0x44b0111e in GemBase::gem_startstopMess ()
   from /usr/lib/pd/extra/Gem.pd_linux
#5  0x44b01382 in GemBase::gem_MessCallback ()
   from /usr/lib/pd/extra/Gem.pd_linux
#6  0x0809ba47 in pd_typedmess ()
#7  0x00000000 in ?? ()

(gdb) bt
#0  0xffffe410 in __kernel_vsyscall ()
#1  0x40128f18 in pthread_join () from /lib/tls/i686/cmov/libpthread.so.0
#2  0x42a86440 in pdp_sdl_setup () from /usr/lib/pd/extra/pdp.pd_linux

So what should I do to try and solve this? What version of libc6 should
I be using? Are there known bugs with my configuration and pthreads?

I'm dependant on getting this machine working, so I hope someone has a
suggestion. I'd be happy to do whatever tests to break the issue down
further.

Thanks all.

B.

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: