Uninterruptible blocking call to IContainer.open( ... )?

106 views
Skip to first unread message

Curtis

unread,
Jun 11, 2010, 12:10:18 PM6/11/10
to xuggler-users
Hello all,

I'm not sure if this is an FFMPEG issue or a Xuggler issue, but I'll
start here. The comment on IContainer.open( ... ) states that if the
thread is interrupted while this method is blocked, it will return a
negative value. However, it appears that for some protocols, an
interrupt doesn't actually cause the method to return. Here's a test
program that demonstrates this:

<code>

import com.xuggle.xuggler.IContainer;
import com.xuggle.xuggler.IError;
import com.xuggle.xuggler.IStreamCoder;
import com.xuggle.xuggler.IVideoResampler;

public class ContainerTest2
{
/**
* Stores the URL from which we will recover the video.
*/
protected String videoUrl;

protected IContainer container;

protected IStreamCoder videoCoder;

public ContainerTest2( String videoUrl )
{
this.videoUrl = videoUrl;
}

public void open()
{
System.out.println( "Opening: " + videoUrl );

// Let's make sure that we can actually convert video pixel
formats.
if ( !IVideoResampler
.isSupported( IVideoResampler.Feature.FEATURE_COLORSPACECONVERSION ) )
throw new RuntimeException( "you must install the GPL version"
+ " of Xuggler (with IVideoResampler support) for "
+ "this demo to work" );

System.out.println( "Making container" );
container = IContainer.make();
System.out.println( "container: " + container );

try
{
int error;
// Open up the container
if ( ( error = container.open( videoUrl, IContainer.Type.READ,
null ) ) < 0 )
throw new IllegalArgumentException( "could not open file: " +
videoUrl
+ ", error: " + IError.make( error ).getType() );

} catch ( RuntimeException re )
{
re.printStackTrace();
}
System.out.println( "Open for " + videoUrl + " exiting." );
}

/**
* @param args
**/
public static void main( String[] args ) throws Exception
{
final ContainerTest2 test1 = new ContainerTest2( args[0] );
Thread openThread = new Thread() {
public void run()
{
test1.open();
}
};
openThread.start();

// Wait ten seconds, then try to interrupt the blocked thread.
Thread.sleep( 10000 );
System.out.println( "Interrupting" );
openThread.interrupt();
System.out.println( "Interrupted, waiting on openThread." );
openThread.join();

System.out.println( "Exiting." );
}

}

</code>

If you run this with a udp:// protocol (Don't bother to supply any
actual incoming data):

<code>
java ContainerTest2 udp://230.1.12.77:2000/
</code>

the program exits after ten seconds, just like I expect. On the other
hand, an rtp:// protocol:

<code>
java ContainerTest2 rtp://230.1.12.77:2000/
</code>

never exits.

Here are my relevant system versions, in case it matters:

Linux castor 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC
2010 x86_64 GNU/Linux
java version "1.6.0_17"
Java(TM) SE Runtime Environment (build 1.6.0_17-b04)
Java HotSpot(TM) 64-Bit Server VM (build 14.3-b01, mixed mode)

Anyone have ideas on workarounds, etc? Or if this actually belongs in
the FFMPEG bug reports instead, how I would explain it without the
Java?

Thanks,

Curtis

Art Clarke

unread,
Jun 14, 2010, 11:32:57 AM6/14/10
to xuggle...@googlegroups.com
Not sure about this one.  I looked at the relevant FFmpeg code (libavformat/rtpproto.c) and in it's main loop of packet reading it checks interrupts regularly.  The help debug, can you get a C-level stack trace of all running threads in your JVM and post to this thread.

To get that, you can use 'gdb' and an example set of scripts is shown in mk/buildtools/stacktrace.gdb in the Xuggler source directory.

- Art


--
You received this message because you are subscribed to the Google Groups "xuggler-users" group.
To post to this group, send email to xuggle...@googlegroups.com.
To unsubscribe from this group, send email to xuggler-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/xuggler-users?hl=en.




