Using Intel's MKL C++ Library in JNI causes JVM to Crash at GC

We're using JDK 1.6.0_07 on RedHat 4 (32-bit) and RedHat 5 (32-bit JVM on 64-bit processor). Our app uses JNI to access Intel's Math Kernel Library (MKL) for optimized algorithms; however, it crashes in libjvm.so/libpthread.so in the GC thread once the garbage collector runs (usually pretty quick).
The MKL library uses it's own threading model built on pthreads. So, the basic flow goes like this:
A Java GUI spawns a separate thread to:
1) Call native method to initialize settings and allocate buffers
2) Call native method to load data (using mapped buffers)
3) Call native method to process data
4) Call native method to unload data back into mapped buffers
It seems like the MKL threading model (parallel processing) is causing issues with the JVM. Is there a safe way to call a MT native method? BTW, the native code never calls back into Java.

Crashes normally indicate
1. A problem with pointers in your code
2. Incorrect usage of the library that you are calling (which cause a problem with pointers.)
3. Incorrect usage of JNI.
C/C++ pointer problem can cause failure much latter than the actual point where the error occurred. Much later in this case would be the garbage collector.
Might or might not help....as far as I can recall, a recent thread had a gc problem because the JNI code was constructing java objects incorrectly.

Similar Messages

  • Backup of iTunes Library to DVD causes iTunes to crash

    I thought backing up my entire iTunes library onto DVD would be simple. iTunes reveals that it will take 3 disks for my library and proceeds to write Disk#1. After requesting (and inserting) a second blank disk, iTunes crashes -- EVERY TIME. Now what? Is this a common problem? Is there a workaround?
    I am using iTunes 9.0.1. All my software is up to date.

    I'm having the same problem -- Latest iTunes, and I've 'coastered' about 6-8 total DVD+R's trying different options, and I'm on Windows(!).
    Otherwise, the behavior is exactly as you describe!
    I'm running Vista-64 and the latest iTunes. My Library is about 48GB (12 discs required...). What makes this doubly strange is that once iTunes crashes, I simply cannot eject the disc it was on when it iTunes crashed (usually it's the second or third DVD disc...), and hence the CD/DVD drive us 'locked up'. I must reboot my machine and 'catch it' (hitting the eject button) before the machine gets to the BIOS (while it's still in the POST sequence).
    Any help would be appreciated!

  • Intel compilers+MKL+CMAKE corrupting Yosemite 10.10 kernel (no root required)

    I'm forwarding this from Intel software forums, where they suggested me that this is a 10.10 kernel bug.
    Comment by mecej4:
    I should consider it an OSX bug if you cannot kill a misbehaving user mode program, regardless of whether you used MKL, Cmake, and other tools to build the program. In other words, if a program that would cause an access violation in WIndows or a seg-fault in Linux causes a hung machine under OSX, you have a defective OS, and should inform Apple.
    Original thread:
    Dear all,
    I am trying to compile Fenics in OsX using intel compilers.
    The new edition to my saga is that CMAKE creates test binaries when testing MKL that can not be killed, and leads to a slow corruption of the system (i.e. fonts go crazy etc). The error is reproducible in a macbook pro retina 2011 and mac pro cylinder 2013.
    The "zombie" is created when Teuchos is testing:
    Performing Test CXX_COMPLEX_BLAS_WORKS
    The CMAKE is invoked via hashdist with following parameters
    ${CMAKE} -DCMAKE_INSTALL_PREFIX:PATH="${ARTIFACT}" \
      -DCMAKE_POSITION_INDEPENDENT_CODE:BOOL=ON \
      -DCMAKE_INSTALL_RPATH:STRING="${ARTIFACT}/lib" \
      -DCMAKE_INSTALL_RPATH_USE_LINK_PATH:BOOL=ON \
      -DCMAKE_BUILD_TYPE:STRING=Release \
    -DCMAKE_PREFIX_PATH="${BLAS_DIR};${CMAKE_DIR};${LAPACK_DIR};${MPI_DIR};${NUMPY_ DIR};${PYTHON_DIR};${SUITESPARSE_DIR};${SWIG_DIR}" \
      -D CMAKE_CXX_COMPILER:FILEPATH=${MPICXX} -D CMAKE_C_COMPILER:FILEPATH=${MPICC} -D Trilinos_INSTALL_INCLUDE_DIR:PATH=include/trilinos -D Trilinos_ENABLE_ALL_OPTIONAL_PACKAGES:BOOL=ON -D Trilinos_ENABLE_Epetra:BOOL=ON -D Trilinos_ENABLE_ML:BOOL=ON -D Trilinos_ENABLE_PyTrilinos:BOOL=ON -D Trilinos_ENABLE_TESTS:BOOL=OFF -D Trilinos_ENABLE_EXAMPLES:BOOL=OFF -D BUILD_SHARED_LIBS:BOOL=ON -D TPL_ENABLE_MPI:BOOL=ON -D TPL_ENABLE_UMFPACK:BOOL=ON -D BLAS_LIBRARY_NAMES:STRING=mkl_rt -D BLAS_LIBRARY_DIRS:PATH=/opt/intel/mkl/lib/ -D LAPACK_LIBRARY_NAMES:STRING=mkl_rt -D LAPACK_LIBRARY_DIRS:PATH=/opt/intel/mkl/lib/ -D UMFPACK_INCLUDE_DIRS:PATH=${SUITESPARSE_DIR}/include/suitesparse -D UMFPACK_LIBRARY_DIRS:PATH=${SUITESPARSE_DIR}/lib -D UMFPACK_LIBRARY_NAMES:STRING="umfpack;cholmod;camd;ccolamd;colamd;amd;suitespar seconfig" -D SWIG_EXECUTABLE:FILEPATH=${SWIG_EXECUTABLE} -D PYTHON_EXECUTABLE:FILEPATH=${PYTHON} \
    ${CMAKE} --build . -- -j ${HASHDIST_CPU_COUNT}
    The zombie binary is generated with the following link.txt
    mpic++    -DCXX_COMPLEX_BLAS_WORKS -Wl,-search_paths_first -Wl,-headerpad_max_install_names  -Lhashdist/bld/blas/orqin7luuh5d/lib  -L.hashdist/bld/cmake/llreawl5z57x/lib  -L.hashdist/bld/lapack/xvzyk5hqp7ew/lib  -L.hashdist/bld/mpi/gi7gvjksd6f3/lib  -L.hashdist/bld/numpy/pwyxrcqhcikq/lib  -L/.hashdist/bld/python/2y62fdg7o42s/lib  -L/.hashdist/bld/suitesparse/47udu3z4wfph/lib  -L.hashdist/bld/swig/mev4ahg24s3p/lib   CMakeFiles/cmTryCompileExec1717385958.dir/src.cxx.o  -o cmTryCompileExec1717385958  /opt/intel/mkl/lib/libmkl_rt.dylib
    I tried manually, and ended up with the zombie process myself, and had to reboot the system, even I initiated the process with gdb.
    The test is this:
    #include
    #define F77_BLAS_MANGLE(name,NAME) name ## _
    extern "C" {
      std::complex F77_BLAS_MANGLE(cdotc,CDOTC)(
        const int* n, const  std::complex x[], const int* incx,
        const std::complex y[], const int* incy);
    int main() {
      const int NUM=2;
      const int INC=1;
      std::complex f[NUM];
      const std::complex
        ONE = std::complex(1.0,0.0),
        TWO = std::complex(2.0,0.0);
      f[0] =  ONE;
      f[1] =  ONE;
      const std::complex ret =
        F77_BLAS_MANGLE(cdotc,CDOTC)(&NUM, f, &INC, f, &INC);
      return (ret == TWO ? 0 : 1);

    Hi Benzema10,
    If you are having an issue with frequent kernel panics - often showing as the "You must restart your computer..." screen - I would suggest that you troubleshoot using the steps in this article - 
    OS X: When your computer spontaneously restarts or displays "Your computer restarted because of a problem." - Apple Support
    Thanks for using Apple Support Communities.
    Sincerely,
    Brett L 

  • Can firefox uses intel AES-NI for HTTPS sites?

    I would like to ask if current version of Firefox can used Intel AES-NI instruction to accelerate HTTPS performance? (if AES cipher is used of course)
    Or is there any quide to enable such feature? like compile with correct patched openssl library...
    If there's such option for Firefox how can I verify that it's turned on?
    Thanks a lot.

    This is the response I got back from Contentwatch/Netnanny......
    ''We do have an open bug regarding the incompatibility with FireFox 33. We ask that you use FireFox 32 until we get the issue resolved.
    https://ftp.mozilla.org/pub/mozilla.org/firefox/releases/32.0/win32/en-US/''
    I don't know how advisable it is to go back a release though.

  • IMSL C library causes JVM crash through JNI in GC with JDK 1.6

    Hi Java friends,
    We use the IMSL C library (made by Visual Numerics) via JNI which picks up a C++ so on Linux. Under JDK 1.5 it works fine. Under 1.6 it crashes in the GC. I put together a very simple testcase that just calls the IMSL error options function (which sets up the library) and it causes the JVM to crash somewhere in the GC. The reason I know it's in the GC is that the crash is not immediate, it's only when the GC is active, so we wrote some test code to push the GC like this:
    log("Looping");
    long block = 10000000;
    int numBlocks = 10;
    long loops = block * numBlocks;
    for (long i = 0; i < loops; i++) {
    // Create some objects that need disposal
    String.valueOf(i);
    if (i % block == 0) {
    log("Reached " + i);
    System.gc();
    Anyone got any idea why? Crash dump follows.
    Many thanks,
    David.
    # An unexpected error has been detected by Java Runtime Environment:
    # SIGSEGV (0xb) at pc=0x00000000, pid=23854, tid=4143893424
    # Java VM: Java HotSpot(TM) Server VM (1.6.0_03-b05 mixed mode)
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x08058c00): JavaThread "main" [_thread_in_Java, id=23855]
    siginfo:
    [error occurred during error reporting, step 90, id 0xb]
    Stack: [0xf6f9c000,0xf6fed000), sp=0xf6feb55c, free space=317k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [libjvm.so+0x53b9a7]
    V [libjvm.so+0x53c5b4]
    C [libpthread.so.0+0xb890]
    V [libjvm.so+0x53b3f5]
    V [libjvm.so+0x53b9a7]
    V [libjvm.so+0x4541d0]
    V [libjvm.so+0x451a68]
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x08157c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=23866]
    0x08155c00 JavaThread "CompilerThread1" daemon [_thread_blocked, id=23865]
    0x08154800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=23864]
    0x08153400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=23863]
    0x08140400 JavaThread "Finalizer" daemon [_thread_blocked, id=23862]
    0x0813f800 JavaThread "Reference Handler" daemon [_thread_blocked, id=23861]
    =>0x08058c00 JavaThread "main" [_thread_in_Java, id=23855]
    Other Threads:
    0x0813d000 VMThread [id=23860]
    0x08159400 WatcherThread [id=23867]
    VM state:synchronizing (normal execution)
    VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event])
    [0x08056d60/0x08056d88] Safepoint_lock - owner thread: 0x0813d000
    [0x08056de0/0x08056e08] Threads_lock - owner thread: 0x0813d000
    Heap
    PSYoungGen total 87040K, used 8962K [0xecca0000, 0xf21e0000, 0xf3e60000)
    eden space 86784K, 10% used [0xecca0000,0xed528b98,0xf2160000)
    from space 256K, 87% used [0xf21a0000,0xf21d8040,0xf21e0000)
    to space 256K, 0% used [0xf2160000,0xf2160000,0xf21a0000)
    PSOldGen total 230976K, used 0K [0xb3e60000, 0xc1ff0000, 0xecca0000)
    object space 230976K, 0% used [0xb3e60000,0xb3e60000,0xc1ff0000)
    PSPermGen total 16384K, used 2540K [0xafe60000, 0xb0e60000, 0xb3e60000)
    object space 16384K, 15% used [0xafe60000,0xb00db1d8,0xb0e60000)
    Dynamic libraries:
    0085a000-0086f000 r-xp 00000000 68:06 213117 /lib/ld-2.3.4.so
    0086f000-00870000 r-xp 00015000 68:06 213117 /lib/ld-2.3.4.so
    00870000-00871000 rwxp 00016000 68:06 213117 /lib/ld-2.3.4.so
    00873000-00875000 r-xp 00000000 68:06 213179 /lib/libdl-2.3.4.so
    00875000-00877000 rwxp 00001000 68:06 213179 /lib/libdl-2.3.4.so
    0089b000-009c0000 r-xp 00000000 68:06 213118 /lib/tls/libc-2.3.4.so
    009c0000-009c1000 r-xp 00124000 68:06 213118 /lib/tls/libc-2.3.4.so
    009c1000-009c4000 rwxp 00125000 68:06 213118 /lib/tls/libc-2.3.4.so
    009c4000-009c6000 rwxp 009c4000 00:00 0
    009c8000-009e9000 r-xp 00000000 68:06 213200 /lib/tls/libm-2.3.4.so
    009e9000-009eb000 rwxp 00020000 68:06 213200 /lib/tls/libm-2.3.4.so
    009ed000-009fb000 r-xp 00000000 68:06 213087 /lib/tls/libpthread-2.3.4.so
    009fb000-009fd000 rwxp 0000d000 68:06 213087 /lib/tls/libpthread-2.3.4.so
    009fd000-009ff000 rwxp 009fd000 00:00 0
    00a01000-00a09000 r-xp 00000000 68:06 213205 /lib/tls/librt-2.3.4.so
    00a09000-00a0b000 rwxp 00007000 68:06 213205 /lib/tls/librt-2.3.4.so
    00a0b000-00a15000 rwxp 00a0b000 00:00 0
    00a31000-00a43000 r-xp 00000000 68:06 213202 /lib/libnsl-2.3.4.so
    00a43000-00a45000 rwxp 00011000 68:06 213202 /lib/libnsl-2.3.4.so
    00a45000-00a47000 rwxp 00a45000 00:00 0
    06000000-065a0000 r-xp 00000000 00:1c 172281 /home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/jre/lib/i386/server/libjvm.so
    065a0000-065db000 rwxp 005a0000 00:1c 172281 /home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/jre/lib/i386/server/libjvm.so
    065db000-069fc000 rwxp 065db000 00:00 0
    08048000-08052000 r-xp 00000000 00:1c 287782 /home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/bin/java
    08052000-08053000 rwxp 00009000 00:1c 287782 /home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/bin/java
    08053000-08545000 rwxp 08053000 00:00 0
    a7210000-a7211000 ---p a7210000 00:00 0
    a7211000-a7c11000 rwxp a7211000 00:00 0
    a7c11000-a7cd7000 r-xp 00000000 00:1c 498129 /home/gdadev/tools/i686/rhel4.0/gcc-3.4.6/lib/libstdc++.so.6.0.3
    a7cd7000-a7cdc000 rwxp 000c6000 00:1c 498129 /home/gdadev/tools/i686/rhel4.0/gcc-3.4.6/lib/libstdc++.so.6.0.3
    a7cdc000-a7ce1000 rwxp a7cdc000 00:00 0
    a7ce1000-a7dc6000 r-xp 00000000 00:1f 2900632 /home/cartedav/workspaces/dev/vendor/i686-rhel4.0-gcc3.4/lib/libstlport-mcg-5.1.so
    a7dc6000-a7de2000 rwxp 000e4000 00:1f 2900632 /home/cartedav/workspaces/dev/vendor/i686-rhel4.0-gcc3.4/lib/libstlport-mcg-5.1.so
    a7de2000-a7de6000 rwxp a7de2000 00:00 0
    a7de6000-a7f5c000 r-xp 00000000 00:1f 2900652 /home/cartedav/workspaces/dev/vendor/i686-rhel4.0-gcc3.4/lib/libmkl_vml_def.so
    a7f5c000-a7f6b000 rwxp 00175000 00:1f 2900652 /home/cartedav/workspaces/dev/vendor/i686-rhel4.0-gcc3.4/lib/libmkl_vml_def.so
    a7f6b000-a8434000 r-xp 00000000 00:1f 2900523 /home/cartedav/workspaces/dev/vendor/i686-rhel4.0-gcc3.4/lib/libmkl_lapack.so
    a8434000-a8436000 rwxp 004c9000 00:1f 2900523 /home/cartedav/workspaces/dev/vendor/i686-rhel4.0-gcc3.4/lib/libmkl_lapack.so
    a8436000-a8492000 r-xp 00000000 00:1f 2900484 /home/cartedav/workspaces/dev/vendor/i686-rhel4.0-gcc3.4/lib/libmkl_core.so
    a8492000-a8496000 rwxp 0005b000 00:1f 2900484 /home/cartedav/workspaces/dev/vendor/i686-rhel4.0-gcc3.4/lib/libmkl_core.so
    a8496000-a84a4000 rwxp a8496000 00:00 0
    a84a4000-a8652000 r-xp 00000000 00:1f 2900521 /home/cartedav/workspaces/dev/vendor/i686-rhel4.0-gcc3.4/lib/libmkl_intel_thread.so
    a8652000-a869f000 rwxp 001ae000 00:1f 2900521 /home/cartedav/workspaces/dev/vendor/i686-rhel4.0-gcc3.4/lib/libmkl_intel_thread.so
    a869f000-a86a0000 rwxp a869f000 00:00 0
    a86a0000-a87d9000 r-xp 00000000 00:1f 2900517 /home/cartedav/workspaces/dev/vendor/i686-rhel4.0-gcc3.4/lib/libmkl_intel.so
    a87d9000-a87dc000 rwxp 00139000 00:1f 2900517 /home/cartedav/workspaces/dev/vendor/i686-rhel4.0-gcc3.4/lib/libmkl_intel.so
    a87dc000-a87e2000 rwxp a87dc000 00:00 0
    a87e2000-a87e9000 r-xp 00000000 00:1f 570263 /home/cartedav/workspaces/dev/mlclib/vendors-gda2/i686-rhel4.0-gcc3.4/lib/libimslcstat_iblas.so
    a87e9000-a87ea000 rwxp 00006000 00:1f 570263 /home/cartedav/workspaces/dev/mlclib/vendors-gda2/i686-rhel4.0-gcc3.4/lib/libimslcstat_iblas.so
    a87ea000-a8b08000 r-xp 00000000 00:1f 570239 /home/cartedav/workspaces/dev/mlclib/vendors-gda2/i686-rhel4.0-gcc3.4/lib/libimslcstat.so
    a8b08000-a8b45000 rwxp 0031d000 00:1f 570239 /home/cartedav/workspaces/dev/mlclib/vendors-gda2/i686-rhel4.0-gcc3.4/lib/libimslcstat.so
    a8b45000-a8b5e000 r-xp 00000000 00:1f 570822 /home/cartedav/workspaces/dev/mlclib/vendors-gda2/i686-rhel4.0-gcc3.4/lib/libimslcmath_iblas.so
    a8b5e000-a8b5f000 rwxp 00019000 00:1f 570822 /home/cartedav/workspaces/dev/mlclib/vendors-gda2/i686-rhel4.0-gcc3.4/lib/libimslcmath_iblas.so
    a8b5f000-a8c18000 r-xp 00000000 00:1f 570832 /home/cartedav/workspaces/dev/mlclib/vendors-gda2/i686-rhel4.0-gcc3.4/lib/libimslcmath_scalar.so
    a8c18000-a8c19000 rwxp 000b8000 00:1f 570832 /home/cartedav/workspaces/dev/mlclib/vendors-gda2/i686-rhel4.0-gcc3.4/lib/libimslcmath_scalar.so
    a8c19000-a8ee7000 r-xp 00000000 00:1f 570819 /home/cartedav/workspaces/dev/mlclib/vendors-gda2/i686-rhel4.0-gcc3.4/lib/libimslcmath.so
    a8ee7000-a8ef6000 rwxp 002ce000 00:1f 570819 /home/cartedav/workspaces/dev/mlclib/vendors-gda2/i686-rhel4.0-gcc3.4/lib/libimslcmath.so
    a8ef6000-a8ef7000 rwxp a8ef6000 00:00 0
    a8ef7000-a8f19000 r-xp 00000000 00:1f 2900421 /home/cartedav/workspaces/dev/vendor/i686-rhel4.0-gcc3.4/lib/libboost_thread-mcg-1.34-stlport-5.1.so
    a8f19000-a8f1d000 rwxp 00022000 00:1f 2900421 /home/cartedav/workspaces/dev/vendor/i686-rhel4.0-gcc3.4/lib/libboost_thread-mcg-1.34-stlport-5.1.so
    a8f1d000-aa180000 r-xp 00000000 00:1f 761178 /home/cartedav/workspaces/dev/mlclib/build/i686-rhel4.0-gcc3.4/checked-stlport-fine-full-multi-dynamic/libgda2mlclib.so
    aa180000-aa430000 rwxp 01263000 00:1f 761178 /home/cartedav/workspaces/dev/mlclib/build/i686-rhel4.0-gcc3.4/checked-stlport-fine-full-multi-dynamic/libgda2mlclib.so
    aa430000-aa53a000 rwxp aa430000 00:00 0
    aa53a000-ad779000 r-xp 00000000 00:1f 699688 /home/cartedav/workspaces/dev/mlclib/build/i686-rhel4.0-gcc3.4/checked-stlport-fine-full-multi-dynamic/libgda2ocean.so
    ad779000-ae56b000 rwxp 0323f000 00:1f 699688 /home/cartedav/workspaces/dev/mlclib/build/i686-rhel4.0-gcc3.4/checked-stlport-fine-full-multi-dynamic/libgda2ocean.so
    ae56b000-ae7a8000 rwxp ae56b000 00:00 0
    ae7a8000-ae886000 r-xp 00000000 00:1f 699721 /home/cartedav/workspaces/dev/mlclib/build/i686-rhel4.0-gcc3.4/checked-stlport-fine-full-multi-dynamic/libgda2generic.so
    ae886000-ae8a6000 rwxp 000de000 00:1f 699721 /home/cartedav/workspaces/dev/mlclib/build/i686-rhel4.0-gcc3.4/checked-stlport-fine-full-multi-dynamic/libgda2generic.so
    ae8a6000-ae8ac000 rwxp ae8a6000 00:00 0
    ae8ac000-ae904000 r-xp 00000000 00:1c 206109 /home/gdadev/builds/nightly/i686-rhel4.0-gcc3.4/libguide.so
    ae904000-ae909000 rwxp 00058000 00:1c 206109 /home/gdadev/builds/nightly/i686-rhel4.0-gcc3.4/libguide.so
    ae909000-ae90e000 rwxp ae909000 00:00 0
    ae90e000-aef20000 r-xp 00000000 00:1c 52046 /home/gdadev/builds/nightly/i686-rhel4.0-gcc3.4/libgda2rt.so
    aef20000-af01d000 rwxp 00612000 00:1c 52046 /home/gdadev/builds/nightly/i686-rhel4.0-gcc3.4/libgda2rt.so
    af01d000-af028000 rwxp af01d000 00:00 0
    af028000-af030000 r-xp 00000000 00:1c 497827 /home/gdadev/tools/i686/rhel4.0/gcc-3.4.6/lib/libgcc_s.so.1
    af030000-af031000 rwxp 00007000 00:1c 497827 /home/gdadev/tools/i686/rhel4.0/gcc-3.4.6/lib/libgcc_s.so.1
    af031000-af136000 r-xp 00000000 00:1c 205704 /home/gdadev/builds/nightly/i686-rhel4.0-gcc3.4/libgda2jni.so
    af136000-af158000 rwxp 00105000 00:1c 205704 /home/gdadev/builds/nightly/i686-rhel4.0-gcc3.4/libgda2jni.so
    af158000-af15d000 rwxp af158000 00:00 0
    af15d000-af15f000 r-xs 00009000 00:1c 205693 /home/gdadev/builds/nightly/i686-rhel4.0-gcc3.4/gda2.jar
    af15f000-af160000 ---p af15f000 00:00 0
    af160000-af1e0000 rwxp af160000 00:00 0
    af1e0000-af1e3000 ---p af1e0000 00:00 0
    af1e3000-af231000 rwxp af1e3000 00:00 0
    af231000-af234000 ---p af231000 00:00 0
    af234000-af2b2000 rwxp af234000 00:00 0
    af2b2000-af2b5000 ---p af2b2000 00:00 0
    af2b5000-af333000 rwxp af2b5000 00:00 0
    af333000-af336000 ---p af333000 00:00 0
    af336000-af384000 rwxp af336000 00:00 0
    af384000-af584000 r-xp 00000000 68:06 101636 /usr/lib/locale/locale-archive
    af584000-af587000 ---p af584000 00:00 0
    af587000-af5d5000 rwxp af587000 00:00 0
    af5d5000-af5d8000 ---p af5d5000 00:00 0
    af5d8000-af626000 rwxp af5d8000 00:00 0
    af626000-af627000 ---p af626000 00:00 0
    af627000-af6d7000 rwxp af627000 00:00 0
    af6d7000-af853000 r-xs 02c8f000 00:1c 925583 /home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/jre/lib/rt.jar
    af853000-af854000 ---p af853000 00:00 0
    af854000-af8d4000 rwxp af854000 00:00 0
    af8d4000-af8d5000 ---p af8d4000 00:00 0
    af8d5000-af955000 rwxp af8d5000 00:00 0
    af955000-af956000 ---p af955000 00:00 0
    af956000-af9d6000 rwxp af956000 00:00 0
    af9d6000-af9d7000 ---p af9d6000 00:00 0
    af9d7000-afa5f000 rwxp af9d7000 00:00 0
    afa5f000-afa77000 rwxp afa5f000 00:00 0
    afa77000-afae8000 rwxp afa77000 00:00 0
    afae8000-afc3f000 rwxp afae8000 00:00 0
    afc3f000-afc47000 rwxp afc3f000 00:00 0
    afc47000-afc5f000 rwxp afc47000 00:00 0
    afc5f000-afcd0000 rwxp afc5f000 00:00 0
    afcd0000-afe26000 rwxp afcd0000 00:00 0
    afe26000-afe51000 rwxp afe26000 00:00 0
    afe51000-afe5f000 rwxp afe51000 00:00 0
    afe5f000-b0e60000 rwxp afe5f000 00:00 0
    b0e60000-b3e60000 rwxp b0e60000 00:00 0
    b3e60000-c1ff0000 rwxp b3e60000 00:00 0
    c1ff0000-ecca0000 rwxp c1ff0000 00:00 0
    ecca0000-f21e0000 rwxp ecca0000 00:00 0
    f21e0000-f3e60000 rwxp f21e0000 00:00 0
    f3e6d000-f3e76000 rwxp f3e6d000 00:00 0
    f3e76000-f3f2d000 rwxp f3e76000 00:00 0
    f3f2d000-f416d000 rwxp f3f2d000 00:00 0
    f416d000-f6f2d000 rwxp f416d000 00:00 0
    f6f2d000-f6f3c000 r-xp 00000000 00:1c 172554 /home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/jre/lib/i386/libzip.so
    f6f3c000-f6f3e000 rwxp 0000e000 00:1c 172554 /home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/jre/lib/i386/libzip.so
    f6f3e000-f6f61000 r-xp 00000000 00:1c 172497 /home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/jre/lib/i386/libjava.so
    f6f61000-f6f63000 rwxp 00023000 00:1c 172497 /home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/jre/lib/i386/libjava.so
    f6f63000-f6f6e000 r-xp 00000000 00:1c 172493 /home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/jre/lib/i386/libverify.so
    f6f6e000-f6f6f000 rwxp 0000b000 00:1c 172493 /home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/jre/lib/i386/libverify.so
    f6f6f000-f6f77000 rwxs 00000000 68:06 247809 /tmp/hsperfdata_cartedav/23854
    f6f77000-f6f7f000 r-xp 00000000 68:06 213047 /lib/libnss_nis-2.3.4.so
    f6f7f000-f6f81000 rwxp 00007000 68:06 213047 /lib/libnss_nis-2.3.4.so
    f6f81000-f6f8a000 r-xp 00000000 68:06 213042 /lib/libnss_files-2.3.4.so
    f6f8a000-f6f8c000 rwxp 00008000 68:06 213042 /lib/libnss_files-2.3.4.so
    f6f93000-f6f99000 r-xp 00000000 00:1c 172254 /home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/jre/lib/i386/native_threads/libhpi.so
    f6f99000-f6f9a000 rwxp 00006000 00:1c 172254 /home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/jre/lib/i386/native_threads/libhpi.so
    f6f9a000-f6f9b000 rwxp f6f9a000 00:00 0
    f6f9b000-f6f9c000 ---p f6f9b000 00:00 0
    f6f9c000-f6f9f000 ---p f6f9c000 00:00 0
    f6f9f000-f6fef000 rwxp f6f9f000 00:00 0
    f6fef000-f6ff6000 r-xp 00000000 00:1c 172514 /home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/jre/lib/i386/jli/libjli.so
    f6ff6000-f6ff8000 rwxp 00006000 00:1c 172514 /home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/jre/lib/i386/jli/libjli.so
    f6fff000-f7000000 rwxp f6fff000 00:00 0
    feff9000-ff000000 rwxp feff9000 00:00 0
    ffffe000-fffff000 ---p 00000000 00:00 0
    VM Arguments:
    java_command: TestCrash AGRCRV.ODR.CC.xdr
    Launcher Type: SUN_STANDARD
    Environment Variables:
    JAVA_HOME=/home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03
    PATH=/home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/bin:/home/cartedav/bin:/home/gdadev/tools/i686/rhel4.0/j2sdk/bin:/home/gdadev/tools/i686/rhel4.0/gcc-3.4.6/bin:/home/gdadev/tools/i686/rhel4.0/bin:/home/cartedav/workspaces/dev/images/i686-rhel4.0-gcc3.4/bin:/home/gdadev/tools/i686/rhel4.0/j2sdk/bin:/home/cartedav/workspaces/dev/vendor/i686-rhel4.0-gcc3.4/bin:/home/gdadev/tools/i686/rhel4.0/j2sdk/bin:/apps/linuxdev/bin:/usr/kerberos/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/quest/bin:/usr/X11R6/bin:
    LD_LIBRARY_PATH=/home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/jre/lib/i386/server:/home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/jre/lib/i386:/home/gdadev/tools/i686/rhel4.0/jdk1.6.0_03/jre/../lib/i386:/home/cartedav/workspaces/dev/vendor/i686-rhel4.0-gcc3.4/lib:/home/gdadev/builds/nightly/i686-rhel4.0-gcc3.4/:/home/cartedav/workspaces/dev/mlclib/vendors-gda2/i686-rhel4.0-gcc3.4/lib:/home/gdadev/tools/i686/rhel4.0/j2sdk/lib:/home/gdadev/tools/i686/rhel4.0/gcc-3.4.6/lib:/home/gdadev/tools/i686/rhel4.0/lib:/home/cartedav/workspaces/dev/images/i686-rhel4.0-gcc3.4/lib:/home/cartedav/workspaces/dev/vendor/i686-rhel4.0-gcc3.4/lib:/home/gdadev/tools/i686/rhel4.0/j2sdk/lib:/apps/linuxdev/lib::
    SHELL=/bin/csh
    DISPLAY=169.243.119.66:0.0
    HOSTTYPE=i386-linux
    OSTYPE=linux
    MACHTYPE=i386
    Signal Handlers:
    SIGSEGV: [libjvm.so+0x53c560], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGBUS: [libjvm.so+0x53c560], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGFPE: [libjvm.so+0x451a50], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGPIPE: [libjvm.so+0x451a50], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGILL: [libjvm.so+0x451a50], sa_mask[0]=0x00000000, sa_flags=0xe0000000, flags was changed from 0x10000004, consider using jsig library
    SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
    SIGUSR2: [libjvm.so+0x453a80], sa_mask[0]=0x00000000, sa_flags=0x10000004
    SIGHUP: [libjvm.so+0x4534a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGINT: [libjvm.so+0x4534a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGQUIT: [libjvm.so+0x4534a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGTERM: [libjvm.so+0x4534a0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
    SIGUSR2: [libjvm.so+0x453a80], sa_mask[0]=0x00000000, sa_flags=0x10000004
    --------------- S Y S T E M ---------------
    OS:Red Hat Enterprise Linux AS release 4 (Nahant Update 4)
    uname:Linux 2.6.9-42.0.2.ELhugemem #1 SMP Thu Aug 17 18:22:52 EDT 2006 i686
    libc:glibc 2.3.4 NPTL 2.3.4
    rlimit: STACK 10240k, CORE 0k, NPROC 274431, NOFILE 1024, AS infinity
    load average:0.28 0.17 0.16
    CPU:total 4 (2 cores per cpu, 1 threads per core) family 15 model 65 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, mmxext, 3dnow, 3dnowext
    Memory: 4k page, physical 16629672k(722080k free), swap 16779884k(16779740k free)
    vm_info: Java HotSpot(TM) Server VM (1.6.0_03-b05) for linux-x86, built on Sep 24 2007 22:32:39 by "java_re" with gcc 3.2.1-7a (J2SE release)

    Thanks very much for your advice. Unfortunately, stepping through the code doesn't help at all. The error occurs much later after the C code has been executed, whilst running the java code (which is just creating string objects to invoke the GC). The C code that we are executing is extremely simple - it consists of Sun's JNI example coupled with a sinlge call to the IMSL error options function:
    JNIEXPORT jbyteArray JNICALL Java_ReadFile_loadFile
    (JNIEnv * env, jobject jobj, jstring name) {
    printf("%s", "Setting imsl_error_options()...\n");
    imsl_error_options( IMSL_SET_SIGNAL_TRAPPING, 0, // Disable IMSL signal trapping - necessary for MT code.
    IMSL_SET_STOP, IMSL_FATAL, 0, // Disable stopping on FATAL errors
    IMSL_SET_STOP, IMSL_FATAL_IMMEDIATE, 0, // Disable stopping on FATAL_IMMEDIATE errors
    IMSL_SET_STOP, IMSL_TERMINAL, 0, // Disable stopping on TERMINAL errors
    IMSL_SET_PRINT, IMSL_FATAL, 1, // Enable printing on FATAL errors
    IMSL_SET_PRINT, IMSL_FATAL_IMMEDIATE, 1, // Enable printing on FATAL_IMMEDIATE errors
    IMSL_SET_PRINT, IMSL_TERMINAL, 1, // Enable printing on TERMINAL errors
    IMSL_SET_PRINT, IMSL_WARNING, 1, // Enable printing on WARNING errors
    IMSL_SET_PRINT, IMSL_WARNING_IMMEDIATE, 1, // Enable printing on WARNING_IMMEDIATE errors
    IMSL_SET_PRINT, IMSL_ALERT, 1, // Enable printing on TERMINAL errors
    IMSL_SET_PRINT, IMSL_NOTE, 1, // Enable printing on TERMINAL errors
    0 );
    caddr_t m;
    jbyteArray jb;
    jboolean iscopy;
    struct stat finfo;
    const char mfile = (env)->GetStringUTFChars(
    env, name, &iscopy);
    int fd = open(mfile, O_RDONLY);
    if (fd == -1) {
    printf("Could not open %s\n", mfile);
    lstat(mfile, &finfo);
    m = mmap((caddr_t) 0, finfo.st_size,
    PROT_READ, MAP_PRIVATE, fd, 0);
    if (m == (caddr_t)-1) {
    printf("Could not mmap %s\n", mfile);
    return(0);
    jb=(*env)->NewByteArray(env, finfo.st_size);
    (*env)->SetByteArrayRegion(env, jb, 0,
    finfo.st_size, (jbyte *)m);
    close(fd);
    (*env)->ReleaseStringUTFChars(env, name, mfile);
    return (jb);
    If I remove the call to imsl_error_options then there is no adverse behaviour - the Java loop completes ok (creating 1 trillion strings in the process) and the manual call the GC works fine. With the call to imsl, the execution gets to the string creation loop (in Java, after the C has been executed) and then it dies pretty quickly (presumably after the GC kicks in to clean up some of the strings).
    Here is the java code:
    import java.util.*;
    class ReadFile {
    //Native method declaration
    native byte[] loadFile(String name);
    //Load the library
    static {
    System.loadLibrary("nativelib");
    public static void main(String args[]) {
    byte buf[];
    //Create class instance
    ReadFile mappedFile=new ReadFile();
    //Call native method to load ReadFile.java
    buf=mappedFile.loadFile("ReadFile.java");
    //Print contents of ReadFile.java
    for(int i=0;i<buf.length;i++) {
    System.out.print((char)buf);
    System.out.print("Now running the string creation loop...\n");
    long block = 100000000;
    int numBlocks = 10;
    long loops = block * numBlocks;
    for (long i = 0; i < loops; i++) {
    // Create some objects that need disposal
    String.valueOf(i);
    if (i % block == 0) {
    System.out.print("Reached " + i + "\n");
    System.out.print("Now running the GC...\n");
    System.gc();

  • [865PE/G Neo2 Series] Can use Intel IAA v5.0.0.0132 on 865PE Neo2-PFISR board?

    I am currently using Intel IAA v3.5.3 configured as RAID 0 on my two SATA HDD.
    I've decided to re-format my HDD and reinstall Win XP SP2 and I am wondering whether I can use the latest version of the IAA driver (as shown on Intel website for 865 chipsets).  The official driver on MSI's site is only version 3.5.6.6282.
    Any help is appreciated.  Thanks.

    Thanks Vango44.   
    My M/B have updated to version 3.A (latest as per webiste).  I will try to use the new Intel IAA driver v5.x.x when I re-installing my system.  I am a "sucker" for updating drivers, etc.  I just want to know whether there will be any incompatibility ie. have any one try later versions than MSI's official drivers.  Will post after my re-installation.  Wish me luck.....

  • I loaded iTunes on a new laptop. I copied and pasted my albums to a 4G stick and down loaded them to the new laptop. Placing them in, Libraries – Music – iTunes and than in Itunes used File – add file to library. So far so good. For what ever reason one o

    I loaded iTunes on a new laptop. I copied and pasted my albums to a 4G stick and down loaded them to the new laptop. Placing them in, Libraries – Music – iTunes and than in Itunes used File – add file to library. So far so good. For what ever reason one of the CDs would not load onto the stick. I got the orginal CD and loaded directly to Itunes. Now when I look in  Libraries – Music – iTunes it’s not there but it is in and plays in iTunes. What should I have done or should I be doing? Thanks.

    It's not a unique situation - happens all the time, smaller hard drives getting filled up.
    It's also easy to fix. I just moved my itunes content to a bigger hard drive.
    First I made a backup of the itunes database file - iTunes Library.itl. Just in case anything went wrong.
    Nothing did go wrong, but I'd have it in case anything DID go wrong. That file holds ratings, playcounts, Date Added, and other metadata.
    Second, in itunes change the preferences > advanced tab to tell itunes to put everything on G:
    Set the itunes folder location to something like G:Media or G:iTunes
    This will affect all FUTURE additions to itunes and not do anything to the existing locations.
    Make sure the checkbox for "Keep itunes organized" is NOT checked. I also left the "Copy files when adding" unchecked.
    Third, to move all the files to G: without itunes losing the paths, run the File > Library > Organize > Consolidate command. This will need to run a while, so be patient as it copies all the files to the new G: location. This does NOT delete the originals. You will have to do that.
    Fourth, make sure everything in itunes is OK and you can play stuff in your library. If you're really cautious you can run a script to check for missing/dead tracks.

  • I have a Ipod Nano and want to get another one , and use both. Can I use the same computer and library for both?

    I have a Ipod Nano and want to get another one , and use both. Can I use the same computer and library for both?

    Yes

  • Using external drive for iTunes Library

    There's about 80G of music on my external hard drive. I'd like to use this music as the library when the external is connected to the laptop. I don't know how to make this work. I know it's possible to duplicate the music on the Powerbook and create another library on the HD. But what I'm looking to do is have the laptop library separate from the HD and to manually choose which is being used. The problem is getting the mac to create a library of the 80G of music stored on the HD.
    Any replies greatly appreciated.
    Powerbook G4   Mac OS X (10.4.8)  

    It's no different than creating any new iTunes library. Since you already have an iTunes Library file that you want to keep, rename that file...something like iTunes Laptop Library. Then hold down the Option key while opening iTunes and choose "Create Library" when presented with the option. iTunes will create a new iTunes Library file in the iTunes folder, and it will be empty. Use the Add command or drag-and-drop the external HD music folder to populate this new library. When you close iTunes, you might want to rename this new library file also, so the two library files, which can coexist peacefully side by side, are easy to distinguish from each other.
    Whenever you want to switch from using one library to the other, just hold down the Option key when opening iTunes, select Choose Library, and select the other library file.
    iMac G4 17; iBook G4 1.33 Mhz 14; iPod 3G 20GB   Mac OS X (10.3.9)  

  • Help with this error message: System extenstion cannot be used:The system extension "/System/Library/Extensions/AppleACPIPlatform.kext" was installed improperly and cannot be used. Please try reinstalling it, or contact the product's vendor for an update.

    I have this error message:
    System extension cannot be used
    The system extension “/System/Library/Extensions/AppleACPIPlatform.kext” was installed improperly and cannot be used. Please try reinstalling it, or contact the product’s vendor for an update.
    Please help. Is there a update or how do I reinstall?
    Thanks,
    John

    I submitted the above question, later finding that it has been answered by Buller already.  No one need reply as Buller's answer seems to solve the problem for others, and I'll try that.
    Jim

  • How to deploy file using module in existing document library ?

    Hello,
    I have picture library where I want to upload image using module
    Location is "asset-library/PublishingImages/Images"
    PublishingImages - Picture Library
    Images - Folder name under PublishingImages picture library
    I have added via module as below :
    <!-- Image Files Start -->
    <Module Name="WebFiles" Url="/asset-library/PublishingImages/Images" Path="WebFiles\Images" >
    <File Path="newContent.jpg" Url="newContent.jpg" Type="GhostableInLibrary" />
    </Module>
    <!-- Image Files End -->
    However when I activate the feature , it throws below error
    The URL '/asset-library/PublishingImages/Images' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
    while URL is correct - would you please suggest where I am wrong ?
    Thanks and Regards,
    Dipti Chhatrapati

    Hi Dipti,
    You simply need the URL attribute of the module as 
    Url="/PublishingImages/Images"
    I am assuming asset-library is your sub site name. and if so it would not be required in URL of module
    Cheers! Kapil Happy SharePointing PS: Please mark the reply as answer if it is what you are looking for.

  • Printing issue when using Intel Macs to print wirelessly via Airport

    We seem to have a problem. It has come to light since using Intel based Macs running 10.4.7 and Airport to connect wirelessly to the internet and to print to a Acculaser C1900N with intel printer driver installed. When setting up by Bonjour and then printing to the printer it fails and an exclamation mark appears on the printer icon in the Dock. Appletalk is enabled for the port, just in case you ask.
    Browsing the internet works fine, but the printing side fails every time.
    When we insert a Ethernet cable everything works fine.
    As far as I can see its not a System Software problem related to old macs running 10.4.7, but to new Intel macs running 10.4.7. I have tried this on a Intel Mac Mini and also an Intel MacBook the results are the same.
    Please has anyone got a solution as we start a new term with these new macs in about two days and printing is a integral part of school life.

    I have just configured a new Airport Extreme and I have just printed sucessfully to our printer. Weird its just a Graphite Airport base Station Issue. I am not sure if the problem occours with the Snow Airport Base Station....Ill have to try that one out. I am so happy that it works you wouldnt believe it.

  • Is there a way to use a namespace, such as "Library", and have a program with a different namespace include the Library namespace?

    For many years, I have maintained a library of often used functions for C++.  This has become more challenging with the required namespace for C#. 
    Is there a way to use a namespace, such as "Library", and have a program with a different namespace include the Library namespace?
    bhs67

    You could create a class X in a namspace Y in a C# class library project. You can then add a reference to this class library project/assembly from every application in which you intend to use the class X in namespace Y.
    You don't add references to namespace, you add references to assemblies in .NET. You can then use a class in namespace Y of any referenced assembly by adding a using directive at the top of the code file in which you reference the class:
    using Y;
    Please remember to close your threads by marking helpful posts as answer.

  • Connecting Laptop to TV using Intel WIDI to watch Sky

    Has anyone connected their laptop using Intel WIDI to a smart TV to watch Sky?I am continually getting an error and it looks like its being blocked by Sky.Using Amazon Prime or IPlayer and Netflix works fine, so i know teh SW and HW are functioning.If HDMI is used it works fine but i dont want to use a cable.

    Only HDMI will carry the Aduio and Video together, if you use VGA, a audio cable is still required in the headphone jack to carry the sound to the TV.

  • Cannot use Intel widi with my Satellite L50-A-11T

    Hi,
    I have a Satellite L50-A-11T and i've tried to use Intel widi with Windows 8.1 and doesn't work, it says that the system is not compatible.
    With Windows 8 it was ok and worked fine, but in the instruccions for upgrading it said to remove Intel widi.
    Why is that?
    Thanks in advance.

    You misunderstood this info.
    Intel WiDi isnt supported in Win 8.1 on Toshiba notebooks BUT instead of Intel WiDi you can use Miracast.
    But Intel WiDi is not Miracast.
    Intel WiDi was developed by Intel.
    Miracast is an standard supported by developed by WiFi Allianz and Intel is a part of this Allianz
    Windows 8.1 as well as Android 4.2 support the Miracast standard.
    But this does not mean that you can use it always you need the compatible hardware parts.
    In case your TV would not support Miracast standard, you will not be able to use it

Maybe you are looking for

  • MMS over WiFi not working after Sense 6 Update

    A week ago Monday, the Sense 6 update hit my phone.  Once loaded, I could no longer send MMS over WiFi, stream Google Play Music over WiFi, access my content on Google Play Books, or back up my pics to Google Cloud over WiFi.  After several days of e

  • Error: Conversion of complete file content of 'filename here' to XML format

    "Error: Conversion of complete file content of 'filename here' to XML format failed" We process inbound files every hour, we now got this message we have never seen. But every hour, for three hours, one in many files that are processed get this error

  • Fi Docs

    For any material movement types, in 200, FI docs are not opening.What could be teh possible reason?

  • UFS file system mount options

    I'm doing some performance tuning on a database server. In mounting a particular UFS file system, I need to enable the "forcedirectio" option. However, the "logging" option is already specified. Is there any problem mounting this file system with BOT

  • Error in MOVE-CORRESPONDING  statement

    Hi all, I am facing issue in move-corresponding statement. Form: FORM get_first_data USING   it_lifnr TYPE ty_lifnr                              it_prdha TYPE ty_prdha                              it_matnr TYPE ty_matnr                              c