Java fatal error, don't know what it means - multithreading
It happens at the same place in my code (albeit not the first time the method is executed) but I can't make head or tail of what is wrong. (Doubly so as it's code for a robot).
Be most appreciative if someone can give me an idea of what kind of problem it is. I assume it's to do with threading (multi-threaded app) but I don't really know what?!? Worried as deadline for uni project is looming!!!
The message:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb70f0ca7, pid=5065, tid=2145643376
#
# JRE version: 6.0_15-b03
# Java VM: Java HotSpot(TM) Server VM (14.1-b02 mixed mode linux-x86 )
# Problematic frame:
# V [libjvm.so+0x4c9ca7]
#
# An error report file with more information is saved as:
# /home/thomas/workspace/sir13/hs_err_pid5065.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
The log:
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xb70f0ca7, pid=5065, tid=2145643376
#
# JRE version: 6.0_15-b03
# Java VM: Java HotSpot(TM) Server VM (14.1-b02 mixed mode linux-x86 )
# Problematic frame:
# V [libjvm.so+0x4c9ca7]
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
--------------- T H R E A D ---------------
Current thread (0x0904ec00): JavaThread "CompilerThread1" daemon [_thread_in_native, id=5078, stack(0x7fdbe000,0x7fe3f000)]
siginfo:si_signo=SIGSEGV: si_errno=0, si_code=1 (SEGV_MAPERR), si_addr=0x00000004
Registers:
EAX=0x00000000, EBX=0xb733d720, ECX=0x000003b4, EDX=0x00000000
ESP=0x7fe3bf30, EBP=0x7fe3bf78, ESI=0x7fe3c250, EDI=0x7e9a7790
EIP=0xb70f0ca7, CR2=0x00000004, EFLAGS=0x00010283
Top of Stack: (sp=0x7fe3bf30)
0x7fe3bf30: 00020008 7ec8de5c 7fe3c250 00000000
0x7fe3bf40: 7f610451 00001803 7e9a7790 000003f5
0x7fe3bf50: 7e920030 7f239910 7f23b349 7f23b348
0x7fe3bf60: 7f550e35 7fe3c250 0000021b b733d720
0x7fe3bf70: 000003bc 7f23db10 7fe3bfc8 b70f0997
0x7fe3bf80: 7fe3c240 7f23db10 00000000 00000002
0x7fe3bf90: 00000000 7fe3c1b0 00000000 00000000
0x7fe3bfa0: 00004000 00000020 7ec88870 00000002
Instructions: (pc=0xb70f0ca7)
0xb70f0c97: 7d 08 8b 87 c8 02 00 00 89 c7 8b 45 c4 8b 14 87
0xb70f0ca7: 8b 42 04 8b 00 85 c0 75 22 8b 4e 04 8b 52 1c 39
Stack: [0x7fdbe000,0x7fe3f000], sp=0x7fe3bf30, free space=503k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
V [libjvm.so+0x4c9ca7]
V [libjvm.so+0x4c9997]
V [libjvm.so+0x4c6e23]
V [libjvm.so+0x25b75f]
V [libjvm.so+0x2585df]
V [libjvm.so+0x1f2c2f]
V [libjvm.so+0x260ceb]
V [libjvm.so+0x260609]
V [libjvm.so+0x617286]
V [libjvm.so+0x6108fe]
V [libjvm.so+0x531c4e]
C [libpthread.so.0+0x580e]
Current CompileTask:
C2:133 ! BehaviourLeftUnexplored.action()V (326 bytes)
--------------- P R O C E S S ---------------
Java Threads: ( => current thread )
0x08fb5400 JavaThread "DestroyJavaVM" [_thread_blocked, id=5066, stack(0xb6bb0000,0xb6c01000)]
0x09213c00 JavaThread "Thread-4" [_thread_blocked, id=5085, stack(0x7eeaf000,0x7ef00000)]
0x09212c00 JavaThread "Thread-3" [_thread_in_Java, id=5084, stack(0x7f863000,0x7f8b4000)]
0x09206800 JavaThread "AWT-XAWT" daemon [_thread_in_native, id=5083, stack(0x7f8b4000,0x7f905000)]
0x091b7400 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=5082, stack(0x7f93e000,0x7f98f000)]
0x09163c00 JavaThread "Thread-0" [_thread_in_native, id=5081, stack(0x7fc87000,0x7fcd8000)]
0x09050c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=5079, stack(0x7fd6d000,0x7fdbe000)]
=>0x0904ec00 JavaThread "CompilerThread1" daemon [_thread_in_native, id=5078, stack(0x7fdbe000,0x7fe3f000)]
0x0904c000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=5077, stack(0x7fe3f000,0x7fec0000)]
0x0904a800 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=5076, stack(0x7fec0000,0x7ff11000)]
0x09036c00 JavaThread "Finalizer" daemon [_thread_blocked, id=5075, stack(0x7ff57000,0x7ffa8000)]
0x09035400 JavaThread "Reference Handler" daemon [_thread_blocked, id=5074, stack(0x7ffa8000,0x7fff9000)]
Other Threads:
0x09031400 VMThread [stack: 0x7fff9000,0x8007a000] [id=5073]
0x09052800 WatcherThread [stack: 0x7fcec000,0x7fd6d000] [id=5080]
VM state:not at safepoint (normal execution)
VM Mutex/Monitor currently owned by a thread: None
Heap
PSYoungGen total 46784K, used 32032K [0xae650000, 0xb3440000, 0xb3a50000)
eden space 46720K, 68% used [0xae650000,0xb0588f48,0xb13f0000)
from space 64K, 95% used [0xb3390000,0xb339f428,0xb33a0000)
to space 384K, 0% used [0xb33e0000,0xb33e0000,0xb3440000)
PSOldGen total 43008K, used 20872K [0x84650000, 0x87050000, 0xae650000)
object space 43008K, 48% used [0x84650000,0x85ab2308,0x87050000)
PSPermGen total 16384K, used 5115K [0x80650000, 0x81650000, 0x84650000)
object space 16384K, 31% used [0x80650000,0x80b4ec30,0x81650000)
Dynamic libraries:
08048000-08052000 r-xp 00000000 08:05 34708 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/bin/java
08052000-08053000 rwxp 00009000 08:05 34708 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/bin/java
08faf000-09220000 rwxp 00000000 00:00 0 [heap]
7e900000-7e9f9000 rwxp 00000000 00:00 0
7e9f9000-7ea00000 ---p 00000000 00:00 0
7ea00000-7ea41000 rwxp 00000000 00:00 0
7ea41000-7eb00000 ---p 00000000 00:00 0
7eb00000-7ebfc000 rwxp 00000000 00:00 0
7ebfc000-7ec00000 ---p 00000000 00:00 0
7ec00000-7ecf7000 rwxp 00000000 00:00 0
7ecf7000-7ed00000 ---p 00000000 00:00 0
7ed00000-7ede7000 rwxp 00000000 00:00 0
7ede7000-7ee00000 ---p 00000000 00:00 0
7eeaf000-7eeb2000 ---p 00000000 00:00 0
7eeb2000-7ef00000 rwxp 00000000 00:00 0
7ef00000-7eff9000 rwxp 00000000 00:00 0
7eff9000-7f000000 ---p 00000000 00:00 0
7f100000-7f1f6000 rwxp 00000000 00:00 0
7f1f6000-7f200000 ---p 00000000 00:00 0
7f200000-7f2fc000 rwxp 00000000 00:00 0
7f2fc000-7f300000 ---p 00000000 00:00 0
7f300000-7f4fe000 rwxp 00000000 00:00 0
7f4fe000-7f500000 ---p 00000000 00:00 0
7f500000-7f5fb000 rwxp 00000000 00:00 0
7f5fb000-7f600000 ---p 00000000 00:00 0
7f600000-7f6f9000 rwxp 00000000 00:00 0
7f6f9000-7f700000 ---p 00000000 00:00 0
7f700000-7f800000 rwxp 00000000 00:00 0
7f830000-7f836000 r-xs 00000000 08:05 241611 /var/cache/fontconfig/945677eb7aeaf62f1d50efc3fb3ec7d8-x86.cache-2
7f836000-7f838000 r-xs 00000000 08:05 241612 /var/cache/fontconfig/99e8ed0e538f840c565b6ed5dad60d56-x86.cache-2
7f838000-7f83b000 r-xs 00000000 08:05 241620 /var/cache/fontconfig/e383d7ea5fbe662a33d9b44caf393297-x86.cache-2
7f83b000-7f846000 r-xs 00000000 08:05 241600 /var/cache/fontconfig/0f34bcd4b6ee430af32735b75db7f02b-x86.cache-2
7f863000-7f866000 ---p 00000000 00:00 0
7f866000-7f8b4000 rwxp 00000000 00:00 0
7f8b4000-7f8b7000 ---p 00000000 00:00 0
7f8b7000-7f905000 rwxp 00000000 00:00 0
7f905000-7f909000 r-xp 00000000 08:05 5012 /usr/lib/libXfixes.so.3.1.0
7f909000-7f90a000 r-xp 00003000 08:05 5012 /usr/lib/libXfixes.so.3.1.0
7f90a000-7f90b000 rwxp 00004000 08:05 5012 /usr/lib/libXfixes.so.3.1.0
7f90b000-7f913000 r-xp 00000000 08:05 5032 /usr/lib/libXrender.so.1.3.0
7f913000-7f914000 r-xp 00007000 08:05 5032 /usr/lib/libXrender.so.1.3.0
7f914000-7f915000 rwxp 00008000 08:05 5032 /usr/lib/libXrender.so.1.3.0
7f915000-7f91e000 r-xp 00000000 08:05 5004 /usr/lib/libXcursor.so.1.0.2
7f91e000-7f91f000 r-xp 00008000 08:05 5004 /usr/lib/libXcursor.so.1.0.2
7f91f000-7f920000 rwxp 00009000 08:05 5004 /usr/lib/libXcursor.so.1.0.2
7f92f000-7f931000 r-xs 00000000 08:05 241622 /var/cache/fontconfig/f24b2111ab8703b4e963115a8cf14259-x86.cache-2
7f931000-7f932000 r-xs 00000000 08:05 241606 /var/cache/fontconfig/4c73fe0c47614734b17d736dbde7580a-x86.cache-2
7f932000-7f936000 r-xs 00000000 08:05 241599 /var/cache/fontconfig/062808c12e6e608270f93bb230aed730-x86.cache-2
7f936000-7f93e000 r-xs 00000000 08:05 241617 /var/cache/fontconfig/d52a8644073d54c13679302ca1180695-x86.cache-2
7f93e000-7f941000 ---p 00000000 00:00 0
7f941000-7f98f000 rwxp 00000000 00:00 0
7f98f000-7fa0e000 r-xp 00000000 08:05 34755 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/libfontmanager.so
7fa0e000-7fa19000 rwxp 0007e000 08:05 34755 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/libfontmanager.so
7fa19000-7fa1d000 rwxp 00000000 00:00 0
7fa1d000-7fa21000 r-xp 00000000 08:05 5008 /usr/lib/libXdmcp.so.6.0.0
7fa21000-7fa22000 rwxp 00003000 08:05 5008 /usr/lib/libXdmcp.so.6.0.0
7fa22000-7fa3e000 r-xp 00000000 08:05 6029 /usr/lib/libxcb.so.1.1.0
7fa3e000-7fa3f000 r-xp 0001c000 08:05 6029 /usr/lib/libxcb.so.1.1.0
7fa3f000-7fa40000 rwxp 0001d000 08:05 6029 /usr/lib/libxcb.so.1.1.0
7fa40000-7fa42000 r-xp 00000000 08:05 4997 /usr/lib/libXau.so.6.0.0
7fa42000-7fa43000 r-xp 00001000 08:05 4997 /usr/lib/libXau.so.6.0.0
7fa43000-7fa44000 rwxp 00002000 08:05 4997 /usr/lib/libXau.so.6.0.0
7fa44000-7fb6e000 r-xp 00000000 08:05 4991 /usr/lib/libX11.so.6.2.0
7fb6e000-7fb6f000 ---p 0012a000 08:05 4991 /usr/lib/libX11.so.6.2.0
7fb6f000-7fb70000 r-xp 0012a000 08:05 4991 /usr/lib/libX11.so.6.2.0
7fb70000-7fb72000 rwxp 0012b000 08:05 4991 /usr/lib/libX11.so.6.2.0
7fb72000-7fb73000 rwxp 00000000 00:00 0
7fb73000-7fb81000 r-xp 00000000 08:05 5010 /usr/lib/libXext.so.6.4.0
7fb81000-7fb82000 r-xp 0000d000 08:05 5010 /usr/lib/libXext.so.6.4.0
7fb82000-7fb83000 rwxp 0000e000 08:05 5010 /usr/lib/libXext.so.6.4.0
7fb83000-7fb84000 r-xs 00000000 08:05 241614 /var/cache/fontconfig/c05880de57d1f5e948fdfacc138775d9-x86.cache-2
7fb84000-7fb87000 r-xs 00000000 08:05 241613 /var/cache/fontconfig/a755afe4a08bf5b97852ceb7400b47bc-x86.cache-2
7fb87000-7fb8a000 r-xs 00000000 08:05 241608 /var/cache/fontconfig/6d41288fd70b0be22e8c3a91e032eec0-x86.cache-2
7fb8a000-7fb92000 r-xs 00000000 08:05 219560 /var/cache/fontconfig/e13b20fdb08344e0e664864cc2ede53d-x86.cache-2
7fb92000-7fbd5000 r-xp 00000000 08:05 34752 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/xawt/libmawt.so
7fbd5000-7fbd7000 rwxp 00043000 08:05 34752 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/xawt/libmawt.so
7fbd7000-7fbd8000 rwxp 00000000 00:00 0
7fbd8000-7fc5c000 r-xp 00000000 08:05 34750 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/libawt.so
7fc5c000-7fc63000 rwxp 00084000 08:05 34750 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/libawt.so
7fc63000-7fc87000 rwxp 00000000 00:00 0
7fc87000-7fc8a000 ---p 00000000 00:00 0
7fc8a000-7fcd8000 rwxp 00000000 00:00 0
7fcd8000-7fceb000 r-xp 00000000 08:05 34739 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/libnet.so
7fceb000-7fcec000 rwxp 00013000 08:05 34739 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/libnet.so
7fcec000-7fced000 ---p 00000000 00:00 0
7fced000-7fd6d000 rwxp 00000000 00:00 0
7fd6d000-7fd70000 ---p 00000000 00:00 0
7fd70000-7fdbe000 rwxp 00000000 00:00 0
7fdbe000-7fdc1000 ---p 00000000 00:00 0
7fdc1000-7fe3f000 rwxp 00000000 00:00 0
7fe3f000-7fe42000 ---p 00000000 00:00 0
7fe42000-7fec0000 rwxp 00000000 00:00 0
7fec0000-7fec3000 ---p 00000000 00:00 0
7fec3000-7ff11000 rwxp 00000000 00:00 0
7ff11000-7ff18000 r-xs 00000000 08:05 134616 /usr/lib/gconv/gconv-modules.cache
7ff18000-7ff57000 r-xp 00000000 08:05 136279 /usr/lib/locale/en_GB.utf8/LC_CTYPE
7ff57000-7ff5a000 ---p 00000000 00:00 0
7ff5a000-7ffa8000 rwxp 00000000 00:00 0
7ffa8000-7ffab000 ---p 00000000 00:00 0
7ffab000-7fff9000 rwxp 00000000 00:00 0
7fff9000-7fffa000 ---p 00000000 00:00 0
7fffa000-800ad000 rwxp 00000000 00:00 0
800ad000-80243000 r-xs 02fb3000 08:05 34883 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/rt.jar
80243000-80244000 ---p 00000000 00:00 0
80244000-802c4000 rwxp 00000000 00:00 0
802c4000-802c5000 ---p 00000000 00:00 0
802c5000-8034d000 rwxp 00000000 00:00 0
8034d000-80365000 rwxp 00000000 00:00 0
80365000-8037a000 rwxp 00000000 00:00 0
8037a000-804b5000 rwxp 00000000 00:00 0
804b5000-804bd000 rwxp 00000000 00:00 0
804bd000-804d5000 rwxp 00000000 00:00 0
804d5000-804ea000 rwxp 00000000 00:00 0
804ea000-80625000 rwxp 00000000 00:00 0
80625000-8064c000 rwxp 00000000 00:00 0
8064c000-8064f000 rwxp 00000000 00:00 0
8064f000-81650000 rwxp 00000000 00:00 0
81650000-84650000 rwxp 00000000 00:00 0
84650000-87050000 rwxp 00000000 00:00 0
87050000-ae650000 rwxp 00000000 00:00 0
ae650000-b3440000 rwxp 00000000 00:00 0
b3440000-b3a50000 rwxp 00000000 00:00 0
b3a50000-b3a52000 r-xs 00000000 08:05 241602 /var/cache/fontconfig/2c5ba8142dffc8bf0377700342b8ca1a-x86.cache-2
b3a52000-b3a5b000 r-xp 00000000 08:05 5018 /usr/lib/libXi.so.6.0.0
b3a5b000-b3a5c000 r-xp 00008000 08:05 5018 /usr/lib/libXi.so.6.0.0
b3a5c000-b3a5d000 rwxp 00009000 08:05 5018 /usr/lib/libXi.so.6.0.0
b3a5d000-b3a66000 rwxp 00000000 00:00 0
b3a66000-b3b1d000 rwxp 00000000 00:00 0
b3b1d000-b3d5d000 rwxp 00000000 00:00 0
b3d5d000-b6b1d000 rwxp 00000000 00:00 0
b6b1d000-b6b2c000 r-xp 00000000 08:05 34735 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/libzip.so
b6b2c000-b6b2e000 rwxp 0000e000 08:05 34735 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/libzip.so
b6b2e000-b6b38000 r-xp 00000000 08:05 1042 /lib/tls/i686/cmov/libnss_files-2.10.1.so
b6b38000-b6b39000 r-xp 00009000 08:05 1042 /lib/tls/i686/cmov/libnss_files-2.10.1.so
b6b39000-b6b3a000 rwxp 0000a000 08:05 1042 /lib/tls/i686/cmov/libnss_files-2.10.1.so
b6b3a000-b6b43000 r-xp 00000000 08:05 1055 /lib/tls/i686/cmov/libnss_nis-2.10.1.so
b6b43000-b6b44000 r-xp 00008000 08:05 1055 /lib/tls/i686/cmov/libnss_nis-2.10.1.so
b6b44000-b6b45000 rwxp 00009000 08:05 1055 /lib/tls/i686/cmov/libnss_nis-2.10.1.so
b6b45000-b6b4b000 r-xp 00000000 08:05 1028 /lib/tls/i686/cmov/libnss_compat-2.10.1.so
b6b4b000-b6b4c000 r-xp 00005000 08:05 1028 /lib/tls/i686/cmov/libnss_compat-2.10.1.so
b6b4c000-b6b4d000 rwxp 00006000 08:05 1028 /lib/tls/i686/cmov/libnss_compat-2.10.1.so
b6b4d000-b6b54000 r-xs 00035000 08:05 304369 /home/thomas/workspace/sir13/javaclient/jars/javaclient.jar
b6b54000-b6b5c000 rwxs 00000000 08:05 393570 /tmp/hsperfdata_thomas/5065
b6b5c000-b6b6f000 r-xp 00000000 08:05 1020 /lib/tls/i686/cmov/libnsl-2.10.1.so
b6b6f000-b6b70000 r-xp 00012000 08:05 1020 /lib/tls/i686/cmov/libnsl-2.10.1.so
b6b70000-b6b71000 rwxp 00013000 08:05 1020 /lib/tls/i686/cmov/libnsl-2.10.1.so
b6b71000-b6b73000 rwxp 00000000 00:00 0
b6b73000-b6b77000 r-xp 00000000 08:05 5038 /usr/lib/libXtst.so.6.1.0
b6b77000-b6b78000 r-xp 00004000 08:05 5038 /usr/lib/libXtst.so.6.1.0
b6b78000-b6b79000 rwxp 00005000 08:05 5038 /usr/lib/libXtst.so.6.1.0
b6b79000-b6b7f000 r-xp 00000000 08:05 34723 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/native_threads/libhpi.so
b6b7f000-b6b80000 rwxp 00006000 08:05 34723 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/native_threads/libhpi.so
b6b80000-b6b81000 rwxp 00000000 00:00 0
b6b81000-b6b82000 r-xp 00000000 00:00 0
b6b82000-b6ba5000 r-xp 00000000 08:05 34733 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/libjava.so
b6ba5000-b6ba7000 rwxp 00023000 08:05 34733 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/libjava.so
b6ba7000-b6bae000 r-xp 00000000 08:05 1733 /lib/tls/i686/cmov/librt-2.10.1.so
b6bae000-b6baf000 r-xp 00006000 08:05 1733 /lib/tls/i686/cmov/librt-2.10.1.so
b6baf000-b6bb0000 rwxp 00007000 08:05 1733 /lib/tls/i686/cmov/librt-2.10.1.so
b6bb0000-b6bb3000 ---p 00000000 00:00 0
b6bb3000-b6c01000 rwxp 00000000 00:00 0
b6c01000-b6c25000 r-xp 00000000 08:05 1016 /lib/tls/i686/cmov/libm-2.10.1.so
b6c25000-b6c26000 r-xp 00023000 08:05 1016 /lib/tls/i686/cmov/libm-2.10.1.so
b6c26000-b6c27000 rwxp 00024000 08:05 1016 /lib/tls/i686/cmov/libm-2.10.1.so
b6c27000-b72f4000 r-xp 00000000 08:05 34724 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/server/libjvm.so
b72f4000-b7341000 rwxp 006cc000 08:05 34724 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/server/libjvm.so
b7341000-b7765000 rwxp 00000000 00:00 0
b7765000-b78a3000 r-xp 00000000 08:05 967 /lib/tls/i686/cmov/libc-2.10.1.so
b78a3000-b78a4000 ---p 0013e000 08:05 967 /lib/tls/i686/cmov/libc-2.10.1.so
b78a4000-b78a6000 r-xp 0013e000 08:05 967 /lib/tls/i686/cmov/libc-2.10.1.so
b78a6000-b78a7000 rwxp 00140000 08:05 967 /lib/tls/i686/cmov/libc-2.10.1.so
b78a7000-b78aa000 rwxp 00000000 00:00 0
b78aa000-b78ac000 r-xp 00000000 08:05 1014 /lib/tls/i686/cmov/libdl-2.10.1.so
b78ac000-b78ad000 r-xp 00001000 08:05 1014 /lib/tls/i686/cmov/libdl-2.10.1.so
b78ad000-b78ae000 rwxp 00002000 08:05 1014 /lib/tls/i686/cmov/libdl-2.10.1.so
b78ae000-b78b5000 r-xp 00000000 08:05 34734 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/jli/libjli.so
b78b5000-b78b7000 rwxp 00006000 08:05 34734 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/jli/libjli.so
b78b7000-b78b8000 rwxp 00000000 00:00 0
b78b8000-b78cd000 r-xp 00000000 08:05 1081 /lib/tls/i686/cmov/libpthread-2.10.1.so
b78cd000-b78ce000 r-xp 00014000 08:05 1081 /lib/tls/i686/cmov/libpthread-2.10.1.so
b78ce000-b78cf000 rwxp 00015000 08:05 1081 /lib/tls/i686/cmov/libpthread-2.10.1.so
b78cf000-b78d1000 rwxp 00000000 00:00 0
b78d1000-b78d2000 r-xs 00000000 08:05 161622 /var/cache/fontconfig/4794a0821666d79190d59a36cb4f44b5-x86.cache-2
b78d2000-b78d4000 r-xs 00000000 08:05 241610 /var/cache/fontconfig/7ef2298fde41cc6eeb7af42e48b7d293-x86.cache-2
b78d4000-b78df000 r-xp 00000000 08:05 34732 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/libverify.so
b78df000-b78e0000 rwxp 0000b000 08:05 34732 /usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/libverify.so
b78e0000-b78e2000 rwxp 00000000 00:00 0
b78e2000-b78e3000 r-xp 00000000 00:00 0 [vdso]
b78e3000-b78fe000 r-xp 00000000 08:05 64 /lib/ld-2.10.1.so
b78fe000-b78ff000 r-xp 0001a000 08:05 64 /lib/ld-2.10.1.so
b78ff000-b7900000 rwxp 0001b000 08:05 64 /lib/ld-2.10.1.so
bfc33000-bfc48000 rwxp 00000000 00:00 0 [stack]
VM Arguments:
jvm_args: -Dfile.encoding=UTF-8
java_command: Main
Launcher Type: SUN_STANDARD
Environment Variables:
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
USERNAME=thomas
LD_LIBRARY_PATH=/usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/server:/usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.15/jre/../lib/i386:/usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386/client:/usr/lib/jvm/java-6-sun-1.6.0.15/jre/lib/i386:/usr/lib/xulrunner-addons:/usr/lib/xulrunner-addons
SHELL=/bin/bash
DISPLAY=:0.0
Signal Handlers:
SIGSEGV: [libjvm.so+0x650690], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGBUS: [libjvm.so+0x650690], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGFPE: [libjvm.so+0x52f580], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGPIPE: [libjvm.so+0x52f580], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGXFSZ: [libjvm.so+0x52f580], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGILL: [libjvm.so+0x52f580], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGUSR1: SIG_DFL, sa_mask[0]=0x00000000, sa_flags=0x00000000
SIGUSR2: [libjvm.so+0x532170], sa_mask[0]=0x00000004, sa_flags=0x10000004
SIGHUP: [libjvm.so+0x531ea0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGINT: [libjvm.so+0x531ea0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGTERM: [libjvm.so+0x531ea0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
SIGQUIT: [libjvm.so+0x531ea0], sa_mask[0]=0x7ffbfeff, sa_flags=0x10000004
--------------- S Y S T E M ---------------
OS:squeeze/sid
uname:Linux 2.6.31-20-generic #57-Ubuntu SMP Mon Feb 8 09:05:19 UTC 2010 i686
libc:glibc 2.10.1 NPTL 2.10.1
rlimit: STACK 8192k, CORE 0k, NPROC infinity, NOFILE 1024, AS infinity
load average:1.07 0.55 0.23
CPU:total 2 (2 cores per cpu, 1 threads per core) family 6 model 15 stepping 13, cmov, cx8, fxsr, mmx, sse, sse2, sse3, ssse3
Memory: 4k page, physical 3095836k(1519972k free), swap 1261060k(1261060k free)
vm_info: Java HotSpot(TM) Server VM (14.1-b02) for linux-x86 JRE (1.6.0_15-b03), built on Jul 2 2009 15:49:13 by "java_re" with gcc 3.2.1-7a (J2SE release)
time: Mon Mar 22 12:08:40 2010
elapsed time: 21 seconds
The following error:
SIGSEGV (0xb) at pc=0xb70f0ca7, pid=5065, tid=2145643376
Shows that somewhere, you're accessing an invalid memory adress or NULL from process ID (5065) (not relevant at this moment).
So, if you're programming a robot, it means that you're either:
Using a library (DLL) that can communicate to a serial port to access that robot, your code to talk to the library is probably passing a NULL which in turn, crashes in the DLL.
Writing your own native library which then is accessing a NULL or invalid memory address.
The JVM then crashes. I can't help you further that this because I don't know how your programmed (in Java) to communicate to your robot so this is just an investigation.
Learn about SIGSEGV.
You are running Java 1.6.0 patch 15. The latest patch release (Java 1.6.0 patch 18) has fixes for a number of JVM crashing bugs according to the release notes. So it would be worth trying an upgrade.
However, the theory that your problems are caused by flakey JNI code is also plausible.
Here is some Sun documentation on Troubleshooting System Crashes for Java 6.
Related
Size of data segment in /proc/pid/maps
I am trying to understand memory mapping in Linux, and wrote below program for the same. #include <stdio.h> #include <pthread.h> #include <unistd.h> #define MEM_SIZE 1*1024*1024*1024 // 1GB #define PAGE_SIZE 4*1024 #define NO_OF_PAGES (MEM_SIZE)/(PAGE_SIZE) // Global array of size 1 GB int mem[MEM_SIZE/sizeof(int)] = { 0,1,2, }; void *func(void *args) { while (1) { for (int i=0; i<NO_OF_PAGES; i++) { mem[(i*PAGE_SIZE)/sizeof(int)] = 1; // Update first 4-bytes of each page. } // All pages are updated. fflush(stdout); printf("."); // Each dot(.) represents update of all pages in global data. } return NULL; } int main() { pthread_t t; pthread_create(&t, NULL, func, NULL); printf("A thread is continually updating all pages of global 1GB data. (pid : %d)\n", getpid()); pthread_join(t, NULL); return 0; } It executes like this, [ ] gcc test.c [ ] ./a.out A thread is continually updating all pages of global 1GB data. (pid : 4086) ....................... Here, a thread is continually updating all pages of the global data used in this program. Hence, this process should consume ~1GB (MEM_SIZE) in memory. But the process memory looks like below, (I can not see 1GB of data memory being used here). [ ]# cat /proc/4086/maps 55eac3b7c000-55eac3b7d000 r--p 00000000 08:01 1197055 /root/testing/a.out 55eac3b7d000-55eac3b7e000 r-xp 00001000 08:01 1197055 /root/testing/a.out 55eac3b7e000-55eac3b7f000 r--p 00002000 08:01 1197055 /root/testing/a.out 55eac3b7f000-55eac3b80000 r--p 00002000 08:01 1197055 /root/testing/a.out 55eac3b80000-55eb03b81000 rw-p 00003000 08:01 1197055 /root/testing/a.out 55eb047b5000-55eb047d6000 rw-p 00000000 00:00 0 [heap] 7f19c791b000-7f19c791c000 ---p 00000000 00:00 0 7f19c791c000-7f19c811e000 rw-p 00000000 00:00 0 7f19c811e000-7f19c8140000 r--p 00000000 08:01 1969450 /usr/lib/libc.so.6 7f19c8140000-7f19c829b000 r-xp 00022000 08:01 1969450 /usr/lib/libc.so.6 7f19c829b000-7f19c82f2000 r--p 0017d000 08:01 1969450 /usr/lib/libc.so.6 7f19c82f2000-7f19c82f6000 r--p 001d4000 08:01 1969450 /usr/lib/libc.so.6 7f19c82f6000-7f19c82f8000 rw-p 001d8000 08:01 1969450 /usr/lib/libc.so.6 7f19c82f8000-7f19c8307000 rw-p 00000000 00:00 0 7f19c8311000-7f19c8312000 r--p 00000000 08:01 1969441 /usr/lib/ld-linux-x86-64.so.2 7f19c8312000-7f19c8338000 r-xp 00001000 08:01 1969441 /usr/lib/ld-linux-x86-64.so.2 7f19c8338000-7f19c8342000 r--p 00027000 08:01 1969441 /usr/lib/ld-linux-x86-64.so.2 7f19c8342000-7f19c8344000 r--p 00031000 08:01 1969441 /usr/lib/ld-linux-x86-64.so.2 7f19c8344000-7f19c8346000 rw-p 00033000 08:01 1969441 /usr/lib/ld-linux-x86-64.so.2 7ffe8b517000-7ffe8b538000 rw-p 00000000 00:00 0 [stack] 7ffe8b599000-7ffe8b59d000 r--p 00000000 00:00 0 [vvar] 7ffe8b59d000-7ffe8b59f000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0 [vsyscall] [ ]# Though, meminfo reflects the consumption of ~1GB. Before starting this program: [ ]# cat /proc/meminfo | grep 'MemFree\|SwapFree' MemFree: 6740324 kB SwapFree: 0 kB and after starting the program: [ ]# cat /proc/meminfo | grep 'MemFree\|SwapFree' MemFree: 5699312 kB SwapFree: 0 kB
In the map, we can see the following zones: 7f19c791b000-7f19c791c000 ---p 00000000 00:00 0 : Red zone to protect the stack of the thread = non RW 4KB long page (stack overflow detection) 7f19c791c000-7f19c811e000 rw-p 00000000 00:00 0 : Stack of the thread (it grows from high to low memory addresses) 55eac3b80000-55eb03b81000 rw-p 00003000 08:01 1197055 : the 1 GB memory space (mem[] table) + 4KB You could add to your program the display of the mem[] table address: printf("A thread is continually updating all pages of global 1GB data (mem[]#%p). (pid : %d)\n", mem, getpid()); The size command displays the size of the data segment which is ~1GB: $ gcc test.c -l pthread $ size a.out text data bss dec hex filename 2571 1073742504 16 1073745091 40000cc3 a.out Execution which shows mem[]'s address at: 0x562c48575020 $ ./a.out A thread is continually updating all pages of global 1GB data (mem[]#0x562c48575020). (pid : 10029) ............................................. Display of the map from another terminal where we can see the address of mem[] located in the zone 562c48575000-562c88576000: $ cat /proc/`pidof a.out`/maps 562c48571000-562c48572000 r--p 00000000 08:05 9044419 /home/xxx/a.out 562c48572000-562c48573000 r-xp 00001000 08:05 9044419 /home/xxx/a.out 562c48573000-562c48574000 r--p 00002000 08:05 9044419 /home/xxx/a.out 562c48574000-562c48575000 r--p 00002000 08:05 9044419 /home/xxx/a.out 562c48575000-562c88576000 rw-p 00003000 08:05 9044419 /home/xxx/a.out 562c89668000-562c89689000 rw-p 00000000 00:00 0 [heap] 7f02946be000-7f02946bf000 ---p 00000000 00:00 0 7f02946bf000-7f0294ebf000 rw-p 00000000 00:00 0 7f0294ebf000-7f0294ee1000 r--p 00000000 08:05 6031519 /usr/lib/x86_64-linux-gnu/libc-2.31.so 7f0294ee1000-7f0295059000 r-xp 00022000 08:05 6031519 /usr/lib/x86_64-linux-gnu/libc-2.31.so 7f0295059000-7f02950a7000 r--p 0019a000 08:05 6031519 /usr/lib/x86_64-linux-gnu/libc-2.31.so 7f02950a7000-7f02950ab000 r--p 001e7000 08:05 6031519 /usr/lib/x86_64-linux-gnu/libc-2.31.so 7f02950ab000-7f02950ad000 rw-p 001eb000 08:05 6031519 /usr/lib/x86_64-linux-gnu/libc-2.31.so 7f02950ad000-7f02950b1000 rw-p 00000000 00:00 0 7f02950b7000-7f02950bd000 r--p 00000000 08:05 6031549 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 7f02950bd000-7f02950ce000 r-xp 00006000 08:05 6031549 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 7f02950ce000-7f02950d4000 r--p 00017000 08:05 6031549 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 7f02950d4000-7f02950d5000 r--p 0001c000 08:05 6031549 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 7f02950d5000-7f02950d6000 rw-p 0001d000 08:05 6031549 /usr/lib/x86_64-linux-gnu/libpthread-2.31.so 7f02950d6000-7f02950da000 rw-p 00000000 00:00 0 7f02950fc000-7f02950ff000 rw-p 00000000 00:00 0 7f02950ff000-7f0295100000 r--p 00000000 08:05 6031511 /usr/lib/x86_64-linux-gnu/ld-2.31.so 7f0295100000-7f0295123000 r-xp 00001000 08:05 6031511 /usr/lib/x86_64-linux-gnu/ld-2.31.so 7f0295123000-7f029512b000 r--p 00024000 08:05 6031511 /usr/lib/x86_64-linux-gnu/ld-2.31.so 7f029512c000-7f029512d000 r--p 0002c000 08:05 6031511 /usr/lib/x86_64-linux-gnu/ld-2.31.so 7f029512d000-7f029512e000 rw-p 0002d000 08:05 6031511 /usr/lib/x86_64-linux-gnu/ld-2.31.so 7f029512e000-7f029512f000 rw-p 00000000 00:00 0 7f0295131000-7f0295133000 rw-p 00000000 00:00 0 7ffcb340f000-7ffcb3430000 rw-p 00000000 00:00 0 [stack] 7ffcb35ff000-7ffcb3603000 r--p 00000000 00:00 0 [vvar] 7ffcb3603000-7ffcb3605000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 --xp 00000000 00:00 0 [vsyscall]
*** buffer overflow detected ***: php terminated
I have dedicated server with WHM when am trying to run any script from the command line am getting the following error but when am running the same script from Root it's run correctly : Please help :) *** buffer overflow detected ***: php terminated ======= Backtrace: ========= /lib64/libc.so.6(__fortify_fail+0x37)[0x76e9e6f9e7f7] /lib64/libc.so.6(+0x1006e0)[0x76e9e6f9c6e0] /lib64/libc.so.6(+0xffb39)[0x76e9e6f9bb39] /lib64/libc.so.6(_IO_default_xsputn+0xc9)[0x76e9e6f104a9] /lib64/libc.so.6(_IO_vfprintf+0x64f)[0x76e9e6ee048f] /lib64/libc.so.6(__vsprintf_chk+0x9d)[0x76e9e6f9bbdd] /lib64/libc.so.6(__sprintf_chk+0x7f)[0x76e9e6f9bb1f] php[0x403328] php[0x4020e9] php[0x40171f] /lib64/libc.so.6(__libc_start_main+0xfd)[0x76e9e6ebad1d] php[0x4011e9] ======= Memory map: ======== 00400000-00404000 r-xp 00000000 09:02 565253 /usr/local/bin/php 00604000-00605000 rw-p 00004000 09:02 565253 /usr/local/bin/php 00605000-01b81000 ---p 00000000 00:00 0 01b81000-01ba2000 rw-p 00000000 00:00 0 [heap] 76e9e6c86000-76e9e6c9c000 r-xp 00000000 09:02 2727991 /lib64/libgcc_s-4.4.7-20120601.so.1 76e9e6c9c000-76e9e6e9b000 ---p 00016000 09:02 2727991 /lib64/libgcc_s-4.4.7-20120601.so.1 76e9e6e9b000-76e9e6e9c000 rw-p 00015000 09:02 2727991 /lib64/libgcc_s-4.4.7-20120601.so.1 76e9e6e9c000-76e9e7026000 r-xp 00000000 09:02 2728045 /lib64/libc-2.12.so 76e9e7026000-76e9e7226000 ---p 0018a000 09:02 2728045 /lib64/libc-2.12.so 76e9e7226000-76e9e722a000 r--p 0018a000 09:02 2728045 /lib64/libc-2.12.so 76e9e722a000-76e9e722c000 rw-p 0018e000 09:02 2728045 /lib64/libc-2.12.so 76e9e722c000-76e9e7230000 rw-p 00000000 00:00 0 76e9e7230000-76e9e724f000 r-xp 00000000 09:02 5392297 /usr/lib64/libyaml-0.so.2.0.4 76e9e724f000-76e9e744e000 ---p 0001f000 09:02 5392297 /usr/lib64/libyaml-0.so.2.0.4 76e9e744e000-76e9e744f000 rw-p 0001e000 09:02 5392297 /usr/lib64/libyaml-0.so.2.0.4 76e9e744f000-76e9e746f000 r-xp 00000000 09:02 2727958 /lib64/ld-2.12.so 76e9e7660000-76e9e7663000 rw-p 00000000 00:00 0 76e9e766b000-76e9e766e000 rw-p 00000000 00:00 0 76e9e766e000-76e9e766f000 r-xp 00000000 00:00 0 [vdso] 76e9e766f000-76e9e7670000 r--p 00020000 09:02 2727958 /lib64/ld-2.12.so 76e9e7670000-76e9e7671000 rw-p 00021000 09:02 2727958 /lib64/ld-2.12.so 76e9e7671000-76e9e7672000 rw-p 00000000 00:00 0 7d3fc456e000-7d3fc458f000 rw-p 00000000 00:00 0 [stack] ffffffffff600000-ffffffffff601000 r--p 00000000 0
solved it was an error related to Apache buffering module.
Process State replication
I Need to create process state replication between two processes. I am using a simple bash script that count to infinity. I am running it on server 1 and server 2 and making the process on server 2 always paused and i need to copy the state (memory) from the first process to the second one (the replica). I am very familar with procfs and I know that the memory pages contains the state in memory page as follows: root#ubuntu:/proc/41932# cat maps 7f7254d85000-7f7254f40000 r-xp 00000000 00:27 30 /lib/x86_64-linux-gnu/libc-2.19.so 7f7254f40000-7f725513f000 ---p 001bb000 00:27 30 /lib/x86_64-linux-gnu/libc-2.19.so 7f725513f000-7f7255143000 r--p 001ba000 00:27 30 /lib/x86_64-linux-gnu/libc-2.19.so 7f7255143000-7f7255145000 rw-p 001be000 00:27 30 /lib/x86_64-linux-gnu/libc-2.19.so 7f7255145000-7f725514a000 rw-p 00000000 00:00 0 7f725514a000-7f725516d000 r-xp 00000000 00:27 27 /lib/x86_64-linux-gnu/ld-2.19.so 7f7255364000-7f7255367000 rw-p 00000000 00:00 0 7f725536a000-7f725536c000 rw-p 00000000 00:00 0 7f725536c000-7f725536d000 r--p 00022000 00:27 27 /lib/x86_64-linux-gnu/ld-2.19.so 7f725536d000-7f725536e000 rw-p 00023000 00:27 27 /lib/x86_64-linux-gnu/ld-2.19.so 7f725536e000-7f725536f000 rw-p 00000000 00:00 0 7f725536f000-7f725538b000 r-xp 00000000 00:27 22 /bin/dash 7f725558a000-7f725558c000 r--p 0001b000 00:27 22 /bin/dash 7f725558c000-7f725558d000 rw-p 0001d000 00:27 22 /bin/dash 7f725558d000-7f725558f000 rw-p 00000000 00:00 0 7f7256799000-7f72567ba000 rw-p 00000000 00:00 0 [heap] 7fff06be2000-7fff06c03000 rw-p 00000000 00:00 0 [stack] 7fff06cb8000-7fff06cba000 r-xp 00000000 00:00 0 [vdso] 7fff06cba000-7fff06cbc000 r--p 00000000 00:00 0 [vvar] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] root#ubuntu:/proc/41932# ls map_files/ 7f7254d85000-7f7254f40000 7f725513f000-7f7255143000 7f725514a000-7f725516d000 7f725536d000-7f725536e000 7f725558a000-7f725558c000 7f7254f40000-7f725513f000 7f7255143000-7f7255145000 7f725536c000-7f725536d000 7f725536f000-7f725538b000 7f725558c000-7f725558d000 Which files i need to copy knowing that both start from the same script and how to copy this state?
*** buffer overflow detected ***: ./lamps terminated
I am running a data acquisition program named LAMPS CAMAC. All of a sudden, I start getting the following error every time I try to a peak fitting of a pulse. The error message is quite long, will try to embed it here. *** buffer overflow detected ***: ./lamps terminated ======= Backtrace: ========= /lib/x86_64-linux-gnu/libc.so.6(+0x7338f)[0x7f0c2a23638f] /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x5c)[0x7f0c2a2cdc9c] /lib/x86_64-linux-gnu/libc.so.6(+0x109b60)[0x7f0c2a2ccb60] /lib/x86_64-linux-gnu/libc.so.6(+0x109069)[0x7f0c2a2cc069] /lib/x86_64-linux-gnu/libc.so.6(__printf_fp+0x2456)[0x7f0c2a214736] /lib/x86_64-linux-gnu/libc.so.6(_IO_vfprintf+0x315b)[0x7f0c2a20fe4b] /lib/x86_64-linux-gnu/libc.so.6(__vsprintf_chk+0x84)[0x7f0c2a2cc0f4] /lib/x86_64-linux-gnu/libc.so.6(__sprintf_chk+0x7d)[0x7f0c2a2cc04d] ./lamps[0x449638] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x138)[0x7f0c2b2e03b8] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x21d3d)[0x7f0c2b2f1d3d] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xdd9)[0x7f0c2b2f9a29] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f0c2b2f9ce2] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_widget_activate+0x7c)[0x7f0c2ba1052c] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_menu_shell_activate_item+0xfd)[0x7f0c2b912fed] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x13f33c)[0x7f0c2b91333c] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x12d815)[0x7f0c2b901815] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_closure_invoke+0x138)[0x7f0c2b2e03b8] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(+0x21afb)[0x7f0c2b2f1afb] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit_valist+0xaa9)[0x7f0c2b2f96f9] /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0(g_signal_emit+0x82)[0x7f0c2b2f9ce2] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(+0x23d6b4)[0x7f0c2ba116b4] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_propagate_event+0xc4)[0x7f0c2b8fffc4] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main_do_event+0x2db)[0x7f0c2b90037b] /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0(+0x5943c)[0x7f0c2b57a43c] /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x254)[0x7f0c2ae0ee04] /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x49048)[0x7f0c2ae0f048] /lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_loop_run+0x6a)[0x7f0c2ae0f30a] /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0(gtk_main+0xa7)[0x7f0c2b8ff447] ./lamps[0x407507] /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7f0c2a1e4ec5] ./lamps[0x40761f] ======= Memory map: ======== 00400000-004b9000 r-xp 00000000 08:0b 523865 /home/ananya/lamps_camac/lamps 006b8000-006b9000 r--p 000b8000 08:0b 523865 /home/ananya/lamps_camac/lamps 006b9000-006bd000 rw-p 000b9000 08:0b 523865 /home/ananya/lamps_camac/lamps 006bd000-04159000 rw-p 00000000 00:00 0 04a3e000-0521b000 rw-p 00000000 00:00 0 [heap] 7f0c08000000-7f0c08021000 rw-p 00000000 00:00 0 7f0c08021000-7f0c0c000000 ---p 00000000 00:00 0 7f0c0c000000-7f0c0c022000 rw-p 00000000 00:00 0 7f0c0c022000-7f0c10000000 ---p 00000000 00:00 0 7f0c10000000-7f0c10022000 rw-p 00000000 00:00 0 7f0c10022000-7f0c14000000 ---p 00000000 00:00 0 7f0c14000000-7f0c14049000 rw-p 00000000 00:00 0 7f0c14049000-7f0c18000000 ---p 00000000 00:00 0 7f0c199ad000-7f0c1a3ae000 rw-p 00000000 00:00 0 7f0c1a3ae000-7f0c1a3af000 ---p 00000000 00:00 0 7f0c1a3af000-7f0c1abaf000 rw-p 00000000 00:00 0 7f0c1abaf000-7f0c1abb0000 ---p 00000000 00:00 0 7f0c1abb0000-7f0c1b3b0000 rw-p 00000000 00:00 0 7f0c1b3b0000-7f0c1b3b1000 ---p 00000000 00:00 0 7f0c1b3b1000-7f0c1bbb1000 rw-p 00000000 00:00 524376 .... ..... .... .... .... [stack] 7fff5e7fe000-7fff5e800000 r-xp 00000000 00:00 0 [vdso] ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 [vsyscall] Aborted (core dumped)
Please use an updated version of lamps from http://ambar-chatterjee.com/ or https://www.tifr.res.in/~pell/lamps_files/download.html
What does major dev =0 means in /proc/pid/maps
an example for /proc/pid/maps 0022a000-00245000 r-xp 00000000 ca:01 11633540 /lib/ld-2.5.so 00245000-00246000 r--p 0001a000 ca:01 11633540 /lib/ld-2.5.so 00246000-00247000 rw-p 0001b000 ca:01 11633540 /lib/ld-2.5.so 00249000-003a3000 r-xp 00000000 ca:01 11633640 /lib/i686/nosegneg/libc-2.5.so 003a3000-003a5000 r--p 0015a000 ca:01 11633640 /lib/i686/nosegneg/libc-2.5.so 003a5000-003a6000 rw-p 0015c000 ca:01 11633640 /lib/i686/nosegneg/libc-2.5.so 003a6000-003a9000 rw-p 003a6000 00:00 0 00ada000-00adb000 r-xp 00ada000 00:00 0 [vdso] 08048000-08049000 r-xp 00000000 00:16 4735574 /home/yimingwa/test/Ctest/link_test/SectionMapping.elf 08049000-0804a000 rw-p 00000000 00:16 4735574 /home/yimingwa/test/Ctest/link_test/SectionMapping.elf b7fcf000-b7fd0000 rw-p b7fcf000 00:00 0 b7fe1000-b7fe2000 rw-p b7fe1000 00:00 0 bfe82000-bfe98000 rw-p bffe8000 00:00 0 [stack] the 4th column means “If the region was mapped from a file, this is the major and minor device number (in hex) where the file lives” In the above, ca:01 I can find through /proc/devices /dev Question is that what does "00:16" 00 means which major device?