Exception: Access violation (0xC000000​05) at EIP=0x0C1E​46A1

Hola a todos
Tengo mi aplicación cliente instalada en un equipo en una red tcp/ip, y después de unos minutos me aparece este error "Exception: Access violation (0xC00000005) at EIP=0x0C1E46A1".
Alguien me podría ayudar
Saludos

Hola Rafa_Mata,
De hecho un error asi es un poco generico. Podrias brindar detalles del software que utilizas, que hace el programa, que toolkits utilizas, etc.
Saludos,
Eric NI

Similar Messages

  • Access violation (0xC000000​5) at EIP=0x7C82​19BE

    plz help me to fix this crash

    duplicate
    LabVIEW Champion . Do more with less code and in less time .

  • RWRBE60.exe has generated an exception: access violation

    I have a user who uses Oracle report called from a form. Several times a day she reports that she get a Dr. Watson application error saying that RWRBE60.exe has generated an exception: access violation when she invokes the report runtime (while running the report not printing it). She is running Windows NT Version 4.0, SP 6; She has 256K memory. She is running Forms 6.0.5.0.2 and Oracle Report 6.0.5.28.0. Any thoughts?
    Thanks
    Anandhi

    I've got a similar problem. I'm running windows xp and reports 6.0.8.22 including Patch 13. I don't get the same error, but the RWRBE60.exe stops with a problem. That only occurs by using reports where the parameters are variable and only by the second time I call such a report. If I close the RWRBE60.exe after the first report that probem doesn't occur. Maybe you could check, whether the problem doesn't occur if you close RWRBE60.exe between two reports.

  • Exception access violation using jlong instead of jint

    Hi,
    I hope you can help me.
    I'm using Java5 under Windows XP and I'm developing under Eclipse.
    I try to use an "old" c-Application accesed via JNI.
    Status Quo is that, I have access to the c-side, over my JNI-conform DLL. My current task is to translate the c-side structs to java-objects. This also works, but only with limitation.
    Calling methods bidirectional is working, manipulation a java-object is like a walk on an warm and sunny Saturday afternoon.
    But I'm not able to use all possible parameters (for now I have tried to use jobject, jstring, jint, jboolean, jlong).
    The first problem I had, were using Strings as parameters, but this now I deal with the loopway over java/lang/object (using java/lang/String results in an access_violation).
    The next problem, and the harder one, is, that I cannot use the type long or jlong.
    int (jint) is no problem, with int all works fine, but if I change the environment, creating and using long, I allways get an the access_violation shown below.
    Is there anything, I need to know?
    working c-side-code:
    jobject someObject;
    jint anIntegerValue;
    anIntegerValue =5;               
    jmethodID mid3 = (*env)->GetMethodID(env, cl, "initReturnSomeObject", "(ILjava/lang/Object;)Ljava/lang/Object;");
                   if(mid3 == (jmethodID)0) printf("\ndooofes MethodName4!\n");
                             else {
                                  const char* myParams;
                                  myParams = "ooooohwow!!!";
                                  someObject = (*env)->CallObjectMethod(env, jobj, mid3,
                                             anIntegerValue, (*env)->NewStringUTF(env, myParams));
                             }wokring java-side-code
    public Object initReturnSomeObject(int i, Object obj) {
              String s = (String)obj;
              System.out.println("String: "+s+"\nInteger: "+i);
              some = new SomeObject(s,i);
              if(some==null) System.out.println("Some is not yet initialized, FEAR!!!!\n");
              else System.out.println("Yoh, I'm soooo many good!! \nSome:\nString: "+some.getS1()+"\nInt: "+some.getI1()+"\n");
              return (Object)some;
    so, und this code, doesn't work. you can see, the changes are dramatically!! ;)
    sorry for my sarcasm. I do not know, why it doesn't work.
    jlong aLongValue;
    aLongValue = 2;
    jmethodID mid3 = (*env)->GetMethodID(env, cl, "initReturnSomeObject", "(JLjava/lang/Object;)Ljava/lang/Object;");
                   if(mid3 == (jmethodID)0) printf("\ndooofes MethodName4!\n");
                             else {
                                  const char* myParams;
                                     myParams = "ooooohwow!!!";
                                  someObject = (*env)->CallObjectMethod(env, jobj, mid3,
                                            aLongValue, (*env)->NewStringUTF(env, myParams));
         public Object initReturnSomeObject(long i, Object obj) {
              String s = (String)obj;
              System.out.println("String: "+s+"\nInteger: "+i+"\nLong: ");
              some = new SomeObject(s,(int)i);
              if(some==null) System.out.println("Some is not yet initialized, FEAR!!!!\n");
              else System.out.println("Yoh, I'm soooo many good!! \nSome:\nString: "+some.getS1()+"\nInt: "+some.getI1()+"\n");
              return (Object)some;
    # An unexpected error has been detected by Java Runtime Environment:
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d942975, pid=1784, tid=1648
    # Java VM: Java HotSpot(TM) Client VM (1.6.0_03-b05 mixed mode, sharing)
    # Problematic frame:
    # V  [jvm.dll+0x182975]
    # An error report file with more information is saved as hs_err_pid1784.log
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    #do you need some other informations or details? something out of the log-file? ok, i have to take the bus, so sorry for uncomplete informations or sentences ;)
    till later.

    Hi,
    I'm quite sure, the signature is correct. For failure check, yesterday I ran javap to check the signature, but I do also mean, that I changed the signature afterwards for several time. And, it works ;) at least the way, using Integer.
    Trying to use java/lang/String everytime I got the Error, that the method could not be found - this is the part, I was wrong in my description. So the error-Message is a different one.
    Belonging to the question for assumptions I made... it's difficult. I'm quite new to JNI, so, I don't know, what I can assume to do. The Method call seems to be a kind of reflection-mechanism. So I assume that the behaviour is similar. But reflection I'm not very firm, either ^^.
    What I do assume is, that the parameter-value J fits to the java-type jlong. But a work around on this, I will try today. getting the jlong into an char* or using long instead of jlong or using Ljava/lang/Long; or a casted Long as Ljava/lang/Object; ...
    I'm anxious to the ideas, I will have, bypassing this point. if there is no way, I will write a file, send a email or something like this ;)
    Thx for thinking about my problem jschel!! It's great not to be alone.
    John

  • EXCEPTION ACCESS VIOLATION in jsoundds.dll on Windows XP (Home | Pro)

    We've been getting this error for a long time now and we have no idea how to fix it, debug it, or avoid it.
    Any help or ideas that anyone could give would be great.
    Thanks in advance
    # An unexpected error has been detected by HotSpot Virtual Machine:
    #  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d4a2254, pid=3932, tid=3744
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
    # Problematic frame:
    # C  [jsoundds.dll+0x2254]
    ---------------  T H R E A D  ---------------
    Current thread (0x00857670):  JavaThread "Player Thread" [_thread_in_native, id=3744]
    siginfo: ExceptionCode=0xc0000005, reading address 0x00000000
    Registers:
    EAX=0x000000be, EBX=0x180efa54, ECX=0x00000dd4, EDX=0x00000000
    ESP=0x180efa34, EBP=0x180efa60, ESI=0x00910fc0, EDI=0x000000be
    EIP=0x6d4a2254, EFLAGS=0x00010206
    Top of Stack: (sp=0x180efa34)
    0x180efa34:   180efa5c 00000000 00914f70 00910fc0
    0x180efa44:   00857670 00000e92 00000000 00000000
    0x180efa54:   00000000 00000000 00000000 180efa7c
    0x180efa64:   6d4a2a77 00000f80 00000001 02c729c8
    0x180efa74:   00910fc0 00910fc0 180efaa8 6d4a1bae
    0x180efa84:   00910fc0 00000001 00f2cd0d 00857730
    0x180efa94:   180efaa4 00914f70 00000000 00000001
    0x180efaa4:   137429b0 180efb08 00f14a50 00000001
    Instructions: (pc=0x6d4a2254)
    0x6d4a2244:   00 00 00 ff 75 ec 8d 5d fc 8b 56 08 53 8d 5d f4
    0x6d4a2254:   8b 3a 53 8d 5d f8 53 8d 5d f0 53 50 51 52 ff 57
    Stack: [0x180b0000,0x180f0000),  sp=0x180efa34,  free space=254k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  [jsoundds.dll+0x2254]
    C  [jsoundds.dll+0x2a77]
    C  [jsoundds.dll+0x1bae]
    J  com.sun.media.sound.DirectAudioDevice$DirectDL.drain()V
    J  net.interactions.util.IPlayer$PlayerThread.run()V
    v  ~OSRAdapter
    v  ~StubRoutines::call_stub
    V  [jvm.dll+0x845a9]
    V  [jvm.dll+0xd9317]
    V  [jvm.dll+0x8447a]
    V  [jvm.dll+0x841d7]
    V  [jvm.dll+0x9ed69]
    V  [jvm.dll+0x109fe3]
    V  [jvm.dll+0x109fb1]
    C  [MSVCRT.dll+0x2a3b0]
    C  [kernel32.dll+0xb683]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    J  com.sun.media.sound.DirectAudioDevice.nIsStillDraining(JZ)Z
    J  com.sun.media.sound.DirectAudioDevice$DirectDL.drain()V
    J  net.interactions.util.IPlayer$PlayerThread.run()V
    v  ~OSRAdapter
    v  ~StubRoutines::call_stub
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x00915b00 JavaThread "starter thread" [_thread_in_native, id=2948]
      0x00910040 JavaThread "readerThread" [_thread_new, id=3892]
    =>0x00857670 JavaThread "Player Thread" [_thread_in_native, id=3744]
      0x00852480 JavaThread "Java Sound Event Dispatcher" daemon [_thread_blocked, id=3708]
      0x008556c0 JavaThread "earn break time thread" [_thread_blocked, id=2988]
      0x0084d4f0 JavaThread "iRouter socket reader" [_thread_in_vm, id=3472]
      0x008441e0 JavaThread "allower thread" [_thread_blocked, id=3988]
      0x0086dc40 JavaThread "Timer-0" [_thread_blocked, id=3148]
      0x0086ed30 JavaThread "Thread-40" daemon [_thread_blocked, id=2796]
      0x0087ea30 JavaThread "queued IMAppender messages sender" [_thread_blocked, id=3700]
      0x0087e050 JavaThread "Smack Listener Processor" daemon [_thread_blocked, id=3184]
      0x0087dad0 JavaThread "Smack Packet Reader" daemon [_thread_in_native, id=3072]
      0x0087d8f0 JavaThread "Smack Packet Writer" daemon [_thread_blocked, id=1168]
      0x008446d0 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1648]
      0x0083fe30 JavaThread "DestroyJavaVM" [_thread_blocked, id=3316]
      0x0083eb40 JavaThread "javawsApplicationMain" [_thread_in_native, id=3436]
      0x0083ab60 JavaThread "traceMsgQueueThread" daemon [_thread_blocked, id=1700]
      0x008380a0 JavaThread "AWT-Windows" daemon [_thread_in_native, id=1060]
      0x008300d0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2216]
      0x0082f510 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3728]
      0x0082e3f0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2860]
      0x0082d810 JavaThread "Finalizer" daemon [_thread_blocked, id=4072]
      0x0082c570 JavaThread "Reference Handler" daemon [_thread_blocked, id=3612]
    Other Threads:
      0x0082b840 VMThread [id=3960]
      0x00832be0 WatcherThread [id=1056]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation   total 9216K, used 4578K [0x02b70000, 0x03560000, 0x03f20000)
      eden space 8256K,  53% used [0x02b70000, 0x02fbea30, 0x03380000)
      from space 960K,  17% used [0x03380000, 0x033aa108, 0x03470000)
      to   space 960K,   0% used [0x03470000, 0x03470000, 0x03560000)
    tenured generation   total 121024K, used 19286K [0x03f20000, 0x0b550000, 0x12b70000)
       the space 121024K,  15% used [0x03f20000, 0x051f59f8, 0x051f5a00, 0x0b550000)
    compacting perm gen  total 12544K, used 12438K [0x12b70000, 0x137b0000, 0x16b70000)
       the space 12544K,  99% used [0x12b70000, 0x13795ae8, 0x13795c00, 0x137b0000)
    No shared spaces configured.
    Dynamic libraries:
    0x00400000 - 0x0040c000      C:\Program Files\Java\jre1.5.0_06\bin\javaw.exe
    0x7c900000 - 0x7c9b0000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c8f4000      C:\WINDOWS\system32\kernel32.dll
    0x77dd0000 - 0x77e6b000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77e70000 - 0x77f01000      C:\WINDOWS\system32\RPCRT4.dll
    0x77d40000 - 0x77dd0000      C:\WINDOWS\system32\USER32.dll
    0x77f10000 - 0x77f57000      C:\WINDOWS\system32\GDI32.dll
    0x77c10000 - 0x77c68000      C:\WINDOWS\system32\MSVCRT.dll
    0x6d670000 - 0x6d804000      C:\Program Files\Java\jre1.5.0_06\bin\client\jvm.dll
    0x76b40000 - 0x76b6d000      C:\WINDOWS\system32\WINMM.dll
    0x6d280000 - 0x6d288000      C:\Program Files\Java\jre1.5.0_06\bin\hpi.dll
    0x76bf0000 - 0x76bfb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d640000 - 0x6d64c000      C:\Program Files\Java\jre1.5.0_06\bin\verify.dll
    0x6d300000 - 0x6d31d000      C:\Program Files\Java\jre1.5.0_06\bin\java.dll
    0x6d660000 - 0x6d66f000      C:\Program Files\Java\jre1.5.0_06\bin\zip.dll
    0x6d000000 - 0x6d167000      C:\Program Files\Java\jre1.5.0_06\bin\awt.dll
    0x73000000 - 0x73026000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x76390000 - 0x763ad000      C:\WINDOWS\system32\IMM32.dll
    0x774e0000 - 0x7761d000      C:\WINDOWS\system32\ole32.dll
    0x5ad70000 - 0x5ada8000      C:\WINDOWS\system32\uxtheme.dll
    0x73760000 - 0x737a9000      C:\WINDOWS\system32\ddraw.dll
    0x73bc0000 - 0x73bc6000      C:\WINDOWS\system32\DCIMAN32.dll
    0x73940000 - 0x73a10000      C:\WINDOWS\system32\D3DIM700.DLL
    0x170d0000 - 0x170f4000      C:\PROGRA~1\McAfee\SPAMKI~1\mskoeplg.dll
    0x77c00000 - 0x77c08000      C:\WINDOWS\system32\VERSION.dll
    0x5d090000 - 0x5d12a000      C:\WINDOWS\system32\COMCTL32.dll
    0x77120000 - 0x771ac000      C:\WINDOWS\system32\OLEAUT32.dll
    0x6d1f0000 - 0x6d203000      C:\Program Files\Java\jre1.5.0_06\bin\deploy.dll
    0x771b0000 - 0x77259000      C:\WINDOWS\system32\WININET.dll
    0x77a80000 - 0x77b14000      C:\WINDOWS\system32\CRYPT32.dll
    0x77b20000 - 0x77b32000      C:\WINDOWS\system32\MSASN1.dll
    0x77f60000 - 0x77fd6000      C:\WINDOWS\system32\SHLWAPI.dll
    0x7e1e0000 - 0x7e282000      C:\WINDOWS\system32\urlmon.dll
    0x7c9c0000 - 0x7d1d5000      C:\WINDOWS\system32\SHELL32.dll
    0x773d0000 - 0x774d3000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2982_x-ww_ac3f9c03\comctl32.dll
    0x6d5d0000 - 0x6d5ef000      C:\Program Files\Java\jre1.5.0_06\bin\RegUtils.dll
    0x745e0000 - 0x748a6000      C:\WINDOWS\system32\msi.dll
    0x77fe0000 - 0x77ff1000      C:\WINDOWS\system32\Secur32.dll
    0x76ee0000 - 0x76f1c000      C:\WINDOWS\system32\RASAPI32.DLL
    0x76e90000 - 0x76ea2000      C:\WINDOWS\system32\rasman.dll
    0x71ab0000 - 0x71ac7000      C:\WINDOWS\system32\WS2_32.dll
    0x71aa0000 - 0x71aa8000      C:\WINDOWS\system32\WS2HELP.dll
    0x5b860000 - 0x5b8b4000      C:\WINDOWS\system32\NETAPI32.dll
    0x76eb0000 - 0x76edf000      C:\WINDOWS\system32\TAPI32.dll
    0x76e80000 - 0x76e8e000      C:\WINDOWS\system32\rtutils.dll
    0x77c70000 - 0x77c93000      C:\WINDOWS\system32\msv1_0.dll
    0x76d60000 - 0x76d79000      C:\WINDOWS\system32\iphlpapi.dll
    0x722b0000 - 0x722b5000      C:\WINDOWS\system32\sensapi.dll
    0x769c0000 - 0x76a73000      C:\WINDOWS\system32\USERENV.dll
    0x6d3c0000 - 0x6d3df000      C:\Program Files\Java\jre1.5.0_06\bin\jpeg.dll
    0x6d240000 - 0x6d27d000      C:\Program Files\Java\jre1.5.0_06\bin\fontmanager.dll
    0x6d4c0000 - 0x6d4d3000      C:\Program Files\Java\jre1.5.0_06\bin\net.dll
    0x71a50000 - 0x71a8f000      C:\WINDOWS\System32\mswsock.dll
    0x76f20000 - 0x76f47000      C:\WINDOWS\system32\DNSAPI.dll
    0x76fb0000 - 0x76fb8000      C:\WINDOWS\System32\winrnr.dll
    0x76f60000 - 0x76f8c000      C:\WINDOWS\system32\WLDAP32.dll
    0x76fc0000 - 0x76fc6000      C:\WINDOWS\system32\rasadhlp.dll
    0x662b0000 - 0x66308000      C:\WINDOWS\system32\hnetcfg.dll
    0x71a90000 - 0x71a98000      C:\WINDOWS\System32\wshtcpip.dll
    0x71ad0000 - 0x71ad9000      C:\WINDOWS\system32\wsock32.dll
    0x17aa0000 - 0x17aee000      C:\Documents and Settings\iAnalyst\Application Data\Sun\Java\Deployment\cache\javaws\http\Dinternal.interactions.net\P8080\DMiAgent\RNswt-lib.jar\swt-win32-3062.dll
    0x763b0000 - 0x763f9000      C:\WINDOWS\system32\comdlg32.dll
    0x74d90000 - 0x74dfb000      C:\WINDOWS\system32\USP10.dll
    0x74c80000 - 0x74cac000      C:\WINDOWS\system32\oleacc.dll
    0x76080000 - 0x760e5000      C:\WINDOWS\system32\MSVCP60.dll
    0x17420000 - 0x17439000      c:\progra~1\mcafee.com\vso\McVSSkt.dll
    0x6d4e0000 - 0x6d4e9000      C:\Program Files\Java\jre1.5.0_06\bin\nio.dll
    0x17d40000 - 0x17d68000      C:\WINDOWS\system32\rsaenh.dll
    0x6d470000 - 0x6d495000      C:\Program Files\Java\jre1.5.0_06\bin\jsound.dll
    0x6d4a0000 - 0x6d4a7000      C:\Program Files\Java\jre1.5.0_06\bin\jsoundds.dll
    0x73f10000 - 0x73f6c000      C:\WINDOWS\system32\DSOUND.dll
    0x76c30000 - 0x76c5e000      C:\WINDOWS\system32\WINTRUST.dll
    0x76c90000 - 0x76cb8000      C:\WINDOWS\system32\IMAGEHLP.dll
    0x72d20000 - 0x72d29000      C:\WINDOWS\system32\wdmaud.drv
    0x72d10000 - 0x72d18000      C:\WINDOWS\system32\msacm32.drv
    0x77be0000 - 0x77bf5000      C:\WINDOWS\system32\MSACM32.dll
    0x77bd0000 - 0x77bd7000      C:\WINDOWS\system32\midimap.dll
    0x73ee0000 - 0x73ee4000      C:\WINDOWS\system32\KsUser.dll
    VM Arguments:
    jvm_args: -Xms128M -Xmx256M -Xbootclasspath/a:C:\Program Files\Java\jre1.5.0_06\lib\javaws.jar;C:\Program Files\Java\jre1.5.0_06\lib\deploy.jar -Djnlpx.home=C:\Program Files\Java\jre1.5.0_06\bin -Djnlpx.splashport=4678 -Djnlpx.jvm="C:\Program Files\Java\jre1.5.0_06\bin\javaw.exe" -Djnlpx.remove=true -Djava.security.policy=file:C:\Program Files\Java\jre1.5.0_06\lib\security\javaws.policy -DtrustProxy=true -Xverify:remote -Djnlpx.heapsize=128M,256M
    java_command: com.sun.javaws.Main C:\DOCUME~1\iAnalyst\LOCALS~1\Temp\javaws2
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=C:\Program Files\Java\jre1.5.0_06\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;"C:\Program Files\Java\jre1.5.0_06\bin"
    USERNAME=iAnalyst
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 9, GenuineIntel
    ---------------  S Y S T E M  ---------------
    OS: Windows XP Build 2600 Service Pack 2
    CPU:total 2 family 15, cmov, cx8, fxsr, mmx, sse, sse2, ht
    Memory: 4k page, physical 1038412k(538272k free), swap 2499772k(2040932k free)
    vm_info: Java HotSpot(TM) Client VM (1.5.0_06-b05) for windows-x86, built on Nov 10 2005 11:12:14 by "java_re" with MS VC++ 6.0

    Lets see. I wrote the application. It's an application that receives audio data over a socket connection to a server. This happens seemingly randomly, no real pattern has yet emerged. Or at least none we've been able to discern from our testing and our user testing. The application rapidly plays audio chunks sent to it from the socket, so it's using the audio device heavily. It also runs for many days at a time without restarting. Normally used during regular business hours constantly (approx. 14 hours / day, 84 hours / week). We've had this problem for quite some time and it has persisted over various JVM upgrades.
    Thanks for the help

  • Java Native Interface Exception Access Violation

    Ok i have two programs One that works and one that dosn't
    the one that works is a javaMethod that calls a C method. the C method then uses a callsback on a java method that returns an array of integers. that works fine
    the Second program uses the same c side code and the same Java Methods from the original are implemented into a program i have that runs a Jframe. anyways when i run this program the Native side does all of its tasks but when its done it crashes Evrything
    here is the Native Code
    #include <jni.h>
    #include "MyNativeInterface.h"
    #include <stdio.h>
    JNIEXPORT void JNICALL
    Java_MyNativeInterface_sayHello(JNIEnv *env, jobject obj)
    printf("Hello world!\n");
    return;
    JNIEXPORT void JNICALL
    Java_MyNativeInterface_nativeMethod(JNIEnv *env, jobject obj)
    jintArray arr;
         jint len;
         int *carr;
         int i;
    jclass cls = (*env)->GetObjectClass(env, obj);
    jmethodID mid =
    (*env)->GetMethodID(env, cls, "callback", "()[I");
    if (mid == NULL) {
    return; /* method not found */
    printf("In C\n");
    arr = (*env)->CallObjectMethod(env, obj, mid);
         len = (*env)->GetArrayLength(env,arr);
         printf("Array Length = %d\n",len);
         carr = (int*)malloc(len);
         (*env)->GetIntArrayRegion(env,arr,0,len,(jint*)carr);
         for (i=0;i<len;i++)
    printf("Array position %d is %d \n",i,carr);
    and here is the java class that deals with the native side
    import java.util.*;
    public class MyNativeInterface extends Object {
    private TextAreaDemo gui ;
    public MyNativeInterface (TextAreaDemo guiRecieved)
    gui = guiRecieved;
    static {
    System.loadLibrary("hello");
    public boolean sendLocoMessage ( byte [] bytesToSend )
    try {
    System.out.println("number Of Tokens ="+bytesToSend [0]);
    } catch (Exception e) {
    System.out.println("didn't even get inside2 ok ");
    return true;
    public void receiveLocoMessage ( byte [] bytesToSend ){
    gui.AddMessage ("WOOOOO HOOOOOO");
    public native static void sayHello ();
    public native void nativeMethod();
    private int [] callback() {
    int cools [] = new int [32] ;
    int i = 0 ;
    for (i=0;i<32;i++)
    cools [i] = i;
    //System.out.println("In Java");
    return cools;
    the Say Hello Method works just fine
    and the array for the C side prints out just fine
    then evrything crashes with the following message
    An unexpected exception has been detected in native code outside the VM.
    Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D3276E4
    Function=ZIP_Open+0x107
    Library=c:\j2sdk1.4.0_01\jre\bin\zip.dll
    and a whole BUNCH of current java thread stuff and a list of dynamic libraries.
    anyways thanks

    Your C code asks for the length of the array, then
    allocates that many BYTES using malloc. This looks
    bogus to me.I agree.
    Maybe something like this would be better:
    carr = (int*)malloc(len * sizeof jint);

  • SeqEdit Crash - Access violation (0xC000000​5)

    I have a very nasty problem: when I open TestStand and click on any step that uses LabVIEW adapter, TS crashes with this message:
    It happens ONLY when I click on the step with LabVIEW Adapter. Everything else works fine.
    ... Help!
    Solved!
    Go to Solution.

    Ok, crash report indicated some problem with LabVIEW Run-Time Engine (missing ""tdtable.tdr" file to be exact). Reinstalling RTE helped. Interestingly, the missing file belonged to 2014 RTE, and it caused crash even when 2013 RTE (or LV 2013 Dev System) was set in LabVIEW Adapter options.
    (Also: thanks to Daniel-E for helping with this issue )

  • How to resolve and debug access violation Error.

    Hello
    I'm stucked with an access violation error which forces my exe build to shut down. I tried also from development environment but its the same there. The error happens after 5-60minutes.
    I played around with disabling a part of the program where it was possible and I think I'm now able to accuse the vi "gastimer.vi". But since this vi leads through the measurement procedure, there are some commands outgoing which I was not able to map one to one.
    My question is: what can cause such access violation errors? I have no dll calls, no third party library, actually the hardware communication is done serial by COM ports. The architecture principle is something adapted from producer consumer loop, except that i have often more than one consumer, so I called them like controller loop - multiple task. The communication within this loops (tasks) are done by queue cluster with an enumerator and variant.
    The indicted vi "gastimer.vi" was transfered from an older and more simply architecture. This vi works with sequence structure and a lot of local variables.
    Since I'm testing sensor on their response to gas concentration I have 10 comports to which I'm listening in parallel.
    What styles or archtiecture are prone to access violations? Where can they happened? where should I look more carefully in the code?
    How can I use the desktop execution trace toolkit to get more information about the cause of the access violation?
    Attached are two different lvlog but I guess with the same error source. In the second lvlog are two vi's named. What have they to do with the access violation error? What kind of information can i get from these lvlog files?
    Last attachement shows a runtime fatal error which happens quite a bit frequently in the recent time when working with this project. Might there be a connection, propably a crashed vi, typedef or whatever?
    Thanks for any help
    U. Siegenthaler
    Solved!
    Go to Solution.
    Attachments:
    first.zip ‏203 KB
    second.zip ‏40 KB
    Fatalerror.PNG ‏21 KB

     Have you checked your code to try to isolate any areas of possible memory leaks? I was able to find some discussion forums with similar problems. Check out the links below to see if any of these resources can be of assistance to you. 
    "Exception: Access violation (0xC0000005) at EIP=0xFDD76383" 
    http://forums.ni.com/t5/LabVIEW/Exception-Access-violation-0xC0000005-at-EIP-0xFDD76383/m-p/2257502 
    "Exception: access violation (0xc0000005) at EIP=0x00BD0984 " 
    http://forums.ni.com/t5/LabVIEW/Exception-access-violation-0xc0000005-at-EIP-0x00BD0984/m-p/2303864 
    "Access violation (0xC0000005)" 
    http://forums.ni.com/t5/LabVIEW/Access-violation-0xC0000005/m-p/2269694 
    Let me know what you find and if you have any other questions. 
    Best regards
    Matijas

  • LabVIEW Access Violation Crashes

    We've been seeing numerous LabVIEW crashes when calling VIs through the LabVIEW adapter in TestStand.  I've searched the knowledge base and discussion forums without success and figured I would post here before opening a help request.
    The actual error we see is:
    Exception: Access violation (0xC0000005) at EIP=0x012B60E6  Version: 11.0.1f1
    We see these crashes several times a day, but while calling no specific VI.  They happen mostly on 2 PCs that are running Windows 7 - 64 bit, but I think we've seen them in the past on PCs running the 32 bit version of Windows 7. Here is the data related to those 2 problematic PCs.
    OS:  Windows 7 Professional SP1 64 bit
    LabVIEW: 2011 SP1 (11.0.1f1) 32 bit
    TestStand: 2010 SP1 (4.5.1.134) 32 bit
    PC:  Dell Optiplex 790 with Intel Core i5
    Other significant information.
    We see these crashes when we're running the batch model in TestStand with multiple threads open.  Some VIs are reentrant, and some are not.
    The 2 PCs that run the batch model (with multiple threads) have the 64 bit version of Win 7 Pro, and crash most often.
    The 3 PCs that run the sequential model or the batch model with a single thread have the 32 bit version of Win 7 Pro and rarely if ever have crashed.
    Not sure if it's related to the OS version or the multi-thread usage and switching the PCs/OS versions to isolate that isn't easy.
    Has anyone else seen similar issues?  Does Windows 7 Pro 64 bit work reliably with LabVIEW 2011 32 bit? 
    Any information would be appreciated.
    John Morrissey

    Hi Amezam, thanks for your reply.
    We appear to be having different access violations each time (or they are one of a large group of them, we cannot tell).
    The crashes appear to be at random, we cannot connect the crashes to any specific sequences of events and we cannot reprocude the crash consistently on the same piece of code! One pattern I have noticed, however, is that the violations appear to coincide with a peak in program activity - very frequent indicator updates for instance*.
    I am unable to disable antivirus protection at will, but I will raise it with our IT Support to see if we can try that.
    I believe that we are intearacting with external code - 3rd party device drivers which include packed libraries. I have no control over these and, furthermore, if I were to remove them the code would not be able to function at all. However, if you think it is a good idea I can attempt to create a separate piece of code which calls the same driver function very rapidly to see if that is the problem.
    As for error handling - those nodes which use them only return error codes from the base 3rd party libraries, which according to the documentation only return custom error codes (these are not related to the error/crash that we are seeing). If you think it's still possible that they will return an Access Violaton error and crash, I will link them up.**
    * - sidenote: I implemented a method of reducing the number of updates to a graph indicator (from several times a second to several times a minute) - this has reduced the problem significantly.
    ** sidenote 2: Some of the nodes which return custom errors are linked properly, and they are not returning errors; these ones are the most likely to return errors since they are called extremely frequently. I am not seeing anything except the documented custom error codes from them.

  • LabVIEW Access Violation Crashes from TestStand

    We've been seeing numerous LabVIEW crashes when calling VIs through the LabVIEW adapter in TestStand.  I've searched the knowledge base and discussion forums without success and figured I would post here before opening a help request.
    The actual error we see is:
    Exception: Access violation (0xC0000005) at EIP=0x012B60E6  Version: 11.0.1f1
    We see these crashes several times a day, but while calling no specific VI.  They happen mostly on 2 PCs that are running Windows 7 - 64 bit, but we've seen them in the past on PCs running the 32 bit version of Windows 7. Here is the data related to those 2 problematic PCs.
    OS:  Windows 7 Professional SP1 64 bit
    LabVIEW: 2011 SP1 (11.0.1f1) 32 bit
    TestStand: 2010 SP1 (4.5.1.134) 32 bit
    PC:  Dell Optiplex 790 with Intel Core i5
    Other significant information.
    We see these crashes when we're running the batch model in TestStand with multiple threads open.  Some VIs are reentrant, and some are not.
    The 2 PCs that run the batch model (with multiple threads) have the 64 bit version of Win 7 Pro, and crash most often.
    The 3 PCs that run the sequential model or the batch model with a single thread have the 32 bit version of Win 7 Pro and rarely if ever have crashed.
    Not sure if it's related to the OS version or the multi-thread usage and switching the PCs/OS versions to isolate that isn't easy.
    Has anyone else seen similar issues?  Does Windows 7 Pro 64 bit work reliably with TestStand and LabVIEW 2011 32 bit versions?  I posted this question in the LabVIEW discussion forum, but I don't know where the issue resides, I'm posting in the TestStand forum also.
    Any information would be appreciated.
    John Morrissey

    I just had the same error in a LVOOP Project. First I got a crash (something with out of memory). The I got subsequent Access Violations. Could trace it down to one VI that:
    a) had been working just fine before
    b) wasn't changed after test mentioned in a) but got (even just running on its own) subsequent access violations every time I ran it
    c) VI used a class konstant, property node (to set 2 class attributes); Inputs were a string and an integer and an error cluster; outputs: one instance of the class (initialized with string an integer) and the error cluster
    d) Problem could be solved by deleting the class constant used in the VI and put the same in again (an just rewired the thing); I assume this caused a recompile that solved the prob
    Maybe this helps narrowing the general problem down.
    P.S: I dont have a still non working version of that VI, since I was happy to have solved this and just saved the VI before thinking about making a copy.

  • UIManager ClassPath ignored? (access violation)

    Appologies if this is a second post, but I do not believe my previous post worked. I do not see it in the list of topics...
    I've encountered a serious problem: I can not use any 3rd party look and feel
    implementations inside the Java Web Start secure sandbox. More specifically,
    they work unless you use the FileOpenService or FileSaveService, which bring
    up a JChooser with UI components that are in the wrong ClassLoader and cause
    access violation exceptions.
    Some code I have tried to (unsuccessfully) work around this problem:
    // Attempt #1
    ClassLoader jwsClassLoader = this.getClass().getClassLoader();
    UIManager.put("ClassLoader", jwsClassLoader);
    SlafLookAndFeel slaf = new SlafLookAndFeel("com.memoire.slaf.SlafLookAndFeel"); UIManager.setLookAndFeel(slaf);
    This brings up the SLAF look and feel for everything but the FileOpenService.
    Exception pasted below.
    // Attempt #2
    // After executing the above code, I also run this:
    Hashtable tb = UIManager.getDefaults();
    tb.put("ClassLoader", jwsClassLoader);
    Enumeration e = tb.keys();
    while (e.hasMoreElements()) {
    Object obj = e.nextElement();
    if (! (obj instanceof String))
    continue;
    String k = (String)obj;
    if (k.endsWith("UI")) {
    Class uic;
    try {
    uic = jwsClassLoader.loadClass(tb.get(k).toString());
    } catch(Exception ex) {
    // classnotfound...
    continue;
    tb.put(uic.getName(), uic);
    Again, this does not help.
    // Attempt #3
    In Sun bug:4155617 the username 'awiner' posted a message that contained
    some code to register your own ClassInstantiator (implements UIDefaults.LazyValue)
    I would like to try this, but I do not know how to use the code presented.
    I think it needs to be integrated within the Look and Feel code?
    Here's the exception:
    java.security.AccessControlException: access denied (java.io.FilePermission /tmp read)
    at java.security.AccessControlContext.checkPermission(AccessControlContext.java:270)
    at java.security.AccessController.checkPermission(AccessController.java:401) at java.lang.SecurityManager.checkPermission(SecurityManager.java:542)
    at java.lang.SecurityManager.checkRead(SecurityManager.java:887)
    at java.io.File.exists(File.java:677)
    at javax.swing.filechooser.FileSystemView.getSystemDisplayName(FileSystemView.java:140)
    at javax.swing.plaf.basic.BasicFileChooserUI$BasicFileView.getName(BasicFileChooserUI.java:1005)
    at javax.swing.JFileChooser.getName(JFileChooser.java:1437)
    at com.memoire.slaf.SlafFileChooserUI$DirectoryComboBoxRenderer.getListCellRendererComponent(SlafFileChooserUI.java:605)
    at javax.swing.plaf.basic.BasicListUI.updateLayoutState(BasicListUI.java:1147) at javax.swing.plaf.basic.BasicListUI.maybeUpdateLayoutState(BasicListUI.java:1097)
    at javax.swing.plaf.basic.BasicListUI$ListSelectionHandler.valueChanged(BasicListUI.java:1465)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:187)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:167)
    at javax.swing.DefaultListSelectionModel.fireValueChanged(DefaultListSelectionModel.java:214)
    at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:402)
    at javax.swing.DefaultListSelectionModel.changeSelection(DefaultListSelectionModel.java:411)
    at javax.swing.DefaultListSelectionModel.setSelectionInterval(DefaultListSelectionModel.java:435)
    at javax.swing.JList.setSelectedIndex(JList.java:1730)
    at javax.swing.plaf.basic.BasicComboPopup.setListSelection(BasicComboPopup.java:998)
    at javax.swing.plaf.basic.BasicComboPopup.access$000(BasicComboPopup.java:43)
    at javax.swing.plaf.basic.BasicComboPopup$ItemHandler.itemStateChanged(BasicComboPopup.java:782)
    at javax.swing.JComboBox.fireItemStateChanged(JComboBox.java:1161)
    at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:1218)
    at javax.swing.JComboBox.contentsChanged(JComboBox.java:1265)
    at javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:100)
    at com.memoire.slaf.SlafFileChooserUI$DirectoryComboBoxModel.setSelectedItem(SlafFileChooserUI.java:751)
    at com.memoire.slaf.SlafFileChooserUI$DirectoryComboBoxModel.addItem(SlafFileChooserUI.java:746)
    at com.memoire.slaf.SlafFileChooserUI$DirectoryComboBoxModel.access$500(SlafFileChooserUI.java:665)
    at com.memoire.slaf.SlafFileChooserUI$1.propertyChange(SlafFileChooserUI.java:500)
    at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:264)
    at javax.swing.event.SwingPropertyChangeSupport.firePropertyChange(SwingPropertyChangeSupport.java:232)
    at javax.swing.JComponent.firePropertyChange(JComponent.java:3814)
    at javax.swing.JFileChooser.setCurrentDirectory(JFileChooser.java:541)
    at javax.swing.JFileChooser.<init>(JFileChooser.java:333)
    at com.sun.jnlp.FileOpenServiceImpl$1.run(FileOpenServiceImpl.java:82)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.jnlp.FileOpenServiceImpl.openFileDialog(FileOpenServiceImpl.java:73) at com.wss.calendar.client.swing.InfoHTML.jButtonUpload_actionPerformed(InfoHTML.java:217)
    at com.wss.calendar.client.swing.InfoHTML$3.actionPerformed(InfoHTML.java:146) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
    at java.awt.Component.processMouseEvent(Component.java:5093)
    at java.awt.Component.processEvent(Component.java:4890)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
    at java.awt.Container.dispatchEventImpl(Container.java:1609)
    at java.awt.Window.dispatchEventImpl(Window.java:1585)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:140)
    at java.awt.Dialog.show(Dialog.java:538)
    at java.awt.Component.show(Component.java:1134)
    at java.awt.Component.setVisible(Component.java:1089)
    at com.wss.calendar.client.swing.ScheduleWorldFrame.showInfoView(ScheduleWorldFrame.java:2247)
    at com.wss.calendar.client.swing.ScheduleWorldFrame.jMenuItem14_actionPerformed(ScheduleWorldFrame.java:2226)
    at com.wss.calendar.client.swing.ScheduleWorldFrame$44.actionPerformed(ScheduleWorldFrame.java:1127)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1764)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1817)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:419)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:257)
    at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1109) at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseReleased(BasicMenuItemUI.java:943)
    at java.awt.Component.processMouseEvent(Component.java:5093)
    at java.awt.Component.processEvent(Component.java:4890)
    at java.awt.Container.processEvent(Container.java:1566)
    at java.awt.Component.dispatchEventImpl(Component.java:3598)
    at java.awt.Container.dispatchEventImpl(Container.java:1623)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3450)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3165)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3095)
    at java.awt.Container.dispatchEventImpl(Container.java:1609)
    at java.awt.Window.dispatchEventImpl(Window.java:1585)
    at java.awt.Component.dispatchEvent(Component.java:3439)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:450)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:197)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:144)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:136)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:99)

    Hi,
    I am using jdk1.1.6 and personal oracle 8.0.3.0.0.
    I set my classpath to [home]\jdbc\lib\classes111.zip.
    (I am not sure how to try with thin driver to make sure
    everything else is ok).
    I hope you guys got the information to suggest me some solution
    to the problem below. I would greately appeciate if any help to
    solve the problem..
    Thank you,
    Sreenivas.
    Oracle Product Development Team wrote:
    : Need more information :
    : What JDK are you using ?
    : What is the Server version ?
    : Try with THIN to make sure that everything else is okay
    : Sreenivas Kompelli (guest) wrote:
    : : I have Oracle 8i trial version installed on my NT work
    : station.
    : : After configuring the CLASSPATH and PATH, When I try to run a
    : : sample example from files given (I am just trying to connect
    to
    : : the database using JDBC oracle/oci, and display the EMP
    table).
    : : I am getting a Windows internal Error "Exception: Access
    : : Violation (0xc0000005).
    : : I have no clue what to do.. I would greately appeciate if any
    : : help to solve this problem..
    : : Thanks
    : : Sreenivas
    : Oracle Technology Network
    : http://technet.oracle.com
    null

  • Access violation (0xC0000005) at EIP=0x0534BABC when launching Exe

    Hi All,
    I am facing "Access violation (0xC0000005) at EIP=0x0534BABC" issue when I tried to launch my exe. Earlier versions of the exe were running fine until I added Email notification features using .net SMTP APIs and built it again. 
    System,
    Development and Deployment systems are different. I am able to run source code on both systems and Exe on Developement system. But exe is not working in Deployment system.
    Exception,
    I have attached the sanpshot of crash report pop-up and Log Report of the exception.
    Please help!
    Anandelamaran Duraisamy,
    Senior Project Engineer,
    Soliton Technologies (P) Ltd,
    www.solitontech.com
    Attachments:
    Crash Report.png ‏11 KB
    Crash Report.zip ‏19 KB

    Additional details,
    When I tried "Run as administrator", I could see the exe icon on the task bar for few seconds then it disappears. It basically fails to launch, also I don't get any error message. 
    The Exe is created in development PC which runs 64 bit Window 7 and 32 bit LabVIEW. The deployment system has 32 bit Windows 7 and 32 bit LabVIEW. I hope it doesn't matter as far as my LabVIEW installations are 32 bit in both systems.
    Anandelamaran Duraisamy,
    Senior Project Engineer,
    Soliton Technologies (P) Ltd,
    www.solitontech.com

  • "Access Violation" exception while accessing PDEImage in outside of the class as a parameter

    Hi,
    In our project, we are retrieving PDEImage content from PDF Page by using below line of code in our Plugin project:
    But we are getting "Access Violation" exception while accessing retrieved PDEImage in outside of the class as a parameter.
    This issue is happening only in Windows 8.1 and Acrobat 11 combination.
    If we remove the above highlighted lines from the method then no exception and working fine.
    But we don't know why these lines are added, because we are not updating any of the PDF content here.
    We are planning to remove these highlighted lines from the method.
    We want to know whether the removing of these lines will impact the application.
    Kindly help us to resolve the issue.

    And will removing the lines impact the application? Certainly. If you do not call PDPageReleasePDEContent you will have a memory leak at best, or may prevent other activity from completing (such as saving or closing the file). The first two lines, however, are redundant since you do not seem to be actually changing the page.
    You must call PDPageReleasePDEContent  when you have finished with the content, in every case.

  • CR XI Unhandled exception in crw32.exe Access violation switching printers

    I'm running Crystal Reports Developer 11.0.0.2495. On any report, when I go to page setup and attempt to change the printer to my Dymo 400 Turbo label writer, I get an "unhandled win32 exception occured in crw32.exe [8420]" error. When I go into the debugger it tells me :
    Unhandled exception at 0x6a901e35 in crw32.exe: 0xC0000005: Access violation writing location 0x42747570.
    I have made an exception in the DEP. Any ideas?

    Are you using dual monitor?
    Regards,
    Shweta

  • InitCVIRTE generates error message "Unhandled exception in "MyApp.exe": 0xC0000005: Access violation reading location 0x00000000."

    Hi,
    I have converted a LabWindows CVI project to Visual Studio 2005. When I start the application i debug mode I get the message "Unhandled exception at 0x685662ba in EE352-500V.exe: 0xC0000005: Access violation reading location 0x00000000."
    It comes when the application calls:  InitCVIRTE in this context:
    int __stdcall WinMain (HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow)
    // Initialize LabWindows/CVI run-time library
    if (InitCVIRTE (hInstance, 0, 0) == 0)
    return -1; /* out of memory */
    The debugger indicates that value of hInstance is 0x00400000 {unused=9460301} 
    Can someone give me a solution to this problem. I have done some search on the Web without success.
    Thanks!

    I think that exception might be coming from the data execution prevention service that is part of Win XP SP2.  The OS thinks that you're somehow trying to execute in the data segment and kills the process.  It's intended to catch worms and viruses.
    You can turn this service off for non-Microsoft programs using the control panel.
    Many pointer handling errors now report as this exception instead of as a memory violation exception.  That looks like a null pointer derefence to me.
    Menchar
    Message Edited by menchar on 11-09-2007 07:12 PM