--
http://www.xuggle.com/
xu‧ggle (zŭ' gl) v. To freely encode, decode, and experience audio and video.

Use Xuggle to get the power of FFmpeg in Java.

Curtis

unread,
Jun 15, 2010, 8:39:53 AM6/15/10
to xuggler-users
Thanks for taking a look, Art. Here's the stack dump.

Curtis

Attaching to process 20203
Reading symbols from /usr/java/jdk1.6.0_17/bin/java...(no debugging
symbols found)...done.
Reading symbols from /lib/libpthread.so.0...(no debugging symbols
found)...done.
[Thread debugging using libthread_db enabled]
[New Thread 0x7ffb583ce710 (LWP 20215)]
[New Thread 0x7ffb584cf710 (LWP 20214)]
[New Thread 0x7ffb585d0710 (LWP 20213)]
[New Thread 0x7ffb586d1710 (LWP 20212)]
[New Thread 0x7ffb587d2710 (LWP 20211)]
[New Thread 0x7ffb588d3710 (LWP 20210)]
[New Thread 0x7ffb58a13710 (LWP 20209)]
[New Thread 0x7ffb58b14710 (LWP 20208)]
[New Thread 0x7ffb58c15710 (LWP 20207)]
[New Thread 0x7ffb58f6a710 (LWP 20206)]
[New Thread 0x7ffb5906b710 (LWP 20205)]
[New Thread 0x7ffb99941710 (LWP 20204)]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/java/jdk1.6.0_17/bin/../jre/lib/amd64/jli/
libjli.so...(no debugging symbols found)...done.
Loaded symbols for /usr/java/jdk1.6.0_17/bin/../jre/lib/amd64/jli/
libjli.so
Reading symbols from /lib/libdl.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libc.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib64/ld-linux-x86-64.so.2...(no debugging
symbols found)...done.
Loaded symbols for /lib64/ld-linux-x86-64.so.2
Reading symbols from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/
libjvm.so...(no debugging symbols found)...done.
Loaded symbols for /usr/java/jdk1.6.0_17/jre/lib/amd64/server/
libjvm.so
Reading symbols from /lib/libm.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/librt.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/librt.so.1
Reading symbols from /usr/java/jdk1.6.0_17/jre/lib/amd64/
libverify.so...(no debugging symbols found)...done.
Loaded symbols for /usr/java/jdk1.6.0_17/jre/lib/amd64/libverify.so
Reading symbols from /usr/java/jdk1.6.0_17/jre/lib/amd64/libjava.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/java/jdk1.6.0_17/jre/lib/amd64/libjava.so
Reading symbols from /lib/libnsl.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /usr/java/jdk1.6.0_17/jre/lib/amd64/
native_threads/libhpi.so...(no debugging symbols found)...done.
Loaded symbols for /usr/java/jdk1.6.0_17/jre/lib/amd64/native_threads/
libhpi.so
Reading symbols from /lib/libnss_compat.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnss_compat.so.2
Reading symbols from /lib/libnss_nis.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnss_nis.so.2
Reading symbols from /lib/libnss_files.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/java/jdk1.6.0_17/jre/lib/amd64/libzip.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/java/jdk1.6.0_17/jre/lib/amd64/libzip.so
Reading symbols from /usr/java/jdk1.6.0_17/jre/lib/amd64/libnet.so...
(no debugging symbols found)...done.
Loaded symbols for /usr/java/jdk1.6.0_17/jre/lib/amd64/libnet.so
Reading symbols from /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libxuggle-xuggler.so.3...(no debugging symbols
found)...done.
Loaded symbols for /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libxuggle-xuggler.so.3
Reading symbols from /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libavdevice.so.52...(no debugging symbols
found)...done.
Loaded symbols for /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libavdevice.so.52
Reading symbols from /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libavformat.so.52...(no debugging symbols
found)...done.
Loaded symbols for /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libavformat.so.52
Reading symbols from /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libavcodec.so.52...(no debugging symbols
found)...done.
Loaded symbols for /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libavcodec.so.52
Reading symbols from /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libavutil.so.50...(no debugging symbols
found)...done.
Loaded symbols for /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libavutil.so.50
Reading symbols from /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libswscale.so.0...(no debugging symbols
found)...done.
Loaded symbols for /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libswscale.so.0
Reading symbols from /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libxuggle-ferry.so.3...(no debugging symbols
found)...done.
Loaded symbols for /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libxuggle-ferry.so.3
Reading symbols from /usr/lib/libstdc++.so.6...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libstdc++.so.6
Reading symbols from /lib/libgcc_s.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libgcc_s.so.1
Reading symbols from /lib/libz.so.1...(no debugging symbols
found)...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libfaac.so.0...(no debugging symbols
found)...done.
Loaded symbols for /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libfaac.so.0
Reading symbols from /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libmp3lame.so.0...(no debugging symbols
found)...done.
Loaded symbols for /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libmp3lame.so.0
Reading symbols from /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libopencore-amrnb.so.0...(no debugging symbols
found)...done.
Loaded symbols for /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libopencore-amrnb.so.0
Reading symbols from /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libopencore-amrwb.so.0...(no debugging symbols
found)...done.
Loaded symbols for /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libopencore-amrwb.so.0
Reading symbols from /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libspeex.so.1...(no debugging symbols
found)...done.
Loaded symbols for /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libspeex.so.1
Reading symbols from /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libtheoraenc.so.1...(no debugging symbols
found)...done.
Loaded symbols for /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libtheoraenc.so.1
Reading symbols from /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libtheoradec.so.1...(no debugging symbols
found)...done.
Loaded symbols for /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libtheoradec.so.1
Reading symbols from /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libvorbisenc.so.2...(no debugging symbols
found)...done.
Loaded symbols for /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libvorbisenc.so.2
Reading symbols from /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libvorbis.so.0...(no debugging symbols
found)...done.
Loaded symbols for /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libvorbis.so.0
Reading symbols from /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libx264.so.83...(no debugging symbols
found)...done.
Loaded symbols for /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libx264.so.83
Reading symbols from /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libogg.so.0...(no debugging symbols
found)...done.
Loaded symbols for /home/cmlacy/zeus/workspace/gpl-video-server/dist/
lib/native/linux-64bit/libogg.so.0
0x00007ffb9ab6603d in pthread_join () from /lib/libpthread.so.0
13 Thread 0x7ffb99941710 (LWP 20204) 0x00007ffb9ab6985c in
pthread_cond_wait@@GLIBC_2.3.2
() from /lib/libpthread.so.0
12 Thread 0x7ffb5906b710 (LWP 20205) 0x00007ffb9ab6985c in
pthread_cond_wait@@GLIBC_2.3.2
() from /lib/libpthread.so.0
11 Thread 0x7ffb58f6a710 (LWP 20206) 0x00007ffb9ab6985c in
pthread_cond_wait@@GLIBC_2.3.2
() from /lib/libpthread.so.0
10 Thread 0x7ffb58c15710 (LWP 20207) 0x00007ffb9ab69bc9 in
pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
9 Thread 0x7ffb58b14710 (LWP 20208) 0x00007ffb9ab6985c in
pthread_cond_wait@@GLIBC_2.3.2
() from /lib/libpthread.so.0
8 Thread 0x7ffb58a13710 (LWP 20209) 0x00007ffb9ab6985c in
pthread_cond_wait@@GLIBC_2.3.2
() from /lib/libpthread.so.0
7 Thread 0x7ffb588d3710 (LWP 20210) 0x00007ffb9ab6bb50 in sem_wait
()
from /lib/libpthread.so.0
6 Thread 0x7ffb587d2710 (LWP 20211) 0x00007ffb9ab6985c in
pthread_cond_wait@@GLIBC_2.3.2
() from /lib/libpthread.so.0
5 Thread 0x7ffb586d1710 (LWP 20212) 0x00007ffb9ab6985c in
pthread_cond_wait@@GLIBC_2.3.2
() from /lib/libpthread.so.0
4 Thread 0x7ffb585d0710 (LWP 20213) 0x00007ffb9ab6985c in
pthread_cond_wait@@GLIBC_2.3.2
() from /lib/libpthread.so.0
3 Thread 0x7ffb584cf710 (LWP 20214) 0x00007ffb9ab69bc9 in
pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
2 Thread 0x7ffb583ce710 (LWP 20215) 0x00007ffb9a6b6fb3 in select ()
from /lib/libc.so.6
* 1 Thread 0x7ffb9ae70700 (LWP 20203) 0x00007ffb9ab6603d in
pthread_join ()
from /lib/libpthread.so.0

Thread 13 (Thread 0x7ffb99941710 (LWP 20204)):
#0 0x00007ffb9ab6985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/
libpthread.so.0
#1 0x00007ffb9a15b9f7 in os::PlatformEvent::park() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#2 0x00007ffb9a134a92 in Monitor::IWait(Thread*, long long) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#3 0x00007ffb9a1350fa in Monitor::wait(bool, long, bool) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#4 0x00007ffb9a245985 in Threads::destroy_vm() ()
---Type <return> to continue, or q <return> to quit---
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#5 0x00007ffb99fa4128 in jni_DestroyJavaVM ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#6 0x000000004000223f in JavaMain ()
#7 0x00007ffb9ab649ca in start_thread () from /lib/libpthread.so.0
#8 0x00007ffb9a6be6cd in clone () from /lib/libc.so.6
#9 0x0000000000000000 in ?? ()

Thread 12 (Thread 0x7ffb5906b710 (LWP 20205)):
#0 0x00007ffb9ab6985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/
libpthread.so.0
#1 0x00007ffb9a15b9f7 in os::PlatformEvent::park() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#2 0x00007ffb9a134a92 in Monitor::IWait(Thread*, long long) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#3 0x00007ffb9a13525e in Monitor::wait(bool, long, bool) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#4 0x00007ffb99efe405 in GCTaskManager::get_task(unsigned int) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#5 0x00007ffb99eff6b3 in GCTaskThread::run() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#6 0x00007ffb9a15c26f in java_start(Thread*) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#7 0x00007ffb9ab649ca in start_thread () from /lib/libpthread.so.0
#8 0x00007ffb9a6be6cd in clone () from /lib/libc.so.6
#9 0x0000000000000000 in ?? ()

Thread 11 (Thread 0x7ffb58f6a710 (LWP 20206)):
#0 0x00007ffb9ab6985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/
libpthread.so.0
#1 0x00007ffb9a15b9f7 in os::PlatformEvent::park() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#2 0x00007ffb9a134a92 in Monitor::IWait(Thread*, long long) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#3 0x00007ffb9a13525e in Monitor::wait(bool, long, bool) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#4 0x00007ffb99efe405 in GCTaskManager::get_task(unsigned int) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#5 0x00007ffb99eff6b3 in GCTaskThread::run() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#6 0x00007ffb9a15c26f in java_start(Thread*) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#7 0x00007ffb9ab649ca in start_thread () from /lib/libpthread.so.0
#8 0x00007ffb9a6be6cd in clone () from /lib/libc.so.6
#9 0x0000000000000000 in ?? ()

Thread 10 (Thread 0x7ffb58c15710 (LWP 20207)):
---Type <return> to continue, or q <return> to quit---
#0 0x00007ffb9ab69bc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /
lib/libpthread.so.0
#1 0x00007ffb9a15bb46 in os::PlatformEvent::park(long long) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#2 0x00007ffb9a134bcb in Monitor::IWait(Thread*, long long) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#3 0x00007ffb9a13525e in Monitor::wait(bool, long, bool) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#4 0x00007ffb9a28f873 in VMThread::loop() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#5 0x00007ffb9a28f46e in VMThread::run() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#6 0x00007ffb9a15c26f in java_start(Thread*) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#7 0x00007ffb9ab649ca in start_thread () from /lib/libpthread.so.0
#8 0x00007ffb9a6be6cd in clone () from /lib/libc.so.6
#9 0x0000000000000000 in ?? ()

Thread 9 (Thread 0x7ffb58b14710 (LWP 20208)):
#0 0x00007ffb9ab6985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/
libpthread.so.0
#1 0x00007ffb9a15b9f7 in os::PlatformEvent::park() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#2 0x00007ffb9a2105da in ObjectMonitor::wait(long long, bool,
Thread*) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#3 0x00007ffb9a20db13 in ObjectSynchronizer::wait(Handle, long long,
Thread*) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#4 0x00007ffb99fd55fb in JVM_MonitorWait ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#5 0x00007ffb959b1f50 in ?? ()
#6 0x000000004114b0e0 in ?? ()
#7 0x000000004114b4b8 in ?? ()
#8 0x000000004114a800 in ?? ()
#9 0x00007ffb58b138e8 in ?? ()
#10 0x00007ffb593a7958 in ?? ()
#11 0x00007ffb58b13958 in ?? ()
#12 0x00007ffb59446ea8 in ?? ()
#13 0x0000000000000000 in ?? ()

