I have a ros bag and its information as following
path: zed.bag
version: 2.0
duration: 3:55s (235s)
start: Nov 12 2014 04:28:20.90 (1415737700.90)
end: Nov 12 2014 04:32:16.65 (1415737936.65)
size: 668.3 MB
messages: 54083
compression: none [848/848 chunks]
types: sensor_msgs/CameraInfo [c9a58c1b0b154e0e6da7578cb991d214]
sensor_msgs/CompressedImage [8f7a12909da2c9d3332d540a0977563f]
tf2_msgs/TFMessage [94810edda583a504dfda3829e70d7eec]
topics: /stereo_camera/left/camera_info_throttle 3741 msgs : sensor_msgs/CameraInfo
/stereo_camera/left/image_raw_throttle/compressed 3753 msgs : sensor_msgs/CompressedImage
/stereo_camera/right/camera_info_throttle 3741 msgs : sensor_msgs/CameraInfo
/stereo_camera/right/image_raw_throttle/compressed 3745 msgs : sensor_msgs/CompressedImage
/tf 39103 msgs : tf2_msgs/TFMessage (2 connections)
I can extract images by following
http://wiki.ros.org/rosbag/Tutorials/Exporting%20image%20and%20video%20data
but issue occurs when I want to get camera info, Do anyone know how to solve it?
One can solve it via echoing the text-based information into a file using rostopic:
rostopic echo -b zed.bag /stereo_camera/left/camera_info_throttle > data.txt
Since I uploaded my stm32cubef1 firmware version up to 1.6.0, I can't debug anymore my board. I'm using SWSTM32 and ST-LINK/V2.
Once I press the "play" like button, when I try to stop it a Windows opens and it says:
"No source available for "dt_TPS()at 0x20000004"
where dt_TPS is one of my variables.
In the window at the bottom of the page I read this:
Open On-Chip Debugger 0.10.0-dev-00302-gc211ca5-dirty (2017-07-03-10:41)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
adapter speed: 1000 kHz
adapter_nsrst_delay: 100
srst_only separate srst_nogate srst_open_drain connect_assert_srst
srst_only separate srst_nogate srst_open_drain connect_assert_srst
Info : clock speed 1000 kHz
Info : STLINK v2 JTAG v28 API v2 SWIM v6 VID 0x0483 PID 0x3748
Info : vid/pid are not identical: 0x0483/0x374B 0x0483/0x3748
Info : using stlink api v2
Info : Target voltage: 3.239921
Info : Unable to match requested speed 1000 kHz, using 950 kHz
Info : STM32F105R8Tx.cpu: hardware has 6 breakpoints, 4 watchpoints
Info : accepting 'gdb' connection on tcp/3333
STM32F105R8Tx.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x200001e0 msp: 0x20005000
Info : device id = 0x10016418
Info : flash size = 64kbytes
STM32F105R8Tx.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x200001e0 msp: 0x20005000
STM32F105R8Tx.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x200001e0 msp: 0x20005000
Info : Padding image section 0 with 4 bytes
STM32F105R8Tx.cpu: target state: halted
target halted due to breakpoint, current mode: Thread
xPSR: 0x61000000 pc: 0x2000003a msp: 0x20005000
STM32F105R8Tx.cpu: target state: halted
target halted due to debug-request, current mode: Thread
xPSR: 0x01000000 pc: 0x200001e0 msp: 0x20005000
Error: address + size wrapped(0xffffffff, 0x00000004)
Error: address + size wrapped(0xffffffff, 0x00000002)
Error: address + size wrapped(0xffffffff, 0x00000004)
Error: address + size wrapped(0xffffffff, 0x00000002)
Other infos: my current toolchain is: AC6 STM32 MCU GCC, current builder: Gnu Make Builder and the micro I used is STM32F105R8T6
Does anyone know what's going on?
You appear to be executing code from SRAM rather then flash. That is unusual, and possibly not intentional.
The processor will execute from SRAM on reset when the BOOT0 and BOOT1 pins are both high. Normally you load and execute code from flash (BOOT0 low, BOOT1 don't care) - your board may have jumpers for boot mode selection.
I wrote a JVMTI agent and upon running an application with the particular jvmti agent, the jvm crashes and exits with EXCEPTION_ACCESS_VIOLATION (0xc0000005).
Problematic frame lies in the jvmti agent that I wrote.
The stacktrace showed some jni calls to getstaticbyte and getstaticint functions .
When i run it under debugger the crash/exception_access_violation is not reproduced. And the run is perfectly normal.
What could be the cause of the crash when running outside of debugger?
hs_err_pid_*** obtained from the crash is below:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000064abfb3c, pid=5968, tid=0x0000000000001a30
#
# JRE version: Java(TM) SE Runtime Environment (8.0_121-b13) (build 1.8.0_121-b13)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.121-b13 mixed mode windows-amd64 compressed oops)
# Problematic frame:
# C [libCppDynamicLibrary_1.dll+0x3fb3c]
#
# Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/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 (0x000000000215e800): JavaThread "main" [_thread_in_native, id=6704, stack(0x0000000002370000,0x0000000002470000)]
siginfo: ExceptionCode=0xc0000005, reading address 0x0000000000000010
Registers:
RAX=0x0000000000000010, RBX=0x0000000000000042, RCX=0x0000000000000000, RDX=0x0000000000000000
RSP=0x000000000246e190, RBP=0x000000000246e1b0, RSI=0x0000000000000001, RDI=0x0000000000000001
R8 =0x0000000054feabe8, R9 =0x0000000054feabe8, R10=0x000000000215f368, R11=0x0000000055115390
R12=0x0000000000000000, R13=0x0000000000000000, R14=0x0000000000000000, R15=0x0000000000000000
RIP=0x0000000064abfb3c, EFLAGS=0x0000000000010202
Top of Stack: (sp=0x000000000246e190)
0x000000000246e190: 0000000000000000 0000000054feabe8
0x000000000246e1a0: 0000000064acc2b0 000000000246e230
0x000000000246e1b0: 000000000246e210 0000000064ac0b5f
0x000000000246e1c0: 000000000246e1e0 0000000000000000
0x000000000246e1d0: 0000000054feabe8 000000005fecba3e
0x000000000246e1e0: 0000000053a53560 000000000215cf50
0x000000000246e1f0: 0000000053a53560 000000006fce2e7a
0x000000000246e200: 000000000246e210 0000000000000000
0x000000000246e210: 0000000000000042 0000000000000001
0x000000000246e220: 000000000246e250 0000000064ab69e0
0x000000000246e230: 0000000000000000 0000000054fead20
0x000000000246e240: 0000000054feabe8 000000006fce4c59
0x000000000246e250: 000000000246e280 0000000064aa92c2
0x000000000246e260: 0000000000000000 0000000054fead20
0x000000000246e270: 0000000000000000 0000000000000000
0x000000000246e280: 000000000246e310 0000000064a8306a
Instructions: (pc=0x0000000064abfb3c)
0x0000000064abfb1c: 90 90 90 90 55 48 89 e5 48 83 ec 20 48 89 4d 10
0x0000000064abfb2c: 48 89 55 18 48 8b 45 18 48 89 c1 e8 64 0d 00 00
0x0000000064abfb3c: 48 8b 10 48 8b 45 10 48 89 10 48 8b 45 18 48 89
0x0000000064abfb4c: c1 e8 fe f5 ff ff 48 8b 10 48 8b 45 10 48 89 50
Register to memory mapping:
RAX=0x0000000000000010 is an unknown value
RBX=0x0000000000000042 is an unknown value
RCX=0x0000000000000000 is an unknown value
RDX=0x0000000000000000 is an unknown value
RSP=0x000000000246e190 is pointing into the stack for thread: 0x000000000215e800
RBP=0x000000000246e1b0 is pointing into the stack for thread: 0x000000000215e800
RSI=0x0000000000000001 is an unknown value
RDI=0x0000000000000001 is an unknown value
R8 =0x0000000054feabe8 is an unknown value
R9 =0x0000000054feabe8 is an unknown value
R10=0x000000000215f368 is an unknown value
R11=0x0000000055115390 is an unknown value
R12=0x0000000000000000 is an unknown value
R13=0x0000000000000000 is an unknown value
R14=0x0000000000000000 is an unknown value
R15=0x0000000000000000 is an unknown value
Stack: [0x0000000002370000,0x0000000002470000], sp=0x000000000246e190, free space=1016k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libCppDynamicLibrary_1.dll+0x3fb3c]
C [libCppDynamicLibrary_1.dll+0x40b5f]
C [libCppDynamicLibrary_1.dll+0x369e0]
C [libCppDynamicLibrary_1.dll+0x292c2]
C [libCppDynamicLibrary_1.dll+0x306a]
C [libCppDynamicLibrary_1.dll+0x3b31]
C [libCppDynamicLibrary_1.dll+0x27cfc]
C [libCppDynamicLibrary_1.dll+0x1b2c]
C [libCppDynamicLibrary_1.dll+0x20c7]
V [jvm.dll+0x1b7fa6]
V [jvm.dll+0xb89ea]
C 0x0000000002769a38
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j javaapplication1.JavaApplication1.main([Ljava/lang/String;)V+77
v ~StubRoutines::call_stub
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x0000000053b12800 JavaThread "Service Thread" daemon [_thread_blocked, id=7716, stack(0x0000000054850000,0x0000000054950000)]
0x0000000053ac9000 JavaThread "C1 CompilerThread1" daemon [_thread_blocked, id=3960, stack(0x0000000054e40000,0x0000000054f40000)]
0x0000000053abf000 JavaThread "C2 CompilerThread0" daemon [_thread_blocked, id=5724, stack(0x0000000054d40000,0x0000000054e40000)]
0x0000000053aba000 JavaThread "Attach Listener" daemon [_thread_blocked, id=6436, stack(0x0000000054b80000,0x0000000054c80000)]
0x0000000053ab8000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=7540, stack(0x00000000549d0000,0x0000000054ad0000)]
0x0000000053a9f000 JavaThread "Finalizer" daemon [_thread_blocked, id=6944, stack(0x0000000054670000,0x0000000054770000)]
0x0000000053a55800 JavaThread "Reference Handler" daemon [_thread_blocked, id=3156, stack(0x00000000543f0000,0x00000000544f0000)]
=>0x000000000215e800 JavaThread "main" [_thread_in_native, id=6704, stack(0x0000000002370000,0x0000000002470000)]
Other Threads:
0x0000000053a4d800 VMThread [stack: 0x0000000054540000,0x0000000054640000] [id=4316]
0x0000000054fd3800 WatcherThread [stack: 0x0000000055490000,0x0000000055590000] [id=7732]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap:
PSYoungGen total 9728K, used 714K [0x00000000f5a00000, 0x00000000f6480000, 0x0000000100000000)
eden space 8704K, 8% used [0x00000000f5a00000,0x00000000f5ab28e0,0x00000000f6280000)
from space 1024K, 0% used [0x00000000f6380000,0x00000000f6380000,0x00000000f6480000)
to space 1024K, 0% used [0x00000000f6280000,0x00000000f6280000,0x00000000f6380000)
ParOldGen total 22016K, used 0K [0x00000000e0e00000, 0x00000000e2380000, 0x00000000f5a00000)
object space 22016K, 0% used [0x00000000e0e00000,0x00000000e0e00000,0x00000000e2380000)
Metaspace used 2999K, capacity 4486K, committed 4864K, reserved 1056768K
class space used 333K, capacity 386K, committed 512K, reserved 1048576K
Card table byte_map: [0x0000000011b00000,0x0000000011c00000] byte_map_base: 0x00000000113f9000
Marking Bits: (ParMarkBitMap*) 0x000000006046b6d0
Begin Bits: [0x0000000012190000, 0x0000000012958000)
End Bits: [0x0000000012958000, 0x0000000013120000)
Polling page: 0x0000000000340000
CodeCache: size=245760Kb used=1063Kb max_used=1068Kb free=244696Kb
bounds [0x0000000002740000, 0x00000000029b0000, 0x0000000011740000]
total_blobs=232 nmethods=0 adapters=147
compilation: enabled
Compilation events (0 events):
No events
GC Heap History (0 events):
No events
Deoptimization events (0 events):
No events
Internal exceptions (10 events):
Event: 4.248 Thread 0x000000000215e800 Exception <a 'java/lang/NoSuchFieldError': genericInfo> (0x00000000f5a8c070) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 2965]
Event: 4.248 Thread 0x000000000215e800 Exception <a 'java/lang/NoSuchFieldError': enumConstants> (0x00000000f5a8c2c0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 2965]
Event: 4.248 Thread 0x000000000215e800 Exception <a 'java/lang/NoSuchFieldError': enumConstantDirectory> (0x00000000f5a8c520) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 2965]
Event: 4.248 Thread 0x000000000215e800 Exception <a 'java/lang/NoSuchFieldError': annotationData> (0x00000000f5a8c770) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 2965]
Event: 4.248 Thread 0x000000000215e800 Exception <a 'java/lang/NoSuchFieldError': annotationType> (0x00000000f5a8c9c0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 2965]
Event: 4.249 Thread 0x000000000215e800 Exception <a 'java/lang/NoSuchFieldError': classValueMap> (0x00000000f5a8cc10) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 2965]
Event: 4.249 Thread 0x000000000215e800 Exception <a 'java/lang/NoSuchFieldError': value> (0x00000000f5a8ce50) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 2965]
Event: 4.250 Thread 0x000000000215e800 Exception <a 'java/lang/NoSuchFieldError': next> (0x00000000f5a8d088) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 2965]
Event: 4.250 Thread 0x000000000215e800 Exception <a 'java/lang/NoSuchFieldError': next> (0x00000000f5a8d2c0) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 2965]
Event: 4.250 Thread 0x000000000215e800 Exception <a 'java/lang/NoSuchFieldError': x> (0x00000000f5a8d4f8) thrown at [C:\re\workspace\8-2-build-windows-amd64-cygwin\jdk8u121\8372\hotspot\src\share\vm\prims\jni.cpp, line 2965]
Events (10 events):
Event: 4.191 loading class java/lang/Void
Event: 4.192 loading class java/lang/Void done
Event: 4.193 loading class javaapplication1/hello
Event: 4.193 loading class javaapplication1/hello done
Event: 4.245 Executing VM operation: GetOrSetLocal
Event: 4.246 Executing VM operation: GetOrSetLocal done
Event: 4.246 loading class java/lang/NoSuchFieldError
Event: 4.247 loading class java/lang/NoSuchFieldError done
Event: 4.249 Executing VM operation: GetOrSetLocal
Event: 4.250 Executing VM operation: GetOrSetLocal done
Dynamic libraries:
0x000000013fdf0000 - 0x000000013fe27000 C:\Program Files\Java\jdk1.8.0_121\bin\java.exe
0x0000000077ac0000 - 0x0000000077c6a000 C:\windows\SYSTEM32\ntdll.dll
0x00000000778a0000 - 0x00000000779bf000 C:\windows\system32\kernel32.dll
0x000007fefd7c0000 - 0x000007fefd82a000 C:\windows\system32\KERNELBASE.dll
0x000007feffc90000 - 0x000007feffd6b000 C:\windows\system32\ADVAPI32.dll
0x000007feff6f0000 - 0x000007feff78f000 C:\windows\system32\msvcrt.dll
0x000007fefe150000 - 0x000007fefe16f000 C:\windows\SYSTEM32\sechost.dll
0x000007fefdb60000 - 0x000007fefdc8d000 C:\windows\system32\RPCRT4.dll
0x00000000779c0000 - 0x0000000077aba000 C:\windows\system32\USER32.dll
0x000007fefe170000 - 0x000007fefe1d7000 C:\windows\system32\GDI32.dll
0x000007feff790000 - 0x000007feff79e000 C:\windows\system32\LPK.dll
0x000007fefdce0000 - 0x000007fefddaa000 C:\windows\system32\USP10.dll
0x000007fefc060000 - 0x000007fefc254000 C:\windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.7601.18837_none_fa3b1e3d17594757\COMCTL32.dll
0x000007feff8e0000 - 0x000007feff951000 C:\windows\system32\SHLWAPI.dll
0x000007feff7a0000 - 0x000007feff7ce000 C:\windows\system32\IMM32.DLL
0x000007feff7d0000 - 0x000007feff8d9000 C:\windows\system32\MSCTF.dll
0x0000000061520000 - 0x00000000615f2000 C:\Program Files\Java\jdk1.8.0_121\jre\bin\msvcr100.dll
0x000000005fc50000 - 0x00000000604eb000 C:\Program Files\Java\jdk1.8.0_121\jre\bin\server\jvm.dll
0x000007fef5e60000 - 0x000007fef5e69000 C:\windows\system32\WSOCK32.dll
0x000007fefdc90000 - 0x000007fefdcdd000 C:\windows\system32\WS2_32.dll
0x000007fefde50000 - 0x000007fefde58000 C:\windows\system32\NSI.dll
0x000007fefafe0000 - 0x000007fefb01b000 C:\windows\system32\WINMM.dll
0x000007fefc840000 - 0x000007fefc84c000 C:\windows\system32\VERSION.dll
0x0000000077c90000 - 0x0000000077c97000 C:\windows\system32\PSAPI.DLL
0x000000006e8d0000 - 0x000000006e8df000 C:\Program Files\Java\jdk1.8.0_121\jre\bin\verify.dll
0x000000006e870000 - 0x000000006e899000 C:\Program Files\Java\jdk1.8.0_121\jre\bin\java.dll
0x0000000064a80000 - 0x0000000064d79000 C:\Users\siddharth\Documents\NetBeansProjects\CppDynamicLibrary_1\dist\Debug\MinGW64-Windows\libCppDynamicLibrary_1.dll
0x0000000061440000 - 0x000000006145c000 C:\msys64\mingw64\bin\libgcc_s_seh-1.dll
0x0000000064940000 - 0x0000000064955000 C:\msys64\mingw64\bin\libwinpthread-1.dll
0x000000006fc40000 - 0x000000006fda1000 C:\msys64\mingw64\bin\libstdc++-6.dll
0x0000000066330000 - 0x0000000066346000 C:\Program Files\Java\jdk1.8.0_121\jre\bin\zip.dll
0x000007fefe3c0000 - 0x000007feff14a000 C:\windows\system32\SHELL32.dll
0x000007feff150000 - 0x000007feff353000 C:\windows\system32\ole32.dll
0x000007fefd7a0000 - 0x000007fefd7af000 C:\windows\system32\profapi.dll
0x000007fef5fa0000 - 0x000007fef60c5000 C:\windows\system32\dbghelp.dll
VM Arguments:
jvm_args: -agentpath:C:\\Users\\siddharth\\Documents\\NetBeansProjects\\CppDynamicLibrary_1\\dist\\Debug\\MinGW64-Windows\\libCppDynamicLibrary_1.dll
java_command: C:\\Users\\siddharth\\Documents\\NetBeansProjects\\JavaApplication1\\dist\\JavaApplication1.jar
java_class_path (initial): C:\\Users\\siddharth\\Documents\\NetBeansProjects\\JavaApplication1\\dist\\JavaApplication1.jar
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=C:\msys\1.0\bin;C:\Perl64\site\bin;C:\Perl64\bin;C:\Perl\site\bin;C:\Perl\bin;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Lenovo\Bluetooth Software\;C:\Program Files\Lenovo\Bluetooth Software\syswow64;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Git\cmd;C:\Program Files (x86)\Skype\Phone\;C:\Program Files\CMake\bin;C:\Program Files\nodejs\;C:\msys64\mingw64\bin;C:\msys64\usr\bin;C:\Users\Guest\AppData\Local\Code\bin;C:\Program Files (x86)\LLVM\bin;C:\Program Files (x86)\Nmap;c:\Program Files\Java\jdk1.8.0_121\bin;C:\Users\Guest\AppData\Roaming\npm;C:\msys64\mingw64\bin;C:\msys\1.0\bin
USERNAME=siddharth
OS=Windows_NT
PROCESSOR_IDENTIFIER=Intel64 Family 6 Model 42 Stepping 7, GenuineIntel
--------------- S Y S T E M ---------------
OS: Windows 7 , 64 bit Build 7601 (6.1.7601.23677)
CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 42 stepping 7, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3, sse4.1, sse4.2, popcnt, clmul, tsc, tscinvbit
Memory: 4k page, physical 2039664k(275996k free), swap 5401696k(968952k free)
vm_info: Java HotSpot(TM) 64-Bit Server VM (25.121-b13) for windows-amd64 JRE (1.8.0_121-b13), built on Dec 12 2016 18:21:36 by "java_re" with MS VC++ 10.0 (VS2010)
time: Sun Apr 09 12:59:39 2017
elapsed time: 4 seconds (0d 0h 0m 4s)
Folks, I am stumbling upon quite a weird issue. I am running a job with mpirun command:
mpirun -np 4 ~/opt/stuff/OSMC
Sometimes (the execution depends on a number of random values) one of the four processes dies:
Image PC Routine Line Source
OSMC 000000000050B54D Unknown Unknown Unknown
OSMC 000000000050A055 Unknown Unknown Unknown
OSMC 00000000004BA320 Unknown Unknown Unknown
OSMC 000000000047976F Unknown Unknown Unknown
OSMC 0000000000479B72 Unknown Unknown Unknown
OSMC 000000000043B7DC mpi_m_mp_exchange 306 mpi_m.f90
OSMC 0000000000430880 mpi_m_mp_coagulat 85 mpi_m.f90
OSMC 000000000041304B op_m_mp_op_run_ 81 op_m.f90
OSMC 000000000040FF22 osmc_m_mp_run_ 543 OSMC_m.f90
OSMC 000000000040FD09 MAIN__ 28 OSMC_m.f90
OSMC 000000000040FC4C Unknown Unknown Unknown
libc.so.6 000000362081ED5D Unknown Unknown Unknown
OSMC 000000000040FB49 Unknown Unknown Unknown
--------------------------------------------------------------------------
mpirun has exited due to process rank 1 with PID 28468 on
node rcfen04 exiting without calling "finalize". This may
have caused other processes in the application to be
terminated by signals sent by mpirun (as reported here).
--------------------------------------------------------------------------
The system prints no core dump, so I have no more informations apart of this short summary. I gave a look in mpi_m.f90 line 306, where an existing array is set to 0.
The system should be able to print a core dump file, since:
[user#host path]$ ulimit -a
core file size (blocks, -c) unlimited
...
This is the piece of code that is reported in the short summary:
module mpi_m
implicit none
...
real(wp),allocatable :: part(:,:) ! ARRAY DECLARATION
...
allocate( part_(pdim,is_:ie_) ) ! ARRAY ALLOCATION
...
subroutine exchanger_compute_bij(ierr,msg)
implicit none
...
part = 0.0_wp ! HERE CODE CRASHES
...
end subroutine
...
end module
Nothing seems wrong to me. The incriminated instruction is a fortran vector operation, should be fine. It crashes even when I compile with bound checking.
How can I determine the reason for this sudden crash? I hoped a core dump file, given to Totalview or some other debugger, could have helped..
Since last week, Word and Excel are often crashing, even on very simple documents. Just now, Firefox also crashed. What can I do to repair it or find the real root cause?
I have already repaired Office installation using the Setup. All regular updates should be installed. Laptop is rebooted every day.
I have configured WinDbg to attach and this is what I get. I also have a dump, so if you need more information, I can still get it. Here's info from my first dump of Word:
0:020> .exr -1
ExceptionAddress: 11fdf91c
ExceptionCode: c0000005 (Access violation)
ExceptionFlags: 00000000
NumberParameters: 2
Parameter[0]: 00000008
Parameter[1]: 11fdf91c
Attempt to execute non-executable address 11fdf91c
0:020> kb
ChildEBP RetAddr Args to Child
WARNING: Frame IP not in any known module. Following frames may be wrong.
11fdf91c 75d05d3f 00000008 0dc0bbe8 fffffffe 0x11fdf91c
11fdfacc 75d38f82 bf3079e6 0dc0bbe8 00000000 ole32!COIDTable::ThreadCleanup+0xcb [d:\w7rtm\com\ole32\com\dcomrem\idobj.cxx # 1760]
11fdfb10 75d38ec3 00000000 11fdfb60 75e37724 ole32!FinishShutdown+0x9d [d:\w7rtm\com\ole32\com\class\compobj.cxx # 1035]
11fdfb30 75d2bac3 00000000 75d309ad 0dc0bbe8 ole32!ApartmentUninitialize+0x96 [d:\w7rtm\com\ole32\com\class\compobj.cxx # 1291]
11fdfb48 75d388e8 11fdfb60 00000000 00000000 ole32!wCoUninitialize+0x153 [d:\w7rtm\com\ole32\com\class\compobj.cxx # 2766]
11fdfb64 6e77314a 11fdfbf4 75f043c0 0b179b08 ole32!CoUninitialize+0x72 [d:\w7rtm\com\ole32\com\class\compobj.cxx # 2620]
11fdfb6c 75f043c0 0b179b08 00000000 00000000 NetworkItemFactory!FDBackgroundThreadHandler+0x21
11fdfbf4 75bf336a 0da0f624 11fdfc40 773a9f72 SHLWAPI!WrapperThreadProc+0x1b5
11fdfc00 773a9f72 0da0f624 66709c63 00000000 kernel32!BaseThreadInitThunk+0xe
11fdfc40 773a9f45 75f042ed 0da0f624 ffffffff ntdll!__RtlUserThreadStart+0x70
11fdfc58 00000000 75f042ed 0da0f624 00000000 ntdll!_RtlUserThreadStart+0x1b
0:020> vertarget
Windows 7 Version 7601 (Service Pack 1) MP (8 procs) Free x86 compatible
Product: WinNt, suite: SingleUserTS
kernel32.dll version: 6.1.7601.18229 (win7sp1_gdr.130801-1533)
Machine Name:
Debug session time: Wed Feb 5 14:55:55.241 2014 (UTC + 1:00)
System Uptime: 0 days 3:46:03.386
Process Uptime: 0 days 0:05:08.582
Kernel time: 0 days 0:00:03.822
User time: 0 days 0:00:11.528
If I recall correctly, it was related to a VOIP software called Netphone Client from Deutsche Telekom, which includes itself into other applications via a COM object.
Therefore this was exactly as projected by Hans Passant in the comments:
You are buried inside the COM plumbing with a clear hint that its internal state is corrupted. This is an environmental problem, some kind of DLL that gets injected into the process and screws things up. Long before the crash occurs so you'll have very little hope of diagnosing it with a debugger. Find the common source of the problem from the modules list. Suspect any shell extension, anti-malware, any utility similar to Dropbox. Use SysInternals' AutoRuns to disable them.
I don't remember how exactly I found the culprit, but I finally used a physical VOIP phone instead of the software + headset.