Skip to main content

# Problematic frame: # C [libc.so.6+0x74931]

1 reply [Last post]
hakanu
Offline
Joined: 2006-02-17

Hello everybody!

I have a code that compiles and runs and gives me the results however in the end I get the following error message. Could anyone help me with this??
thanks in advance

#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x42074931, pid=458, tid=1074004096
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_01-b08 mixed mode, sharing)
# Problematic frame:
# C [libc.so.6+0x74931]
#
# An error report file with more information is saved as hs_err_pid458.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#

#########THE LOG FILE#####################################
#
# An unexpected error has been detected by HotSpot Virtual Machine:
#
# SIGSEGV (0xb) at pc=0x42074931, pid=458, tid=1074004096
#
# Java VM: Java HotSpot(TM) Client VM (1.5.0_01-b08 mixed mode, sharing)
# Problematic frame:
# C [libc.so.6+0x74931]
#

--------------- T H R E A D ---------------

Current thread (0x0805acc0): JavaThread "main" [_thread_in_native, id=458]

siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0x00000008

Registers:
EAX=0x00000000, EBX=0x421328d4, ECX=0x08511ca0, EDX=0x42133220
ESP=0xbfffa60c, EBP=0xbfffa674, ESI=0x00000050, EDI=0x08511d08
EIP=0x42074931, CR2=0x00000008, EFLAGS=0x00010246

Top of Stack: (sp=0xbfffa60c)
0xbfffa60c: bfffa66c 401c0b5b 0805ad7c 4a742cb8
0xbfffa61c: 00000000 401c1e5e 403775a8 0805acc0
0xbfffa62c: 00000051 401c1d17 000003a6 00000000
0xbfffa63c: 08482e98 0805acc0 bfffa664 40280643
0xbfffa64c: 0848ddf0 bfffa680 0805bfc8 0805acc0
0xbfffa65c: 00000000 00000000 08511cf0 421328d4
0xbfffa66c: 42133220 08511ca8 bfffa694 42073908
0xbfffa67c: 42133220 08511ca8 bfffa694 40815b8c

Instructions: (pc=0x42074931)
0x42074921: 01 0f 85 48 03 00 00 8b 78 08 8b 40 0c 89 47 0c
0x42074931: 89 78 08 8b 45 ec 01 c6 89 34 0e 8b 45 08 83 c0

