[x264-devel] threading problem on NetBSD
hbent at cs.oberlin.edu
hbent at cs.oberlin.edu
Wed Oct 8 21:16:11 CEST 2008
Hi all,
I am running NetBSD 4.99.72 and have been having problems with x264
stalling any time I use more than one thread. It will get a varying
length of the way through the file I'm trying to encode - it seems to
differ each time - and just stop, dead. I built x264 with --enable-debug
and attached gdb to the process once it stopped, and here's what I got:
(gdb) where
#0 0xbbaeac67 in _lwp_park () from /usr/lib/libc.so.12
#1 0xbbbc8b14 in pthread_cond_wait () from /usr/lib/libpthread.so.0
#2 0x080630f5 in x264_frame_cond_wait (frame=0xbb3fe010,
i_lines_completed=40)
at common/frame.c:868
#3 0x08077f52 in x264_macroblock_analyse (h=0xbb94c010) at
encoder/analyse.c:272
#4 0x080555b9 in x264_slice_write (h=0xbb94c010) at encoder/encoder.c:1156
#5 0x08055c34 in x264_stack_align ()
#6 0x0805162f in x264_slices_write (h=0xbb94c010) at encoder/encoder.c:1299
#7 0xbbbcaaf7 in pthread_create () from /usr/lib/libpthread.so.0
#8 0xbbb0cfe0 in swapcontext () from /usr/lib/libc.so.12
I would be happy to provide any more information that might be needed for
debugging this problem.
-Henry Bent
More information about the x264-devel
mailing list