vm虚拟机中idea使用tomcat报错:Error running 'ebp': port out of range:-1

在vm虚拟机中安装了win10系统,下载了idea运行项目,配置好maven和tomcat之后,启动项目,报了这么个错,不知道该怎么解决?

2个回答

默认配置没改吧,tomcat的server.xml检查一下,端口不能是-1, 一般会选80,或者1204-65535之间的任意一个整数

端口没有正确配置,配置下端口号。

sinat_32017511
穿着外套的小马夹 我看了一下网上说映射,但是没太搞懂那玩意怎么整,也不常用虚拟机
5 个月之前 回复
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
androidstudio编写cmake程序ffmpeg时报的错
--------- beginning of crash 2019-12-21 14:14:46.254 6347-6381/com.zj.player A/libc: Fatal signal 4 (SIGILL), code 0, fault addr 0x18cb in tid 6381 (Thread-2) 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: Build fingerprint: 'google/android_x86/x86:7.1.2/N2G47O/V9.5.8.0.OCACNFA:/release-keys' 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: Revision: '0' 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: ABI: 'x86' 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: pid: 6347, tid: 6381, name: Thread-2 >>> com.zj.player <<< 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: signal 4 (SIGILL), code 0 (SI_USER), fault addr 0x18cb 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: eax 00000000 ebx 000018ed ecx 00000004 edx 9d5c2ff4 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: esi 9d7647e4 edi 9d84520c 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: xcs 00000073 xds 0000007b xes 0000007b xfs 0000003b xss 0000007b 2019-12-21 14:14:46.312 6384-6384/? A/DEBUG: eip 9d369fff ebp 000018cb esp 96aff6a0 flags 00000246 2019-12-21 14:14:46.313 6384-6384/? A/DEBUG: backtrace: 2019-12-21 14:14:46.313 6384-6384/? A/DEBUG: #00 pc 00209fff /system/lib/libhoudini.so --------- beginning of system 2019-12-21 14:14:46.765 1456-1477/system_process E/JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 60) 2019-12-21 14:14:46.766 1456-6391/system_process E/JavaBinder: !!! FAILED BINDER TRANSACTION !!! (parcel size = 104) 2019-12-21 14:14:46.767 1288-1288/? E/lowmemorykiller: Error writing /proc/6347/oom_score_adj; errno=22 2019-12-21 14:14:46.792 1290-1290/? E/EGL_adreno: tid 1290: eglCreateSyncKHR(2054): error 0x3004 (EGL_BAD_ATTRIBUTE) 2019-12-21 14:14:46.793 1456-1500/system_process E/InputDispatcher: channel '3c2e8ec com.zj.player/com.zj.player.MainActivity (server)' ~ Channel is unrecoverably broken and will be disposed! 2019-12-21 14:14:46.966 1912-1977/com.android.launcher3 E/EGL_adreno: tid 1977: eglSurfaceAttrib(1323): error 0x3009 (EGL_BAD_MATCH) 2019-12-21 14:14:47.016 1456-3168/system_process E/EGL_adreno: tid 3168: eglSurfaceAttrib(1323): error 0x3009 (EGL_BAD_MATCH)
tomcat 运行中终止 生成错误日志 hs_err_pid328.log,哪位大神帮忙看下是什么原因?
# # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6e833083, pid=328, tid=388 # # JRE version: 7.0_15-b03 # Java VM: Java HotSpot(TM) Client VM (23.7-b01 mixed mode, sharing windows-x86 ) # Problematic frame: # V [jvm.dll+0x73083] # # Core dump written. Default location: D:\Program Files\apache-tomcat-7.0.73\tomcat1\hs_err_pid328.mdmp # # If you would like to submit a bug report, please visit: # http://bugreport.sun.com/bugreport/crash.jsp # --------------- T H R E A D --------------- Current thread (0x008ee400): VMThread [stack: 0x00b80000,0x00bf0000] [id=388] siginfo: ExceptionCode=0xc0000005, reading address 0x00000008 Registers: EAX=0x00000004, EBX=0x00befc1c, ECX=0x00000000, EDX=0x00000003 ESP=0x00befb1c, EBP=0x00befb2c, ESI=0x18fe6008, EDI=0x18fe6198 EIP=0x6e833083, EFLAGS=0x00010283 Top of Stack: (sp=0x00befb1c) 0x00befb1c: 00862990 00befc1c 00000000 00735538 0x00befb2c: 00befb40 6e8240dd 00befc1c 0073d128 0x00befb3c: 00000000 00befb54 6e829e6c 00befc1c 0x00befb4c: 0073d128 00befbdc 00befc4c 6e824507 0x00befb5c: 00000000 00befc1c 00befbf4 00862990 0x00befb6c: 6e825622 0073d180 0073d128 008ece48 0x00befb7c: 00010100 00befdd0 00000000 00000000 0x00befb8c: 00befbb0 6e831ed7 00befb00 6e7c49a5 Instructions: (pc=0x6e833083) 0x6e833063: 8b 5d 08 8b f0 eb 08 8d 9b 00 00 00 00 8b f8 8b 0x6e833073: 7f 34 3b f7 73 21 8d a4 24 00 00 00 00 8b 4e 04 0x6e833083: 8b 41 08 8b 90 34 01 00 00 83 c1 08 53 56 ff d2 0x6e833093: 8d 34 86 3b f7 72 e6 8b 45 fc 3b 78 34 72 ce 8b Register to memory mapping: EAX=0x00000004 is an unknown value EBX=0x00befc1c is an unknown value ECX=0x00000000 is an unknown value EDX=0x00000003 is an unknown value ESP=0x00befb1c is an unknown value EBP=0x00befb2c is an unknown value ESI= [error occurred during error reporting (printing register info), id 0xc0000005] Stack: [0x00b80000,0x00bf0000], sp=0x00befb1c, free space=446k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0x73083] V [jvm.dll+0x640dd] V [jvm.dll+0x69e6c] V [jvm.dll+0x64507] V [jvm.dll+0x6ae72] V [jvm.dll+0x624b3] V [jvm.dll+0x177326] V [jvm.dll+0x14f475] V [jvm.dll+0x14e5de] V [jvm.dll+0x14e967] V [jvm.dll+0x14ee32] V [jvm.dll+0x17ee89] C [MSVCR100.dll+0x5c556] endthreadex+0x3a C [MSVCR100.dll+0x5c600] endthreadex+0xe4 C [kernel32.dll+0x2484f] GetModuleHandleA+0xdf VM_Operation (0x0379e3e0): GenCollectForAllocation, mode: safepoint, requested by thread 0x038a4400 --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x03409c00 JavaThread "catalina-exec-5" daemon [_thread_blocked, id=492, stack(0x04580000,0x045f0000)] 0x0330c400 JavaThread "catalina-exec-4" daemon [_thread_blocked, id=5564, stack(0x04410000,0x04480000)] 0x038a4400 JavaThread "catalina-exec-2" daemon [_thread_blocked, id=884, stack(0x03730000,0x037a0000)] 0x03281400 JavaThread "catalina-exec-1" daemon [_thread_blocked, id=912, stack(0x036c0000,0x03730000)] 0x032c4800 JavaThread "http-apr-8081-AsyncTimeout" daemon [_thread_blocked, id=1484, stack(0x043a0000,0x04410000)] 0x032ad800 JavaThread "http-apr-8081-Acceptor-1" daemon [_thread_in_native, id=3648, stack(0x04330000,0x043a0000)] 0x03420c00 JavaThread "http-apr-8081-Acceptor-0" daemon [_thread_blocked, id=3652, stack(0x042c0000,0x04330000)] 0x03ad3400 JavaThread "http-apr-8081-Sendfile" daemon [_thread_blocked, id=3620, stack(0x04250000,0x042c0000)] 0x03951400 JavaThread "http-apr-8081-Poller" daemon [_thread_blocked, id=3608, stack(0x041e0000,0x04250000)] 0x038e2400 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=3416, stack(0x04170000,0x041e0000)] 0x038ebc00 JavaThread "MySQL Statement Cancellation Timer" daemon [_thread_blocked, id=1560, stack(0x04030000,0x040a0000)] 0x03425400 JavaThread "Timer-0" daemon [_thread_blocked, id=1544, stack(0x03fc0000,0x04030000)] 0x031fb000 JavaThread "GC Daemon" daemon [_thread_blocked, id=960, stack(0x03610000,0x03680000)] 0x00919c00 JavaThread "Service Thread" daemon [_thread_blocked, id=648, stack(0x02e30000,0x02ea0000)] 0x00914000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=488, stack(0x02dc0000,0x02e30000)] 0x00912000 JavaThread "Attach Listener" daemon [_thread_blocked, id=612, stack(0x00d40000,0x00db0000)] 0x00910c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=584, stack(0x00cd0000,0x00d40000)] 0x008f4c00 JavaThread "Finalizer" daemon [_thread_blocked, id=192, stack(0x00c60000,0x00cd0000)] 0x008f0000 JavaThread "Reference Handler" daemon [_thread_blocked, id=540, stack(0x00bf0000,0x00c60000)] 0x00739000 JavaThread "main" [_thread_in_native, id=344, stack(0x00740000,0x007b0000)] Other Threads: =>0x008ee400 VMThread [stack: 0x00b80000,0x00bf0000] [id=388] 0x0091d800 WatcherThread [stack: 0x02ea0000,0x02f10000] [id=428] VM state:at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: ([mutex/lock_event]) [0x00737f30] Threads_lock - owner thread: 0x008ee400 [0x00738348] Heap_lock - owner thread: 0x038a4400 Heap def new generation total 39424K, used 36934K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 100% used [0x16b50000, 0x18d90000, 0x18d90000) from space 4352K, 42% used [0x191d0000, 0x193a1988, 0x19610000) to space 4352K, 54% used [0x18d90000, 0x18fe6198, 0x191d0000) tenured generation total 87424K, used 85124K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 97% used [0x1c0a0000, 0x213c1290, 0x213c1400, 0x21600000) compacting perm gen total 65536K, used 18352K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 28% used [0x26b50000, 0x27d3c060, 0x27d3c200, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) Card table byte_map: [0x00960000,0x00a70000] byte_map_base: 0x008aa580 Polling page: 0x007b0000 Code Cache [0x00dc0000, 0x01540000, 0x02dc0000) total_blobs=3515 nmethods=3325 adapters=123 free_code_cache=25118Kb largest_free_block=25713408 Compilation events (10 events): Event: 36891.244 Thread 0x00914000 3382 com.dgj.entity.PagePram::getIpo_bankuai_type (5 bytes) Event: 36891.244 Thread 0x00914000 nmethod 3382 0x01538e08 code [0x01538f00, 0x01538f80] Event: 36911.232 Thread 0x00914000 3383 ! sun.reflect.GeneratedMethodAccessor106::invoke (61 bytes) Event: 36911.233 Thread 0x00914000 nmethod 3383 0x01538fc8 code [0x01539110, 0x015393ec] Event: 36911.234 Thread 0x00914000 3384 ! sun.reflect.GeneratedMethodAccessor103::invoke (61 bytes) Event: 36911.234 Thread 0x00914000 nmethod 3384 0x01539648 code [0x01539790, 0x01539a6c] Event: 36924.267 Thread 0x00914000 3385 com.dgj.entity.PagePram::getIssuer_diqu_type (5 bytes) Event: 36924.268 Thread 0x00914000 nmethod 3385 0x01539cc8 code [0x01539dc0, 0x01539e40] Event: 37017.169 Thread 0x00914000 3386 ! sun.reflect.GeneratedMethodAccessor104::invoke (61 bytes) Event: 37017.172 Thread 0x00914000 nmethod 3386 0x01539e88 code [0x01539fd0, 0x0153a2ac] GC Heap History (10 events): Event: 35589.566 GC heap after Heap after GC invocations=129 (full 1): def new generation total 39424K, used 2823K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 0% used [0x16b50000, 0x16b50000, 0x18d90000) from space 4352K, 64% used [0x191d0000, 0x19491ec8, 0x19610000) to space 4352K, 0% used [0x18d90000, 0x18d90000, 0x191d0000) tenured generation total 87424K, used 81096K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 92% used [0x1c0a0000, 0x20fd20a8, 0x20fd2200, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) } Event: 36118.110 GC heap before {Heap before GC invocations=129 (full 1): def new generation total 39424K, used 37895K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 100% used [0x16b50000, 0x18d90000, 0x18d90000) from space 4352K, 64% used [0x191d0000, 0x19491ec8, 0x19610000) to space 4352K, 0% used [0x18d90000, 0x18d90000, 0x191d0000) tenured generation total 87424K, used 81096K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 92% used [0x1c0a0000, 0x20fd20a8, 0x20fd2200, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) Event: 36118.147 GC heap after Heap after GC invocations=130 (full 1): def new generation total 39424K, used 2752K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 0% used [0x16b50000, 0x16b50000, 0x18d90000) from space 4352K, 63% used [0x18d90000, 0x190403b8, 0x191d0000) to space 4352K, 0% used [0x191d0000, 0x191d0000, 0x19610000) tenured generation total 87424K, used 82551K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 94% used [0x1c0a0000, 0x2113de78, 0x2113e000, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) } Event: 36413.160 GC heap before {Heap before GC invocations=130 (full 1): def new generation total 39424K, used 37824K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 100% used [0x16b50000, 0x18d90000, 0x18d90000) from space 4352K, 63% used [0x18d90000, 0x190403b8, 0x191d0000) to space 4352K, 0% used [0x191d0000, 0x191d0000, 0x19610000) tenured generation total 87424K, used 82551K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 94% used [0x1c0a0000, 0x2113de78, 0x2113e000, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) Event: 36413.222 GC heap after Heap after GC invocations=131 (full 1): def new generation total 39424K, used 2197K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 0% used [0x16b50000, 0x16b50000, 0x18d90000) from space 4352K, 50% used [0x191d0000, 0x193f5698, 0x19610000) to space 4352K, 0% used [0x18d90000, 0x18d90000, 0x191d0000) tenured generation total 87424K, used 83778K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 95% used [0x1c0a0000, 0x212708f8, 0x21270a00, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) } Event: 36638.180 GC heap before {Heap before GC invocations=131 (full 1): def new generation total 39424K, used 37236K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 99% used [0x16b50000, 0x18d87b90, 0x18d90000) from space 4352K, 50% used [0x191d0000, 0x193f5698, 0x19610000) to space 4352K, 0% used [0x18d90000, 0x18d90000, 0x191d0000) tenured generation total 87424K, used 83778K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 95% used [0x1c0a0000, 0x212708f8, 0x21270a00, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) Event: 36638.201 GC heap after Heap after GC invocations=132 (full 1): def new generation total 39424K, used 1385K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 0% used [0x16b50000, 0x16b50000, 0x18d90000) from space 4352K, 31% used [0x18d90000, 0x18eea4a8, 0x191d0000) to space 4352K, 0% used [0x191d0000, 0x191d0000, 0x19610000) tenured generation total 87424K, used 85124K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 97% used [0x1c0a0000, 0x213c1290, 0x213c1400, 0x21600000) compacting perm gen total 65536K, used 18343K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 27% used [0x26b50000, 0x27d39f88, 0x27d3a000, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) } Event: 36833.461 GC heap before {Heap before GC invocations=132 (full 1): def new generation total 39424K, used 36457K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 100% used [0x16b50000, 0x18d90000, 0x18d90000) from space 4352K, 31% used [0x18d90000, 0x18eea4a8, 0x191d0000) to space 4352K, 0% used [0x191d0000, 0x191d0000, 0x19610000) tenured generation total 87424K, used 85124K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 97% used [0x1c0a0000, 0x213c1290, 0x213c1400, 0x21600000) compacting perm gen total 65536K, used 18352K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 28% used [0x26b50000, 0x27d3c060, 0x27d3c200, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) Event: 36833.483 GC heap after Heap after GC invocations=133 (full 1): def new generation total 39424K, used 1862K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 0% used [0x16b50000, 0x16b50000, 0x18d90000) from space 4352K, 42% used [0x191d0000, 0x193a1988, 0x19610000) to space 4352K, 0% used [0x18d90000, 0x18d90000, 0x191d0000) tenured generation total 87424K, used 85124K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 97% used [0x1c0a0000, 0x213c1290, 0x213c1400, 0x21600000) compacting perm gen total 65536K, used 18352K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 28% used [0x26b50000, 0x27d3c060, 0x27d3c200, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) } Event: 37037.357 GC heap before {Heap before GC invocations=133 (full 1): def new generation total 39424K, used 36934K [0x16b50000, 0x19610000, 0x1c0a0000) eden space 35072K, 100% used [0x16b50000, 0x18d90000, 0x18d90000) from space 4352K, 42% used [0x191d0000, 0x193a1988, 0x19610000) to space 4352K, 0% used [0x18d90000, 0x18d90000, 0x191d0000) tenured generation total 87424K, used 85124K [0x1c0a0000, 0x21600000, 0x26b50000) the space 87424K, 97% used [0x1c0a0000, 0x213c1290, 0x213c1400, 0x21600000) compacting perm gen total 65536K, used 18352K [0x26b50000, 0x2ab50000, 0x36b50000) the space 65536K, 28% used [0x26b50000, 0x27d3c060, 0x27d3c200, 0x2ab50000) ro space 10240K, 42% used [0x36b50000, 0x36f91c28, 0x36f91e00, 0x37550000) rw space 12288K, 54% used [0x37550000, 0x37bd2938, 0x37bd2a00, 0x38150000) Deoptimization events (0 events): No events Internal exceptions (10 events): Event: 22629.694 Thread 0x03409c00 Threw 0x17be71a0 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.695 Thread 0x03409c00 Threw 0x17be8e30 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.696 Thread 0x03409c00 Threw 0x17beb080 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.696 Thread 0x03409c00 Threw 0x17bed940 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.697 Thread 0x03409c00 Threw 0x17bef3e8 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.697 Thread 0x03409c00 Threw 0x17bf15f0 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.698 Thread 0x03409c00 Threw 0x17bf2750 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.699 Thread 0x03409c00 Threw 0x17bf69b8 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 22629.699 Thread 0x03409c00 Threw 0x17bf7de0 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Event: 25856.947 Thread 0x03409c00 Threw 0x1747a6b8 at C:\jdk7u2_32P\jdk7u15\hotspot\src\share\vm\prims\jvm.cpp:1166 Events (10 events): Event: 36748.116 Executing VM operation: RevokeBias done Event: 36748.226 Executing VM operation: RevokeBias Event: 36748.227 Executing VM operation: RevokeBias done Event: 36818.100 Executing VM operation: RevokeBias Event: 36818.101 Executing VM operation: RevokeBias done Event: 36818.102 Executing VM operation: BulkRevokeBias Event: 36818.104 Executing VM operation: BulkRevokeBias done Event: 36833.459 Executing VM operation: GenCollectForAllocation Event: 36833.483 Executing VM operation: GenCollectForAllocation done Event: 37037.355 Executing VM operation: GenCollectForAllocation Dynamic libraries: 0x00400000 - 0x00418000 D:\Program Files\apache-tomcat-7.0.73\tomcat1\bin\tomcat1.exe 0x7c930000 - 0x7ca03000 C:\WINDOWS\system32\ntdll.dll 0x7c800000 - 0x7c92d000 C:\WINDOWS\system32\kernel32.dll 0x77f30000 - 0x77fdc000 C:\WINDOWS\system32\ADVAPI32.dll 0x77c20000 - 0x77cc1000 C:\WINDOWS\system32\RPCRT4.dll 0x76eb0000 - 0x76ec3000 C:\WINDOWS\system32\Secur32.dll 0x7ca10000 - 0x7d1ec000 C:\WINDOWS\system32\SHELL32.dll 0x77b70000 - 0x77bca000 C:\WINDOWS\system32\msvcrt.dll 0x77bd0000 - 0x77c19000 C:\WINDOWS\system32\GDI32.dll 0x77e10000 - 0x77ea0000 C:\WINDOWS\system32\USER32.dll 0x77eb0000 - 0x77f02000 C:\WINDOWS\system32\SHLWAPI.dll 0x76180000 - 0x7619d000 C:\WINDOWS\system32\IMM32.DLL 0x7f000000 - 0x7f009000 C:\WINDOWS\system32\LPK.DLL 0x74ae0000 - 0x74b45000 C:\WINDOWS\system32\USP10.dll 0x77cd0000 - 0x77dd3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.5190_x-ww_319264BE\comctl32.dll 0x6e7c0000 - 0x6eb0c000 C:\Program Files\Java\jre7\bin\client\jvm.dll 0x71b10000 - 0x71b1b000 C:\WINDOWS\system32\WSOCK32.dll 0x71b60000 - 0x71b77000 C:\WINDOWS\system32\WS2_32.dll 0x71b50000 - 0x71b58000 C:\WINDOWS\system32\WS2HELP.dll 0x769e0000 - 0x76a0a000 C:\WINDOWS\system32\WINMM.dll 0x76ab0000 - 0x76abb000 C:\WINDOWS\system32\PSAPI.DLL 0x78aa0000 - 0x78b5f000 C:\WINDOWS\system32\MSVCR100.dll 0x6e710000 - 0x6e71c000 C:\Program Files\Java\jre7\bin\verify.dll 0x6d4c0000 - 0x6d4e0000 C:\Program Files\Java\jre7\bin\java.dll 0x6e7a0000 - 0x6e7b3000 C:\Program Files\Java\jre7\bin\zip.dll 0x6e4e0000 - 0x6e4f4000 C:\Program Files\Java\jre7\bin\net.dll 0x6e500000 - 0x6e50e000 C:\Program Files\Java\jre7\bin\nio.dll 0x6e440000 - 0x6e44a000 C:\Program Files\Java\jre7\bin\management.dll 0x10000000 - 0x10141000 D:\Program Files\apache-tomcat-7.0.73\tomcat1\bin\tcnative-1.dll 0x71a80000 - 0x71ac0000 C:\WINDOWS\system32\MSWSOCK.dll 0x68000000 - 0x68035000 C:\WINDOWS\system32\rsaenh.dll 0x6e680000 - 0x6e6a0000 C:\Program Files\Java\jre7\bin\sunec.dll 0x6e6a0000 - 0x6e6a9000 C:\Program Files\Java\jre7\bin\sunmscapi.dll 0x760a0000 - 0x76133000 C:\WINDOWS\system32\CRYPT32.dll 0x76080000 - 0x76092000 C:\WINDOWS\system32\MSASN1.dll 0x69660000 - 0x696b7000 C:\WINDOWS\system32\hnetcfg.dll 0x71a40000 - 0x71a48000 C:\WINDOWS\System32\wshtcpip.dll 0x76e30000 - 0x76e5b000 C:\WINDOWS\system32\DNSAPI.dll 0x76ed0000 - 0x76ed7000 C:\WINDOWS\System32\winrnr.dll 0x76e70000 - 0x76e9e000 C:\WINDOWS\system32\WLDAP32.dll 0x76ee0000 - 0x76ee5000 C:\WINDOWS\system32\rasadhlp.dll 0x777e0000 - 0x77800000 C:\WINDOWS\system32\NTMARTA.DLL 0x7e020000 - 0x7e02f000 C:\WINDOWS\system32\SAMLIB.dll 0x774b0000 - 0x775ea000 C:\WINDOWS\system32\ole32.dll 0x71ba0000 - 0x71bf7000 C:\WINDOWS\system32\NetApi32.dll 0x72f40000 - 0x72f67000 C:\WINDOWS\system32\winspool.drv 0x6d830000 - 0x6d8d8000 C:\WINDOWS\system32\DBGHELP.DLL 0x77b60000 - 0x77b68000 C:\WINDOWS\system32\VERSION.dll VM Arguments: jvm_args: -Dcatalina.home=D:\Program Files\apache-tomcat-7.0.73\tomcat1 -Dcatalina.base=D:\Program Files\apache-tomcat-7.0.73\tomcat1 -Djava.endorsed.dirs=D:\Program Files\apache-tomcat-7.0.73\tomcat1\endorsed -Djava.io.tmpdir=D:\Program Files\apache-tomcat-7.0.73\tomcat1\temp -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=D:\Program Files\apache-tomcat-7.0.73\tomcat1\conf\logging.properties -XX:PermSize=64M -XX:MaxPermSize=256m -Xms128m -Xmx256m exit -Xms128m -Xmx256m java_command: <unknown> Launcher Type: generic Environment Variables: JAVA_HOME=C:\Program Files\Java\jdk1.7.0_15 CLASSPATH=D:\Program Files\tomcat\common\lib\servlet.jar;C:\Program Files\Java\jdk1.7.0_15\lib\dt.jar;C:\Program Files\Java\jdk1.7.0_15\lib\tools.jar; PATH=D:\Program Files\prel\site\bin;D:\Program Files\prel\bin;D:\Program Files\MySQL\MySQL Server 5.5\bin;C:\Program Files\Java\jdk1.7.0_15\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;D:\Program Files\tomcat\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat1\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat2\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat3\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat4\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat5\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat6\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat7\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat8\bin;D:\Program Files\apache-tomcat-7.0.73\tomcat9\bin; OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 6 Model 63 Stepping 2, GenuineIntel --------------- S Y S T E M --------------- OS: Windows Server 2003 family Build 3790 Service Pack 2 CPU:total 4 (1 cores per cpu, 1 threads per core) family 6 model 63 stepping 2, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, tsc Memory: 4k page, physical 4193472k(1140456k free), swap 6115224k(2295060k free) vm_info: Java HotSpot(TM) Client VM (23.7-b01) for windows-x86 JRE (1.7.0_15-b03), built on Feb 15 2013 14:01:25 by "java_re" with unknown MS VC++:1600 time: Thu Jul 11 04:46:21 2019 elapsed time: 37043 seconds
Linux下反汇编C语言程序,其中有个匿名的且非常简短的函数,通过分析发现这个函数好像没有任何意义?
``` /* C语言代码如下 */ int add(int a, int b) { return (a+b); } int main(int argc, char *argv[]) { int a = 10; int b = 20; int result = 0; result = add(1, 2); result = add(a, b); return 0; } /* -------------------------------------- */ ``` 使用如下命令生成可执行文件“main_32bit_exe”: gcc -m32 -c main.c -o main_32bit.o ld -m elf_i386 -s main_32bit.o -o main_32bit_exe 通过如下命令获得其反汇编代码: objdump -d -M intel main_32bit_exe ``` 08048094 <.text>: 8048094: 55 push ebp 8048095: 89 e5 mov ebp,esp 8048097: e8 5b 00 00 00 call 0x80480f7 **; 调用了一个未知的匿名函数(且没有任何意义)** 804809c: 05 64 1f 00 00 add eax,0x1f64 80480a1: 8b 55 08 mov edx,DWORD PTR [ebp+0x8] 80480a4: 8b 45 0c mov eax,DWORD PTR [ebp+0xc] 80480a7: 01 d0 add eax,edx 80480a9: 5d pop ebp 80480aa: c3 ret 80480ab: 55 push ebp 80480ac: 89 e5 mov ebp,esp 80480ae: 83 ec 10 sub esp,0x10 80480b1: e8 41 00 00 00 call 0x80480f7 80480b6: 05 4a 1f 00 00 add eax,0x1f4a 80480bb: c7 45 f4 0a 00 00 00 mov DWORD PTR [ebp-0xc],0xa 80480c2: c7 45 f8 14 00 00 00 mov DWORD PTR [ebp-0x8],0x14 80480c9: c7 45 fc 00 00 00 00 mov DWORD PTR [ebp-0x4],0x0 80480d0: 6a 02 push 0x2 80480d2: 6a 01 push 0x1 80480d4: e8 bb ff ff ff call 0x8048094 80480d9: 83 c4 08 add esp,0x8 80480dc: 89 45 fc mov DWORD PTR [ebp-0x4],eax 80480df: ff 75 f8 push DWORD PTR [ebp-0x8] 80480e2: ff 75 f4 push DWORD PTR [ebp-0xc] 80480e5: e8 aa ff ff ff call 0x8048094 80480ea: 83 c4 08 add esp,0x8 80480ed: 89 45 fc mov DWORD PTR [ebp-0x4],eax 80480f0: b8 00 00 00 00 mov eax,0x0 80480f5: c9 leave 80480f6: c3 ret 80480f7: 8b 04 24 mov eax,DWORD PTR [esp] 80480fa: c3 ret ``` ![图片说明](https://img-ask.csdn.net/upload/201907/31/1564572627_27890.jpg) 通过分析该汇编代码可知 地址 0x08048094 处对应 C 语言源代码中的 add() 函数 地址 0x080480ab 处对应 C 语言源码中的 main() 函数 但是地址 0x080480f7 处是一个未知函数,且它在(汇编版) add() 函数中被调用了,可是 通过分析发现该函数没有任何意义,不知此处为什么要调用这样一个函数?
从excel导入1000多条数据到oracle数据库时,java内存溢出,tomcat报错
tomcat错误日志如下: # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c930a19, pid=1168, tid=1936 # # Java VM: Java HotSpot(TM) Client VM (1.5.0_16-b02 mixed mode) # Problematic frame: # C [ntdll.dll+0x10a19] # --------------- T H R E A D --------------- Current thread (0x0082d500): JavaThread "Finalizer" daemon [_thread_in_native, id=1936] siginfo: ExceptionCode=0xc0000005, reading address 0x0030002d Registers: EAX=0x0011a358, EBX=0x00080000, ECX=0x0030002d, EDX=0x00350045 ESP=0x0ac8f77c, EBP=0x0ac8f788, ESI=0x0011a350, EDI=0x0011a2e0 EIP=0x7c930a19, EFLAGS=0x00010246 Top of Stack: (sp=0x0ac8f77c) 0x0ac8f77c: 00080000 0011a2f0 00000000 0ac8f85c 0x0ac8f78c: 7c93084c 00143898 0030002d 0ac8f840 0x0ac8f79c: 00000000 00000880 0011a2f8 00000000 0x0ac8f7ac: 00000000 0082ec44 0ac8f7f0 00143898 0x0ac8f7bc: 0782de50 0782de50 0014f1f0 00000008 0x0ac8f7cc: 000801b8 769a2580 00000030 00000028 0x0ac8f7dc: 0011f1c8 0ac8f800 770f4a64 76ab5034 0x0ac8f7ec: 0011f1c8 00000008 00000020 00000003 Instructions: (pc=0x7c930a19) 0x7c930a09: 85 92 00 00 00 8b 4e 0c 8d 46 08 8b 10 89 4d 0c 0x7c930a19: 8b 09 3b 4a 04 89 55 14 0f 85 ea 0f 00 00 3b c8 Stack: [0x0ac50000,0x0ac90000), sp=0x0ac8f77c, free space=253k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [ntdll.dll+0x10a19] C [ntdll.dll+0x1084c] C [ole32.dll+0x12024] C [OLEAUT32.dll+0x2d424] C [OLEAUT32.dll+0x2c12c] C [OLEAUT32.dll+0x4f10] C [OLEAUT32.dll+0x4ea9] C [OLEAUT32.dll+0x4958] C [jacob.dll+0x15dc] j com.jacob.com.Variant.finalize()V+8 v ~StubRoutines::call_stub V [jvm.dll+0x875fa] V [jvm.dll+0xdfe2c] V [jvm.dll+0x874cb] V [jvm.dll+0x8ca8e] C [java.dll+0x2006] j java.lang.ref.Finalizer.runFinalizer()V+45 j java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V+1 j java.lang.ref.Finalizer$FinalizerThread.run()V+11 v ~StubRoutines::call_stub V [jvm.dll+0x875fa] V [jvm.dll+0xdfe2c] V [jvm.dll+0x874cb] V [jvm.dll+0x87228] V [jvm.dll+0xa2093] V [jvm.dll+0x111379] V [jvm.dll+0x111347] C [MSVCRT.dll+0x2a3b0] C [kernel32.dll+0xb699] Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j com.jacob.com.Variant.release()V+0 j com.jacob.com.Variant.finalize()V+8 v ~StubRoutines::call_stub j java.lang.ref.Finalizer.invokeFinalizeMethod(Ljava/lang/Object;)V+0 j java.lang.ref.Finalizer.runFinalizer()V+45 j java.lang.ref.Finalizer.access$100(Ljava/lang/ref/Finalizer;)V+1 j java.lang.ref.Finalizer$FinalizerThread.run()V+11 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x0c9823a0 JavaThread "Thread-28" daemon [_thread_blocked, id=2680] 0x0c913490 JavaThread "File Reaper" daemon [_thread_blocked, id=4368] 0x0c8fe390 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2568] 0x0c8fc440 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1932] 0x0bf80470 JavaThread "http-8080-19" daemon [_thread_blocked, id=4280] 0x0bf4ee70 JavaThread "http-8080-18" daemon [_thread_blocked, id=4276] 0x0bf798b0 JavaThread "http-8080-17" daemon [_thread_blocked, id=4272] 0x0bf78470 JavaThread "http-8080-16" daemon [_thread_blocked, id=4268] 0x0bf773d0 JavaThread "http-8080-15" daemon [_thread_blocked, id=4264] 0x0bf77690 JavaThread "http-8080-14" daemon [_thread_blocked, id=4260] 0x0bf76e70 JavaThread "http-8080-13" daemon [_thread_blocked, id=4256] 0x0bf74020 JavaThread "http-8080-12" daemon [_thread_blocked, id=4248] 0x0bf69320 JavaThread "http-8080-11" daemon [_thread_blocked, id=1108] 0x0bf45100 JavaThread "http-8080-10" daemon [_thread_blocked, id=3744] 0x0bf56a70 JavaThread "http-8080-9" daemon [_thread_blocked, id=1836] 0x0bf55670 JavaThread "http-8080-8" daemon [_thread_blocked, id=4012] 0x0bf543a0 JavaThread "http-8080-7" daemon [_thread_blocked, id=456] 0x0bf52150 JavaThread "http-8080-6" daemon [_thread_blocked, id=616] 0x0bf523c0 JavaThread "http-8080-5" daemon [_thread_blocked, id=2848] 0x0bf52ca0 JavaThread "http-8080-4" daemon [_thread_blocked, id=1456] 0x0bf51e70 JavaThread "http-8080-3" daemon [_thread_blocked, id=3000] 0x0bf4f990 JavaThread "http-8080-2" daemon [_thread_blocked, id=888] 0x0becc770 JavaThread "http-8080-1" daemon [_thread_blocked, id=2136] 0x0bf02e70 JavaThread "TP-Monitor" daemon [_thread_blocked, id=3776] 0x0bf00470 JavaThread "TP-Processor4" daemon [_thread_in_native, id=3696] 0x0bef9ce0 JavaThread "TP-Processor3" daemon [_thread_blocked, id=2376] 0x0bef6980 JavaThread "TP-Processor2" daemon [_thread_blocked, id=2864] 0x0bef75d0 JavaThread "TP-Processor1" daemon [_thread_blocked, id=564] 0x008a7bd0 JavaThread "http-8080-Acceptor-0" daemon [_thread_in_native, id=924] 0x0089a170 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_in_native, id=3272] 0x008b75d0 JavaThread "Thread-1" daemon [_thread_blocked, id=1160] 0x008890a0 JavaThread "GC Daemon" daemon [_thread_blocked, id=2688] 0x00844cd0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2444] 0x00842550 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3820] 0x00840e20 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3968] 0x008370f0 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=4052] 0x00836370 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=2576] 0x00835cb0 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_vm, id=1448] =>0x0082d500 JavaThread "Finalizer" daemon [_thread_in_native, id=1936] 0x0082c250 JavaThread "Reference Handler" daemon [_thread_blocked, id=2400] 0x00823120 JavaThread "main" [_thread_in_native, id=416] Other Threads: 0x0082b530 VMThread [id=2092] 0x00845360 WatcherThread [id=2060] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 3264K, used 73K [0x02bd0000, 0x02f50000, 0x030b0000) eden space 2944K, 2% used [0x02bd0000, 0x02be25c0, 0x02eb0000) from space 320K, 0% used [0x02eb0000, 0x02eb0000, 0x02f00000) to space 320K, 0% used [0x02f00000, 0x02f00000, 0x02f50000) tenured generation total 42212K, used 19496K [0x030b0000, 0x059e9000, 0x06bd0000) the space 42212K, 46% used [0x030b0000, 0x043ba330, 0x043ba400, 0x059e9000) compacting perm gen total 36608K, used 36359K [0x06bd0000, 0x08f90000, 0x0abd0000) the space 36608K, 99% used [0x06bd0000, 0x08f51dd8, 0x08f51e00, 0x08f90000) No shared spaces configured. Dynamic libraries: 0x00400000 - 0x0040d000 C:\java\jre1.5.0_16\bin\javaw.exe 0x7c920000 - 0x7c9b6000 C:\WINDOWS\system32\ntdll.dll 0x7c800000 - 0x7c91d000 C:\WINDOWS\system32\kernel32.dll 0x77da0000 - 0x77e49000 C:\WINDOWS\system32\ADVAPI32.dll 0x77e50000 - 0x77ee2000 C:\WINDOWS\system32\RPCRT4.dll 0x77fc0000 - 0x77fd1000 C:\WINDOWS\system32\Secur32.dll 0x77d10000 - 0x77d9f000 C:\WINDOWS\system32\USER32.dll 0x77ef0000 - 0x77f38000 C:\WINDOWS\system32\GDI32.dll 0x77be0000 - 0x77c38000 C:\WINDOWS\system32\MSVCRT.dll 0x76300000 - 0x7631d000 C:\WINDOWS\system32\IMM32.DLL 0x62c20000 - 0x62c29000 C:\WINDOWS\system32\LPK.DLL 0x73fa0000 - 0x7400b000 C:\WINDOWS\system32\USP10.dll 0x6d640000 - 0x6d7de000 C:\java\jre1.5.0_16\bin\client\jvm.dll 0x76b10000 - 0x76b3a000 C:\WINDOWS\system32\WINMM.dll 0x6d290000 - 0x6d298000 C:\java\jre1.5.0_16\bin\hpi.dll 0x76bc0000 - 0x76bcb000 C:\WINDOWS\system32\PSAPI.DLL 0x6d390000 - 0x6d3c5000 C:\java\jre1.5.0_16\bin\jdwp.dll 0x6d610000 - 0x6d61c000 C:\java\jre1.5.0_16\bin\verify.dll 0x6d310000 - 0x6d32d000 C:\java\jre1.5.0_16\bin\java.dll 0x6d630000 - 0x6d63f000 C:\java\jre1.5.0_16\bin\zip.dll 0x6d220000 - 0x6d227000 C:\java\jre1.5.0_16\bin\dt_socket.dll 0x71a20000 - 0x71a37000 C:\WINDOWS\system32\WS2_32.dll 0x71a10000 - 0x71a18000 C:\WINDOWS\system32\WS2HELP.dll 0x719c0000 - 0x719fe000 C:\WINDOWS\System32\mswsock.dll 0x76ef0000 - 0x76f17000 C:\WINDOWS\system32\DNSAPI.dll 0x76f80000 - 0x76f88000 C:\WINDOWS\System32\winrnr.dll 0x76f30000 - 0x76f5c000 C:\WINDOWS\system32\WLDAP32.dll 0x64000000 - 0x64025000 C:\Program Files\Bonjour\mdnsNSP.dll 0x76d30000 - 0x76d48000 C:\WINDOWS\system32\Iphlpapi.dll 0x76f90000 - 0x76f96000 C:\WINDOWS\system32\rasadhlp.dll 0x60fd0000 - 0x61025000 C:\WINDOWS\system32\hnetcfg.dll 0x71a00000 - 0x71a08000 C:\WINDOWS\System32\wshtcpip.dll 0x6d4c0000 - 0x6d4c8000 C:\java\jre1.5.0_16\bin\management.dll 0x6d190000 - 0x6d1bf000 C:\java\jre1.5.0_16\bin\cmm.dll 0x6d3d0000 - 0x6d3ef000 C:\java\jre1.5.0_16\bin\jpeg.dll 0x6d4d0000 - 0x6d4e3000 C:\java\jre1.5.0_16\bin\net.dll 0x6d000000 - 0x6d16d000 C:\java\jre1.5.0_16\bin\awt.dll 0x72f70000 - 0x72f96000 C:\WINDOWS\system32\WINSPOOL.DRV 0x76990000 - 0x76acc000 C:\WINDOWS\system32\ole32.dll 0x5adc0000 - 0x5adf7000 C:\WINDOWS\system32\uxtheme.dll 0x736d0000 - 0x73719000 C:\WINDOWS\system32\ddraw.dll 0x73b30000 - 0x73b36000 C:\WINDOWS\system32\DCIMAN32.dll 0x6d240000 - 0x6d290000 C:\java\jre1.5.0_16\bin\fontmanager.dll 0x74680000 - 0x746cb000 C:\WINDOWS\system32\MSCTF.dll 0x73640000 - 0x7366e000 C:\WINDOWS\system32\msctfime.ime 0x6d4f0000 - 0x6d4f9000 C:\java\jre1.5.0_16\bin\nio.dll 0x0ffd0000 - 0x0fff8000 C:\WINDOWS\system32\rsaenh.dll 0x759d0000 - 0x75a7e000 C:\WINDOWS\system32\USERENV.dll 0x5fdd0000 - 0x5fe24000 C:\WINDOWS\system32\netapi32.dll 0x10000000 - 0x10018000 C:\java\jre1.5.0_16\bin\jacob.dll 0x770f0000 - 0x7717c000 C:\WINDOWS\system32\OLEAUT32.dll 0x76fa0000 - 0x7701f000 C:\WINDOWS\system32\CLBCATQ.DLL 0x77020000 - 0x770ba000 C:\WINDOWS\system32\COMRes.dll 0x77bd0000 - 0x77bd8000 C:\WINDOWS\system32\VERSION.dll 0x0cce0000 - 0x0cfa6000 C:\WINDOWS\system32\msi.dll 0x20000000 - 0x20549000 C:\WINDOWS\system32\xpsp2res.dll 0x0d070000 - 0x0d475000 D:\dll\PrnSheetDll.dll 0x5d170000 - 0x5d207000 C:\WINDOWS\system32\comctl32.dll 0x7d590000 - 0x7dd83000 C:\WINDOWS\system32\shell32.dll 0x77f40000 - 0x77fb6000 C:\WINDOWS\system32\SHLWAPI.dll 0x76320000 - 0x76367000 C:\WINDOWS\system32\comdlg32.dll 0x77180000 - 0x77282000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.2180_x-ww_a84f1ff9\comctl32.dll 0x5efe0000 - 0x5eff7000 C:\WINDOWS\system32\olepro32.dll 0x75e00000 - 0x75eae000 C:\WINDOWS\system32\SXS.DLL 0x4dd10000 - 0x4dd93000 C:\Program Files\Common Files\System\ado\msado15.dll 0x75b50000 - 0x75b75000 C:\WINDOWS\system32\MSDART.DLL 0x1b5d0000 - 0x1b665000 C:\WINDOWS\system32\MSWSTR10.DLL 0x72d70000 - 0x72de7000 C:\Program Files\Common Files\System\Ole DB\oledb32.dll 0x74fa0000 - 0x74fb1000 C:\Program Files\Common Files\System\Ole DB\OLEDB32R.DLL 0x0d8e0000 - 0x0d94d000 D:\oracle\product\10.2.0\db_1\bin\OraOLEDB10.DLL 0x44100000 - 0x44120000 D:\oracle\product\10.2.0\db_1\bin\OraOLEDBgmr10.dll 0x61c20000 - 0x61e72000 D:\oracle\product\10.2.0\db_1\bin\oraclient10.dll 0x60870000 - 0x60953000 D:\oracle\product\10.2.0\db_1\bin\oracore10.dll 0x60a80000 - 0x60b44000 D:\oracle\product\10.2.0\db_1\bin\oranls10.dll 0x63690000 - 0x636a8000 D:\oracle\product\10.2.0\db_1\bin\oraunls10.dll 0x7c340000 - 0x7c396000 D:\oracle\product\10.2.0\db_1\bin\MSVCR71.dll 0x60eb0000 - 0x60eb7000 D:\oracle\product\10.2.0\db_1\bin\orauts.dll 0x636b0000 - 0x636b6000 D:\oracle\product\10.2.0\db_1\bin\oravsn10.dll 0x0d950000 - 0x0da42000 D:\oracle\product\10.2.0\db_1\bin\oracommon10.dll 0x60300000 - 0x60857000 D:\oracle\product\10.2.0\db_1\bin\orageneric10.dll 0x63430000 - 0x63457000 D:\oracle\product\10.2.0\db_1\bin\orasnls10.dll 0x0da50000 - 0x0dbb0000 D:\oracle\product\10.2.0\db_1\bin\oraxml10.dll 0x0dbb0000 - 0x0dbc1000 C:\WINDOWS\system32\MSVCIRT.dll 0x60960000 - 0x60a6d000 D:\oracle\product\10.2.0\db_1\bin\oran10.dll 0x62740000 - 0x6277d000 D:\oracle\product\10.2.0\db_1\bin\oranl10.dll 0x62790000 - 0x627a7000 D:\oracle\product\10.2.0\db_1\bin\oranldap10.dll 0x627f0000 - 0x628f9000 D:\oracle\product\10.2.0\db_1\bin\orannzsbb10.dll 0x62530000 - 0x62583000 D:\oracle\product\10.2.0\db_1\bin\oraldapclnt10.dll 0x62670000 - 0x6268b000 D:\oracle\product\10.2.0\db_1\bin\orancrypt10.dll 0x71a40000 - 0x71a4b000 C:\WINDOWS\system32\WSOCK32.dll 0x62920000 - 0x6296c000 D:\oracle\product\10.2.0\db_1\bin\oranro10.dll 0x626b0000 - 0x626b7000 D:\oracle\product\10.2.0\db_1\bin\oranhost10.dll 0x62660000 - 0x62666000 D:\oracle\product\10.2.0\db_1\bin\orancds10.dll 0x629c0000 - 0x629c8000 D:\oracle\product\10.2.0\db_1\bin\orantns10.dll 0x60b50000 - 0x60ea8000 D:\oracle\product\10.2.0\db_1\bin\orapls10.dll 0x0dbd0000 - 0x0dbd9000 D:\oracle\product\10.2.0\db_1\bin\oraslax10.dll 0x63080000 - 0x63284000 D:\oracle\product\10.2.0\db_1\bin\oraplp10.dll 0x61ed0000 - 0x61f5b000 D:\oracle\product\10.2.0\db_1\bin\orahasgen10.dll 0x62ab0000 - 0x62b1a000 D:\oracle\product\10.2.0\db_1\bin\oraocr10.dll 0x62b20000 - 0x62b60000 D:\oracle\product\10.2.0\db_1\bin\oraocrb10.dll 0x62980000 - 0x62990000 D:\oracle\product\10.2.0\db_1\bin\orantcp10.dll 0x0dbe0000 - 0x0dc7a000 D:\oracle\product\10.2.0\db_1\bin\orasql10.dll 0x44400000 - 0x44423000 D:\oracle\product\10.2.0\db_1\bin\OraOLEDBrst10.dll 0x44700000 - 0x44707000 D:\oracle\product\10.2.0\db_1\bin\OraOLEDButl10.dll 0x44300000 - 0x44306000 D:\oracle\product\10.2.0\db_1\bin\OraOLEDB10zhs.dll 0x44200000 - 0x44208000 D:\oracle\product\10.2.0\db_1\bin\OraOLEDBpus10.dll 0x75690000 - 0x757ca000 C:\WINDOWS\system32\comsvcs.dll 0x75050000 - 0x75063000 C:\WINDOWS\system32\MTXCLU.DLL 0x75090000 - 0x750a4000 C:\WINDOWS\system32\colbact.DLL 0x762a0000 - 0x762b1000 C:\WINDOWS\system32\CLUSAPI.DLL 0x75010000 - 0x75022000 C:\WINDOWS\system32\RESUTILS.DLL 0x71f00000 - 0x71f04000 C:\WINDOWS\system32\security.dll 0x77c40000 - 0x77c64000 C:\WINDOWS\system32\msv1_0.dll 0x76760000 - 0x7676c000 C:\WINDOWS\system32\cryptdll.dll 0x72df0000 - 0x72e41000 C:\Program Files\Common Files\System\msadc\msadce.dll 0x0e590000 - 0x0e595000 C:\Program Files\Common Files\System\msadc\msadcer.dll 0x0e5d0000 - 0x0e5d6000 C:\Program Files\Common Files\System\ado\msader15.dll VM Arguments: jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:1666 -Dcatalina.home=D:\tomcat-6.0.24 -Djava.endorsed.dirs=D:\tomcat-6.0.24\endorsed -Dcatalina.base=D:\tomcat-6.0.24 -Djava.io.tmpdir=D:\tomcat-6.0.24\temp -Dfile.encoding=UTF-8 java_command: org.apache.catalina.startup.Bootstrap start Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=C:\java\jdk1.5.0_16 CLASSPATH=.;C:\java\jdk1.5.0_16\dt.jar; C:\java\jdk1.5.0_16\lib\tools.jar; ;C:\Program Files\Java\jre6\lib\ext\QTJava.zip PATH=C:/Program Files/Java/jre6/bin/client;C:/Program Files/Java/jre6/bin;D:\oracle\product\10.2.0\db_1\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI.ACE\Core-Static;C:\Program Files\ThinkPad Wireless LAN Adapter Software;C:\Program Files\Common Files\Thunder Network\KanKan\Codecs;C:\Program Files\Intel\WiFi\bin\;C:\java\JDK1.5.0\bin;C:\Program Files\TortoiseSVN\bin;C:\java\jdk1.5.0_16\bin;C:\java\jdk1.5.0_16\jre\bin;D:\tomcat-6.0.24\bin;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\StormII\Codec;C:\Program Files\StormII USERNAME=think OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 6 Model 23 Stepping 10, GenuineIntel --------------- S Y S T E M --------------- OS: Windows XP Build 2600 Service Pack 2 CPU:total 2 (cores per cpu 2, threads per core 1) family 6 model 7 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2 Memory: 4k page, physical 1958696k(57748k free), swap 3897560k(1530344k free) vm_info: Java HotSpot(TM) Client VM (1.5.0_16-b02) for windows-x86, built on May 28 2008 01:04:49 by "java_re" with MS VC++ 6.0
tomcat自动挂掉,在tomcat/bin/hs_err_pid4884.log如下,请高手帮忙看下。
# # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c95a1db, pid=5424, tid=2752 # # JRE version: 6.0_45-b06 # Java VM: Java HotSpot(TM) Server VM (20.45-b01 mixed mode windows-x86 ) # Problematic frame: # C [ntdll.dll+0x2a1db] # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # --------------- T H R E A D --------------- Current thread (0x481e7800): JavaThread "http-8080-8" daemon [_thread_in_native, id=2752, stack(0x4e850000,0x4e8c0000)] siginfo: ExceptionCode=0xc0000005, reading address 0x00000000 Registers: EAX=0x00000000, EBX=0x49510000, ECX=0x00000000, EDX=0x49515b40 ESP=0x4e8bf2d4, EBP=0x4e8bf4f0, ESI=0x49515b38, EDI=0x000004a3 EIP=0x7c95a1db, EFLAGS=0x00010246 Top of Stack: (sp=0x4e8bf2d4) 0x4e8bf2d4: 4858ffe8 481e7928 00000000 0000014c 0x4e8bf2e4: 32feb938 00001947 32fdf468 4e8bf2f0 0x4e8bf2f4: 046cdc79 4e8bf32c 046ce000 00000000 0x4e8bf304: 046cdd98 00000000 4e8bf330 32fdf468 0x4e8bf314: 013e13d8 00001947 0000014c 00000000 0x4e8bf324: 00000001 32fdf1a8 32fdf468 00000001 0x4e8bf334: fffffffb 32fdf1a8 32fdf468 00000000 0x4e8bf344: 00000000 00dc2ee1 006e6220 00000000 Instructions: (pc=0x7c95a1db) 0x7c95a1bb: 53 e8 37 fe ff ff 8d 56 08 89 95 00 ff ff ff 8b 0x7c95a1cb: 02 89 85 48 fe ff ff 8b 4a 04 89 8d f8 fe ff ff 0x7c95a1db: 8b 39 3b 78 04 0f 85 29 73 01 00 3b fa 0f 85 21 0x7c95a1eb: 73 01 00 89 01 89 48 04 8a 46 05 88 45 e3 0f b7 Register to memory mapping: EAX=0x00000000 is an unknown value EBX=0x49510000 is an unknown value ECX=0x00000000 is an unknown value EDX=0x49515b40 is an unknown value ESP=0x4e8bf2d4 is pointing into the stack for thread: 0x481e7800 EBP=0x4e8bf4f0 is pointing into the stack for thread: 0x481e7800 ESI=0x49515b38 is an unknown value EDI=0x000004a3 is an unknown value Stack: [0x4e850000,0x4e8c0000], sp=0x4e8bf2d4, free space=444k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [ntdll.dll+0x2a1db] RtlRestoreLastWin32Error+0x235 C [FT_ET99_API.dll+0x46b9] MD5_HMAC+0xc79 C [FT_ET99_API.dll+0x45b0] MD5_HMAC+0xb70 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j ET99jni.ET99API.FindToken([B[I)V+0 j ET99jni.CET99.FindToken([B[I)V+6 j com.m.framework.pub.malg.hard.MetaET.getKey()Ljava/lang/String;+32 j com.m.framework.pub.mau.MetaProp.getKey3()Ljava/lang/String;+0 j com.m.framework.pub.mau.Reader.decLic(Ljava/lang/String;)Ljava/lang/String;+0 j com.m.framework.pub.mau.Reader.getLic()Ljava/lang/String;+3 j com.m.framework.pub.mau.Reader.readAu()Lcom/m/framework/pub/mau/Metaau;+0 j com.m.framework.pub.mau.Reader.checkAu()I+0 j com.m.framework.model.users.UserManager.deleteSession(Ljava/lang/String;)V+35 j org.apache.jsp.logout_jsp._jspService(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+241 j org.apache.jasper.runtime.HttpJspBase.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+3 J javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V j org.apache.jasper.servlet.JspServletWrapper.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Z)V+315 j org.apache.jasper.servlet.JspServlet.serviceJspFile(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;Ljava/lang/String;Ljava/lang/Throwable;Z)V+126 j org.apache.jasper.servlet.JspServlet.service(Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)V+347 J javax.servlet.http.HttpServlet.service(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V J org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V J org.apache.catalina.core.ApplicationFilterChain.doFilter(Ljavax/servlet/ServletRequest;Ljavax/servlet/ServletResponse;)V j org.apache.catalina.core.StandardWrapperValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V+804 J org.apache.catalina.core.StandardContextValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V J org.apache.catalina.core.StandardEngineValve.invoke(Lorg/apache/catalina/connector/Request;Lorg/apache/catalina/connector/Response;)V j org.apache.catalina.connector.CoyoteAdapter.service(Lorg/apache/coyote/Request;Lorg/apache/coyote/Response;)V+158 J org.apache.coyote.http11.Http11AprProcessor.process(J)Lorg/apache/tomcat/util/net/AprEndpoint$Handler$SocketState; J org.apache.tomcat.util.net.AprEndpoint$Worker.run()V j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x4966e800 JavaThread "Thread-6235" daemon [_thread_blocked, id=5640, stack(0x4ef20000,0x4ef90000)] 0x490c9400 JavaThread "http-8080-16" daemon [_thread_blocked, id=2708, stack(0x4edd0000,0x4ee40000)] 0x4a432400 JavaThread "http-8080-15" daemon [_thread_blocked, id=5140, stack(0x4ecf0000,0x4ed60000)] 0x49eda800 JavaThread "AWT-Windows" daemon [_thread_in_native, id=5356, stack(0x4ee40000,0x4eeb0000)] 0x49ed2400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4620, stack(0x4ed60000,0x4edd0000)] 0x49685800 JavaThread "http-8080-14" daemon [_thread_in_native, id=2692, stack(0x4ea80000,0x4eaf0000)] 0x48aaa800 JavaThread "http-8080-13" daemon [_thread_blocked, id=2876, stack(0x4ea10000,0x4ea80000)] 0x481e9c00 JavaThread "http-8080-12" daemon [_thread_blocked, id=5720, stack(0x4e9a0000,0x4ea10000)] 0x48881800 JavaThread "http-8080-11" daemon [_thread_blocked, id=6084, stack(0x4a540000,0x4a5b0000)] 0x4a949c00 JavaThread "http-8080-10" daemon [_thread_blocked, id=4552, stack(0x4e930000,0x4e9a0000)] 0x49d47800 JavaThread "http-8080-9" daemon [_thread_blocked, id=2908, stack(0x4e8c0000,0x4e930000)] =>0x481e7800 JavaThread "http-8080-8" daemon [_thread_in_native, id=2752, stack(0x4e850000,0x4e8c0000)] 0x4981d400 JavaThread "http-8080-7" daemon [_thread_blocked, id=5224, stack(0x4e7e0000,0x4e850000)] 0x4a0aec00 JavaThread "http-8080-6" daemon [_thread_blocked, id=2416, stack(0x4e770000,0x4e7e0000)] 0x4a2a7400 JavaThread "http-8080-5" daemon [_thread_blocked, id=312, stack(0x4e700000,0x4e770000)] 0x49a04400 JavaThread "http-8080-4" daemon [_thread_blocked, id=1188, stack(0x4e690000,0x4e700000)] 0x48935400 JavaThread "ajp-8009-Acceptor-0" daemon [_thread_in_native, id=6012, stack(0x4e620000,0x4e690000)] 0x49a87400 JavaThread "ajp-8009-CometPoller-7" daemon [_thread_blocked, id=5264, stack(0x4e5b0000,0x4e620000)] 0x4872b400 JavaThread "ajp-8009-CometPoller-6" daemon [_thread_blocked, id=5688, stack(0x4e540000,0x4e5b0000)] 0x49aac400 JavaThread "ajp-8009-CometPoller-5" daemon [_thread_blocked, id=4132, stack(0x4e4d0000,0x4e540000)] 0x4a037800 JavaThread "ajp-8009-CometPoller-4" daemon [_thread_blocked, id=5524, stack(0x4e060000,0x4e0d0000)] 0x4898b400 JavaThread "ajp-8009-CometPoller-3" daemon [_thread_blocked, id=688, stack(0x4dff0000,0x4e060000)] 0x48b31400 JavaThread "ajp-8009-CometPoller-2" daemon [_thread_blocked, id=1156, stack(0x4df80000,0x4dff0000)] 0x48b12400 JavaThread "ajp-8009-CometPoller-1" daemon [_thread_blocked, id=548, stack(0x4df10000,0x4df80000)] 0x48d12800 JavaThread "ajp-8009-CometPoller-0" daemon [_thread_blocked, id=1664, stack(0x4dea0000,0x4df10000)] 0x48fd2400 JavaThread "ajp-8009-Poller-7" daemon [_thread_blocked, id=4784, stack(0x4de30000,0x4dea0000)] 0x48ab0400 JavaThread "ajp-8009-Poller-6" daemon [_thread_blocked, id=2304, stack(0x4ddc0000,0x4de30000)] 0x4853b000 JavaThread "ajp-8009-Poller-5" daemon [_thread_blocked, id=5348, stack(0x4dd50000,0x4ddc0000)] 0x48ad0800 JavaThread "ajp-8009-Poller-4" daemon [_thread_blocked, id=6092, stack(0x4dce0000,0x4dd50000)] 0x4a43a800 JavaThread "ajp-8009-Poller-3" daemon [_thread_blocked, id=388, stack(0x4dc70000,0x4dce0000)] 0x485c7000 JavaThread "ajp-8009-Poller-2" daemon [_thread_blocked, id=5976, stack(0x4dc00000,0x4dc70000)] 0x48c06400 JavaThread "ajp-8009-Poller-1" daemon [_thread_blocked, id=3952, stack(0x4db90000,0x4dc00000)] 0x48f4c400 JavaThread "ajp-8009-Poller-0" daemon [_thread_blocked, id=2744, stack(0x4db20000,0x4db90000)] 0x4871d400 JavaThread "http-8080-3" daemon [_thread_blocked, id=3280, stack(0x4dab0000,0x4db20000)] 0x49c6b400 JavaThread "http-8080-2" daemon [_thread_blocked, id=5644, stack(0x4da40000,0x4dab0000)] 0x4886d400 JavaThread "http-8080-1" daemon [_thread_blocked, id=3888, stack(0x4d9d0000,0x4da40000)] 0x48247400 JavaThread "http-8080-Acceptor-0" daemon [_thread_in_native, id=1820, stack(0x4d960000,0x4d9d0000)] 0x4885f000 JavaThread "http-8080-Sendfile-0" daemon [_thread_blocked, id=876, stack(0x4d8f0000,0x4d960000)] 0x48b4a400 JavaThread "http-8080-CometPoller-7" daemon [_thread_blocked, id=4496, stack(0x4d880000,0x4d8f0000)] 0x49973800 JavaThread "http-8080-CometPoller-6" daemon [_thread_blocked, id=4844, stack(0x4d810000,0x4d880000)] 0x48f96800 JavaThread "http-8080-CometPoller-5" daemon [_thread_blocked, id=1584, stack(0x4d7a0000,0x4d810000)] 0x49d92400 JavaThread "http-8080-CometPoller-4" daemon [_thread_blocked, id=2256, stack(0x4d730000,0x4d7a0000)] 0x49d5f400 JavaThread "http-8080-CometPoller-3" daemon [_thread_blocked, id=3444, stack(0x4d6c0000,0x4d730000)] 0x48584400 JavaThread "http-8080-CometPoller-2" daemon [_thread_blocked, id=256, stack(0x4d650000,0x4d6c0000)] 0x48f7f400 JavaThread "http-8080-CometPoller-1" daemon [_thread_blocked, id=3224, stack(0x4d5e0000,0x4d650000)] 0x48b29c00 JavaThread "http-8080-CometPoller-0" daemon [_thread_blocked, id=3972, stack(0x4d370000,0x4d3e0000)] 0x48df9800 JavaThread "http-8080-Poller-7" daemon [_thread_in_native, id=4616, stack(0x4d300000,0x4d370000)] 0x48aad800 JavaThread "http-8080-Poller-6" daemon [_thread_in_native, id=4920, stack(0x4d290000,0x4d300000)] 0x498ba400 JavaThread "http-8080-Poller-5" daemon [_thread_in_native, id=3892, stack(0x4d220000,0x4d290000)] 0x489c3400 JavaThread "http-8080-Poller-4" daemon [_thread_in_native, id=3864, stack(0x4d1b0000,0x4d220000)] 0x48e22800 JavaThread "http-8080-Poller-3" daemon [_thread_in_native, id=1672, stack(0x4d140000,0x4d1b0000)] 0x496e6400 JavaThread "http-8080-Poller-2" daemon [_thread_in_native, id=3388, stack(0x4d0d0000,0x4d140000)] 0x4860b800 JavaThread "http-8080-Poller-1" daemon [_thread_in_native, id=144, stack(0x4d060000,0x4d0d0000)] 0x49649400 JavaThread "http-8080-Poller-0" daemon [_thread_in_native, id=156, stack(0x4cff0000,0x4d060000)] 0x4870f400 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=3884, stack(0x4cf80000,0x4cff0000)] 0x49d5b800 JavaThread "scheduler_QuartzSchedulerThread" [_thread_blocked, id=4512, stack(0x4cf10000,0x4cf80000)] 0x48686800 JavaThread "scheduler_Worker-10" [_thread_blocked, id=5464, stack(0x4cea0000,0x4cf10000)] 0x48edf400 JavaThread "scheduler_Worker-9" [_thread_blocked, id=4744, stack(0x4ce30000,0x4cea0000)] 0x49fb0400 JavaThread "scheduler_Worker-8" [_thread_blocked, id=4160, stack(0x4cdc0000,0x4ce30000)] 0x485a1000 JavaThread "scheduler_Worker-7" [_thread_blocked, id=4228, stack(0x4cd50000,0x4cdc0000)] 0x49d32c00 JavaThread "scheduler_Worker-6" [_thread_blocked, id=4516, stack(0x4cce0000,0x4cd50000)] 0x49f9d400 JavaThread "scheduler_Worker-5" [_thread_blocked, id=4452, stack(0x4cc70000,0x4cce0000)] 0x4a03c400 JavaThread "scheduler_Worker-4" [_thread_blocked, id=596, stack(0x4cc00000,0x4cc70000)] 0x48f0e800 JavaThread "scheduler_Worker-3" [_thread_blocked, id=2656, stack(0x4cb90000,0x4cc00000)] 0x4a344400 JavaThread "scheduler_Worker-2" [_thread_blocked, id=3676, stack(0x4cb20000,0x4cb90000)] 0x4a0ccc00 JavaThread "scheduler_Worker-1" [_thread_blocked, id=2956, stack(0x4cab0000,0x4cb20000)] 0x48c9b800 JavaThread "DefaultQuartzScheduler_QuartzSchedulerThread" [_thread_blocked, id=3856, stack(0x4ca40000,0x4cab0000)] 0x48a48400 JavaThread "DefaultQuartzScheduler_Worker-10" [_thread_blocked, id=3120, stack(0x4c9d0000,0x4ca40000)] 0x4a4ee800 JavaThread "DefaultQuartzScheduler_Worker-9" [_thread_blocked, id=3496, stack(0x4c960000,0x4c9d0000)] 0x49fc1c00 JavaThread "DefaultQuartzScheduler_Worker-8" [_thread_blocked, id=2540, stack(0x4c8f0000,0x4c960000)] 0x4b47e800 JavaThread "DefaultQuartzScheduler_Worker-7" [_thread_blocked, id=4080, stack(0x4c880000,0x4c8f0000)] 0x48bd1800 JavaThread "DefaultQuartzScheduler_Worker-6" [_thread_blocked, id=5276, stack(0x4a7e0000,0x4a850000)] 0x488a4800 JavaThread "DefaultQuartzScheduler_Worker-5" [_thread_blocked, id=2764, stack(0x4a770000,0x4a7e0000)] 0x4a271800 JavaThread "DefaultQuartzScheduler_Worker-4" [_thread_blocked, id=5548, stack(0x4a700000,0x4a770000)] 0x486c5800 JavaThread "DefaultQuartzScheduler_Worker-3" [_thread_blocked, id=5016, stack(0x4a690000,0x4a700000)] 0x4978f400 JavaThread "DefaultQuartzScheduler_Worker-2" [_thread_blocked, id=5060, stack(0x4a620000,0x4a690000)] 0x4870d400 JavaThread "DefaultQuartzScheduler_Worker-1" [_thread_blocked, id=5068, stack(0x4a5b0000,0x4a620000)] 0x00d5dc00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2004, stack(0x48420000,0x48490000)] 0x00d5b400 JavaThread "C2 CompilerThread1" daemon [_thread_blocked, id=196, stack(0x483b0000,0x48420000)] 0x00d51000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=1184, stack(0x48340000,0x483b0000)] 0x48060800 JavaThread "Attach Listener" daemon [_thread_blocked, id=276, stack(0x482d0000,0x48340000)] 0x00d56400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5368, stack(0x48260000,0x482d0000)] 0x00d3f800 JavaThread "Finalizer" daemon [_thread_blocked, id=3516, stack(0x47ff0000,0x48060000)] 0x00d3ac00 JavaThread "Reference Handler" daemon [_thread_blocked, id=780, stack(0x47f80000,0x47ff0000)] 0x006e6400 JavaThread "main" [_thread_in_native, id=5952, stack(0x006f0000,0x00760000)] Other Threads: 0x00d37000 VMThread [stack: 0x47f10000,0x47f80000] [id=180] 0x00d6a400 WatcherThread [stack: 0x48490000,0x48500000] [id=5480] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap PSYoungGen total 67456K, used 8744K [0x32870000, 0x3b3d0000, 0x47dc0000) eden space 66496K, 11% used [0x32870000,0x330178c0,0x36960000) from space 960K, 94% used [0x3b2e0000,0x3b3c2808,0x3b3d0000) to space 3456K, 0% used [0x3ad10000,0x3ad10000,0x3b070000) PSOldGen total 136576K, used 79742K [0x07dc0000, 0x10320000, 0x32870000) object space 136576K, 58% used [0x07dc0000,0x0cb9fbf8,0x10320000) PSPermGen total 58496K, used 43041K [0x03dc0000, 0x076e0000, 0x07dc0000) object space 58496K, 73% used [0x03dc0000,0x067c8670,0x076e0000) Code Cache [0x00dc0000, 0x01a18000, 0x03dc0000) total_blobs=2631 nmethods=2389 adapters=195 free_code_cache=37469952 largest_free_block=18432 Dynamic libraries: 0x00400000 - 0x00418000 D:\m66\env\tomcat\bin\tomcat6.exe 0x7c930000 - 0x7ca03000 C:\WINDOWS\system32\ntdll.dll 0x7c800000 - 0x7c92d000 C:\WINDOWS\system32\kernel32.dll 0x77f30000 - 0x77fdb000 C:\WINDOWS\system32\ADVAPI32.dll 0x77c20000 - 0x77cc1000 C:\WINDOWS\system32\RPCRT4.dll 0x76eb0000 - 0x76ec3000 C:\WINDOWS\system32\Secur32.dll 0x7ca10000 - 0x7d1ec000 C:\WINDOWS\system32\SHELL32.dll 0x77b70000 - 0x77bca000 C:\WINDOWS\system32\msvcrt.dll 0x77bd0000 - 0x77c19000 C:\WINDOWS\system32\GDI32.dll 0x77e10000 - 0x77ea0000 C:\WINDOWS\system32\USER32.dll 0x77eb0000 - 0x77f02000 C:\WINDOWS\system32\SHLWAPI.dll 0x76180000 - 0x7619d000 C:\WINDOWS\system32\IMM32.DLL 0x7f000000 - 0x7f009000 C:\WINDOWS\system32\LPK.DLL 0x74ae0000 - 0x74b45000 C:\WINDOWS\system32\USP10.dll 0x77cd0000 - 0x77dd3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.4770_x-ww_05FDF087\comctl32.dll 0x6dbb0000 - 0x6e00a000 D:\m66\env\jdk\jre\bin\server\jvm.dll 0x769e0000 - 0x76a0a000 C:\WINDOWS\system32\WINMM.dll 0x7c340000 - 0x7c396000 C:\Program Files\Microsoft SQL Server\80\Tools\Binn\MSVCR71.dll 0x6d890000 - 0x6d89c000 D:\m66\env\jdk\jre\bin\verify.dll 0x6d3e0000 - 0x6d3ff000 D:\m66\env\jdk\jre\bin\java.dll 0x6d8d0000 - 0x6d8df000 D:\m66\env\jdk\jre\bin\zip.dll 0x6d610000 - 0x6d619000 D:\m66\env\jdk\jre\bin\management.dll 0x49100000 - 0x4921d000 D:\m66\env\tomcat\bin\tcnative-1.dll 0x76ab0000 - 0x76abb000 C:\WINDOWS\system32\PSAPI.DLL 0x71b60000 - 0x71b77000 C:\WINDOWS\system32\WS2_32.dll 0x71b50000 - 0x71b58000 C:\WINDOWS\system32\WS2HELP.dll 0x71a80000 - 0x71ac0000 C:\WINDOWS\system32\MSWSOCK.dll 0x68000000 - 0x68035000 C:\WINDOWS\system32\rsaenh.dll 0x69660000 - 0x696b7000 C:\WINDOWS\system32\hnetcfg.dll 0x71a40000 - 0x71a48000 C:\WINDOWS\System32\wshtcpip.dll 0x00d90000 - 0x00da1000 D:\m66\env\jdk\jre\bin\JET99AI20.dll 0x494f0000 - 0x49503000 D:\m66\env\tomcat\bin\FT_ET99_API.dll 0x770d0000 - 0x77244000 C:\WINDOWS\system32\SETUPAPI.dll 0x68760000 - 0x68768000 C:\WINDOWS\system32\HID.DLL 0x76b10000 - 0x76b3c000 C:\WINDOWS\system32\WINTRUST.dll 0x760a0000 - 0x76133000 C:\WINDOWS\system32\CRYPT32.dll 0x76080000 - 0x76092000 C:\WINDOWS\system32\MSASN1.dll 0x76b70000 - 0x76b9a000 C:\WINDOWS\system32\imagehlp.dll 0x6d6c0000 - 0x6d6d3000 D:\m66\env\jdk\jre\bin\net.dll 0x76e30000 - 0x76e5b000 C:\WINDOWS\system32\DNSAPI.dll 0x76ed0000 - 0x76ed7000 C:\WINDOWS\System32\winrnr.dll 0x76e70000 - 0x76e9e000 C:\WINDOWS\system32\WLDAP32.dll 0x76ee0000 - 0x76ee5000 C:\WINDOWS\system32\rasadhlp.dll 0x6d870000 - 0x6d878000 D:\m66\env\jdk\jre\bin\sunmscapi.dll 0x6d0b0000 - 0x6d1fc000 D:\m66\env\jdk\jre\bin\awt.dll 0x72f40000 - 0x72f67000 C:\WINDOWS\system32\WINSPOOL.DRV 0x774b0000 - 0x775ea000 C:\WINDOWS\system32\ole32.dll 0x6d2e0000 - 0x6d336000 D:\m66\env\jdk\jre\bin\fontmanager.dll 0x6d6e0000 - 0x6d6e9000 D:\m66\env\jdk\jre\bin\nio.dll 0x6d250000 - 0x6d273000 D:\m66\env\jdk\jre\bin\dcpr.dll VM Arguments: jvm_args: -Dcatalina.base=D:\m66\env\tomcat -Dcatalina.home=D:\m66\env\tomcat -Djava.endorsed.dirs=D:\m66\env\tomcat\common\endorsed -Djava.io.tmpdir=D:\m66\env\tomcat\temp exit -Xms200m -Xmx1024m java_command: <unknown> Launcher Type: generic Environment Variables: PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\Microsoft SQL Server\80\Tools\Binn\;C:\Program Files\Microsoft SQL Server\90\DTS\Binn\;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Program Files\Microsoft SQL Server\90\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\PrivateAssemblies\ OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 6 Model 26 Stepping 5, GenuineIntel --------------- S Y S T E M --------------- OS: Windows Server 2003 family Build 3790 Service Pack 2 CPU:total 4 (1 cores per cpu, 1 threads per core) family 6 model 26 stepping 5, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt Memory: 4k page, physical 8387804k(6626348k free), swap 10280872k(8438556k free) vm_info: Java HotSpot(TM) Server VM (20.45-b01) for windows-x86 JRE (1.6.0_45-b06), built on Mar 26 2013 13:36:39 by "java_re" with MS VC++ 7.1 (VS2003) time: Fri Jul 18 10:42:03 2014 elapsed time: 70702 seconds
VC 6.0 release编译以下报错。
Linking... nafxcw.lib(occlock.obj) : error : Internal error during Pass2 ExceptionCode = C0000005 ExceptionFlags = 00000000 ExceptionAddress = 1030FF80 NumberParameters = 00000002 ExceptionInformation[ 0] = 00000000 ExceptionInformation[ 1] = BF664C18 CONTEXT: Eax = EF97F018 Esp = 0018EDD0 Ebx = 00000001 Ebp = 0018EF0C Ecx = 0018EF32 Esi = 0064CB08 Edx = EF980018 Edi = 01068BB8 Eip = 1030FF80 EFlags = 00010286 SegCs = 00000023 SegDs = 0000002B SegSs = 0000002B SegEs = 0000002B SegFs = 00000053 SegGs = 0000002B Dr0 = 0018EDD0 Dr3 = 00000001 Dr1 = 0018EF0C Dr6 = 0018EF32 Dr2 = 00000000 Dr7 = 00000000 执行 link.exe 时出错. Tool execution canceled by user.
求大神解释下c语言双重for循环的汇编语句??
void main(){ int i,j; for(i=0;i<5;i++){ printf("0"); for(j=0;j<2;j++){ printf("1"); } } } 汇编: main: .LFB24: pushl %ebp movl %esp, %ebp pushl %ebx andl $-16, %esp subl $16, %esp movl $5, %ebx .L3: movl $48, (%esp) call putchar movl $49, (%esp) call putchar movl $49, (%esp) call putchar subl $1, %ebx jne .L3 movl -4(%ebp), %ebx leave ret
在windows驱动代码中用汇编调用user32.dll中的MessageBoxA函数出错
_asm { push eax; push ecx; push 0; push 0; push 0; push 0; mov ecx, MessageBoxAAddr; lea eax, mark; push eax; jmp ecx; mark: mov eax, eax; mov ebx, ebx; mov ecx, ecx; pop ecx; pop eax; } 其中MessageBoxAAddr是我ring3应用程序传进来的MessageBoxA的地址 ![图片说明](https://img-ask.csdn.net/upload/201504/28/1430195102_497782.jpg) 通过uf看到,这确实是MessageBoxA的地址。 可是当执行到第二句push ebp时,就会报错: ![图片说明](https://img-ask.csdn.net/upload/201504/28/1430195137_399897.jpg) 随后系统提示试图执行不可执行的内存: ![图片说明](https://img-ask.csdn.net/upload/201504/28/1430195166_479444.jpg) 这是什么原因呢?有没有人知道啊?非常感谢! 另外说一下,其实我是要向受保护的进程中注入DLL,我想用KeAttackStackProcess附加到目标进程之后,调用LoadLibrary加载自己想要加载的DLL,不知道这样可不可行,有没有什么比较简单的方法。。。 本人是新手,不要鄙视我。。。 再次感谢!
Tomcat 宕机,经长时间调试仍然存在~待帮助~
老服务器中运行一个系统,tomcat没有任何问题,可是换到新买的服务器上,tomcat就出现了宕机的现象。 通过JProfiler监控内存使用,开始发现heap大小合适,只是回收不及时,然后处理了一下回收,现在heap使用基本就在85m大小,没有泄露。 catalina.bat中设置的是 -Xms800m,-Xmx800m,-XX:NewSize=256m,-XX:MaxNewSize=256m heap设置了800m,现在只用了85m左右,没有再累加,并未出现泄露 但是现在又宕机了,原因不明,把tomcat 的log放出来,希望童鞋们帮忙看一下,谢谢! # # An unexpected error has been detected by Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x7c95b583, pid=3308, tid=4044 # # Java VM: Java HotSpot(TM) Server VM (11.0-b15 mixed mode windows-x86) # Problematic frame: # C [ntdll.dll+0x2b583] # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # --------------- T H R E A D --------------- Current thread (0x0570d800): JavaThread "http-80-2" daemon [_thread_in_native, id=4044, stack(0x09b30000,0x09b80000)] siginfo: ExceptionCode=0xc0000005, writing address 0x54455800 Registers: EAX=0x0571a898, EBX=0x000004ee, ECX=0x54455800, EDX=0x20544547 ESP=0x09b7ed70, EBP=0x09b7ed88, ESI=0x0571a890, EDI=0x00300000 EIP=0x7c95b583, EFLAGS=0x00010287 Top of Stack: (sp=0x09b7ed70) 0x09b7ed70: 0571a890 0571a890 00300000 05470000 0x09b7ed80: 05470000 04c70000 09b7edd0 7c95ba81 0x09b7ed90: 000004ee 0071a890 000004ee 00300000 0x09b7eda0: 0571a890 00000000 00000000 0571d000 0x09b7edb0: 09b7edcc 05470000 00000000 0571d000 0x09b7edc0: 00000000 000000ee 00000000 00000000 0x09b7edd0: 09b7eeb4 7c95b646 0571b000 00002000 0x09b7ede0: 000004ee 000001bd 0571a898 00002000 Instructions: (pc=0x7c95b583) 0x7c95b573: 00 00 8b d0 8b 4a 04 8d 46 08 89 10 89 48 04 56 0x7c95b583: 89 01 57 89 42 04 e8 37 f0 ff ff 89 5d 08 0f b7 Stack: [0x09b30000,0x09b80000], sp=0x09b7ed70, free space=315k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [ntdll.dll+0x2b583] C [ntdll.dll+0x2ba81] C [ntdll.dll+0x2b646] C [msvcr71.dll+0x218a] C [net.dll+0x710e] j java.net.SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I+0 j java.net.SocketInputStream.read([BII)I+119 j org.apache.coyote.http11.InternalInputBuffer.fill()Z+59 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j java.net.SocketInputStream.socketRead0(Ljava/io/FileDescriptor;[BIII)I+0 j java.net.SocketInputStream.read([BII)I+119 j org.apache.coyote.http11.InternalInputBuffer.fill()Z+59 J org.apache.coyote.http11.InternalInputBuffer.parseRequestLine()V j org.apache.coyote.http11.Http11Processor.process(Ljava/net/Socket;)V+234 j org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Ljava/net/Socket;)Z+82 j org.apache.tomcat.util.net.JIoEndpoint$Worker.run()V+58 j java.lang.Thread.run()V+11 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x09334800 JavaThread "http-80-12" daemon [_thread_blocked, id=380, stack(0x0a370000,0x0a3c0000)] 0x04e15400 JavaThread "http-80-11" daemon [_thread_blocked, id=2896, stack(0x0a320000,0x0a370000)] 0x08b5e400 JavaThread "http-80-10" daemon [_thread_blocked, id=2884, stack(0x0a2d0000,0x0a320000)] 0x055be400 JavaThread "http-80-9" daemon [_thread_blocked, id=2876, stack(0x0a260000,0x0a2b0000)] 0x07b6f800 JavaThread "http-80-8" daemon [_thread_blocked, id=3620, stack(0x0a040000,0x0a090000)] 0x04d6ec00 JavaThread "AWT-Windows" daemon [_thread_in_native, id=3992, stack(0x0a090000,0x0a0e0000)] 0x06e3dc00 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=4012, stack(0x09ff0000,0x0a040000)] 0x07fcf800 JavaThread "http-80-7" daemon [_thread_blocked, id=168, stack(0x09c20000,0x09c70000)] 0x06246400 JavaThread "http-80-6" daemon [_thread_blocked, id=3844, stack(0x09bd0000,0x09c20000)] 0x05495400 JavaThread "http-80-5" daemon [_thread_blocked, id=3968, stack(0x07980000,0x079d0000)] 0x0555b400 JavaThread "http-80-4" daemon [_thread_blocked, id=4072, stack(0x07930000,0x07980000)] 0x05507400 JavaThread "TP-Monitor" daemon [_thread_blocked, id=4024, stack(0x09e40000,0x09e90000)] 0x07e4ac00 JavaThread "TP-Processor4" daemon [_thread_in_native, id=4020, stack(0x09df0000,0x09e40000)] 0x05897800 JavaThread "TP-Processor3" daemon [_thread_blocked, id=4016, stack(0x09da0000,0x09df0000)] 0x05897400 JavaThread "TP-Processor2" daemon [_thread_blocked, id=4028, stack(0x09d50000,0x09da0000)] 0x07fcac00 JavaThread "TP-Processor1" daemon [_thread_blocked, id=4036, stack(0x09d00000,0x09d50000)] 0x07a8d400 JavaThread "http-80-3" daemon [_thread_in_native, id=4032, stack(0x09b80000,0x09bd0000)] =>0x0570d800 JavaThread "http-80-2" daemon [_thread_in_native, id=4044, stack(0x09b30000,0x09b80000)] 0x05a69c00 JavaThread "http-80-1" daemon [_thread_blocked, id=4040, stack(0x09ae0000,0x09b30000)] 0x080fec00 JavaThread "http-80-Acceptor-0" daemon [_thread_in_native, id=4048, stack(0x09a90000,0x09ae0000)] 0x06dd3c00 JavaThread "ContainerBackgroundProcessor[StandardEngine[Catalina]]" daemon [_thread_blocked, id=4056, stack(0x09a40000,0x09a90000)] 0x06e7dc00 JavaThread "Timer-1" [_thread_in_native, id=3680, stack(0x099f0000,0x09a40000)] 0x06a88400 JavaThread "Timer-0" [_thread_blocked, id=3316, stack(0x070e0000,0x07130000)] 0x04da3800 JavaThread "_jprofiler_sampler" daemon [_thread_blocked, id=3868, stack(0x05410000,0x05460000)] 0x04d3fc00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3700, stack(0x05370000,0x053c0000)] 0x04d1a800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=3692, stack(0x05320000,0x05370000)] 0x04d1a400 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3736, stack(0x052d0000,0x05320000)] 0x04a0f800 JavaThread "_jprofiler_native_sampler" daemon [_thread_in_native, id=3740, stack(0x05230000,0x05280000)] 0x049f9800 JavaThread "_jprofiler_native_comm" daemon [_thread_in_native, id=3712, stack(0x051a0000,0x051f0000)] 0x049d7800 JavaThread "Attach Listener" daemon [_thread_blocked, id=2880, stack(0x05150000,0x051a0000)] 0x049d6c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3752, stack(0x05100000,0x05150000)] 0x040aec00 JavaThread "Finalizer" daemon [_thread_blocked, id=3748, stack(0x04ab0000,0x04b00000)] 0x04989800 JavaThread "Reference Handler" daemon [_thread_blocked, id=3756, stack(0x04a60000,0x04ab0000)] 0x00307400 JavaThread "main" [_thread_in_native, id=2968, stack(0x00900000,0x00950000)] Other Threads: 0x040a3c00 VMThread [stack: 0x04a10000,0x04a60000] [id=3760] 0x04d1b400 WatcherThread [stack: 0x053c0000,0x05410000] [id=3704] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap PSYoungGen total 249472K, used 4778K [0x3a110000, 0x4a110000, 0x4a110000) eden space 235968K, 2% used [0x3a110000,0x3a5babb8,0x48780000) from space 13504K, 0% used [0x493e0000,0x493e0000,0x4a110000) to space 12672K, 0% used [0x48780000,0x48780000,0x493e0000) PSOldGen total 557056K, used 75307K [0x18110000, 0x3a110000, 0x3a110000) object space 557056K, 13% used [0x18110000,0x1ca9ae40,0x3a110000) PSPermGen total 65536K, used 35163K [0x10110000, 0x14110000, 0x18110000) object space 65536K, 53% used [0x10110000,0x12366e98,0x14110000) /******************************************/ 这里看各处内存都正常使用,并没有异常,但是还是宕机。 Dynamic libraries: 0x00400000 - 0x00424000 C:\jdk6\bin\java.exe 0x7c930000 - 0x7ca00000 C:\WINDOWS\system32\ntdll.dll 0x7c800000 - 0x7c92b000 C:\WINDOWS\system32\kernel32.dll 0x77f30000 - 0x77fdb000 C:\WINDOWS\system32\ADVAPI32.dll 0x77c20000 - 0x77cbf000 C:\WINDOWS\system32\RPCRT4.dll 0x76eb0000 - 0x76ec3000 C:\WINDOWS\system32\Secur32.dll 0x7c340000 - 0x7c396000 C:\jdk6\jre\bin\msvcr71.dll 0x6db30000 - 0x6def4000 C:\jdk6\jre\bin\server\jvm.dll 0x77e10000 - 0x77ea0000 C:\WINDOWS\system32\USER32.dll 0x77bd0000 - 0x77c19000 C:\WINDOWS\system32\GDI32.dll 0x769e0000 - 0x76a0a000 C:\WINDOWS\system32\WINMM.dll 0x76180000 - 0x7619d000 C:\WINDOWS\system32\IMM32.DLL 0x7f000000 - 0x7f009000 C:\WINDOWS\system32\LPK.DLL 0x74ae0000 - 0x74b45000 C:\WINDOWS\system32\USP10.dll 0x71b20000 - 0x71b28000 C:\WINDOWS\system32\rdpsnd.dll 0x77f10000 - 0x77f21000 C:\WINDOWS\system32\WINSTA.dll 0x77b70000 - 0x77bca000 C:\WINDOWS\system32\msvcrt.dll 0x71ba0000 - 0x71bf7000 C:\WINDOWS\system32\NETAPI32.dll 0x76ab0000 - 0x76abb000 C:\WINDOWS\system32\PSAPI.DLL 0x6d330000 - 0x6d338000 C:\jdk6\jre\bin\hpi.dll 0x10000000 - 0x10102000 C:\PROGRA~1\JPROFI~1\bin\windows\jprofilerti.dll 0x71b10000 - 0x71b1b000 C:\WINDOWS\system32\WSOCK32.dll 0x71b60000 - 0x71b77000 C:\WINDOWS\system32\WS2_32.dll 0x71b50000 - 0x71b58000 C:\WINDOWS\system32\WS2HELP.dll 0x6d860000 - 0x6d86c000 C:\jdk6\jre\bin\verify.dll 0x6d3d0000 - 0x6d3ef000 C:\jdk6\jre\bin\java.dll 0x6d8a0000 - 0x6d8af000 C:\jdk6\jre\bin\zip.dll 0x71a80000 - 0x71ac0000 C:\WINDOWS\system32\mswsock.dll 0x69660000 - 0x696b7000 C:\WINDOWS\system32\hnetcfg.dll 0x71a40000 - 0x71a48000 C:\WINDOWS\System32\wshtcpip.dll 0x6d610000 - 0x6d619000 C:\jdk6\jre\bin\management.dll 0x6d6c0000 - 0x6d6d3000 C:\jdk6\jre\bin\net.dll 0x76e30000 - 0x76e5b000 C:\WINDOWS\system32\DNSAPI.dll 0x76ed0000 - 0x76ed7000 C:\WINDOWS\System32\winrnr.dll 0x76e70000 - 0x76e9e000 C:\WINDOWS\system32\WLDAP32.dll 0x76ee0000 - 0x76ee5000 C:\WINDOWS\system32\rasadhlp.dll 0x6d0b0000 - 0x6d1e8000 C:\jdk6\jre\bin\awt.dll 0x72f40000 - 0x72f67000 C:\WINDOWS\system32\WINSPOOL.DRV 0x774b0000 - 0x775e9000 C:\WINDOWS\system32\ole32.dll 0x77370000 - 0x77407000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_5.82.3790.3959_x-ww_78FCF8D0\comctl32.dll 0x0a0e0000 - 0x0a150000 d:\Program Files\360\360safe\safemon\safemon.dll 0x7ca10000 - 0x7d1ec000 C:\WINDOWS\system32\SHELL32.dll 0x77eb0000 - 0x77f02000 C:\WINDOWS\system32\SHLWAPI.dll 0x775f0000 - 0x7767b000 C:\WINDOWS\system32\OLEAUT32.dll 0x76170000 - 0x76175000 C:\WINDOWS\system32\MSIMG32.dll 0x0a160000 - 0x0a1c5000 C:\WINDOWS\system32\MSVCP60.dll 0x779e0000 - 0x77a87000 C:\WINDOWS\system32\WININET.dll 0x760a0000 - 0x76131000 C:\WINDOWS\system32\CRYPT32.dll 0x76080000 - 0x76092000 C:\WINDOWS\system32\MSASN1.dll 0x77b60000 - 0x77b68000 C:\WINDOWS\system32\VERSION.dll 0x77250000 - 0x772fe000 C:\WINDOWS\system32\urlmon.dll 0x77cd0000 - 0x77dd3000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.3790.3959_x-ww_D8713E55\comctl32.dll 0x74430000 - 0x74480000 C:\WINDOWS\system32\MSCTF.dll 0x75d60000 - 0x75d87000 C:\WINDOWS\system32\apphelp.dll 0x4c510000 - 0x4c53e000 C:\WINDOWS\system32\msctfime.ime 0x6d2d0000 - 0x6d324000 C:\jdk6\jre\bin\fontmanager.dll 0x6d240000 - 0x6d263000 C:\jdk6\jre\bin\dcpr.dll 0x6d6e0000 - 0x6d6e9000 C:\jdk6\jre\bin\nio.dll VM Arguments: jvm_args: -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager -Djava.util.logging.config.file=E:\tomcat6\conf\logging.properties -Xms800m -Xmx800m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:PermSize=64m -XX:MaxPermSize=128m -agentpath:C:\PROGRA~1\JPROFI~1\bin\windows\jprofilerti.dll=port=8849 -Djava.endorsed.dirs=E:\tomcat6\endorsed -Dcatalina.base=E:\tomcat6 -Dcatalina.home=E:\tomcat6 -Djava.io.tmpdir=E:\tomcat6\temp java_command: org.apache.catalina.startup.Bootstrap start Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=C:\jdk6 JRE_HOME=C:\jdk6 CLASSPATH=C:\jdk6\lib\tools.jar;E:\tomcat6\bin\bootstrap.jar PATH=C:\jdk6\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;c:\jdk6\bin\..\jre\bin USERNAME=Administrator OS=Windows_NT PROCESSOR_IDENTIFIER=x86 Family 6 Model 29 Stepping 1, GenuineIntel --------------- S Y S T E M --------------- OS: Windows Server 2003 family Build 3790 Service Pack 2 CPU:total 24 (8 cores per cpu, 1 threads per core) family 6 model 13 stepping 1, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 Memory: 4k page, physical 2097151k(2097151k free), swap 4194303k(4194303k free) vm_info: Java HotSpot(TM) Server VM (11.0-b15) for windows-x86 JRE (1.6.0_10-rc2-b32), built on Sep 12 2008 00:47:31 by "java_re" with MS VC++ 7.1 time: Fri Oct 22 11:24:09 2010 elapsed time: 6040 seconds
android系统应用兼容性问题
现在编译的一个系统 mx player不能正常使用,打开就崩溃。log如下 09-11 15:52:30.661: I/am_proc_bound(562): [0,7230,com.mxtech.videoplayer.ad] 09-11 15:52:30.661: I/am_restart_activity(562): [0,650831632,16,com.mxtech.videoplayer.ad/.ActivityMediaList] 09-11 15:52:30.681: D/(867): Surface destroy: ANDROID_NATIVE_WINDOW_MAGIC 09-11 15:52:30.771: D/dalvikvm(7230): Trying to load lib /data/app-lib/com.mxtech.videoplayer.ad-1/libloader.mx.so 0x4cc9a490 09-11 15:52:30.781: D/houdini(7230): [7230] Loading library(version: 4.0.5.44806 RELEASE)... successfully. 09-11 15:52:30.791: D/dalvikvm(7230): Added shared lib /data/app-lib/com.mxtech.videoplayer.ad-1/libloader.mx.so 0x4cc9a490 09-11 15:52:30.791: A/libc(7230): Fatal signal 11 (SIGSEGV) at 0x00001c3e (code=0), thread 7230 (.videoplayer.ad) 09-11 15:52:30.901: I/DEBUG(185): *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** 09-11 15:52:30.901: I/DEBUG(185): Build fingerprint: 'Dell/Venue7/Venue7:4.4.4/KTU84P/eng.hjl.20140901.015226:eng/dev-keys' 09-11 15:52:30.901: I/DEBUG(185): Revision: '0' 09-11 15:52:30.901: I/DEBUG(185): pid: 7230, tid: 7230, name: .videoplayer.ad >>> com.mxtech.videoplayer.ad <<< 09-11 15:52:30.901: I/DEBUG(185): signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 00000000 09-11 15:52:30.951: E/3G log(575): [#warning!] GLOG read return 0! 09-11 15:52:30.961: I/sf_frame_dur(186): [com.android.launcher/com.android.launcher2.Launcher,1318,19,3,4,2,2,16] 09-11 15:52:31.391: I/WifiHW(562): CMD: IFNAME=wlan0 SIGNAL_POLL 09-11 15:52:31.391: D/wpa_supplicant(748): RX ctrl_iface - hexdump(len=11): 53 49 47 4e 41 4c 5f 50 4f 4c 4c 09-11 15:52:31.391: D/wpa_supplicant(748): wlan0: Control interface command 'SIGNAL_POLL' 09-11 15:52:31.411: D/wpa_supplicant(748): nl80211: survey data missing! 09-11 15:52:31.411: I/wpa_supplicant(748): nl80211: send_and_recv->nl_recvmsgs failed: 20 09-11 15:52:31.411: I/WifiHW(562): REPLY: RSSI=-40 09-11 15:52:31.411: I/WifiHW(562): REPLY: LINKSPEED=65 09-11 15:52:31.411: I/WifiHW(562): REPLY: NOISE=9999 09-11 15:52:31.411: I/WifiHW(562): REPLY: FREQUENCY=2467 09-11 15:52:31.621: I/DEBUG(185): eax 00000000 ebx 000000c6 ecx 00000000 edx 00000000 09-11 15:52:31.621: I/DEBUG(185): esi 00000e59 edi 00000000 09-11 15:52:31.621: I/DEBUG(185): xcs 00000023 xds 0000002b xes 0000002b xfs 0000006b xss 0000002b 09-11 15:52:31.621: I/DEBUG(185): eip 37763496 ebp 1a111f2c esp 1a111ee4 flags 00210246 09-11 15:52:31.631: I/DEBUG(185): backtrace: 09-11 15:52:31.631: I/DEBUG(185): #00 pc 000c2496 /system/lib/libhoudini.so.4.0.5.44806 09-11 15:52:31.631: I/DEBUG(185): #01 pc 00016edf /system/lib/arm/libc.so 09-11 15:52:31.631: I/DEBUG(185): #02 pc 000ae4f6 /system/lib/libhoudini.so.4.0.5.44806 09-11 15:52:31.631: I/DEBUG(185): #03 pc 0006346b <unknown> 09-11 15:52:31.631: I/DEBUG(185): #04 pc 000ab1fc /system/lib/libhoudini.so.4.0.5.44806 09-11 15:52:31.631: I/DEBUG(185): #05 pc 00016edf /system/lib/arm/libc.so 09-11 15:52:31.631: I/DEBUG(185): #06 pc 000aabfc /system/lib/libhoudini.so.4.0.5.44806 09-11 15:52:31.631: I/DEBUG(185): #07 pc ffffffff <unknown> 09-11 15:52:31.631: I/DEBUG(185): #08 pc 000f445c /system/lib/libhoudini.so.4.0.5.44806 09-11 15:52:31.631: I/DEBUG(185): stack: 09-11 15:52:31.631: I/DEBUG(185): 1a111ea4 00000001 09-11 15:52:31.631: I/DEBUG(185): 1a111ea8 14006008 /data/app-lib/com.mxtech.videoplayer.ad-1/libloader.mx.so 09-11 15:52:31.631: I/DEBUG(185): 1a111eac 00000000 09-11 15:52:31.631: I/DEBUG(185): 1a111eb0 1a100030 [stack:7244] 09-11 15:52:31.631: I/DEBUG(185): 1a111eb4 00000088 09-11 15:52:31.631: I/DEBUG(185): 1a111eb8 e1cc20f8 09-11 15:52:31.631: I/DEBUG(185): 1a111ebc 1a111f2c [stack:7230] 09-11 15:52:31.631: I/DEBUG(185): 1a111ec0 37750201 /system/lib/libhoudini.so.4.0.5.44806 09-11 15:52:31.631: I/DEBUG(185): 1a111ec4 1a111f04 [stack:7230] 09-11 15:52:31.631: I/DEBUG(185): 1a111ec8 1a100030 [stack:7244] 09-11 15:52:31.631: I/DEBUG(185): 1a111ecc 1a111f2c [stack:7230] 09-11 15:52:31.631: I/DEBUG(185): 1a111ed0 1a111ef4 [stack:7230] 09-11 15:52:31.631: I/DEBUG(185): 1a111ed4 1a100030 [stack:7244] 09-11 15:52:31.631: I/DEBUG(185): 1a111ed8 00000000 09-11 15:52:31.631: I/DEBUG(185): 1a111edc 00000000 09-11 15:52:31.631: I/DEBUG(185): 1a111ee0 00000001 09-11 15:52:31.631: I/DEBUG(185): #00 1a111ee4 14216ee0 /system/lib/arm/libc.so 09-11 15:52:31.631: I/DEBUG(185): ........ ........ 09-11 15:52:31.631: I/DEBUG(185): ........ ........ 09-11 15:52:31.631: I/DEBUG(185): #02 1a111f34 37a2346c 09-11 15:52:31.631: I/DEBUG(185): ........ ........ 09-11 15:52:31.731: E/Corkscrew(185): get_old_register_value: can't read from 0x4 09-11 15:52:31.731: E/Corkscrew(185): get_old_register_value: can't read from 0x4 09-11 15:52:31.871: I/BootReceiver(562): Copying /data/tombstones/tombstone_01 to DropBox (SYSTEM_TOMBSTONE) 09-11 15:52:31.871: I/am_crash(562): [562,0,com.mxtech.videoplayer.ad,8961604,Native crash,Segmentation fault,unknown,0] 09-11 15:52:31.911: D/dalvikvm(562): GC_FOR_ALLOC freed 3360K, 22% free 21267K/27224K, paused 45ms, total 45ms
请问有什么方法可以判断两段汇编代码是否相同或者相似度吗?
如题,现在困扰我两天了,恳求一个方法。该如何比较 两段汇编代码是否相同呢, 比如截取出的一段汇编是: 004022c0 55 push ebp 004022c1 8bec mov ebp, esp 004022c3 6aff push 0xffffffff 004022c5 6878b44700 push 0x47b478 004022ca 64a100000000 mov eax, [fs:0x0] 004022d0 50 push eax 004022d1 51 push ecx 004022d2 53 push ebx 004022d3 56 push esi 004022d4 57 push edi 004022d5 a170734a00 mov eax, [0x4a7370] 004022da 33c5 xor eax, ebp 004022dc 50 push eax 004022dd 8d45f4 lea eax, [ebp-0xc] 004022e0 64a300000000 mov [fs:0x0], eax 004022e6 33c0 xor eax, eax 004022e8 8945fc mov [ebp-0x4], eax 004022eb 83ec1c sub esp, 0x1c 004022ee 8bcc mov ecx, esp 另一段是 00402302 50 push eax 00402303 83c8ff or eax, 0xffffffff 00402306 33db xor ebx, ebx 00402308 e8f30e0000 call 0x2200 0040230d e8eeefffff call 0x300 00402312 8bf8 mov edi, eax 00402314 83c41c add esp, 0x1c 00402317 85ff test edi, edi 00402319 0f843c010000 jz 0x145b 0040231f 53 push ebx 00402320 57 push edi 00402321 ff1550c04700 call dword [0x47c050] 请问有什么方法或思路 可以比较这两段的相似度吗?
汇编语言几种除法的区别
idiv 和fdiv有什么区别 1820: i = i / 0.0; //为什么改成 i = i / 0.0;就不报错? 004015DF fild dword ptr [ebp-4 004015E2 fdiv qword ptr [__real@8@00000000000000000000 (0046fce8) 004015E8 call __ftol (00401c80 004015ED mov dword ptr [ebp-4],eax -------------------------------------------------------------------------------- 1820: i = i / 0; //为什么改成 i = i / 0.0;就不报错? 004015DF mov eax,dword ptr [ebp-4] 004015E2 cdq 004015E3 xor ecx,ecx 004015E5 idiv eax,ecx 004015E7 mov dword ptr [ebp-4],eax
关于EBP的疑问,求大手帮忙分析解释一下,一直想不明白!
假如CALL1() 调用 CALL2() CALL2() 调用CALL3() CALL3()中 push ebp 相当于调用CALL3前CALL2栈顶值 因为CALL2中[mov epb,esp] mov epb,esp CALL3的新寻址地址,来自CALL2的栈顶 ... mov esp,ebp 调用完后将栈顶地址恢复到CALL2 pop ebp 相当于ESP和EBP都回到调用前 retn 但是在CALL2中 如果CALL1是顶层的调用那么他的EBP的值是哪里来的? 而且在CALL2中 push ebp ebp并不是将CALL1调用CALL2之前的栈顶值 因为CALL1中没有[mov epb,esp] mov epb,esp CALL2的新寻址地址,来自CALL1的栈顶 push a push b call 3 mov esp,ebp 那么这句ESP不能恢复到CALL1的栈顶,是不是要用ADD ESP,XX 手动恢复到CALL1的栈顶? 那么是不是等价于用ADD ESP,XX 恢复栈的CALL是顶层CALL的下层CALL,因为子CALL间的调用都可用[mov esp,ebp]直接恢复栈顶? pop ebp EBP返回到CALL1调用CALL2前 retn 在CALL1()中 在这个顶级CALL中,EBP的值是哪里来的,起什么作用? push 0 call 2
刚安装的迅雷崩溃了,代码62-05F9073D-00BBCC7D-0C798FFD
Hash : 62-05F9073D-00BBCC7D-0C798FFD Type : EXCEPTION_THUNDERthunder_break_ex not true, detail: ThunderPlatform Crashed when handle func_id: 294 Report tp eid:C5-08FF439D;C5-08FF439D; TP version:1.1.2.257.c:\program files\common files\thunder network\tp\ver1\1.1.2.257_1111\2:139,3:72,4:41,5:0,auto_update.dll:1,6:114,7:230,9:17,10:-1,DownloadServerNeedFileList.dat:-1,12:121,13:85,11:159,14:68,15:13,16:139,17:18,18:-1,LiveUpdateLanguage:-1,21:15,22:8741,20:15,32:-1,24:1,23:-1,25:23,64:-1,26:10,27:0,30:8,28:0,31:8,33:298,34:12,35:34,36:115,37:37,38:387,39:160,40:13,41:11,42:1238,43:115,44:13,60:18,61:7,67:257,68:3,45:24,46:127,47:-1,62:2,48:12,69:0,53:13,63:13,54:-1,55:59,56:47,57:380,58:312,49:35,50:38,51:49,59:0, file: D:\SpeedThunder\SpeedThunder\build\dk\asyn_download_interface\download_client\download_handler.cpp line: 1028 Address : 0x7543812F Context: EFLAG=0x00000206 EAX : 0x0487F50C EBX : 0x6C3298AB ECX : 0x00000001 EDX : 0x00000000 EIP : 0x7543812F EBP : 0x0487F55C ESP : 0x0487F50C ESI : 0x0487F854 EDI : 0x0487F78C CS : 0x001B SS : 0x0023 DS : 0x0023 ES : 0x0023 FS : 0x003B GS : 0x0000
MOV AL,INPUT+2 ;这里为什么+2,谢谢
;功能:输入一个0~19的整数,输出其平方值 ;作者:KDF5000 ;时间:2012.11.9 .386 DATA SEGMENT USE16 SQUARE DW 0,1,4,9,16,25,36,49,64,81,100,121,144,169,196,225,256,289,324,361 ;存入0~19的平方值便于查询 INPUT DB 8 DB ? DB 8 DUP('$') ;次缓冲区用于存放输入的值 OUTPUT DB '$' ;此区存放平方值的输出 ERROR DB 'your input is incorrect!$' MESSAGE DB 'please enter a number(0~19):$' RESULT DB 0DH,0AH,' the result is:$' EXITMES DB 0DH,0AH,'thank you for your use!',0DH,0AH,'$' HUANHANG DB 0DH,0AH,'$' DATA ENDS STACK SEGMENT USE16 STACK DB 200 DUP(0) STACK ENDS CODE SEGMENT USE16 ASSUME DS:DATA,CS:CODE,SS:STACK BEGIN: MOV AX,DATA MOV DS,AX ;输出提示信息 LEA DX,MESSAGE MOV AH,9 INT 21H ; 输入数值 LEA DX,INPUT MOV AH,10 INT 21H ;如果输入空格则推出程序 MOV AL,INPUT+2 ;***********************这里为什么+2 CMP AL,20H JE EXIT ;取出输入的数值 LEA SI,INPUT+2 MOV AX,0 MOV BL,10 MOV CL,INPUT+1 ;记录循环的次数 ;将输入的值放到AX LOPA: MOV DL,[SI] DEC CL SUB DL,30H MUL BL ADD AX,DX INC SI CMP CL,0 JE NEXT JMP LOPA NEXT: ;如果输入的数字大于十九或者小于小于0报错 CMP AX,19 JG ERROR1 CMP AX,0 JB ERROR1 MOV BP,AX ;将输入的数据作为变量 MOV AX,SQUARE[EBP*2] ;此时AX存放平方值 MOV CL,10 ;设置除数 MOV SI,OFFSET OUTPUT LOPB: ;次循环为把已经存入的平方值转换为十进值输出 DEC SI DIV CL ADD AH,30H MOV [SI],AH MOV AH,0 CMP AL,0 JNE LOPB ;输出结果提示 LEA DX,RESULT MOV AH,9 INT 21H ;输出十进制平方值 MOV DX,SI MOV AH,9 INT 21H ;输出换行 LEA DX,HUANHANG MOV AH,9 INT 21H ;跳到开始继续输入 JMP BEGIN ERROR1: LEA DX,HUANHANG MOV AH,9 INT 21H LEA DX,ERROR MOV AH,9 INT 21H LEA DX,HUANHANG MOV AH,9 INT 21H JMP BEGIN EXIT: LEA DX,EXITMES ;输出退出信息 MOV AH,9 INT 21H MOV AH,4CH INT 21H CODE ENDS END BEGIN
Gcc编译的时候为什么用movzbl不用movb指令?
C代码如下 ``` void proc( char a, char* pa) { *pa +=a; } ``` GCC编译得到的汇编指令如下 ``` proc: 1 pushl %ebp 2 movl %esp, %ebp 3 movl 12(%ebp), %eax 4 movzbl 8(%ebp), %edx 5 addb %dl, (%eax) 6 popl %ebp 7 ret ``` 其中第4行是从栈里面取出参数a放到eax寄存器。 按照mov指令的用法,这里理论上可以用 ``` movb 8(%ebp), %dl ``` 为什么GCC不这样生成呢?
关于EIP ESP EBP 的问题
当调用函数时ip指向函数地址,函数都在堆栈中,这时ip的值等不等于sp,再说函数返回,恢复堆栈是不是回归原来的IP 求各位大神解答
swt中打开浏览器后,JVM崩溃
我这是swt程序,一个功能是调用浏览器访问百度地图获取坐标,以前一直都没有问题,可现在一打开这个功能JVM就挂了,下面贴出日志信息,望高手分析指点下,谢谢! # # A fatal error has been detected by the Java Runtime Environment: # # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x67164778, pid=2728, tid=4680 # # JRE version: 6.0_35-b10 # Java VM: Java HotSpot(TM) Client VM (20.10-b01 mixed mode windows-x86 ) # Problematic frame: # C [ieframe.dll+0x64778] # # If you would like to submit a bug report, please visit: # http://java.sun.com/webapps/bugreport/crash.jsp # The crash happened outside the Java Virtual Machine in native code. # See problematic frame for where to report the bug. # --------------- T H R E A D --------------- Current thread (0x02149800): JavaThread "main" [_thread_in_native, id=4680, stack(0x001f0000,0x00240000)] siginfo: ExceptionCode=0xc0000005, reading address 0x00000000 Registers: EAX=0x00000000, EBX=0x0023ef50, ECX=0x00000001, EDX=0x0068972c ESP=0x0023ef3c, EBP=0x0023ef54, ESI=0x8000ffff, EDI=0x00000000 EIP=0x67164778, EFLAGS=0x00210246 Top of Stack: (sp=0x0023ef3c) 0x0023ef3c: 38e95200 38ea4988 38ea49e4 671646c4 0x0023ef4c: 38ea49dc 00000000 0023ef5c 671646a6 0x0023ef5c: 0023ef70 6a970f3b 0068972c 38ea4988 0x0023ef6c: 38ea49dc 0023ef84 6a7f484b 000003e8 0x0023ef7c: 00000001 38ea49dc 0023efb4 6a7f4963 0x0023ef8c: 000003e8 00000001 53ac3a95 00000000 0x0023ef9c: 6509f2a4 00000000 38ea49e4 0023f054 0x0023efac: 6a9eb2a8 00000000 0023efc0 6509f2e0 Instructions: (pc=0x67164778) 0x67164758: 90 90 90 90 8b ff 53 56 57 8b d9 e8 51 08 0a 00 0x67164768: 8b f8 85 ff 0f 84 b0 54 1c 00 33 f6 39 37 74 0a 0x67164778: 8b 0f 8b c6 5f 5e 89 0b 5b c3 6a 10 6a 08 ff 15 0x67164788: 4c 12 67 67 50 ff 15 48 12 67 67 85 c0 74 12 8b Register to memory mapping: EAX=0x00000000 is an unknown value EBX=0x0023ef50 is pointing into the stack for thread: 0x02149800 ECX=0x00000001 is an unknown value EDX=0x0068972c is an unknown value ESP=0x0023ef3c is pointing into the stack for thread: 0x02149800 EBP=0x0023ef54 is pointing into the stack for thread: 0x02149800 ESI=0x8000ffff is an unknown value EDI=0x00000000 is an unknown value Stack: [0x001f0000,0x00240000], sp=0x0023ef3c, free space=315k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [ieframe.dll+0x64778] Ordinal254+0xe0ec C [ieframe.dll+0x646a6] Ordinal254+0xe01a C [jscript9.dll+0x1a0f3b] DllCanUnloadNow+0x55989 C [jscript9.dll+0x2484b] JsVarToExtension+0x1f47f C [jscript9.dll+0x24963] JsVarToExtension+0x1f597 C [mshtml.dll+0x29f2e0] Ordinal105+0xe5c2b C [USER32.dll+0x162fa] gapfnScSendMessage+0x332 C [USER32.dll+0x16d3a] GetThreadDesktop+0xd7 C [USER32.dll+0x177c4] CharPrevW+0x138 C [USER32.dll+0x1788a] DispatchMessageW+0xf C [swt-win32-3655.dll+0x39b7] Java_org_eclipse_swt_internal_win32_OS_DispatchMessageW+0x31 J org.eclipse.swt.internal.win32.OS.DispatchMessageW(Lorg/eclipse/swt/internal/win32/MSG;)I J org.eclipse.swt.widgets.Display.readAndDispatch()Z j org.eclipse.jface.window.Window.open()I+49 j com.epmis.yw01.lpbase.LpbaseView.lpDataEditEvent(Z)V+67 j com.epmis.yw01.lpbase.LpbaseView.access$1(Lcom/epmis/yw01/lpbase/LpbaseView;Z)V+2 j com.epmis.yw01.lpbase.LpbaseView$8.doubleClick(Lorg/eclipse/jface/viewers/DoubleClickEvent;)V+15 j org.eclipse.jface.viewers.StructuredViewer$1.run()V+8 j org.eclipse.core.runtime.SafeRunner.run(Lorg/eclipse/core/runtime/ISafeRunnable;)V+5 j org.eclipse.ui.internal.JFaceUtil$1.run(Lorg/eclipse/core/runtime/ISafeRunnable;)V+1 j org.eclipse.jface.util.SafeRunnable.run(Lorg/eclipse/core/runtime/ISafeRunnable;)V+4 j org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(Lorg/eclipse/jface/viewers/DoubleClickEvent;)V+32 j org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(Lorg/eclipse/swt/events/SelectionEvent;)V+71 j org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(Lorg/eclipse/swt/events/SelectionEvent;)V+5 j org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(Lorg/eclipse/swt/events/SelectionEvent;)V+20 j org.eclipse.jface.util.OpenStrategy.access$0(Lorg/eclipse/jface/util/OpenStrategy;Lorg/eclipse/swt/events/SelectionEvent;)V+2 j org.eclipse.jface.util.OpenStrategy$1.handleEvent(Lorg/eclipse/swt/widgets/Event;)V+23 J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)V j org.eclipse.swt.widgets.Display.readAndDispatch()Z+69 j org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V+9 j org.eclipse.ui.internal.Workbench.runUI()I+555 j org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/internal/Workbench;)I+1 j org.eclipse.ui.internal.Workbench$7.run()V+55 j org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12 j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+18 j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2 j com.epmis.system.Application.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+51 j org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+135 j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103 j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29 j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+149 j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+183 v ~StubRoutines::call_stub V [jvm.dll+0xfb05b] V [jvm.dll+0x18c901] V [jvm.dll+0xfb0dd] V [jvm.dll+0x1052d3] V [jvm.dll+0x105c16] V [jvm.dll+0xb70de] C [java.dll+0x721d] Java_sun_reflect_NativeMethodAccessorImpl_invoke0+0x15 j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87 j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161 j org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+211 j org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+126 j org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4 j org.eclipse.equinox.launcher.Main.main([Ljava/lang/String;)V+10 v ~StubRoutines::call_stub V [jvm.dll+0xfb05b] V [jvm.dll+0x18c901] V [jvm.dll+0xfb0dd] V [jvm.dll+0x95886] V [jvm.dll+0x9d6c3] C [javaw.exe+0x2155] C [javaw.exe+0x8614] C [kernel32.dll+0x1338a] BaseThreadInitThunk+0x12 C [ntdll.dll+0x39f72] RtlInitializeExceptionChain+0x63 C [ntdll.dll+0x39f45] RtlInitializeExceptionChain+0x36 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) J org.eclipse.swt.internal.win32.OS.DispatchMessageW(Lorg/eclipse/swt/internal/win32/MSG;)I J org.eclipse.swt.widgets.Display.readAndDispatch()Z j org.eclipse.jface.window.Window.runEventLoop(Lorg/eclipse/swt/widgets/Shell;)V+23 j org.eclipse.jface.window.Window.open()I+49 j com.epmis.yw01.lpbase.LpbaseView.lpDataEditEvent(Z)V+67 j com.epmis.yw01.lpbase.LpbaseView.access$1(Lcom/epmis/yw01/lpbase/LpbaseView;Z)V+2 j com.epmis.yw01.lpbase.LpbaseView$8.doubleClick(Lorg/eclipse/jface/viewers/DoubleClickEvent;)V+15 j org.eclipse.jface.viewers.StructuredViewer$1.run()V+8 j org.eclipse.core.runtime.SafeRunner.run(Lorg/eclipse/core/runtime/ISafeRunnable;)V+5 j org.eclipse.ui.internal.JFaceUtil$1.run(Lorg/eclipse/core/runtime/ISafeRunnable;)V+1 j org.eclipse.jface.util.SafeRunnable.run(Lorg/eclipse/core/runtime/ISafeRunnable;)V+4 j org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(Lorg/eclipse/jface/viewers/DoubleClickEvent;)V+32 j org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(Lorg/eclipse/swt/events/SelectionEvent;)V+71 j org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(Lorg/eclipse/swt/events/SelectionEvent;)V+5 j org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(Lorg/eclipse/swt/events/SelectionEvent;)V+20 j org.eclipse.jface.util.OpenStrategy.access$0(Lorg/eclipse/jface/util/OpenStrategy;Lorg/eclipse/swt/events/SelectionEvent;)V+2 j org.eclipse.jface.util.OpenStrategy$1.handleEvent(Lorg/eclipse/swt/widgets/Event;)V+23 J org.eclipse.swt.widgets.EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;)V J org.eclipse.swt.widgets.Widget.sendEvent(Lorg/eclipse/swt/widgets/Event;)V j org.eclipse.swt.widgets.Display.runDeferredEvents()Z+92 j org.eclipse.swt.widgets.Display.readAndDispatch()Z+69 j org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V+9 j org.eclipse.ui.internal.Workbench.runUI()I+555 j org.eclipse.ui.internal.Workbench.access$4(Lorg/eclipse/ui/internal/Workbench;)I+1 j org.eclipse.ui.internal.Workbench$7.run()V+55 j org.eclipse.core.databinding.observable.Realm.runWithDefault(Lorg/eclipse/core/databinding/observable/Realm;Ljava/lang/Runnable;)V+12 j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+18 j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2 j com.epmis.system.Application.start(Lorg/eclipse/equinox/app/IApplicationContext;)Ljava/lang/Object;+51 j org.eclipse.equinox.internal.app.EclipseAppHandle.run(Ljava/lang/Object;)Ljava/lang/Object;+135 j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103 j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29 j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+149 j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+183 v ~StubRoutines::call_stub j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87 j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+161 j org.eclipse.equinox.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+211 j org.eclipse.equinox.launcher.Main.basicRun([Ljava/lang/String;)V+126 j org.eclipse.equinox.launcher.Main.run([Ljava/lang/String;)I+4 j org.eclipse.equinox.launcher.Main.main([Ljava/lang/String;)V+10 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 0x394ee800 JavaThread "Worker-0" [_thread_blocked, id=3264, stack(0x39d70000,0x39dc0000)] 0x39387800 JavaThread "Abandoned connection cleanup thread" daemon [_thread_blocked, id=3888, stack(0x3ab90000,0x3abe0000)] 0x38e09c00 JavaThread "Worker-JM" [_thread_blocked, id=3920, stack(0x391c0000,0x39210000)] 0x38dd3000 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=5104, stack(0x390e0000,0x39130000)] 0x38dad400 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=1616, stack(0x39050000,0x390a0000)] 0x38d90c00 JavaThread "State Data Manager" daemon [_thread_blocked, id=940, stack(0x38fc0000,0x39010000)] 0x02233400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=388, stack(0x38be0000,0x38c30000)] 0x02231000 JavaThread "C1 CompilerThread0" daemon [_thread_blocked, id=3948, stack(0x38ad0000,0x38b20000)] 0x0221fc00 JavaThread "JDWP Command Reader" daemon [_thread_in_native, id=4928, stack(0x389a0000,0x389f0000)] 0x0221ec00 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=1172, stack(0x38910000,0x38960000)] 0x0221d000 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_blocked, id=4156, stack(0x387f0000,0x38840000)] 0x021ebc00 JavaThread "Attach Listener" daemon [_thread_blocked, id=4196, stack(0x386c0000,0x38710000)] 0x021e8c00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=4276, stack(0x38630000,0x38680000)] 0x021e0c00 JavaThread "Finalizer" daemon [_thread_blocked, id=4252, stack(0x385a0000,0x385f0000)] 0x021dc000 JavaThread "Reference Handler" daemon [_thread_blocked, id=3728, stack(0x38510000,0x38560000)] =>0x02149800 JavaThread "main" [_thread_in_native, id=4680, stack(0x001f0000,0x00240000)] Other Threads: 0x021d7800 VMThread [stack: 0x02090000,0x020e0000] [id=1724] 0x0223ec00 WatcherThread [stack: 0x38c30000,0x38c80000] [id=4164] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 39424K, used 29698K [0x04250000, 0x06d10000, 0x14250000) eden space 35072K, 82% used [0x04250000, 0x05e95398, 0x06490000) from space 4352K, 17% used [0x06490000, 0x0654b830, 0x068d0000) to space 4352K, 0% used [0x068d0000, 0x068d0000, 0x06d10000) tenured generation total 87424K, used 15165K [0x14250000, 0x197b0000, 0x34250000) the space 87424K, 17% used [0x14250000, 0x1511f4b0, 0x1511f600, 0x197b0000) compacting perm gen total 26624K, used 26559K [0x34250000, 0x35c50000, 0x38250000) the space 26624K, 99% used [0x34250000, 0x35c3fea0, 0x35c40000, 0x35c50000) No shared spaces configured. Code Cache [0x02250000, 0x02658000, 0x04250000) total_blobs=2126 nmethods=1934 adapters=134 free_code_cache=29405120 largest_free_block=53120 Dynamic libraries: 0x00400000 - 0x00425000 E:\Program Files\Java\jdk1.6.0_35\bin\javaw.exe 0x77710000 - 0x77890000 C:\Windows\SysWOW64\ntdll.dll 0x75e70000 - 0x75f80000 C:\Windows\syswow64\kernel32.dll 0x75270000 - 0x752b7000 C:\Windows\syswow64\KERNELBASE.dll 0x76480000 - 0x76520000 C:\Windows\syswow64\ADVAPI32.dll 0x76230000 - 0x762dc000 C:\Windows\syswow64\msvcrt.dll 0x76370000 - 0x76389000 C:\Windows\SysWOW64\sechost.dll 0x75440000 - 0x75530000 C:\Windows\syswow64\RPCRT4.dll 0x75010000 - 0x75070000 C:\Windows\syswow64\SspiCli.dll 0x75000000 - 0x7500c000 C:\Windows\syswow64\CRYPTBASE.dll 0x752c0000 - 0x753c0000 C:\Windows\syswow64\USER32.dll 0x75d40000 - 0x75dd0000 C:\Windows\syswow64\GDI32.dll 0x759a0000 - 0x759aa000 C:\Windows\syswow64\LPK.dll 0x763e0000 - 0x7647d000 C:\Windows\syswow64\USP10.dll 0x757b0000 - 0x75810000 C:\Windows\system32\IMM32.DLL 0x75070000 - 0x7513c000 C:\Windows\syswow64\MSCTF.dll 0x7c340000 - 0x7c396000 E:\Program Files\Java\jdk1.6.0_35\jre\bin\msvcr71.dll 0x6d8c0000 - 0x6db6f000 E:\Program Files\Java\jdk1.6.0_35\jre\bin\client\jvm.dll 0x759b0000 - 0x759e2000 C:\Windows\syswow64\WINMM.dll 0x74c40000 - 0x74c8c000 C:\Windows\system32\apphelp.dll 0x6d870000 - 0x6d87c000 E:\Program Files\Java\jdk1.6.0_35\jre\bin\verify.dll 0x6d3d0000 - 0x6d3ef000 E:\Program Files\Java\jdk1.6.0_35\jre\bin\java.dll 0x6d420000 - 0x6d449000 E:\Program Files\Java\jdk1.6.0_35\jre\bin\jdwp.dll 0x6d740000 - 0x6d746000 E:\Program Files\Java\jdk1.6.0_35\jre\bin\npt.dll 0x6d8b0000 - 0x6d8bf000 E:\Program Files\Java\jdk1.6.0_35\jre\bin\zip.dll 0x6d2b0000 - 0x6d2b7000 E:\Program Files\Java\jdk1.6.0_35\jre\bin\dt_socket.dll 0x75df0000 - 0x75e25000 C:\Windows\syswow64\WS2_32.dll 0x776e0000 - 0x776e6000 C:\Windows\syswow64\NSI.dll 0x74380000 - 0x74390000 C:\Windows\system32\NLAapi.dll 0x74370000 - 0x74380000 C:\Windows\system32\napinsp.dll 0x74350000 - 0x74362000 C:\Windows\system32\pnrpnsp.dll 0x74dc0000 - 0x74dfc000 C:\Windows\System32\mswsock.dll 0x74d60000 - 0x74da4000 C:\Windows\system32\DNSAPI.dll 0x74340000 - 0x74348000 C:\Windows\System32\winrnr.dll 0x74690000 - 0x746ac000 C:\Windows\system32\IPHLPAPI.DLL 0x746c0000 - 0x746c7000 C:\Windows\system32\WINNSI.DLL 0x74d00000 - 0x74d38000 C:\Windows\System32\fwpuclnt.dll 0x74d40000 - 0x74d46000 C:\Windows\system32\rasadhlp.dll 0x74d50000 - 0x74d55000 C:\Windows\System32\wshtcpip.dll 0x74a00000 - 0x74a16000 C:\Windows\system32\CRYPTSP.dll 0x749c0000 - 0x749fb000 C:\Windows\system32\rsaenh.dll 0x75970000 - 0x75987000 C:\Windows\syswow64\USERENV.dll 0x75de0000 - 0x75deb000 C:\Windows\syswow64\profapi.dll 0x6d6b0000 - 0x6d6c3000 E:\Program Files\Java\jdk1.6.0_35\jre\bin\net.dll 0x74db0000 - 0x74db6000 C:\Windows\System32\wship6.dll 0x6d6d0000 - 0x6d6d9000 E:\Program Files\Java\jdk1.6.0_35\jre\bin\nio.dll 0x72000000 - 0x7200d000 G:\Devlopment_epmis\eclipse for jq\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810\eclipse_1309.dll 0x73fb0000 - 0x7414e000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.17514_none_41e6975e2bd6f2b2\COMCTL32.dll 0x75750000 - 0x757a7000 C:\Windows\syswow64\SHLWAPI.dll 0x74ce0000 - 0x74ce9000 C:\Windows\system32\VERSION.dll 0x39610000 - 0x39673000 G:\workspace_eclipse\.metadata\.plugins\org.eclipse.pde.core\epmis-cs.product\org.eclipse.osgi\bundles\3\1\.cp\swt-win32-3655.dll 0x75810000 - 0x7596c000 C:\Windows\syswow64\ole32.dll 0x765b0000 - 0x7663f000 C:\Windows\syswow64\OLEAUT32.dll 0x76640000 - 0x766bb000 C:\Windows\syswow64\comdlg32.dll 0x766c0000 - 0x7730a000 C:\Windows\syswow64\SHELL32.dll 0x76060000 - 0x76222000 C:\Windows\syswow64\WININET.dll 0x75e60000 - 0x75e64000 C:\Windows\syswow64\api-ms-win-downlevel-user32-l1-1-0.dll 0x763d0000 - 0x763d4000 C:\Windows\syswow64\api-ms-win-downlevel-shlwapi-l1-1-0.dll 0x75990000 - 0x75994000 C:\Windows\syswow64\api-ms-win-downlevel-version-l1-1-0.dll 0x76050000 - 0x76053000 C:\Windows\syswow64\api-ms-win-downlevel-normaliz-l1-1-0.dll 0x76010000 - 0x76013000 C:\Windows\syswow64\normaliz.DLL 0x75530000 - 0x7574b000 C:\Windows\syswow64\iertutil.dll 0x759f0000 - 0x759f5000 C:\Windows\syswow64\api-ms-win-downlevel-advapi32-l1-1-0.dll 0x75b20000 - 0x75ba0000 C:\Windows\system32\uxtheme.dll 0x74740000 - 0x74753000 C:\Windows\system32\dwmapi.dll 0x003e0000 - 0x003fd000 G:\workspace_eclipse\.metadata\.plugins\org.eclipse.pde.core\epmis-cs.product\org.eclipse.osgi\bundles\3\1\.cp\swt-gdip-win32-3655.dll 0x723f0000 - 0x72580000 C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.1.7601.18455_none_72d576ad8665e853\gdiplus.dll 0x399f0000 - 0x39b20000 C:\Windows\system32\WindowsCodecs.dll 0x74c00000 - 0x74c3c000 C:\Windows\system32\oleacc.dll 0x74660000 - 0x7466d000 C:\Windows\system32\dhcpcsvc6.DLL 0x72c30000 - 0x72c42000 C:\Windows\system32\dhcpcsvc.DLL 0x641a0000 - 0x6422a000 C:\Users\Administrator\AppData\Roaming\TaobaoProtect\TaobaoProtectSE.dll 0x753c0000 - 0x753c5000 C:\Windows\syswow64\PSAPI.DLL 0x6f0a0000 - 0x6f195000 C:\Windows\system32\propsys.dll 0x76520000 - 0x765a3000 C:\Windows\syswow64\CLBCatQ.DLL 0x6d0a0000 - 0x6d20f000 C:\Windows\system32\explorerframe.dll 0x70110000 - 0x7013f000 C:\Windows\system32\DUser.dll 0x6cfe0000 - 0x6d092000 C:\Windows\system32\DUI70.dll 0x74c90000 - 0x74c9e000 C:\Windows\system32\RpcRtRemote.dll 0x732d0000 - 0x732d5000 C:\Windows\system32\msimg32.dll 0x67100000 - 0x67c3f000 C:\Windows\SysWOW64\ieframe.dll 0x6ae60000 - 0x6ae64000 C:\Windows\SysWOW64\api-ms-win-downlevel-shell32-l1-1-0.dll 0x74720000 - 0x74724000 C:\Windows\system32\api-ms-win-downlevel-shlwapi-l2-1-0.dll 0x75140000 - 0x7526c000 C:\Windows\syswow64\urlmon.dll 0x75dd0000 - 0x75dd4000 C:\Windows\syswow64\api-ms-win-downlevel-ole32-l1-1-0.dll 0x6fcf0000 - 0x6fd4f000 C:\Windows\system32\SXS.DLL 0x64e00000 - 0x65eae000 C:\Windows\SysWOW64\mshtml.dll 0x74650000 - 0x74658000 C:\Windows\system32\Secur32.dll 0x72b20000 - 0x72b4e000 C:\Windows\system32\mlang.dll 0x74640000 - 0x74644000 C:\Windows\system32\api-ms-win-downlevel-advapi32-l2-1-0.dll 0x6ae50000 - 0x6ae5b000 C:\Windows\system32\msimtf.dll 0x6a7d0000 - 0x6abe1000 C:\Windows\SysWOW64\jscript9.dll 0x75a00000 - 0x75b20000 C:\Windows\syswow64\CRYPT32.dll 0x763c0000 - 0x763cc000 C:\Windows\syswow64\MSASN1.dll 0x6a790000 - 0x6a7c1000 C:\Windows\system32\msls31.dll 0x66c10000 - 0x66f57000 C:\Windows\system32\d2d1.dll 0x6c710000 - 0x6c845000 C:\Windows\system32\DWrite.dll 0x6a740000 - 0x6a78c000 C:\Windows\system32\dxgi.dll 0x76020000 - 0x7604e000 C:\Windows\syswow64\WINTRUST.dll 0x6a5c0000 - 0x6a735000 C:\Windows\system32\d3d11.dll 0x66a20000 - 0x66c09000 C:\Windows\system32\D3D10Warp.dll 0x75ba0000 - 0x75d3d000 C:\Windows\syswow64\SETUPAPI.dll 0x76390000 - 0x763b7000 C:\Windows\syswow64\CFGMGR32.dll 0x76340000 - 0x76352000 C:\Windows\syswow64\DEVOBJ.dll 0x6cc50000 - 0x6cc89000 C:\Windows\system32\MMDevAPI.DLL 0x6a590000 - 0x6a5c0000 C:\Windows\system32\wdmaud.drv 0x6a580000 - 0x6a584000 C:\Windows\system32\ksuser.dll 0x6a570000 - 0x6a577000 C:\Windows\system32\AVRT.dll 0x6cc90000 - 0x6ccc6000 C:\Windows\system32\AUDIOSES.DLL 0x6a560000 - 0x6a568000 C:\Windows\system32\msacm32.drv 0x753d0000 - 0x753e4000 C:\Windows\syswow64\MSACM32.dll 0x6a550000 - 0x6a557000 C:\Windows\system32\midimap.dll 0x73e60000 - 0x73eba000 C:\Windows\System32\netprofm.dll 0x74ca0000 - 0x74ca8000 C:\Windows\System32\npmproxy.dll 0x66990000 - 0x66a1c000 C:\Windows\SysWOW64\uiautomationcore.dll 0x72c00000 - 0x72c21000 C:\Windows\system32\ntmarta.dll 0x753f0000 - 0x75435000 C:\Windows\syswow64\WLDAP32.dll 0x6a530000 - 0x6a544000 C:\Windows\system32\ATL.DLL 0x74960000 - 0x74977000 C:\Windows\system32\bcrypt.dll 0x74920000 - 0x7495d000 C:\Windows\SysWOW64\bcryptprimitives.dll 0x670c0000 - 0x67100000 C:\Windows\SysWOW64\Dxtrans.dll 0x6a520000 - 0x6a52a000 C:\Windows\SysWOW64\ddrawex.dll 0x667e0000 - 0x668c7000 C:\Windows\SysWOW64\DDRAW.dll 0x6a510000 - 0x6a516000 C:\Windows\SysWOW64\DCIMAN32.dll 0x66780000 - 0x667dc000 C:\Windows\SysWOW64\Dxtmsft.dll VM Arguments: jvm_args: -agentlib:jdwp=transport=dt_socket,suspend=y,address=localhost:51582 -Xms128m -Xmx768m -Dfile.encoding=GBK java_command: org.eclipse.equinox.launcher.Main -launcher G:\Devlopment_epmis\eclipse for jq\eclipse.exe -name Eclipse -showsplash 600 -product epmis-cs.product -data G:\workspace_eclipse/../runtime-epmis-cs.product -configuration file:G:/workspace_eclipse/.metadata/.plugins/org.eclipse.pde.core/epmis-cs.product/ -dev file:G:/workspace_eclipse/.metadata/.plugins/org.eclipse.pde.core/epmis-cs.product/dev.properties -os win32 -ws win32 -arch x86 -nl zh_CN -consoleLog Launcher Type: SUN_STANDARD Environment Variables: JAVA_HOME=E:\Program Files\Java\jdk1.6.0_35 PATH=E:\Program Files\Java\jdk1.6.0_35\jre\bin;;C:\Python27;E:\Program Files\Java\jdk1.6.0_35\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;E:\Program Files\TortoiseSVN\bin;e:\AppCan\AppCanStudioPersonal\HDK\emulator\mas\;C:\AppCan\AppCanStudioPersonal\HDK\emulator\mas\;D:\Program Files (x86)\MySQL\MySQL Server 5.5\bin USERNAME=Administrator OS=Windows_NT PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 23 Stepping 10, GenuineIntel --------------- S Y S T E M --------------- OS: Windows 7 , 64 bit Build 7601 Service Pack 1 CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 23 stepping 10, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3 Memory: 4k page, physical 4158584k(1726028k free), swap 8315304k(4491184k free) vm_info: Java HotSpot(TM) Client VM (20.10-b01) for windows-x86 JRE (1.6.0_35-b10), built on Aug 28 2012 17:31:51 by "java_re" with MS VC++ 7.1 (VS2003) time: Tue Sep 23 17:51:45 2014 elapsed time: 145 seconds
Bomb Lab问题,求分析代码,汇编看不懂。
Dump of assembler code for function phase_2: => 0x0000000000401107 <+0>: mov %rbx,-0x18(%rsp) 0x000000000040110c <+5>: mov %rbp,-0x10(%rsp) 0x0000000000401111 <+10>: mov %r12,-0x8(%rsp) 0x0000000000401116 <+15>: sub $0x38,%rsp 0x000000000040111a <+19>: mov %rsp,%rsi 0x000000000040111d <+22>: callq 0x401294 <read_six_numbers> 0x0000000000401122 <+27>: mov %rsp,%rbx 0x0000000000401125 <+30>: lea 0xc(%rsp),%r12 0x000000000040112a <+35>: mov $0x0,%ebp 0x000000000040112f <+40>: mov (%rbx),%eax 0x0000000000401131 <+42>: cmp 0xc(%rbx),%eax 0x0000000000401134 <+45>: je 0x40113b <phase_2+52> 0x0000000000401136 <+47>: callq 0x401272 <explode_bomb> 0x000000000040113b <+52>: add (%rbx),%ebp 0x000000000040113d <+54>: add $0x4,%rbx 0x0000000000401141 <+58>: cmp %r12,%rbx 0x0000000000401144 <+61>: jne 0x40112f <phase_2+40> 0x0000000000401146 <+63>: test %ebp,%ebp 0x0000000000401148 <+65>: jne 0x40114f <phase_2+72> 0x000000000040114a <+67>: callq 0x401272 <explode_bomb> 0x000000000040114f <+72>: mov 0x20(%rsp),%rbx 0x0000000000401154 <+77>: mov 0x28(%rsp),%rbp ---Type <return> to continue, or q <return> to quit---return 0x0000000000401159 <+82>: mov 0x30(%rsp),%r12 0x000000000040115e <+87>: add $0x38,%rsp 0x0000000000401162 <+91>: retq
爬虫福利二 之 妹子图网MM批量下载
爬虫福利一:27报网MM批量下载    点击 看了本文,相信大家对爬虫一定会产生强烈的兴趣,激励自己去学习爬虫,在这里提前祝:大家学有所成! 目标网站:妹子图网 环境:Python3.x 相关第三方模块:requests、beautifulsoup4 Re:各位在测试时只需要将代码里的变量 path 指定为你当前系统要保存的路径,使用 python xxx.py 或IDE运行即可。
Java学习的正确打开方式
在博主认为,对于入门级学习java的最佳学习方法莫过于视频+博客+书籍+总结,前三者博主将淋漓尽致地挥毫于这篇博客文章中,至于总结在于个人,实际上越到后面你会发现学习的最好方式就是阅读参考官方文档其次就是国内的书籍,博客次之,这又是一个层次了,这里暂时不提后面再谈。博主将为各位入门java保驾护航,各位只管冲鸭!!!上天是公平的,只要不辜负时间,时间自然不会辜负你。 何谓学习?博主所理解的学习,它
程序员必须掌握的核心算法有哪些?
由于我之前一直强调数据结构以及算法学习的重要性,所以就有一些读者经常问我,数据结构与算法应该要学习到哪个程度呢?,说实话,这个问题我不知道要怎么回答你,主要取决于你想学习到哪些程度,不过针对这个问题,我稍微总结一下我学过的算法知识点,以及我觉得值得学习的算法。这些算法与数据结构的学习大多数是零散的,并没有一本把他们全部覆盖的书籍。下面是我觉得值得学习的一些算法以及数据结构,当然,我也会整理一些看过
大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了
大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、PDF搜索网站推荐 对于大部
linux系列之常用运维命令整理笔录
本博客记录工作中需要的linux运维命令,大学时候开始接触linux,会一些基本操作,可是都没有整理起来,加上是做开发,不做运维,有些命令忘记了,所以现在整理成博客,当然vi,文件操作等就不介绍了,慢慢积累一些其它拓展的命令,博客不定时更新 顺便拉下票,我在参加csdn博客之星竞选,欢迎投票支持,每个QQ或者微信每天都可以投5票,扫二维码即可,http://m234140.nofollow.ax.
比特币原理详解
一、什么是比特币 比特币是一种电子货币,是一种基于密码学的货币,在2008年11月1日由中本聪发表比特币白皮书,文中提出了一种去中心化的电子记账系统,我们平时的电子现金是银行来记账,因为银行的背后是国家信用。去中心化电子记账系统是参与者共同记账。比特币可以防止主权危机、信用风险。其好处不多做赘述,这一层面介绍的文章很多,本文主要从更深层的技术原理角度进行介绍。 二、问题引入  假设现有4个人
程序员接私活怎样防止做完了不给钱?
首先跟大家说明一点,我们做 IT 类的外包开发,是非标品开发,所以很有可能在开发过程中会有这样那样的需求修改,而这种需求修改很容易造成扯皮,进而影响到费用支付,甚至出现做完了项目收不到钱的情况。 那么,怎么保证自己的薪酬安全呢? 我们在开工前,一定要做好一些证据方面的准备(也就是“讨薪”的理论依据),这其中最重要的就是需求文档和验收标准。一定要让需求方提供这两个文档资料作为开发的基础。之后开发
网页实现一个简单的音乐播放器(大佬别看。(⊙﹏⊙))
今天闲着无事,就想写点东西。然后听了下歌,就打算写个播放器。 于是乎用h5 audio的加上js简单的播放器完工了。 欢迎 改进 留言。 演示地点跳到演示地点 html代码如下`&lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;music&lt;/title&gt; &lt;meta charset="utf-8"&gt
Python十大装B语法
Python 是一种代表简单思想的语言,其语法相对简单,很容易上手。不过,如果就此小视 Python 语法的精妙和深邃,那就大错特错了。本文精心筛选了最能展现 Python 语法之精妙的十个知识点,并附上详细的实例代码。如能在实战中融会贯通、灵活使用,必将使代码更为精炼、高效,同时也会极大提升代码B格,使之看上去更老练,读起来更优雅。 1. for - else 什么?不是 if 和 else 才
数据库优化 - SQL优化
前面一篇文章从实例的角度进行数据库优化,通过配置一些参数让数据库性能达到最优。但是一些“不好”的SQL也会导致数据库查询变慢,影响业务流程。本文从SQL角度进行数据库优化,提升SQL运行效率。 判断问题SQL 判断SQL是否有问题时可以通过两个表象进行判断: 系统级别表象 CPU消耗严重 IO等待严重 页面响应时间过长
2019年11月中国大陆编程语言排行榜
2019年11月2日,我统计了某招聘网站,获得有效程序员招聘数据9万条。针对招聘信息,提取编程语言关键字,并统计如下: 编程语言比例 rank pl_ percentage 1 java 33.62% 2 c/c++ 16.42% 3 c_sharp 12.82% 4 javascript 12.31% 5 python 7.93% 6 go 7.25% 7
通俗易懂地给女朋友讲:线程池的内部原理
餐厅的约会 餐盘在灯光的照耀下格外晶莹洁白,女朋友拿起红酒杯轻轻地抿了一小口,对我说:“经常听你说线程池,到底线程池到底是个什么原理?”我楞了一下,心里想女朋友今天是怎么了,怎么突然问出这么专业的问题,但做为一个专业人士在女朋友面前也不能露怯啊,想了一下便说:“我先给你讲讲我前同事老王的故事吧!” 大龄程序员老王 老王是一个已经北漂十多年的程序员,岁数大了,加班加不动了,升迁也无望,于是拿着手里
经典算法(5)杨辉三角
写在前面: 我是 扬帆向海,这个昵称来源于我的名字以及女朋友的名字。我热爱技术、热爱开源、热爱编程。技术是开源的、知识是共享的。 这博客是对自己学习的一点点总结及记录,如果您对 Java、算法 感兴趣,可以关注我的动态,我们一起学习。 用知识改变命运,让我们的家人过上更好的生活。 目录一、杨辉三角的介绍二、杨辉三角的算法思想三、代码实现1.第一种写法2.第二种写法 一、杨辉三角的介绍 百度
腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹?
昨天,有网友私信我,说去阿里面试,彻底的被打击到了。问了为什么网上大量使用ThreadLocal的源码都会加上private static?他被难住了,因为他从来都没有考虑过这个问题。无独有偶,今天笔者又发现有网友吐槽了一道腾讯的面试题,我们一起来看看。 腾讯算法面试题:64匹马8个跑道需要多少轮才能选出最快的四匹? 在互联网职场论坛,一名程序员发帖求助到。二面腾讯,其中一个算法题:64匹
面试官:你连RESTful都不知道我怎么敢要你?
面试官:了解RESTful吗? 我:听说过。 面试官:那什么是RESTful? 我:就是用起来很规范,挺好的 面试官:是RESTful挺好的,还是自我感觉挺好的 我:都挺好的。 面试官:… 把门关上。 我:… 要干嘛?先关上再说。 面试官:我说出去把门关上。 我:what ?,夺门而去 文章目录01 前言02 RESTful的来源03 RESTful6大原则1. C-S架构2. 无状态3.统一的接
为啥国人偏爱Mybatis,而老外喜欢Hibernate/JPA呢?
关于SQL和ORM的争论,永远都不会终止,我也一直在思考这个问题。昨天又跟群里的小伙伴进行了一番讨论,感触还是有一些,于是就有了今天这篇文。 声明:本文不会下关于Mybatis和JPA两个持久层框架哪个更好这样的结论。只是摆事实,讲道理,所以,请各位看官勿喷。 一、事件起因 关于Mybatis和JPA孰优孰劣的问题,争论已经很多年了。一直也没有结论,毕竟每个人的喜好和习惯是大不相同的。我也看
SQL-小白最佳入门sql查询一
一 说明 如果是初学者,建议去网上寻找安装Mysql的文章安装,以及使用navicat连接数据库,以后的示例基本是使用mysql数据库管理系统; 二 准备前提 需要建立一张学生表,列分别是id,名称,年龄,学生信息;本示例中文章篇幅原因SQL注释略; 建表语句: CREATE TABLE `student` ( `id` int(11) NOT NULL AUTO_INCREMENT, `
项目中的if else太多了,该怎么重构?
介绍 最近跟着公司的大佬开发了一款IM系统,类似QQ和微信哈,就是聊天软件。我们有一部分业务逻辑是这样的 if (msgType = "文本") { // dosomething } else if(msgType = "图片") { // doshomething } else if(msgType = "视频") { // doshomething } else { // dosho
【图解经典算法题】如何用一行代码解决约瑟夫环问题
约瑟夫环问题算是很经典的题了,估计大家都听说过,然后我就在一次笔试中遇到了,下面我就用 3 种方法来详细讲解一下这道题,最后一种方法学了之后保证让你可以让你装逼。 问题描述:编号为 1-N 的 N 个士兵围坐在一起形成一个圆圈,从编号为 1 的士兵开始依次报数(1,2,3…这样依次报),数到 m 的 士兵会被杀死出列,之后的士兵再从 1 开始报数。直到最后剩下一士兵,求这个士兵的编号。 1、方
致 Python 初学者
文章目录1. 前言2. 明确学习目标,不急于求成,不好高骛远3. 在开始学习 Python 之前,你需要做一些准备2.1 Python 的各种发行版2.2 安装 Python2.3 选择一款趁手的开发工具3. 习惯使用IDLE,这是学习python最好的方式4. 严格遵从编码规范5. 代码的运行、调试5. 模块管理5.1 同时安装了py2/py35.2 使用Anaconda,或者通过IDE来安装模
“狗屁不通文章生成器”登顶GitHub热榜,分分钟写出万字形式主义大作
一、垃圾文字生成器介绍 最近在浏览GitHub的时候,发现了这样一个骨骼清奇的雷人项目,而且热度还特别高。 项目中文名:狗屁不通文章生成器 项目英文名:BullshitGenerator 根据作者的介绍,他是偶尔需要一些中文文字用于GUI开发时测试文本渲染,因此开发了这个废话生成器。但由于生成的废话实在是太过富于哲理,所以最近已经被小伙伴们给玩坏了。 他的文风可能是这样的: 你发现,
程序员:我终于知道post和get的区别
IT界知名的程序员曾说:对于那些月薪三万以下,自称IT工程师的码农们,其实我们从来没有把他们归为我们IT工程师的队伍。他们虽然总是以IT工程师自居,但只是他们一厢情愿罢了。 此话一出,不知激起了多少(码农)程序员的愤怒,却又无可奈何,于是码农问程序员。 码农:你知道get和post请求到底有什么区别? 程序员:你看这篇就知道了。 码农:你月薪三万了? 程序员:嗯。 码农:你是怎么做到的? 程序员:
《程序人生》系列-这个程序员只用了20行代码就拿了冠军
你知道的越多,你不知道的越多 点赞再看,养成习惯GitHub上已经开源https://github.com/JavaFamily,有一线大厂面试点脑图,欢迎Star和完善 前言 这一期不算《吊打面试官》系列的,所有没前言我直接开始。 絮叨 本来应该是没有这期的,看过我上期的小伙伴应该是知道的嘛,双十一比较忙嘛,要值班又要去帮忙拍摄年会的视频素材,还得搞个程序员一天的Vlog,还要写BU
加快推动区块链技术和产业创新发展,2019可信区块链峰会在京召开
      11月8日,由中国信息通信研究院、中国通信标准化协会、中国互联网协会、可信区块链推进计划联合主办,科技行者协办的2019可信区块链峰会将在北京悠唐皇冠假日酒店开幕。   区块链技术被认为是继蒸汽机、电力、互联网之后,下一代颠覆性的核心技术。如果说蒸汽机释放了人类的生产力,电力解决了人类基本的生活需求,互联网彻底改变了信息传递的方式,区块链作为构造信任的技术有重要的价值。   1
程序员把地府后台管理系统做出来了,还有3.0版本!12月7号最新消息:已在开发中有github地址
第一幕:缘起 听说阎王爷要做个生死簿后台管理系统,我们派去了一个程序员…… 996程序员做的梦: 第一场:团队招募 为了应对地府管理危机,阎王打算找“人”开发一套地府后台管理系统,于是就在地府总经办群中发了项目需求。 话说还是中国电信的信号好,地府都是满格,哈哈!!! 经常会有外行朋友问:看某网站做的不错,功能也简单,你帮忙做一下? 而这次,面对这样的需求,这个程序员
网易云6亿用户音乐推荐算法
网易云音乐是音乐爱好者的集聚地,云音乐推荐系统致力于通过 AI 算法的落地,实现用户千人千面的个性化推荐,为用户带来不一样的听歌体验。 本次分享重点介绍 AI 算法在音乐推荐中的应用实践,以及在算法落地过程中遇到的挑战和解决方案。 将从如下两个部分展开: AI 算法在音乐推荐中的应用 音乐场景下的 AI 思考 从 2013 年 4 月正式上线至今,网易云音乐平台持续提供着:乐屏社区、UGC
【技巧总结】位运算装逼指南
位算法的效率有多快我就不说,不信你可以去用 10 亿个数据模拟一下,今天给大家讲一讲位运算的一些经典例子。不过,最重要的不是看懂了这些例子就好,而是要在以后多去运用位运算这些技巧,当然,采用位运算,也是可以装逼的,不信,你往下看。我会从最简单的讲起,一道比一道难度递增,不过居然是讲技巧,那么也不会太难,相信你分分钟看懂。 判断奇偶数 判断一个数是基于还是偶数,相信很多人都做过,一般的做法的代码如下
日均350000亿接入量,腾讯TubeMQ性能超过Kafka
整理 | 夕颜出品 | AI科技大本营(ID:rgznai100) 【导读】近日,腾讯开源动作不断,相继开源了分布式消息中间件TubeMQ,基于最主流的 OpenJDK8开发的
8年经验面试官详解 Java 面试秘诀
    作者 | 胡书敏 责编 | 刘静 出品 | CSDN(ID:CSDNnews) 本人目前在一家知名外企担任架构师,而且最近八年来,在多家外企和互联网公司担任Java技术面试官,前后累计面试了有两三百位候选人。在本文里,就将结合本人的面试经验,针对Java初学者、Java初级开发和Java开发,给出若干准备简历和准备面试的建议。   Java程序员准备和投递简历的实
面试官如何考察你的思维方式?
1.两种思维方式在求职面试中,经常会考察这种问题:北京有多少量特斯拉汽车? 某胡同口的煎饼摊一年能卖出多少个煎饼? 深圳有多少个产品经理? 一辆公交车里能装下多少个乒乓球? 一
相关热词 c#处理浮点数 c# 生成字母数字随机数 c# 动态曲线 控件 c# oracle 开发 c#选择字体大小的控件 c# usb 批量传输 c#10进制转8进制 c#转base64 c# 科学计算 c#下拉列表获取串口
立即提问