Stack: [0xbfe00000,0xc0000000), sp=0xbfffa60c, free space=2025k
Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
C [libc.so.6+0x74931]
C [libc.so.6+0x73908] __libc_free+0x88
C [libzip.so+0x1002f]
C [libzip.so+0x374c] Java_java_util_zip_ZipFile_freeEntry+0x48
j java.util.zip.ZipFile.freeEntry(JJ)V+0
J java.util.zip.ZipFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
J java.util.jar.JarFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
J sun.misc.URLClassPath$JarLoader.getResource(Ljava/lang/String;Z)Lsun/misc/Resource;
J sun.misc.URLClassPath.getResource(Ljava/lang/String;Z)Lsun/misc/Resource;
v ~RuntimeStub::alignment_frame_return Runtime1 stub
j java.net.URLClassLoader$1.run()Ljava/lang/Object;+26
v ~StubRoutines::call_stub
V [libjvm.so+0x168c1c]
V [libjvm.so+0x254668]
V [libjvm.so+0x168a4f]
V [libjvm.so+0x1be82b]
C [libjava.so+0x93bc] Java_java_security_AccessController_doPrivileged__Ljava_security_PrivilegedExceptionAction_2Ljava_security_AccessControlContext_2+0x3c
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13
j java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+43
j sun.misc.Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+36
j java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3
j java.lang.ClassLoader.loadClassInternal(Ljava/lang/String;)Ljava/lang/Class;+2
v ~StubRoutines::call_stub
V [libjvm.so+0x168c1c]
V [libjvm.so+0x254668]
V [libjvm.so+0x1686b2]
V [libjvm.so+0x16879b]
V [libjvm.so+0x2941ed]
V [libjvm.so+0x29328b]
V [libjvm.so+0x292814]
V [libjvm.so+0x29264a]
V [libjvm.so+0x117cdb]
V [libjvm.so+0x15b1c2]
j be.ac.ucl.poms.repository.IGPWO.IGPWO.calculateWeightsParameters(IIII)Lbe/ac/ulg/montefiore/run/totem/repository/model/TotemActionList;+63
j be.ac.ulg.montefiore.run.totem.scenario.model.IGPWOCalculateWeights.action()V+108
j be.ac.ulg.montefiore.run.totem.scenario.facade.ScenarioManager.executeScenario()V+26
j be.ac.ulg.montefiore.run.totem.core.Totem.main([Ljava/lang/String;)V+143
v ~StubRoutines::call_stub
V [libjvm.so+0x168c1c]
V [libjvm.so+0x254668]
V [libjvm.so+0x168a4f]
V [libjvm.so+0x18a452]
V [libjvm.so+0x17f338]
C [java+0x17fe]
C [libc.so.6+0x15704] __libc_start_main+0xe4

Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j java.util.zip.ZipFile.freeEntry(JJ)V+0
J java.util.zip.ZipFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
J java.util.jar.JarFile.getEntry(Ljava/lang/String;)Ljava/util/zip/ZipEntry;
J sun.misc.URLClassPath$JarLoader.getResource(Ljava/lang/String;Z)Lsun/misc/Resource;
J sun.misc.URLClassPath.getResource(Ljava/lang/String;Z)Lsun/misc/Resource;
v ~RuntimeStub::alignment_frame_return Runtime1 stub
j java.net.URLClassLoader$1.run()Ljava/lang/Object;+26
v ~StubRoutines::call_stub
j java.security.AccessController.doPrivileged(Ljava/security/PrivilegedExceptionAction;Ljava/security/AccessControlContext;)Ljava/lang/Object;+0
j java.net.URLClassLoader.findClass(Ljava/lang/String;)Ljava/lang/Class;+13
j java.lang.ClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+43
j sun.misc.Launcher$AppClassLoader.loadClass(Ljava/lang/String;Z)Ljava/lang/Class;+36
j java.lang.ClassLoader.loadClass(Ljava/lang/String;)Ljava/lang/Class;+3
j java.lang.ClassLoader.loadClassInternal(Ljava/lang/String;)Ljava/lang/Class;+2
v ~StubRoutines::call_stub
j be.ac.ucl.poms.repository.IGPWO.IGPWO.calculateWeightsParameters(IIII)Lbe/ac/ulg/montefiore/run/totem/repository/model/TotemActionList;+63
j be.ac.ulg.montefiore.run.totem.scenario.model.IGPWOCalculateWeights.action()V+108
j be.ac.ulg.montefiore.run.totem.scenario.facade.ScenarioManager.executeScenario()V+26
j be.ac.ulg.montefiore.run.totem.core.Totem.main([Ljava/lang/String;)V+143
v ~StubRoutines::call_stub

--------------- P R O C E S S ---------------

Java Threads: ( => current thread )
0x084e95c8 JavaThread "Timer-1" daemon [_thread_blocked, id=469]
0x084a39f0 JavaThread "RMI TCP Accept-0" daemon [_thread_in_native, id=467]
0x084a2a18 JavaThread "Timer-0" daemon [_thread_blocked, id=466]
0x0809fbe0 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=464]
0x0809e518 JavaThread "CompilerThread0" daemon [_thread_blocked, id=463]
0x0809d640 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=462]
0x080989b0 JavaThread "Finalizer" daemon [_thread_blocked, id=461]
0x08097cc0 JavaThread "Reference Handler" daemon [_thread_blocked, id=460]
=>0x0805acc0 JavaThread "main" [_thread_in_native, id=458]

