精华内容
下载资源
问答
  • 创建视图的语句是设置了 WITH CHECK OPTION 这个条件;...CREATE OR REPLACE VIEW RZ_TST_VIEW AS WHERE SELECT * FROM RZ_TST WHERE CARDID=12345 OR CARDID=12347 WITH CHECK OPTION; 创建成功之后如图所示...

    创建视图的语句是设置了 WITH CHECK OPTION 这个条件;

    创建视图时,sql语句是这样写的:

    CREATE  OR  REPLACE  VIEW  RZ_TST_VIEW AS WHERE SELECT * FROM RZ_TST   WHERE CARDID=12345 OR CARDID=12347    WITH CHECK OPTION;

    创建成功之后如图所示:

    这个时候再进行插入操作的时候,报了如上图的错误,SQL语句如下:

    INSERT INTO RZ_TST_VIEW (CARDID,NAME,ADDRESS,WDATE,SALARY,TXT)VALUES(1234578,'王麻子','幸福大街欸王五三号',to_date(sysdate),20084,'试图约束测试');

    分析如下:创建试图的时候,由于自己加了限制条件CARDID=12345 OR CARDID=12347,所以,在进行新增的时候,发现新增不进去,由于新增的条件CARDID=1234578

    导致发现假如新增成功以后,视图是没有办法根据现有的查询条件CARDID=12345 OR CARDID=12347查询出来咱们新增加的这一条数据,所以是错误的,所以在加了这个条件之后,如果添加的数据不符合之前在创建视图的时候所查询的条件,是不允许被插进去的!

    解决办法:如果非要插入进去,可以先删除原有的数据,SQL如下:

    DELETE FROM RZ_TST_VIEW WHERE CARDID=12345;

    再进行重新插入:INSERT INTO RZ_TST_VIEW (CARDID,NAME,ADDRESS,WDATE,SALARY,TXT)VALUES(12345,'王麻子','幸福大街欸王五三号',null,20084,'试图约束测试');

    插入成功;

    在更新操作的时候,是不允许更新成查询不出来的数据的,比如将CARDID=12233,更新是不被允许的;

    总结:任何操作在完成后,都应该符合创建视图所规定的,即应该是可见的,可以根据创建的条件被查询出来的,否则将是不被允许的;

     

    转载于:https://www.cnblogs.com/qiaohechen/p/11383096.html

    展开全文
  • Access Violation

    千次阅读 2019-07-31 09:52:19
    当你运行程式得到了一个AV(Access Violation)错误的时候,这意味着你的程式正在试图访问一块不再有效的内存,请注意我所提到的“不再 ”有效。大多数的情况下,出现这个错误要么是因为你试图访问一块已经被释放的内存,...

    当你运行程式得到了一个AV(Access Violation)错误的时候,这意味着你的程式正在试图访问一块不再有效的内存,请注意我所提到的“不再 ”有效。大多数的情况下,出现这个错误要么是因为你试图访问一块已经被释放的内存,要么是想使用一个还未创建对象的指针。

        幸运的是:Win32的内存体系在不同的进程(Process)间使用了独立的地址空间。所以我们可以不必担心会访问到其他的进程中的地址空间而造成破坏,(在Win 16下就有这种潜在的危险).这也就意味着我们能够正确的利用错误对话框中的信息。

        当我们得到一个AV错误对话框的时候,将会出现例如:Av at ddress ????的字样。这个时候把这个地址写下来(如图为:0X4006A620),回到程序中并且打开调试用的CPU窗口,右键选择"Goto Address",你将会发现出错的信息结构。

        当然CPU窗口都是以汇编语言(Assembly)出现的.你可能对此不大熟悉。于是你就可以在窗口中滚动看看到底是哪个函数(funtion)调用了它。这样你就可以在这个地方设置断点了(breakpoint).

    不幸的是,不是每个错误都是这么容易的捕捉到的。相对而言。指针问题是很难调试的。这里有个常规的法则就是:在删除指针指向的对象以后。请将它置为NULL 。因此在调用的时候你可以先看看这个指针是否为NULL,如果是NULL,你可以在这个地方输出一些调试信息以方便你在发生AV错误的时候能精确的找到这个地方。

        在VC中调试程序时,Output窗口有时会出现“First-chance exception in xxx.exe...”这样的信息。一般来说,这是由于程序中发生了异常,被VC捕获而产生的输出。
      在调试器中运行程序时,如果程序产生异常,调试器会首先获得通知(即First-chance exception),而后此异常由产生它的程序负责捕获。如果程序没有捕获此异常,那么调试器会再次被通知(即Second-chance exception,Last-chance exception),并结束程序。
     通常见到的“First-chance exception”一般是“0xC0000005: Access Violation”,“0xC00000FD: Stack Overflow”等,这些都说明程序中有缺陷,需要修正。
      但是也有一些属于正常的情况,例如“First-chance exception in xxx.exe (KERNEL32.DLL): 0xE06D7363: Microsoft C++ Exception”。Windows 操作系统中广泛使用了结构化异常(SEH)来处理特殊情况,许多和底层打交道的API都靠SEH来处理可能发生的意外。并且,这些API中都有捕获SEH 的代码,产生的异常不会对程序造成影响。但是由于上面提到的“First-chance exception,Second-chance exception”机制,VC仍然会有输出,但是我们完全可以忽略。如果你实在不喜欢这些输出信息,那你就必须禁用对特定异常的“First- chance exception”捕获。

        在调试状态下,打开debug菜单下的exception对话框,把access violation异常的action改成stop always,这时再出现异常,调试器就会弹出一个对话框报告这个异常,并在异常发生处停下来,而不仅仅是在output窗口中报告first- chance exception,这有助于你定位异常位置。


    在编写自己的dll程序的时候,先开始在调用dll的exe上出现 (AVIDLL.DLL): 0xC0000005: Access Violation,不是很明白,为什么会出现这个问题。

    在内部进行调试的时候发现,是调用了new操作符的缘故。

    很不理解,在dll中调用new操作符会出现这么一个问题,网络上搜索,在微软msdn论坛(具体地址:http://forums.msdn.microsoft.com/zh-CN/vclanguage/thread/951a04be-6b52-4617-b396-9c35e3755759/)上搜索到相关问题。

    于是按照说明,将dll的生成方式修改为"共享mfc方式"

             project properties -> general -> Project Defaults->Use of MFC
             To set the properties "Use MFC In A Shared DLL "

     

    另外,在网上也发现另外一篇,console方面的, 解决办法:使用c   runtime   library的动态链接版本(在你的console工程中设置忽略所有的默认链接库,然后链接到msvcrt.lib就可以了)(具体地址:http://www.poptool.net/software/p606/A60674501.shtml

     

    调试,发现问题解决


    在使用C++ Builder的调用VC的DLL的时候遇到了'Access violation at address xxx'的错误,以下是测试程序:

     

    C++ Builder代码:

    ?
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    //---------------------------------------------------------------------------
     
    #include <stdio.h>
    #include <windows.h>
     
    #pragma hdrstop
     
    //---------------------------------------------------------------------------
    int  __stdcall (*add)( int , int );
    int  __stdcall (*sub)( int , int );
     
    #pragma argsused
    int  main( int  argc, char * argv[])
    {
             HMODULE handle = LoadLibrary( "AddFunc.dll" );
             add = GetProcAddress(handle, "Add" );
             sub = GetProcAddress(handle, "Sub" );
     
             printf( "2+3=%d\n" , add(2, 3));
             printf( "100-30=%d\n" , sub(100, 30));
     
             FreeLibrary(handle);
             getchar();
             return  0;
    }
    //---------------------------------------------------------------------------
    ?
    1
      
    ?
    1
      
    ?
    1
    DLL代码:
    ?
    1
    .h:
    ?
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    // The following ifdef block is the standard way of creating macros which make exporting
    // from a DLL simpler. All files within this DLL are compiled with the ADDFUNC_EXPORTS
    // symbol defined on the command line. this symbol should not be defined on any project
    // that uses this DLL. This way any other project whose source files include this file see
    // ADDFUNC_API functions as being imported from a DLL, whereas this DLL sees symbols
    // defined with this macro as being exported.
    #ifdef ADDFUNC_EXPORTS
    #define ADDFUNC_API extern "C" __declspec(dllexport)
    #else
    #define ADDFUNC_API extern "C" __declspec(dllimport)
    #endif
     
     
    ADDFUNC_API int  Add( int  a, int  b);
     
    ADDFUNC_API int  Sub( int  a, int  b);

     

    .c:

    ?
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    // AddFunc.cpp : Defines the exported functions for the DLL application.
    //
     
    #include "stdafx.h"
    #include "AddFunc.h"
     
     
    ADDFUNC_API int  Add( int  a, int  b)
    {
         return  (a + b);
    }
     
    ADDFUNC_API int  Sub( int  a, int  b)
    {
         return  (a - b);
    }
    ?
    1
      

    于是调用就出现了该异常,经过查阅资料得知VC的DLL在export的时候要加上__stdcall的修饰,强制使用WINAPI的导出方式,对两个函数修改为(.h, .c):

    ?
    1
    2
    3
    ADDFUNC_API int  __stdcall Add( int  a, int  b);
     
    ADDFUNC_API int  __stdcall Sub( int  a, int  b);

     

    结果发现导出的函数发生了变化_Add@4__Sub@4,解决方法是在VC工程中加入一个AddFunc.def,内容如下:

    ?
    1
    2
    3
    4
    5
    LIBRARY    "AddFunc"
     
    EXPORTS
    Add @ 1
    Sub @ 2

     

    至此,解决问题。


    转载于:https://www.cnblogs.com/yefengmeander/archive/2013/01/29/2887524.html

    展开全文
  • </li><li>Delete violating rows (delete from t1 where a = 1), now table is empty</li><li>Create primary key on column a, fails with duplicate error (a=1);</li></ul> <p>I believe this is due to ...
  • <p>1) I changed the config to make the stack size in a bit bag 2048 (from 512) 2) Updated DW20 pack to 2.1 (note that this reverted my change to the config 3) I started getting Exception Access ...
  • EXCEPTION_ACCESS_VIOLATION异常

    千次阅读 2019-08-10 18:30:06
    with MS VC ++ 7.1 8 9 time: Thu Jun 24 08 : 24 : 49 2010 10 elapsed time: 81554 seconds     详细错误信息描述: 详细错误信息 1 # 2 # An unexpected error has ...

    先记录下来,暂时还没有解决,

    开发环境:Tomcat6+eclipse3.5+JDK6

    问题描述:Tomcat6在eclipse3.5中没有任何反应,停止服务器,出现如下错误.原因未知.

    原因猜测:这种错误由于第一次出现,也不频繁,环境没有任何改动,软件没有升过级,JAVA程序也没有跑,怀疑可能是太长时间没有关过机了- -!.约有3个星期了

     

     

    ContractedBlock.gif ExpandedBlockStart.gif 错误信息
    
       
    1 #
    2 # An unexpected error has been detected by Java Runtime Environment:
    3 #
    4 # EXCEPTION_ACCESS_VIOLATION ( 0xc0000005 ) at pc = 0x100045c7 , pid = 4872 , tid = 5476
    5 #
    6 # Java VM: Java HotSpot(TM) Client VM ( 11.0 - b15 mixed mode, sharing windows - x86)
    7 # Problematic frame:
    8 # C [tcnative - 1 .dll + 0x45c7 ]
    9 #
    10 # If you would like to submit a bug report, please visit:
    11 # http: // java.sun.com/webapps/bugreport/crash.jsp
    12   # The crash happened outside the Java Virtual Machine in native code.
    13 # See problematic frame for where to report the bug.
    14 #

     

     

     

    ContractedBlock.gif ExpandedBlockStart.gif 系统信息
    
       
    1 OS: Windows XP Build 2600 Service Pack 2
    2
    3 CPU:total 4 ( 4 cores per cpu, 1 threads per core) family 6 model 7 stepping 10 , cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    4
    5 Memory: 4k page, physical 2097151k(1245856k free), swap 4194303k(2999164k free)
    6
    7 vm_info: Java HotSpot(TM) Client VM ( 11.0 - b15) for windows - x86 JRE ( 1.6 .0_10 - rc2 - b32), built on Sep 12 2008 00 : 52 : 11 by " java_re " with MS VC ++ 7.1
    8
    9 time: Thu Jun 24 08 : 24 : 49 2010
    10 elapsed time: 81554 seconds

     

     

    详细错误信息描述:

    ContractedBlock.gif ExpandedBlockStart.gif 详细错误信息
    
       
    1 #
    2 # An unexpected error has been detected by Java Runtime Environment:
    3 #
    4 # EXCEPTION_ACCESS_VIOLATION ( 0xc0000005 ) at pc = 0x100045c7 , pid = 4872 , tid = 5476
    5 #
    6 # Java VM: Java HotSpot(TM) Client VM ( 11.0 - b15 mixed mode, sharing windows - x86)
    7 # Problematic frame:
    8 # C [tcnative - 1 .dll + 0x45c7 ]
    9 #
    10 # If you would like to submit a bug report, please visit:
    11 # http: // java.sun.com/webapps/bugreport/crash.jsp
    12   # The crash happened outside the Java Virtual Machine in native code.
    13 # See problematic frame for where to report the bug.
    14 #
    15
    16   --------------- T H R E A D ---------------
    17
    18 Current thread ( 0x03181400 ): JavaThread " ajp-8009-Acceptor-0 " daemon [_thread_in_native, id = 5476 , stack( 0x04700000 , 0x04750000 )]
    19
    20 siginfo: ExceptionCode = 0xc0000005 , reading address 0x034c92e8
    21
    22 Registers:
    23 EAX = 0x040d6568 , EBX = 0x034c92e0 , ECX = 0x0474fbe4 , EDX = 0x00000004
    24 ESP = 0x0474fa58 , EBP = 0x0474fa68 , ESI = 0x040d65a8 , EDI = 0x03181400
    25 EIP = 0x100045c7 , EFLAGS = 0x00010202
    26
    27 Top of Stack: (sp = 0x0474fa58 )
    28   0x0474fa58 : 26dd95c8 26dd95d0 00000000 040d6568
    29   0x0474fa68 : 0474faac 00969d11 03181514 0474fab4
    30   0x0474fa78 : 034c92e0 00000000 00840360 000000a0
    31   0x0474fa88 : 00000fa0 0474fa8c 26dc5e58 0474fac0
    32   0x0474fa98 : 26dc6e48 00000000 26dc5e60 00000000
    33 0x0474faa8 : 0474fabc 0474fae4 00962e83 26dc6de8
    34 0x0474fab8 : 00968189 034c92e0 00000000 0474fac4
    35 0x0474fac8 : 272397a0 0474faf4 27239a48 00000000
    36
    37 Instructions: (pc = 0x100045c7 )
    38 0x100045b7 : 52 e8 93 d1 ff ff 83 c4 08 8b 45 fc 85 c0 74 0d
    39 0x100045c7 : 8b 4b 08 85 c9 74 06 50 e8 cc af 00 00 33 c0 5e
    40
    41
    42 Stack: [ 0x04700000 , 0x04750000 ], sp = 0x0474fa58 , free space = 318k
    43 Native frames: (J = compiled Java code, j = interpreted, Vv = VM code, C = native code)
    44 C [tcnative - 1 .dll + 0x45c7 ]
    45 j org.apache.tomcat.jni.Socket.accept(J)J + 0
    46 j org.apache.tomcat.util.net.AprEndpoint$Acceptor.run()V + 40
    47 j java.lang.Thread.run()V + 11
    48 v ~ StubRoutines::call_stub
    49
    50 Java frames: (J = compiled Java code, j = interpreted, Vv = VM code)
    51 j org.apache.tomcat.jni.Socket.accept(J)J + 0
    52 j org.apache.tomcat.util.net.AprEndpoint$Acceptor.run()V + 40
    53 j java.lang.Thread.run()V + 11
    54 v ~ StubRoutines::call_stub
    55
    56 --------------- P R O C E S S ---------------
    57
    58 Java Threads: ( => current thread )
    59 0x02ed6c00 JavaThread " http-8080-6 " daemon [_thread_blocked, id = 5040 , stack( 0x048f0000 , 0x04940000 )]
    60 0x02b57c00 JavaThread " http-8080-5 " daemon [_thread_blocked, id = 6064 , stack( 0x048a0000 , 0x048f0000 )]
    61 0x0307d400 JavaThread " http-8080-4 " daemon [_thread_blocked, id = 2752 , stack( 0x04850000 , 0x048a0000 )]
    62 0x02b19400 JavaThread " http-8080-3 " daemon [_thread_blocked, id = 5292 , stack( 0x04800000 , 0x04850000 )]
    63 0x02f25800 JavaThread " http-8080-2 " daemon [_thread_blocked, id = 4352 , stack( 0x047b0000 , 0x04800000 )]
    64 0x03190400 JavaThread " http-8080-1 " daemon [_thread_blocked, id = 2588 , stack( 0x04760000 , 0x047b0000 )]
    65 => 0x03181400 JavaThread " ajp-8009-Acceptor-0 " daemon [_thread_in_native, id = 5476 , stack( 0x04700000 , 0x04750000 )]
    66 0x03180000 JavaThread " ajp-8009-CometPoller-7 " daemon [_thread_blocked, id = 4440 , stack( 0x046b0000 , 0x04700000 )]
    67 0x0317bc00 JavaThread " ajp-8009-CometPoller-6 " daemon [_thread_blocked, id = 1824 , stack( 0x04660000 , 0x046b0000 )]
    68 0x031a6c00 JavaThread " ajp-8009-CometPoller-5 " daemon [_thread_blocked, id = 7124 , stack( 0x04610000 , 0x04660000 )]
    69 0x0317a000 JavaThread " ajp-8009-CometPoller-4 " daemon [_thread_blocked, id = 7884 , stack( 0x045c0000 , 0x04610000 )]
    70 0x03189000 JavaThread " ajp-8009-CometPoller-3 " daemon [_thread_blocked, id = 6012 , stack( 0x04570000 , 0x045c0000 )]
    71 0x03187800 JavaThread " ajp-8009-CometPoller-2 " daemon [_thread_blocked, id = 4468 , stack( 0x04520000 , 0x04570000 )]
    72 0x031eec00 JavaThread " ajp-8009-CometPoller-1 " daemon [_thread_blocked, id = 4612 , stack( 0x044d0000 , 0x04520000 )]
    73 0x031ed800 JavaThread " ajp-8009-CometPoller-0 " daemon [_thread_blocked, id = 8068 , stack( 0x04480000 , 0x044d0000 )]
    74 0x03138000 JavaThread " ajp-8009-Poller-7 " daemon [_thread_blocked, id = 7016 , stack( 0x04430000 , 0x04480000 )]
    75 0x0315a400 JavaThread " ajp-8009-Poller-6 " daemon [_thread_blocked, id = 8056 , stack( 0x043e0000 , 0x04430000 )]
    76 0x03159000 JavaThread " ajp-8009-Poller-5 " daemon [_thread_blocked, id = 5584 , stack( 0x04390000 , 0x043e0000 )]
    77 0x0318f400 JavaThread " ajp-8009-Poller-4 " daemon [_thread_blocked, id = 3132 , stack( 0x03f40000 , 0x03f90000 )]
    78 0x0318e000 JavaThread " ajp-8009-Poller-3 " daemon [_thread_blocked, id = 3468 , stack( 0x03ef0000 , 0x03f40000 )]
    79 0x0320c400 JavaThread " ajp-8009-Poller-2 " daemon [_thread_blocked, id = 5408 , stack( 0x03ea0000 , 0x03ef0000 )]
    80 0x030bf400 JavaThread " ajp-8009-Poller-1 " daemon [_thread_blocked, id = 2236 , stack( 0x03e50000 , 0x03ea0000 )]
    81 0x03117800 JavaThread " ajp-8009-Poller-0 " daemon [_thread_blocked, id = 5920 , stack( 0x03e00000 , 0x03e50000 )]
    82 0x03112400 JavaThread " http-8080-Acceptor-0 " daemon [_thread_blocked, id = 3372 , stack( 0x03db0000 , 0x03e00000 )]
    83 0x03111000 JavaThread " http-8080-Sendfile-0 " daemon [_thread_blocked, id = 2264 , stack( 0x03d60000 , 0x03db0000 )]
    84 0x03134000 JavaThread " http-8080-CometPoller-7 " daemon [_thread_blocked, id = 7196 , stack( 0x03d10000 , 0x03d60000 )]
    85 0x03236c00 JavaThread " http-8080-CometPoller-6 " daemon [_thread_blocked, id = 7420 , stack( 0x03cc0000 , 0x03d10000 )]
    86 0x03235800 JavaThread " http-8080-CometPoller-5 " daemon [_thread_blocked, id = 6992 , stack( 0x03c70000 , 0x03cc0000 )]
    87 0x0317e000 JavaThread " http-8080-CometPoller-4 " daemon [_thread_blocked, id = 6356 , stack( 0x03c20000 , 0x03c70000 )]
    88 0x031e8400 JavaThread " http-8080-CometPoller-3 " daemon [_thread_blocked, id = 2968 , stack( 0x03bd0000 , 0x03c20000 )]
    89 0x03177c00 JavaThread " http-8080-CometPoller-2 " daemon [_thread_blocked, id = 5488 , stack( 0x03b80000 , 0x03bd0000 )]
    90 0x0315c400 JavaThread " http-8080-CometPoller-1 " daemon [_thread_blocked, id = 7900 , stack( 0x03b30000 , 0x03b80000 )]
    91 0x0315b000 JavaThread " http-8080-CometPoller-0 " daemon [_thread_blocked, id = 2436 , stack( 0x03ae0000 , 0x03b30000 )]
    92 0x030fb400 JavaThread " http-8080-Poller-7 " daemon [_thread_blocked, id = 8164 , stack( 0x03a90000 , 0x03ae0000 )]
    93 0x03155400 JavaThread " http-8080-Poller-6 " daemon [_thread_blocked, id = 7256 , stack( 0x03a40000 , 0x03a90000 )]
    94 0x0320f400 JavaThread " http-8080-Poller-5 " daemon [_thread_blocked, id = 6720 , stack( 0x037f0000 , 0x03840000 )]
    95 0x0318c400 JavaThread " http-8080-Poller-4 " daemon [_thread_blocked, id = 7180 , stack( 0x037a0000 , 0x037f0000 )]
    96 0x03154400 JavaThread " http-8080-Poller-3 " daemon [_thread_blocked, id = 7368 , stack( 0x03750000 , 0x037a0000 )]
    97 0x03142800 JavaThread " http-8080-Poller-2 " daemon [_thread_blocked, id = 7332 , stack( 0x03700000 , 0x03750000 )]
    98 0x031fd400 JavaThread " http-8080-Poller-1 " daemon [_thread_blocked, id = 4132 , stack( 0x036b0000 , 0x03700000 )]
    99 0x03152400 JavaThread " http-8080-Poller-0 " daemon [_thread_blocked, id = 5272 , stack( 0x03660000 , 0x036b0000 )]
    100 0x030fdc00 JavaThread " GC Daemon " daemon [_thread_blocked, id = 6140 , stack( 0x035b0000 , 0x03600000 )]
    101 0x02b0e000 JavaThread " Low Memory Detector " daemon [_thread_blocked, id = 3640 , stack( 0x02d80000 , 0x02dd0000 )]
    102 0x02b08400 JavaThread " CompilerThread0 " daemon [_thread_blocked, id = 2068 , stack( 0x02d30000 , 0x02d80000 )]
    103 0x02b06c00 JavaThread " Attach Listener " daemon [_thread_blocked, id = 7168 , stack( 0x02ce0000 , 0x02d30000 )]
    104 0x02b11400 JavaThread " Signal Dispatcher " daemon [_thread_blocked, id = 4280 , stack( 0x02c90000 , 0x02ce0000 )]
    105 0x02ac0800 JavaThread " Finalizer " daemon [_thread_blocked, id = 5204 , stack( 0x02c40000 , 0x02c90000 )]
    106 0x02abf400 JavaThread " Reference Handler " daemon [_thread_blocked, id = 3420 , stack( 0x02bf0000 , 0x02c40000 )]
    107 0x00846c00 JavaThread " main " [_thread_in_native, id = 5080 , stack( 0x008e0000 , 0x00930000 )]
    108
    109 Other Threads:
    110 0x02abdc00 VMThread [stack: 0x02ba0000 , 0x02bf0000 ] [id = 4316 ]
    111 0x02b1bc00 WatcherThread [stack: 0x02dd0000 , 0x02e20000 ] [id = 7980 ]
    112
    113 VM state:not at safepoint (normal execution)
    114
    115 VM Mutex / Monitor currently owned by a thread: None
    116
    117 Heap
    118 def new generation total 1216K, used 437K [ 0x229e0000 , 0x22b30000 , 0x22ec0000 )
    119 eden space 1088K, 28 % used [ 0x229e0000 , 0x22a2d508 , 0x22af0000 )
    120 from space 128K, 99 % used [ 0x22b10000 , 0x22b2fff8 , 0x22b30000 )
    121 to space 128K, 0 % used [ 0x22af0000 , 0x22af0000 , 0x22b10000 )
    122 tenured generation total 15380K, used 9472K [ 0x22ec0000 , 0x23dc5000 , 0x269e0000 )
    123 the space 15380K, 61 % used [ 0x22ec0000 , 0x23800270 , 0x23800400 , 0x23dc5000 )
    124 compacting perm gen total 21760K, used 21752K [ 0x269e0000 , 0x27f20000 , 0x2a9e0000 )
    125 the space 21760K, 99 % used [ 0x269e0000 , 0x27f1e398 , 0x27f1e400 , 0x27f20000 )
    126 ro space 8192K, 67 % used [ 0x2a9e0000 , 0x2af42f30 , 0x2af43000 , 0x2b1e0000 )
    127 rw space 12288K, 53 % used [ 0x2b1e0000 , 0x2b850180 , 0x2b850200 , 0x2bde0000 )
    128
    129 Dynamic libraries:
    130 0x00400000 - 0x00424000 D:\Program Files\Java\jdk1. 6 .0_10\bin\javaw.exe
    131 0x7c920000 - 0x7c9b6000 C:\WINDOWS\system32\ntdll.dll
    132 0x7c800000 - 0x7c91d000 C:\WINDOWS\system32\kernel32.dll
    133 0x77da0000 - 0x77e49000 C:\WINDOWS\system32\ADVAPI32.dll
    134 0x77e50000 - 0x77ee2000 C:\WINDOWS\system32\RPCRT4.dll
    135 0x77fc0000 - 0x77fd1000 C:\WINDOWS\system32\Secur32.dll
    136 0x77d10000 - 0x77d9f000 C:\WINDOWS\system32\USER32.dll
    137 0x77ef0000 - 0x77f38000 C:\WINDOWS\system32\GDI32.dll
    138 0x76300000 - 0x7631d000 C:\WINDOWS\system32\IMM32.DLL
    139 0x62c20000 - 0x62c29000 C:\WINDOWS\system32\LPK.DLL
    140 0x73fa0000 - 0x7400b000 C:\WINDOWS\system32\USP10.dll
    141 0x77be0000 - 0x77c38000 C:\WINDOWS\system32\msvcrt.dll
    142 0x7c340000 - 0x7c396000 D:\Program Files\Java\jdk1. 6 .0_10\jre\bin\msvcr71.dll
    143 0x6d8b0000 - 0x6db06000 D:\Program Files\Java\jdk1. 6 .0_10\jre\bin\client\jvm.dll
    144 0x76b10000 - 0x76b3a000 C:\WINDOWS\system32\WINMM.dll
    145 0x6d330000 - 0x6d338000 D:\Program Files\Java\jdk1. 6 .0_10\jre\bin\hpi.dll
    146 0x76bc0000 - 0x76bcb000 C:\WINDOWS\system32\PSAPI.DLL
    147 0x6d860000 - 0x6d86c000 D:\Program Files\Java\jdk1. 6 .0_10\jre\bin\verify.dll
    148 0x6d3d0000 - 0x6d3ef000 D:\Program Files\Java\jdk1. 6 .0_10\jre\bin\java.dll
    149 0x6d8a0000 - 0x6d8af000 D:\Program Files\Java\jdk1. 6 .0_10\jre\bin\zip.dll
    150 0x6d610000 - 0x6d619000 D:\Program Files\Java\jdk1. 6 .0_10\jre\bin\management.dll
    151 0x10000000 - 0x100d7000 D:\Program Files\Java\jdk1. 6 .0_10\bin\tcnative - 1 .dll
    152 0x77f40000 - 0x77fb6000 C:\WINDOWS\system32\SHLWAPI.dll
    153 0x71a20000 - 0x71a37000 C:\WINDOWS\system32\WS2_32.dll
    154 0x71a10000 - 0x71a18000 C:\WINDOWS\system32\WS2HELP.dll
    155 0x719c0000 - 0x719fe000 C:\WINDOWS\system32\MSWSOCK.dll
    156 0x0ffd0000 - 0x0fff8000 C:\WINDOWS\system32\rsaenh.dll
    157 0x60fd0000 - 0x61025000 C:\WINDOWS\system32\hnetcfg.dll
    158 0x71a00000 - 0x71a08000 C:\WINDOWS\System32\wshtcpip.dll
    159 0x6d6c0000 - 0x6d6d3000 D:\Program Files\Java\jdk1. 6 .0_10\jre\bin\net.dll
    160 0x76ef0000 - 0x76f17000 C:\WINDOWS\system32\DNSAPI.dll
    161 0x76f80000 - 0x76f88000 C:\WINDOWS\System32\winrnr.dll
    162 0x76f30000 - 0x76f5c000 C:\WINDOWS\system32\WLDAP32.dll
    163 0x76f90000 - 0x76f96000 C:\WINDOWS\system32\rasadhlp.dll
    164
    165 VM Arguments:
    166 jvm_args: - Dcatalina.base = E:\hnairProject\.metadata\.plugins\org.eclipse.wst.server.core\tmp0 - Dcatalina.home = D:\Program Files\WebServers\apache - tomcat - 6.0 . 26 - Dwtp.deploy = E:\hnairProject\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps - Djava.endorsed.dirs = D:\Program Files\WebServers\apache - tomcat - 6.0 . 26 \endorsed - Dfile.encoding = UTF - 8
    167 java_command: org.apache.catalina.startup.Bootstrap start
    168 Launcher Type: SUN_STANDARD
    169
    170 Environment Variables:
    171 JAVA_HOME = D:\Program Files\Java\jdk1. 6 .0_10
    172 PATH = D: / Program Files / Java / jdk1.6.0_10 / bin / .. / jre / bin / client;D: / Program Files / Java / jdk1.6.0_10 / bin / .. / jre / bin;D:\Program Files\Java\jdk1.6.0_10\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\PROGRA~1\IBM\CLIENT~1;C:\PROGRA~1\IBM\CLIENT~1\Shared;C:\PROGRA~1\IBM\CLIENT~1\Emulator;C:\Program Files\TortoiseSVN\bin
    173 USERNAME = Kenn
    174 OS = Windows_NT
    175 PROCESSOR_IDENTIFIER = x86 Family 6 Model 23 Stepping 10 , GenuineIntel
    176
    177
    178
    179 --------------- S Y S T E M ---------------
    180
    181 OS: Windows XP Build 2600 Service Pack 2
    182
    183 CPU:total 4 ( 4 cores per cpu, 1 threads per core) family 6 model 7 stepping 10 , cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
    184
    185 Memory: 4k page, physical 2097151k(1245856k free), swap 4194303k(2999164k free)
    186
    187 vm_info: Java HotSpot(TM) Client VM ( 11.0 - b15) for windows - x86 JRE ( 1.6 .0_10 - rc2 - b32), built on Sep 12 2008 00 : 52 : 11 by " java_re " with MS VC ++ 7.1
    188
    189 time: Thu Jun 24 08 : 24 : 49 2010
    190 elapsed time: 81554 seconds
    191
    192

     

    转载于:https://www.cnblogs.com/kenn/archive/2010/07/08/1773765.html

    展开全文
  • Matlab启动崩溃Segmentation violation

    千次阅读 2018-02-21 05:08:30
    MATLAB crashes during startup on Ubuntu 15.04 and newer, as well as distributions derived from those versions Description When using Ubuntu Linux distributions 15.04 and newer...

    Matlab启动崩溃

    Summary

    MATLAB crashes during startup on Ubuntu 15.04 and newer, as well as distributions derived from those versions

    Description

    When using Ubuntu Linux distributions 15.04 and newer, as well as distributions derived from those versions, MATLAB can crash during startup.

    This crash occurs because these releases include a newer version of libstdc++.so.6 than the version shipped with MATLAB (version 6.0.17). When MATLAB loads version 6.0.17 first, the OS reaches an incompatibility that causes MATLAB to crash.

    Fix

    This bug was fixed as of R2016b.

    If you have a current subscription to MathWorks Software Maintenance Service (SMS), you can download product updates. If not, learn more about MathWorks SMS.

    Workaround

    You can force MATLAB to load the newer version of the library provided by the operating system, by following these instructions:

    • Identify the location where MATLAB is installed
    • Navigate to the sys/os/glnxa64 directory within this installation folder
    • Rename libstdc++.so.6 library to libstdc++.so.6.old

    We have done limited testing with version 20 of libstdc++.so.6. If you experience problems with MATLAB when using this version, please contact MathWorks technical support.

    这个问题在MATLAB 的R2016a, R2015b, R2015aSP1和R2015a都会出现

    Ackowledgement

    Most of the content is from Mathworks.
    大部分内容转载自Mathworks

    展开全文
  • Windows fatal exception: access violation Current thread 0x00004a90 (most recent call first): File "C:\Users\DELL\Anaconda3\envs\tensorflow-gpu\lib\site-packages\tensorflow_core\python\lib\io\...
  • } } Briefly introduction The advantage of this solution is, the test data is in fact somehow separated from test class itself. In case you need more test data, you can simply append array in method ...
  • 什么是 MAP 文件?简单地讲, MAP 文件是程序的全局符号、源文件和代码行号信息的唯一的文本表示方法,它可以在任何地方、任何时候使用,不需要有额外的程序进行支持。而且,这是唯一能找出程序崩溃的地方的救星。...
  • We are writing to inform you that your company is not in compliance with the Apple Developer Program License Agreement (PLA). Section 11.2 (Termination) states: (f) if You engage, or encourage ...
  • Until pandas include the option of INSERT IGNORE in the default ...from sqlalchemy.ext.compiler import compiles from sqlalchemy.sql.expression import Insert # adds the word IGNORE after INSERT in sqlalc
  • EXCEPTION_ACCESS_VIOLATION

    千次阅读 2012-09-13 10:35:31
    http://203.208.39.99/search?q=cache:euv39jJOmSoJ:www.pboa.cn/archiver/showtopic-55.aspx+tomcat+EXCEPTION_ACCESS_VIOLATION+(0xc0000005)&hl=zh-CN&ct=clnk&cd=13&gl=cn&st_usg=ALhdy2_cWrH3K_y4YA4PJMfsv93kl
  • ORA-07445: exception encountered: core dump [ACCESS_VIOLATION] [unable_to_trans_pc] [PC:0x77E7FA69] [ADDR:0x7D42] [UNABLE_TO_WRITE] [] 晕,一直好好的,怎么突然出07445错误了,而且google,metalink转了...
  • 开发环境:keil MDK V5.10 操作系统:windows 7(32位) 问题描述:使用MDK进行软件设计时没有使用ST官方的模板而是...error 65: access violation at 0x40021000 : no 'read' permission 如下图所示,途中红圈分.
  • Virtual Machine : Java 1.7.0_11-b21 with Oracle Corporation Java HotSpot(TM) 64-Bit Server VM mixed mode Window System : No active display Fault Count: 1 Abnormal termination: Segmentation ...
  • with check option使用

    千次阅读 2016-04-19 00:11:23
    SQL> create table t(id number,name char(5)); Table created. SQL> insert into t values(1,'a'); ...SQL> create view a1 as select * from t where id=1 with check option; View crea
  • 本文档已存档,并且将不进行维护。 Bug Check 0xC4: DRIVER_VERIFIER_DETECTED...The DRIVER_VERIFIER_DETECTED_VIOLATION bug check has a value of 0x000000C4. This is the general bug check code for fatal err
  • https://stackoverflow.com/questions/11339186/createprocess-fails-with-an-access-violation My aim is to execute an external executable in my program. First, I usedsystem()function, but ...
  • 在开发laravel项目的时候,migrate的时候,...Illuminate\Database\QueryException : SQLSTATE[42000]: Syntax error or access violation: 1067 Invalid default value for 'expiry_date_end' (SQL: create tabl...
  • The DRIVER_VERIFIER_IOMANAGER_VIOLATION bug check has a value of 0x000000C9. This is the bug check code for all Driver Verifier I/O Verification violations. Important This topic is for programmers
  • //读取数据库配置 loadPropertyFile("classes/config/mysql.properties"); DruidPlugin dp = new DruidPlugin(getProperty("jdbcUrl"),getProperty("user"),getProperty("...
  • Exception ACCESS_VIOLATION 解决方案

    千次阅读 2013-07-17 15:44:45
    Web (HTTP/HTML) scripts in LoadRunner are implemented using C programming language. And like always with C, you should remember about some basics. One of them is that few string handling functions can
  • [DRC 23-20] Rule violation (REQP-1712) Input clock driver - Unsupported PLLE2_ADV connectivity. The signal plle2_u/clk_out1 on the plle2_u/pll_test_inst/CLKIN1 pin of plle2_u/pll_test_inst with COMPEN...
  • 关于EOF occurred in violation of protocol (_ssl.c:661)的解决办法 直接上代码(python版本2.7)`import requestsr = requests.get('https://www.zjkill.com/news/')r.encoding = 'utf8'print r.tex...
  • Max retries exceeded with url

    千次阅读 2019-05-16 17:20:22
    Max retries exceeded with url error1:NewConnectionError(’<urllib3.connection.VerifiedHTTPSConnection object at 0x00000000038F2B00>: Failed to establish a new connection:[WinError 10060] 由于...
  • Cause: java.sql.SQLException: Protocol violation: [48] ; uncategorized SQLException for SQL []; SQL state [99999]...
  • Delphi access violation

    2011-11-17 15:59:57
    1. 错误信息:Project *.exe raised exception class EAccessViolation with message...   源程序: procedure TForm1.FormCreate(Sender: TObject); begin  form2.Show ; end;   原因:一般情况下不能在...
  • oracle 下WITH CHECK OPTION用法

    千次阅读 2013-07-08 22:58:46
    UPDATE 语句都应用 WHERE 子句,则必须使用 WITH CHECK OPTION 定义该视图。这个选项可以 确保数据库中正在修改的数据的完整性。如果在 INSERT 或 UPDATE 操作期间违反了条件,则 返回 SQL 错误。 下面是一个使用了...
  • 视图with check option选项详解

    千次阅读 2013-06-28 14:14:36
    通过有with check option选项的视图操作基表(只是面对单表,对连接多表的视图正在寻找答案),有以下结论: 首先视图只操作它可以查询出来的数据,对于它查询不出的数据,即使基表有,也不可以通过视图来操作。 1....

空空如也

空空如也

1 2 3 4 5 ... 20
收藏数 9,493
精华内容 3,797
关键字:

fromviolationwith