ACCESS VIOLATION calling SQLPEX - SQLLIBSHRA.EXE

This is a problem for OpenVMS / Oracle Experts
I have quit an old large legacy system to integrate - actually migrating away from a CORBA based communication backbone to a webservice AXIS2/Java based backbone using HP's WSIT e all, and yes - this legacy uses an old Oracle 7.3
The OS is HP OpenVMS / Alpha V 7.3-n,
When I link all my native code together the process launched through Java JNI is a "NETWORK" detached process which should do a DB_Connect via SQLPEX (ctx, sqlstm );
The layers involved are like that; AXIS2/J webservice -> WSIT-javaBean ->
JVM -> JNI -> SPg-Server.c (an wsit outer-wrapper) -> SPg-Legacy.c(my inner wrapper) -> SPS_WRAPPER.PAS (the inner-most wrapper / dispatcher) -> Business-logic-*.PAS -> DataBaseAccess.PAS
(the database access code was generated by LNPROPAS from statements like EXEC SQL CONNECT .... etc.)
When I exchange my SPS_WRAPPER.PAS WRAP() by a TestWrapper.PAS WRAP() which bypasses all business logic, SQLPEX(ctx, sqlstm); works perfectly and the database opens, in fact, a new detached second process is launched as ORA_nnnnn and my detached integrated web service process communicates nicely via MailBox Devices.
However when I link in my original legacy code, LINK is fine, and all my business code runs fine when it gets called from the WRAP(), BUT I get an ACCESS VIOLATION as soon as SQLPEX() is called to connect to the Database.
I can not debug because the code which does the access violation, for what ever reason, is in SQLLIBSHRA.EXE, and invoked when I call sqlpex( ctx, sqlstm )
Maybe there is ONLY a resource problem, but why then an ACCESS VIOLAITION and yes, which resource to we have to make bigger. SYSGEN Parameters, autogen feedback did not help.
I am not an Oracle Expert, so I do not know what and how I can make ORACLE tracing and logging and show me why I get this acess violation in a pice of code which runs nicely since 10 years in a CORBA environment, also runs nicely when my business logic is bypassed.
And yes: ORA_ROOT:[000000.NETWORK.ADMIN]ORASRV_BEQ_A.COM
is not hit / called when it comes to the access violation.
Any hints are welcome before I have to jump into machine code debugging without a source listing.
[email protected]

This problem was caused by a user-stack-heap-code-collision
PTHREAD applications may not do aoutomatic stack size expansions on a per thread basis and hence an access violation deep in long-time-running code is very likely to occure. (code which does not belong to YOU, for which you know it runs basically since 10 years, which migth not be supported any longer by the vendor)
solution: WSIT (webservice integration toolkit) by default assignes 30000 bytes for each threads user-stack-size, can be adjusted in the .WSI deployment descriptor file; Now running at 60'000. WSIT V3.0 will allow for single threaded legacy server integration and have a automatic stack size expansion supported when running in this mode. (as per HP)
[email protected]