Thread 8 (Thread 0x7ffb58a13710 (LWP 20209)):
#0 0x00007ffb9ab6985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/
libpthread.so.0
#1 0x00007ffb9a15b9f7 in os::PlatformEvent::park() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#2 0x00007ffb9a2105da in ObjectMonitor::wait(long long, bool,
Thread*) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#3 0x00007ffb9a20db13 in ObjectSynchronizer::wait(Handle, long long,
Thread*) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
---Type <return> to continue, or q <return> to quit---
#4 0x00007ffb99fd55fb in JVM_MonitorWait ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#5 0x00007ffb959b1f50 in ?? ()
#6 0x00007ffb54001440 in ?? ()
#7 0x00007ffb54001818 in ?? ()
#8 0x00007ffb54001000 in ?? ()
#9 0x00007ffb54001888 in ?? ()
#10 0x00007ffb58a12500 in ?? ()
#11 0x0000000000000000 in ?? ()

Thread 7 (Thread 0x7ffb588d3710 (LWP 20210)):
#0 0x00007ffb9ab6bb50 in sem_wait () from /lib/libpthread.so.0
#1 0x00007ffb9a15c635 in check_pending_signals(bool) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#2 0x00007ffb9a155537 in signal_thread_entry(JavaThread*, Thread*) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#3 0x00007ffb9a240cb1 in JavaThread::run() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#4 0x00007ffb9a15c26f in java_start(Thread*) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#5 0x00007ffb9ab649ca in start_thread () from /lib/libpthread.so.0
#6 0x00007ffb9a6be6cd in clone () from /lib/libc.so.6
#7 0x0000000000000000 in ?? ()