Maybe you are looking for

  • OnRowUpdating Event not firing in my DataGrid in custom web part in my production SharePoint 2013 Foundation instance

    Hi, I have a custom visual web part that I've developed for SharePoint 2013 Foundation.  I am using Visual Studio 2013 to develop this web part.  In my visual web part I have GridView that I use to update data in a SQL 2008 R@ Server Database.  In de

  • How to Order a Source Table ???

    How can I do if I have to order the select of my source table ??? I have try to put an order by on the same filter than my filter but it is build with parenthesis if I put an filter with : COL1='3' ORDER BY COL2 it's build like Select ... where ((COL

  • Auto sum Column accumulated value in gridview

    The principle seems simple but I'm in trouble. Did anyone have an example or script to auto sum of a column in the gridview. Explain, I have a gridview with the columns: amount, unitary value, total value and accumulated value. I need the accumulated

  • OBIEE on InfiniDB

    Hi, I am experimenting with OBIEE on InfiniDB and I experience the following interesting situation. First my setup : - OBIEE 11.1.5 - ODBC : MySQL ODBC 5.1 Driver Version: 05.01.0009 - DB : Calpont InfiniDB 2.2 InfiniDB is accessed via ODBC using the

  • Premiere Crashes on opening. How do I repair?

    I have the full CS4 master Collection installed. Premiere suddenly will not open and I get a crash report each time I try. I've done all the obvious things; cleanups, re-boots, registry clean, etc. All other Adobe programmes are fine. I've turned to