Skip to contentSkip to conversation

Problem. gcc-3.0.1 kernel 2.4.10-ac1 ; JVM

DISCUSSION Steve Kieu 1 participant 1 message Oct 1, 2001

lore
Share & tools
lore

Steve Kieu

author
#0 lore raw

Hi,

I just want to report this, but I am not sure it is because of the kernel or gcc-3.0.1. Anyway it is related to the kernel so I think it may be usefull.

Compile 2.4.10-ac1 with gcc-3.0.1 if I use -fno-strength-reduce -O3 ; the kernel made nerver boots (hang just after loading the kernel).

If change to -O2 it works as normal. ( significant faster than the same one made with 2.95.3 ) EXCEPT JVM doesn't want to work. I run LimeWire (java program) and only one time it gives the error I attached below. Thought it might be libc problem, I recompiled libc with gcc-3.0.x ; reboot. This time it even does not produce error message. The system quickly reboots itself. (of course without unmounting all file system). Not any informative error message.

So I use floppy set, remove the lib one, install the old one. This time, no thing changes.

Finally I use gcc 2.95.3 to make the kernel. It is fine.

The kernel I mention here is 2.4.10-ac1 with preempt patch, but the symptom persists without the preempt patch as well.

=====
S.KIEU

http://travel.yahoo.com.au - Yahoo! Travel
- Got Itchy feet? Get inspired!

An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4037b069
Function name=__sigsuspend
Library=/lib/libc.so.6

Current Java thread:
at java.lang.Object.wait(Native Method)
at java.lang.Object.wait(Object.java:420)
at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:110)

Dynamic libraries:

08048000-0804c000 r-xp 00000000 03:06 824556     /home/local/jdk1.3.1_01/bin/i386/native_threads/java
0804c000-0804d000 rw-p 00003000 03:06 824556     /home/local/jdk1.3.1_01/bin/i386/native_threads/java
40000000-40016000 r-xp 00000000 03:03 4966       /lib/ld-2.2.3.so
40016000-40018000 rw-p 00015000 03:03 4966       /lib/ld-2.2.3.so
40018000-40021000 r-xp 00000000 03:06 501418     /home/local/jdk1.3.1_01/jre/lib/i386/libpreemptive_close.so
40021000-40024000 rw-p 00008000 03:06 501418     /home/local/jdk1.3.1_01/jre/lib/i386/libpreemptive_close.so
40024000-4002d000 r-xp 00000000 03:06 501406     /home/local/jdk1.3.1_01/jre/lib/i386/libnet.so
4002d000-4002e000 rw-p 00008000 03:06 501406     /home/local/jdk1.3.1_01/jre/lib/i386/libnet.so
4002f000-4003d000 r-xp 00000000 03:03 4972       /lib/libpthread-0.9.so
4003d000-40045000 rw-p 0000d000 03:03 4972       /lib/libpthread-0.9.so
40045000-4004e000 r-xp 00000000 03:06 501393     /home/local/jdk1.3.1_01/jre/lib/i386/native_threads/libhpi.so
4004e000-4004f000 rw-p 00008000 03:06 501393     /home/local/jdk1.3.1_01/jre/lib/i386/native_threads/libhpi.so
4004f000-4023c000 r-xp 00000000 03:06 129413     /home/local/jdk1.3.1_01/jre/lib/i386/client/libjvm.so
4023c000-40332000 rw-p 001ec000 03:06 129413     /home/local/jdk1.3.1_01/jre/lib/i386/client/libjvm.so
40349000-4034c000 r-xp 00000000 03:03 4969       /lib/libdl-2.2.3.so
4034c000-4034d000 rw-p 00002000 03:03 4969       /lib/libdl-2.2.3.so
4034d000-4045f000 r-xp 00000000 03:03 4965       /lib/libc-2.2.3.so
4045f000-40466000 rw-p 00111000 03:03 4965       /lib/libc-2.2.3.so
4046a000-4048b000 r-xp 00000000 03:06 501402     /home/local/jdk1.3.1_01/jre/lib/i386/libjava.so
4048b000-4048d000 rw-p 00020000 03:06 501402     /home/local/jdk1.3.1_01/jre/lib/i386/libjava.so
4048e000-404a0000 r-xp 00000000 03:03 4981       /lib/libnsl-2.2.3.so
404a0000-404a2000 rw-p 00011000 03:03 4981       /lib/libnsl-2.2.3.so
404a4000-404c5000 r-xp 00000000 03:03 4968       /lib/libm-2.2.3.so
404c5000-404c6000 rw-p 00020000 03:03 4968       /lib/libm-2.2.3.so
404c7000-404fb000 r-xp 00000000 03:03 57         /usr/i386-slackware-linux/lib/libstdc++-2-libc6.1-1-2.9.0.so
404fb000-40507000 rw-p 00033000 03:03 57         /usr/i386-slackware-linux/lib/libstdc++-2-libc6.1-1-2.9.0.so
40509000-4051a000 r-xp 00000000 03:06 501401     /home/local/jdk1.3.1_01/jre/lib/i386/libverify.so
4051a000-4051c000 rw-p 00010000 03:06 501401     /home/local/jdk1.3.1_01/jre/lib/i386/libverify.so
4051c000-40530000 r-xp 00000000 03:06 501403     /home/local/jdk1.3.1_01/jre/lib/i386/libzip.so
40530000-40533000 rw-p 00013000 03:06 501403     /home/local/jdk1.3.1_01/jre/lib/i386/libzip.so
40533000-41261000 r--s 00000000 03:06 501432     /home/local/jdk1.3.1_01/jre/lib/rt.jar
4128e000-41533000 r--s 00000000 03:06 501433     /home/local/jdk1.3.1_01/jre/lib/i18n.jar
41533000-41549000 r--s 00000000 03:06 501420     /home/local/jdk1.3.1_01/jre/lib/sunrsasign.jar
435f1000-435fc000 r-xp 00000000 03:03 4984       /lib/libnss_compat-2.2.3.so
435fc000-435fe000 rw-p 0000a000 03:03 4984       /lib/libnss_compat-2.2.3.so
496cb000-4975d000 r--s 00000000 03:06 291367     /home/sk/LimeWire/LimeWire.jar
4975d000-49b2a000 r-xp 00000000 03:06 501410     /home/local/jdk1.3.1_01/jre/lib/i386/libawt.so
49b2a000-49b3a000 rw-p 003cc000 03:06 501410     /home/local/jdk1.3.1_01/jre/lib/i386/libawt.so
49b4f000-49b80000 r-xp 00000000 03:06 501409     /home/local/jdk1.3.1_01/jre/lib/i386/libmlib_image.so
49b80000-49b82000 rw-p 00030000 03:06 501409     /home/local/jdk1.3.1_01/jre/lib/i386/libmlib_image.so
49b82000-49b89000 r-xp 00000000 03:03 196956     /usr/X11R6/lib/libXp.so.6.2
49b89000-49b8a000 rw-p 00006000 03:03 196956     /usr/X11R6/lib/libXp.so.6.2
49b8a000-49bd2000 r-xp 00000000 03:03 197372     /usr/X11R6/lib/libXt.so.6.0
49bd2000-49bd6000 rw-p 00047000 03:03 197372     /usr/X11R6/lib/libXt.so.6.0
49bd7000-49be3000 r-xp 00000000 03:03 197339     /usr/X11R6/lib/libXext.so.6.4
49be3000-49be5000 rw-p 0000b000 03:03 197339     /usr/X11R6/lib/libXext.so.6.4
49be5000-49be9000 r-xp 00000000 03:03 196934     /usr/X11R6/lib/libXtst.so.6.1
49be9000-49bea000 rw-p 00003000 03:03 196934     /usr/X11R6/lib/libXtst.so.6.1
49bea000-49cc4000 r-xp 00000000 03:03 197048     /usr/X11R6/lib/libX11.so.6.2
49cc4000-49cc8000 rw-p 000d9000 03:03 197048     /usr/X11R6/lib/libX11.so.6.2
49cc9000-49cd1000 r-xp 00000000 03:03 197333     /usr/X11R6/lib/libSM.so.6.0
49cd1000-49cd2000 rw-p 00007000 03:03 197333     /usr/X11R6/lib/libSM.so.6.0
49cd2000-49ce6000 r-xp 00000000 03:03 197140     /usr/X11R6/lib/libICE.so.6.3
49ce6000-49ce8000 rw-p 00013000 03:03 197140     /usr/X11R6/lib/libICE.so.6.3
49cea000-49d74000 r-xp 00000000 03:06 501411     /home/local/jdk1.3.1_01/jre/lib/i386/libfontmanager.so
49d74000-49d84000 rw-p 00089000 03:06 501411     /home/local/jdk1.3.1_01/jre/lib/i386/libfontmanager.so
49e8c000-49ecc000 r--s 00000000 03:06 291366     /home/sk/LimeWire/collections.jar
49ed6000-49edf000 r-xp 00000000 03:03 4976       /lib/libnss_files-2.2.3.so
49edf000-49ee0000 rw-p 00008000 03:03 4976       /lib/libnss_files-2.2.3.so
49ee0000-49ee3000 r-xp 00000000 03:03 4974       /lib/libnss_dns-2.2.3.so
49ee3000-49ee4000 rw-p 00002000 03:03 4974       /lib/libnss_dns-2.2.3.so
49ee4000-49ef2000 r-xp 00000000 03:03 4973       /lib/libresolv-2.2.3.so
49ef2000-49ef3000 rw-p 0000d000 03:03 4973       /lib/libresolv-2.2.3.so
49ef6000-49efb000 r-xp 00000000 03:03 129016     /lib/libnss_db-2.2.so
49efb000-49efc000 rw-p 00004000 03:03 129016     /lib/libnss_db-2.2.so
49efc000-49f72000 r-xp 00000000 03:03 4988       /lib/libdb-3.1.so
49f72000-49f74000 rw-p 00075000 03:03 4988       /lib/libdb-3.1.so
49f74000-49faf000 rw-s 00000000 00:04 8585223    /SYSV00000000 (deleted)

Local Time = Mon Oct 1 10:33:40 2001
Elapsed Time = 17
#
# The exception above was detected in native code outside the VM #
# Java VM: Java HotSpot(TM) Client VM (1.3.1_01 mixed mode) #