Other Threads:
0x080951e0 VMThread [id=459]
0x084a9fe0 WatcherThread [id=468]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
def new generation total 576K, used 282K [0x4a700000, 0x4a7a0000, 0x4ce60000)
eden space 512K, 53% used [0x4a700000, 0x4a7441a8, 0x4a780000)
from space 64K, 15% used [0x4a790000, 0x4a792870, 0x4a7a0000)
to space 64K, 0% used [0x4a780000, 0x4a780000, 0x4a790000)
tenured generation total 2792K, used 1932K [0x4ce60000, 0x4d11a000, 0x6a700000)
the space 2792K, 69% used [0x4ce60000, 0x4d043168, 0x4d043200, 0x4d11a000)
compacting perm gen total 8192K, used 4645K [0x6a700000, 0x6af00000, 0x6e700000)
the space 8192K, 56% used [0x6a700000, 0x6ab89420, 0x6ab89600, 0x6af00000)
ro space 8192K, 68% used [0x6e700000, 0x6ec78578, 0x6ec78600, 0x6ef00000)
rw space 12288K, 47% used [0x6ef00000, 0x6f4b6370, 0x6f4b6400, 0x6fb00000)

Dynamic libraries:
08048000-08056000 r-xp 00000000 08:13 962233 /usr/java/jdk1.5.0_01/bin/java
08056000-08058000 rw-p 0000e000 08:13 962233 /usr/java/jdk1.5.0_01/bin/java
08058000-08526000 rwxp 00000000 00:00 0
40000000-40015000 r-xp 00000000 08:03 18315 /lib/ld-2.3.2.so
40015000-40016000 rw-p 00015000 08:03 18315 /lib/ld-2.3.2.so
40016000-40017000 r--p 00000000 00:00 0
40017000-4001d000 r-xp 00000000 08:13 1077594 /usr/java/jdk1.5.0_01/jre/lib/i386/native_threads/libhpi.so
4001d000-4001e000 rw-p 00006000 08:13 1077594 /usr/java/jdk1.5.0_01/jre/lib/i386/native_threads/libhpi.so
4001e000-40029000 r-xp 00000000 08:03 18715 /lib/libnss_files-2.3.2.so
40029000-4002a000 rw-p 0000a000 08:03 18715 /lib/libnss_files-2.3.2.so
4002a000-4002b000 r--p 00a10000 08:13 571359 /usr/lib/locale/locale-archive
4002b000-4002d000 r--s 00000000 08:21 14074136 /home/hakan/Totem-yeni2/lib/java/jax-qname.jar
4002d000-4002e000 rw-p 00000000 00:00 0
4002e000-40039000 r-xp 00000000 08:03 33817 /lib/tls/libpthread-0.34.so
40039000-4003a000 rw-p 0000a000 08:03 33817 /lib/tls/libpthread-0.34.so
4003a000-4003c000 rw-p 00000000 00:00 0
4003c000-4003f000 r-xp 00000000 08:03 18405 /lib/libdl-2.3.2.so
4003f000-40040000 rw-p 00002000 08:03 18405 /lib/libdl-2.3.2.so
40040000-40041000 rw-p 00000000 00:00 0
40041000-4035d000 r-xp 00000000 08:13 766838 /usr/java/jdk1.5.0_01/jre/lib/i386/client/libjvm.so
4035d000-4037a000 rw-p 0031c000 08:13 766838 /usr/java/jdk1.5.0_01/jre/lib/i386/client/libjvm.so
4037a000-40790000 rw-p 00000000 00:00 0
40790000-407b1000 r-xp 00000000 08:03 33815 /lib/tls/libm-2.3.2.so
407b1000-407b2000 rw-p 00020000 08:03 33815 /lib/tls/libm-2.3.2.so
407b2000-407ba000 rw-s 00000000 08:08 810 /tmp/hsperfdata_hakan/458
407ba000-407c5000 r-xp 00000000 08:13 1077602 /usr/java/jdk1.5.0_01/jre/lib/i386/libverify.so
407c5000-407c6000 rw-p 0000b000 08:13 1077602 /usr/java/jdk1.5.0_01/jre/lib/i386/libverify.so
407c6000-407c8000 r--s 00000000 08:21 14074149 /home/hakan/Totem-yeni2/lib/java/namespace.jar
407c9000-407db000 r-xp 00000000 08:03 18426 /lib/libnsl-2.3.2.so
407db000-407dc000 rw-p 00011000 08:03 18426 /lib/libnsl-2.3.2.so
407dc000-407de000 rw-p 00000000 00:00 0
407de000-407ff000 r-xp 00000000 08:13 1077603 /usr/java/jdk1.5.0_01/jre/lib/i386/libjava.so
407ff000-40801000 rw-p 00020000 08:13 1077603 /usr/java/jdk1.5.0_01/jre/lib/i386/libjava.so
40801000-40814000 r-xp 00000000 08:13 1077605 /usr/java/jdk1.5.0_01/jre/lib/i386/libzip.so
40814000-40816000 rw-p 00012000 08:13 1077605 /usr/java/jdk1.5.0_01/jre/lib/i386/libzip.so
40816000-4087e000 rw-p 00000000 00:00 0
4087e000-40905000 r--s 00000000 08:13 588903 /usr/java/jdk1.5.0_01/jre/lib/jsse.jar
40905000-40919000 r--s 00000000 08:13 586666 /usr/java/jdk1.5.0_01/jre/lib/jce.jar
40919000-41154000 r--s 00000000 08:13 588906 /usr/java/jdk1.5.0_01/jre/lib/charsets.jar
41154000-41419000 rwxp 00001000 00:00 0
41419000-4141a000 ---p 002c6000 00:00 0
4141a000-4149a000 rwxp 002c7000 00:00 0
4149a000-4149d000 ---p 00347000 00:00 0
4149d000-4151b000 rwxp 0034a000 00:00 0
4151b000-4151e000 ---p 003c8000 00:00 0
4151e000-4159c000 rwxp 003cb000 00:00 0
4159c000-4179c000 r--p 00000000 08:13 571359 /usr/lib/locale/locale-archive
4179c000-417ce000 r--p 009c8000 08:13 571359 /usr/lib/locale/locale-archive
417ce000-417d1000 ---p 00003000 00:00 0
417d1000-4184f000 rwxp 00006000 00:00 0
4184f000-41852000 ---p 00084000 00:00 0
41852000-418d0000 rwxp 00087000 00:00 0
418d0000-418d3000 ---p 00105000 00:00 0
418d3000-41951000 rwxp 00108000 00:00 0
41951000-41957000 r-xp 00000000 08:13 1077610 /usr/java/jdk1.5.0_01/jre/lib/i386/libmanagement.so
41957000-41958000 rw-p 00005000 08:13 1077610 /usr/java/jdk1.5.0_01/jre/lib/i386/libmanagement.so
41958000-4196c000 r-xp 00000000 08:13 1077608 /usr/java/jdk1.5.0_01/jre/lib/i386/libnet.so
4196c000-4196d000 rw-p 00013000 08:13 1077608 /usr/java/jdk1.5.0_01/jre/lib/i386/libnet.so
4196d000-41986000 r--s 00000000 08:21 14074130 /home/hakan/Totem-yeni2/lib/java/Brite_modified.jar
41986000-4198a000 r--s 00000000 08:21 14074131 /home/hakan/Totem-yeni2/lib/java/CBGP.jar
4198a000-4198f000 r--s 00000000 08:21 14074132 /home/hakan/Totem-yeni2/lib/java/catalina-ant.jar
4198f000-41a1e000 r--s 00000000 08:21 14074133 /home/hakan/Totem-yeni2/lib/java/colt.jar
41a1e000-41aa7000 r--s 00000000 08:21 14074134 /home/hakan/Totem-yeni2/lib/java/commons-collections-3.1.jar
41aa7000-41aba000 r--s 00000000 08:21 14074135 /home/hakan/Totem-yeni2/lib/java/javac2.jar
41aba000-41ad0000 r--s 00000000 08:21 14074137 /home/hakan/Totem-yeni2/lib/java/jaxb-api.jar
41ad0000-41b13000 r--s 00000000 08:21 14074138 /home/hakan/Totem-yeni2/lib/java/jaxb-impl.jar
41b13000-41ccb000 r--s 00000000 08:21 14074139 /home/hakan/Totem-yeni2/lib/java/jaxb-libs.jar
41ccb000-41fbc000 r--s 00000000 08:21 14074140 /home/hakan/Totem-yeni2/lib/java/jaxb-xjc.jar
41fbc000-41fde000 r--s 00000000 08:21 14074143 /home/hakan/Totem-yeni2/lib/java/jgraph.jar
41fde000-41ff2000 r--s 00000000 08:21 14074144 /home/hakan/Totem-yeni2/lib/java/jgrapht-0.5.2.jar
41ff2000-41fff000 r--s 00000000 08:21 14074145 /home/hakan/Totem-yeni2/lib/java/jsp-api.jar
42000000-42130000 r-xp 00000000 08:03 33813 /lib/tls/libc-2.3.2.so
42130000-42133000 rw-p 00130000 08:03 33813 /lib/tls/libc-2.3.2.so
42133000-42136000 rw-p 00000000 00:00 0
42136000-446f7000 r--s 00000000 08:13 588908 /usr/java/jdk1.5.0_01/jre/lib/rt.jar
446f7000-466f7000 rwxp 00028000 00:00 0
466f7000-4674e000 r--s 00000000 08:21 14074141 /home/hakan/Totem-yeni2/lib/java/jcommon-0.9.6.jar
4674e000-4683a000 r--s 00000000 08:21 14074142 /home/hakan/Totem-yeni2/lib/java/jfreechart-0.9.21.jar
4683a000-468c1000 r--s 00000000 08:21 14074146 /home/hakan/Totem-yeni2/lib/java/jung-1.5.jar
468c1000-468df000 r--s 00000000 08:21 14074147 /home/hakan/Totem-yeni2/lib/java/junit.jar
468df000-46936000 r--s 00000000 08:21 14074148 /home/hakan/Totem-yeni2/lib/java/log4j-1.2.8.jar
46936000-4693c000 r--s 00000000 08:21 14074150 /home/hakan/Totem-yeni2/lib/java/relaxngDatatype.jar
4693c000-46bee000 r--s 00000000 08:21 14074151 /home/hakan/Totem-yeni2/lib/java/xalan.jar
46bee000-46c72000 r--s 00000000 08:21 14074152 /home/hakan/Totem-yeni2/lib/java/xsdlib.jar
46c72000-46dbd000 r--s 00000000 08:21 17629757 /home/hakan/Totem-yeni2/dist/totem-1.0.jar
46dbd000-46dc0000 ---p 00003000 00:00 0
46dc0000-46e3e000 rwxp 00006000 00:00 0
46e3e000-46e41000 ---p 00084000 00:00 0
46e41000-46ebf000 rwxp 00087000 00:00 0
46ebf000-46ec0000 ---p 00105000 00:00 0
46ec0000-46f40000 rwxp 00106000 00:00 0
46f40000-4708b000 r--s 00000000 08:21 17629757 /home/hakan/Totem-yeni2/dist/totem-1.0.jar
4708b000-4708e000 ---p 00003000 00:00 0
4708e000-4710c000 rwxp 00006000 00:00 0
4710c000-4711b000 r-xp 00000000 08:21 8028427 /home/hakan/Totem-yeni2/lib/libigpwo.so
4711b000-4711c000 rw-p 0000f000 08:21 8028427 /home/hakan/Totem-yeni2/lib/libigpwo.so
4711c000-4714d000 rw-p 00000000 00:00 0
47164000-47170000 r-xp 00000000 08:13 457650 /usr/lib/libz.so.1.1.4
47170000-47172000 rw-p 0000b000 08:13 457650 /usr/lib/libz.so.1.1.4
4a700000-6e700000 rwxp 060d1000 00:00 0
6e700000-6ec79000 r--s 00001000 08:13 768076 /usr/java/jdk1.5.0_01/jre/lib/i386/client/classes.jsa
6ec79000-6ef00000 rwxp 2a64a000 00:00 0
6ef00000-6f4b7000 rw-p 0057a000 08:13 768076 /usr/java/jdk1.5.0_01/jre/lib/i386/client/classes.jsa
6f4b7000-6fb00000 rwxp 2ae88000 00:00 0
6fb00000-6fbcf000 rw-p 00b31000 08:13 768076 /usr/java/jdk1.5.0_01/jre/lib/i386/client/classes.jsa
6fbcf000-6ff00000 rwxp 2b5a0000 00:00 0
6ff00000-6ff04000 r-xs 00c00000 08:13 768076 /usr/java/jdk1.5.0_01/jre/lib/i386/client/classes.jsa
6ff04000-70300000 rwxp 2b8d5000 00:00 0
bfe00000-bfe03000 ---p 00000000 00:00 0
bfe03000-c0000000 rwxp ffe04000 00:00 0