Similar Messages

  • Access violation error message 'WMP54GSv1_1.exe'

    Hi,
    Each time I start my Compaq Presario, I get the following Error message: "Access violation at address 004A55F7 in module ‘WMP54GSv1_1.exe’. Read of address 00000000." I cannot view wireless networks or access internet.
    I have a Linksys wireless card in my PC and it just came back from HP for faulty on/off switch servicing.
    How do I rememdy this situation?
    Thanks!!
    TJ

    The drivers you need to download are your correct product model number and version which you may find underneath the card itself on one of the stickers... or with the card box (if you still have it)
    After you have downloaded them, just 1st transfer them into the non-working PC... the file might be zipped... so you might need to unzip them first...  you then uninstall the card from the PC... either go to add/remove programs and add/remove hardware....
    Then restart the PC... after you restart it, you will probably be prompted for a "found new hardware wizard"... just go through the process... if it asks your for the drivers.. select "specify a location and specify the folder where you actually unzipped the files...
    Sounds lengthy I know...

  • Access Violation calling GetMethodId

    Hi !
    I'm getting an access violation on the jvm.dll when trying to execute a call from the native side. Well, in fact, the exception is raised when a try to get the method reference, by calling GetMethodId ().
    The _javaClass variable is a class attribute and is correctly initialized since I'm being able to execute other calls.
    Can somebody help me, please ?
    This is the code:
    void JavaBridge::pushJava (const char* str)
    // To java push
    // Get some variables
    jmethodID javaMethod;
    jstring javaString;
    // Get the string     
    javaString = _env->NewStringUTF(str);
    if (javaString == 0) {
    JCB_ERROR ("JavaBridge::pushJava: Out of memory...");
    return;
    // Get the process() method
    javaMethod = env->GetMethodID(javaClass, "process", "(Ljava/lang/String;)V");
    if (javaMethod == 0) {
    JCB_ERROR ("Can't find CppBridge's process() method.");
    return;
    // Call it
    env->CallVoidMethod (javaObject, javaMethod, javaString);

    I think your class reference is null.

  • Access violation flash10l.ocx (CP4 exe)

    I get the error access violation flash10l.ocx when running an exe published from CP4. We've tried exporting it as Flash 10, Flash 9, and Flash 8... We've tried reverting to Flash Player 10.1 (works! but when we udate to the latest Flash Player it crashes again and I know my customers will continually update Flash Player, so we need to make it not crash with the current Flash Player.)
    Aaron

    Hi,
    One option is to NOT use ActiveX, they are not multi-platform and difficult to use with Java. (You said you have wrote the ActiveX : write a library instead).
    if(Is your OCX working well with a M$ language ?) {
    Try an other Bridge, they are many (free and commercial).
    Free ones I know : SWT, Jacob, Jawin with no preference order.
    } else {
    debug your OCX;
    }

  • Access violation with iisforward.dll

    I am trying to connect to weblogic through iis4.0. Have installed the iis plugin correctly. I can proxy by extension correctly but need proxying by path. When i register the isapi filter iisforward.dll, I get a access violation and the inetinfo.exe crashes. What can be the problem here?config: NT4.0 / WL5.1SP6 / IIS 4.0No other isapi plugins used.

    Well, to start, you are aware that Win2003 and IE7 are very old and generally speaking probably no longer supported by Microsoft (unless you have extended support)? I bring this up not because I care that you are using software that is 10 years old, but because it is important to realize that at some point old software and new software simply won't play well together.
    I would suggest you do the following:
    1. Close ALL open browser and uninstall ALL installed JRE versions
    2. If you are using Adobe Acrobat Reader to open your pdf files, uninstall it.
    3. Ensure that you have installed all of the latest Windows (Microsoft) updates which are available. This can be determined by going to the Microsoft Update page. Here is the URL:
    http://www.update.microsoft.com/microsoftupdate/v6/default.aspx
    4. If any updates are installed, reboot regardless of the instructions provided by the update.
    5. After rebooting, install the latest Adobe Acrobat Reader from the Adobe.com website.
    6. Download JRE 1.6.0_37. You can download it from Oracle here:
    http://www.oracle.com/technetwork/java/javase/downloads/jre6u37-downloads-1859589.html
    Before attempting to install the JRE, close ALL open browser.
    7. Now retest.
    If the problem continues to reproduce, I would recommend you do some basic troubleshooting and ask youself some obvious questions. For example:
    <blockquote><li>Does the problem reproduce on any other machine? If not, what is the difference between the machines?
    <li>Did this ever reproduce before? If so, what has changed?
    <li>Does this reproduce with any other application that accesses the pdf viewer? If not, what is unique about the way in which your app uses it?
    <li>And so on....</blockquote>

  • Access Violation in LibSQLDBC

    With LIBSQLDBC 7.7.07.33
    Hello
    LibSQLDBC throw an access violation in this following case.
    My process opens a recordset an for each record, it applies a function, this treatment can take more than 900 s. The default connection timeout.
    When treatment take more than 900, LibSQLDBC throw an acces violation.
    The reason is that next fonction calls dropGarbageLongDescriptors, and it close the connection. The calling sqlaexecute continue BUT the m_requestpacket connection member is NULL and the next call to getRequestPacket failed.
    I workaround the issue by increasing connection timeout.
    The call to next close the connection :
    libSQLDBC!IFR_Connection::close
    libSQLDBC!IFR_Connection::sqlaexecute+0x4ea
    libSQLDBC!IFR_Connection::sqlaexecute+0x1b1
    libSQLDBC!IFR_Connection::dropGarbageLongDescriptors+0x1da
    libSQLDBC!IFR_Connection::sqlaexecute+0xd5
    libSQLDBC!IFR_FetchInfo::executeFetchCommand+0x43c
    libSQLDBC!IFR_FetchInfo::executeFetchRelative+0x1a1
    libSQLDBC!IFR_ResultSet::fetchNextChunk+0xb3
    libSQLDBC!IFR_ResultSet::mfNext+0x15c
    libSQLDBC!IFR_ResultSet::next+0x2c5
    libSQLDBC!SQLDBC::SQLDBC_ResultSet::next+0x3a
    DBManage35!CMaxDBRowset::GetRows+0xc5
    DBManage35!CMaxDBRowset::GetNextRows+0x1d
    DBManage35!CStorageRecordset::MoveNext+0xab
    DBManage35!virtualRecordset::MoveNext+0x40
    DBManage35!CDBRecordset::MoveNext+0xa8
    ArcTools!IDBRecordset::MoveNext+0xa
    ArcTools!CArcCompress::CompressRecordsInternal+0x84f
    ArcTools!CArcCompress::Compress+0x784
    ArcTools!CEskerArchive::ExportMessagesInternal+0x16b
    Access violation call stack :
    libSQLDBC!IFRPacket_RequestPacket::assign+0x17
    libSQLDBC!IFR_Connection::getRequestPacket+0x3bd
    libSQLDBC!IFR_Connection::sqlaexecute+0x12a
    libSQLDBC!IFR_FetchInfo::executeFetchCommand+0x43c
    libSQLDBC!IFR_FetchInfo::executeFetchRelative+0x1a1
    libSQLDBC!IFR_ResultSet::fetchNextChunk+0xb3
    libSQLDBC!IFR_ResultSet::mfNext+0x15c
    libSQLDBC!IFR_ResultSet::next+0x2c5
    libSQLDBC!SQLDBC::SQLDBC_ResultSet::next+0x3a
    DBManage35!CMaxDBRowset::GetRows+0xc5
    DBManage35!CMaxDBRowset::GetNextRows+0x1d
    DBManage35!CStorageRecordset::MoveNext+0xab
    DBManage35!virtualRecordset::MoveNext+0x40
    DBManage35!CDBRecordset::MoveNext+0xa8
    ArcTools!IDBRecordset::MoveNext+0xa
    ArcTools!CArcCompress::CompressRecordsInternal+0x84f
    ArcTools!CArcCompress::Compress+0x784
    ArcTools!CEskerArchive::ExportMessagesInternal+0x16b
    ArcTools!CEskerArchive::ExportMessagesEx+0xb2
    WARNING: Frame IP not in any known module. Following frames may be wrong.
    0x451d7d3
    mscorlib_ni+0x2c0bdc
    0x451d057
    System_Core_ni+0x1a8ab1
    clr!PreStubWorker+0x15d
    Yann.

    Hello Yann,
    thanks for reporting this bug I have made an error entry in our bug tracking system.
    After replication you can check the state by this link
    http://sapdb.org/webpts?wptsdetail=yes&ErrorType=0&ErrorID=1240790
    Regards,
    Burkhard

  • 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

  • Access violation at 0x6d801017 in java.exe

    History, so you can guess why it bothers me at all:
    When debugging the C++ part of my JNI application occasionally an error
    First-chance exception at 0x6d801017 in javaw.exe: 0xC0000005: Access violation writing location 0x003e0d00.
    pops up in Visual Studio.
    There's no usable call stack, and it happens occasionally only. Ignoring does not seem to hurt anything.
    By reducing everything suspicious and trying to find the trigger for this access violation, I noticed it does not have anything to do with my native code. I don't need to reference any native method or even load my library at all.
    But it seems to be related to Garbage Collection.
    My test now looks like this:
    public class TestGCException {
         public static void main(String[] args) {
              TestGCOnly();
         final static Runtime rt=Runtime.getRuntime();
         static String runFinalize() {
              // can be embedded in code or in Expressions window to be run at every debug step
              rt.runFinalization();
              rt.gc();
              return "Finalized at " + (new java.util.Date(System.currentTimeMillis()));     
         public static void TestGCOnly() {
              //java.util.Properties sysProps = System.getProperties();
              //sysProps.list(System.out);
              try {
                   System.out.print("Press <Enter> after Attach to process javaw.exe :");
                   System.in.read();
              } catch(java.io.IOException iox){};
              System.out.println("Starting Test");
              try {
                   int loops = 5;
                   while (loops-- > 0) {
                        for (int i = 0; i < 100; i++) {
                                  Long l = new Long(123456789);
                                  Long l2 = -l;
                                  l = l2 * 2;  // just to avoid "never read" warnings in Eclipse
                             Thread.sleep(3);
                             runFinalize();
                        runFinalize();
                        System.out.print(".");
              } catch (InterruptedException e) {
                   System.out.print("!");
              System.out.println(" Done");
    } It runs fine, but Visual Studio 2008, when attached, reports about 20 such access violations in those 500 loops.
    If interesting, here are some of the System Properties:
    os.name=Windows XP
    os.arch=x86
    java.vm.name=Java HotSpot(TM) Client VM
    java.vm.version=14.0-b16
    java.runtime.version=1.6.0_14-b08
    java.vendor=Sun Microsystems Inc. (: that's why I post here :)Usually I run it in Eclipse Ganymede, but that behavior also shows up when run from a command prompt like
         java -cp . TestGCException
    Is there more to say than "Ignore that message, and try to avoid (debugging) native code " ?
    Edited by: DataFiddler on Sep 25, 2009 8:45 AM

    I have the same problem. I tried several versions of the JVM: update 1, 7, 16 and 17.
    Access violations are raised at what seems to be random times. I tried your repro above and can confirm access violations are raised.
    Because the JVM handles (and swallows) these errors, I can't debug DLL components accessed through JNI in an optimal manner, since this disturbs the VC++ debugger. If my code does an access violation, the debugger won't tell me where - the application just stops, and the debugging session ends.
    Worse, we want to trap all system exceptions in our application in order to make sure we close database connexions properly and release locks, but we can't, as we cannot detect whether an access violation is expected (JVM) or not (our code).

  • Java.exe Access Violation Error(URGENT)

    Hi all,
    I have created a application for my company. This application requires a user to login into the site by giving his userid/pwd. Once the person logs into the site, there is this error "Java.exe Access Violation Error" which pops up and terminates the Web Server.
    My Login page is a HTML page which inturns calls a Jsp which authenticates the user.Once the authentication is completed, the user id is put into the session so i can check for the existence of user session on each subsequent page. After the user successfully logs in, the error pops up.
    Please get back to me incase u have ever encountered this error and what might be the solution.
    I am using Tomcat Webserver 3.2.3, Sql Server 7.0 as the Database Server, JDK1.3 .
    Regards,
    Yatin

    As far as i remember i faced this problem when the memory of my pc was broken. So it may not be a problem of java or html code.

  • 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.

  • 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

  • Java.exe crashing with Dr Watson access violation at address 500bf974

    We have been sucessfully runing an application delveloped with JDK 1.2.2 on a Pentium III machine with Windows NT 4 SP5 (384Mb RAM). I have replaced the Pentium III machine with a pentium 4 with 1Gb RAM (still running NT4 SP5). In fact, I simply took the HDD out of the PIII and installed it in the P4.
    All applications work correctly (Sybiz Vision, MS Office 97 suite), however, when I go to run the java application is crashes and a Dr Watson Access Violation in java.exe error is generated.
    I have:
    1. Reinstalled the JDK 1.2.2.
    2. Confirmed that all hardware drivers (new NIC, Video and Sound Card) were updated with the appropriate versions from the hardware suppliers web pages.
    3. Read thru previous posts on this site (and others) for similar errors, but have only been able to find similar questions.
    4. Lowered the video card display colours to 256 rather than 65,536.
    None of the above have made any difference.
    I hope this question will prompt the java/Dr Watson gurus out there to help me resolve this frustrating problem.
    Thanks in anticipation.
    Greg

    Consider getting 1.2.2_014, or whatever is the latest version of 1.2.2. I think there were some issues with Pentium IV processors which were fixed in one of the later incarnations of the JDK.
    You can get the latest version of 1.2.2 from the following url:
    http://java.sun.com/products/jdk/1.2/download.html

  • Access violation at address 0041B7D6 in module AcrobatPro_11_Web_WWMUI.exe Read of access 00000008

    When installing Acrobat Pro, I receive these errors:
    EAccess violation in module AcrobatPro_11_Web_WWMUI.exe at 0001B7D6
    access violation at address 0041B7D6 in module AcrobatPro_11_Web_WWMUI.exe Read of access 00000008
    The program will not run.
    Help?

    Sounds like you have a corrupt file and need to download again. As large as the download is, it is not surprising that an error occurs.

  • Access violation (0xC0000005) at EIP=0x012B60E6 within a dynamically called VI

    Hi
    I have been seeing Access violation (0xC0000005) at EIP=0x012B60E6 within a dynamically called VI.
    The VI is called by reference and is strictly typed.
    The VI controls a function generator, a robot and a microcontroller device.
    All of the above are synchronised using functional globals.
    If I let the code run the FG will operate so I know the top level dynamic VI has defiantly been called and successfully entered, however within that VI as other VI’s are called (there are many) LV crashes with access violation.
    The VI's within the top level VI are using HiD communicatiuoins over USB with the peripheral instrumants.
    The LV crashes are totally random and sometimes the code will operate until the end and close down successfully.
    I can only seem to guarantee smooth operation if I set a breakpoint within the top level VI, then the entire system runs perfectly.
    In fact it seems that even if I remove the breakpoint (after the first break) and close the VI the system will continue to run until close.
    Has anyone any ideas? I have run out!

    Hi MAC1,
    I have been looking at your issue and wanted to ask if you are calling the VI's into Teststand, using the LabVIEW adapter?
    If this is the case, it may be worth looking at another forum post regarding the issue.
    LabVIEW Access Violations- Teststand
    I am currently looking into what could have caused this access violation. 
    If you could provide any further information in regards to the top level VI or if you could post it on here, that would be really useful.
    Regards,
    Dom C

  • 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

Maybe you are looking for

  • Lightroom 5.3 problems, downloading through Creative Cloud.

    Lightroom 5.3 problems, downloading through Creative Cloud.  Error 1624 ERROR: Install MSI payload failed with error: 1624 - Error applying transforms. Verify that the specified transform paths are valid. MSI Error message: ERROR: Third party payload

  • Am I able to link a photo in a lightbox, to another different lightbox?

    I am working on a furniture website for my work. I have various main pages- Chairs, Barstools, etc.... I am working in the chair page (which has all the chairs under a tabbed accordion panel according to the series name) When clicking on a certain ch

  • Transferring video from still camera

    I have taken some 30-40 minute videos with my Nikon still camera. I am unable to download these too my MacBook. I have tried image capture, iPhoto & Nikon's picture transfer software with no success. Pictures & smaller video (1-2 minutes) download pe

  • Latest Version of Player not playing YouTube videos to end.

    Version 11,4,402,287 on Chrome and Safari play YouTube video short of end. 1080p is like 15 sec from end, 720p plays to 10 sec from end, 480p to end or just short of end. Seems like a buffering problem. But Version 11,5,31,101 on Chrome Canary plays

  • Editing pics in IPhoto

    This just started happening - When I try to edit a photo in IPhoto and select that photo it enlarges but the edit button is grayed out.  Why? Previously I have had no issues and editing (enhancing) was easy.  I can go to View - full screen ......and