Thread 6 (Thread 0x7ffb587d2710 (LWP 20211)):
#0 0x00007ffb9ab6985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/
libpthread.so.0
#1 0x00007ffb9a15b9f7 in os::PlatformEvent::park() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#2 0x00007ffb9a134a92 in Monitor::IWait(Thread*, long long) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#3 0x00007ffb9a1350fa in Monitor::wait(bool, long, bool) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#4 0x00007ffb99e49de3 in CompileQueue::get() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#5 0x00007ffb99e4b882 in CompileBroker::compiler_thread_loop() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#6 0x00007ffb9a2471e9 in compiler_thread_entry(JavaThread*, Thread*)
()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#7 0x00007ffb9a240cb1 in JavaThread::run() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#8 0x00007ffb9a15c26f in java_start(Thread*) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#9 0x00007ffb9ab649ca in start_thread () from /lib/libpthread.so.0
#10 0x00007ffb9a6be6cd in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()
---Type <return> to continue, or q <return> to quit---

Thread 5 (Thread 0x7ffb586d1710 (LWP 20212)):
#0 0x00007ffb9ab6985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/
libpthread.so.0
#1 0x00007ffb9a15b9f7 in os::PlatformEvent::park() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#2 0x00007ffb9a134a92 in Monitor::IWait(Thread*, long long) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#3 0x00007ffb9a1350fa in Monitor::wait(bool, long, bool) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#4 0x00007ffb99e49de3 in CompileQueue::get() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#5 0x00007ffb99e4b882 in CompileBroker::compiler_thread_loop() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#6 0x00007ffb9a2471e9 in compiler_thread_entry(JavaThread*, Thread*)
()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#7 0x00007ffb9a240cb1 in JavaThread::run() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#8 0x00007ffb9a15c26f in java_start(Thread*) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#9 0x00007ffb9ab649ca in start_thread () from /lib/libpthread.so.0
#10 0x00007ffb9a6be6cd in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7ffb585d0710 (LWP 20213)):
#0 0x00007ffb9ab6985c in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/
libpthread.so.0
#1 0x00007ffb9a15b9f7 in os::PlatformEvent::park() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#2 0x00007ffb9a134a92 in Monitor::IWait(Thread*, long long) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#3 0x00007ffb9a13525e in Monitor::wait(bool, long, bool) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#4 0x00007ffb9a0f6bf2 in
LowMemoryDetector::low_memory_detector_thread_entry(JavaThread*,
Thread*) () from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#5 0x00007ffb9a240cb1 in JavaThread::run() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#6 0x00007ffb9a15c26f in java_start(Thread*) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#7 0x00007ffb9ab649ca in start_thread () from /lib/libpthread.so.0
#8 0x00007ffb9a6be6cd in clone () from /lib/libc.so.6
#9 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7ffb584cf710 (LWP 20214)):
#0 0x00007ffb9ab69bc9 in pthread_cond_timedwait@@GLIBC_2.3.2 () from /
lib/libpthread.so.0
#1 0x00007ffb9a15bb46 in os::PlatformEvent::park(long long) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
---Type <return> to continue, or q <return> to quit---
#2 0x00007ffb9a159d3d in os::sleep(Thread*, long long, bool) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#3 0x00007ffb9a23fe3b in WatcherThread::run() ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#4 0x00007ffb9a15c26f in java_start(Thread*) ()
from /usr/java/jdk1.6.0_17/jre/lib/amd64/server/libjvm.so
#5 0x00007ffb9ab649ca in start_thread () from /lib/libpthread.so.0
#6 0x00007ffb9a6be6cd in clone () from /lib/libc.so.6
#7 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7ffb583ce710 (LWP 20215)):
#0 0x00007ffb9a6b6fb3 in select () from /lib/libc.so.6
#1 0x00007ffb5392e5ac in ?? ()
from /home/cmlacy/zeus/workspace/gpl-video-server/dist/lib/native/
linux-64bit/libavformat.so.52
#2 0x00007ffb538c676d in get_buffer ()
from /home/cmlacy/zeus/workspace/gpl-video-server/dist/lib/native/
linux-64bit/libavformat.so.52
#3 0x00007ffb538c4c39 in av_open_input_file ()
from /home/cmlacy/zeus/workspace/gpl-video-server/dist/lib/native/
linux-64bit/libavformat.so.52
#4 0x00007ffb53d970fa in
com::xuggle::xuggler::Container::openInputURL(char const*,
com::xuggle::xuggler::IContainerFormat*, bool, bool) ()
from /home/cmlacy/zeus/workspace/gpl-video-server/dist/lib/native/
linux-64bit/libxuggle-xuggler.so.3
#5 0x00007ffb53d97952 in com::xuggle::xuggler::Container::open(char
const*, com::xuggle::xuggler::IContainer::Type,
com::xuggle::xuggler::IContainerFormat*, bool, bool) ()
from /home/cmlacy/zeus/workspace/gpl-video-server/dist/lib/native/
linux-64bit/libxuggle-xuggler.so.3
#6 0x00007ffb53dba2b7 in
Java_com_xuggle_xuggler_XugglerJNI_IContainer_1open_1_1SWIG_10 ()
from /home/cmlacy/zeus/workspace/gpl-video-server/dist/lib/native/
linux-64bit/libxuggle-xuggler.so.3
#7 0x00007ffb959b1f50 in ?? ()
#8 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffb9ae70700 (LWP 20203)):
#0 0x00007ffb9ab6603d in pthread_join () from /lib/libpthread.so.0
#1 0x00000000400058fc in ContinueInNewThread ()
#2 0x0000000040001ee9 in main ()
> > xuggler-user...@googlegroups.com<xuggler-users%2Bunsu...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/xuggler-users?hl=en.
>
> --http://www.xuggle.com/
Reply all
Reply to author
Forward
0 new messages