VM Arguments:
jvm_args: -Xmx512m -Djava.ext.dirs=lib/java -Djava.library.path=lib/ -Dcom.sun.management.jmxremote
java_command: dist/totem-1.0.jar -s examples/simpleDomain/IGPWO-domain1.xml

Environment Variables:
JAVA_HOME=/usr/java/jdk1.5.0_01
PATH=/usr/share/apache-ant-1.6.2/bin:/usr/java/jdk1.5.0_01/bin/:/usr/kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/eiffel/SmallEiffel/bin:/usr/X11R6/bin:/opt/ARCserve/bin:/opt/ARCserve/sbin:/usr/local/bin:/usr/local/jdk1.3.1_02/bin/:/opt/ilog/bin:/usr/local/vtex/bin:/opt/AVEngine/bin:/opt/AVEngine/scripts:/opt/ilog/cplex75/lib/i86_linux2_glibc2.2_gcc3.0/static_mt:.:/home/hakan/bin
LD_LIBRARY_PATH=/usr/java/jdk1.5.0_01/jre/lib/i386/client:/usr/java/jdk1.5.0_01/jre/lib/i386:/usr/java/jdk1.5.0_01/jre/../lib/i386::/usr/local/CAlib
SHELL=/bin/bash
DISPLAY=localhost:14.0
OSTYPE=linux-gnu

--------------- S Y S T E M ---------------

OS:Red Hat Linux release 9 (Shrike)

uname:Linux 2.4.20-35_39.rh9.atsmp #1 SMP Thu Jun 24 14:30:25 EDT 2004 i686
libc:glibc 2.3.2 NPTL 0.34
rlimit: STACK 8192k, CORE 1000000k, NPROC 7168, NOFILE 1024, AS infinity
load average:1.31 1.18 1.07

CPU:total 2 family 6, cmov, cx8, fxsr, mmx, sse

Memory: 4k page, physical 1030248k(27912k free), swap 2096440k(1845412k free)

vm_info: Java HotSpot(TM) Client VM (1.5.0_01-b08) for linux-x86, built on Dec 6 2004 20:41:12 by java_re with gcc 3.2.1-7a (J2SE release)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
arunzn
Offline
Joined: 2010-01-28

Hi

I was facing similar issue.
I did three things which corrected my problem.

1) Increased the virtual memory size of application
2) Increased eclipse working memory size (in eclipse.ini file)
3) used the new constructor for JDialog(Dialog owner, String title, boolean modal, GraphicsConfiguration gc)

Hope this helps you guys