ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: devel@altlinux.ru
Cc: sisyphus@altlinux.ru
Subject: I: java crash testing w/2.4.20-alt (was: [devel] major and block bugs)
Date: Wed, 25 Dec 2002 10:40:59 +0200
Message-ID: <20021225084059.GN9697@osdn.org.ua> (raw)
In-Reply-To: <20021219183608.GA14673@nomad.ksi-linux.com>

[-- Attachment #1: Type: text/plain, Size: 4408 bytes --]

On Thu, Dec 19, 2002 at 08:36:08PM +0200, Victor Forsyuk wrote:
> Я бы добавил еще один [block]: kernel24 практически
> неработоспособен с java-приложениями. По крайней мере, если это
> не block, то я не понимаю, что тогда вообще может называться
> block'ом.

По мотивам обсуждения в sisyphus
(http://www.altlinux.ru/pipermail/sisyphus/2002-April/029563.html
и дальше по треду) было произведено несколько тестов.

Приборы и материалы: 

- kernel24-up-2.4.20-alt0.7
- glibc-core-i686-2.2.6-alt0.6 (опционально)
- AXP1700+
- все, кажется, в кэше (150M cached)

Кофе и кофеварки:

- SegFaultTest.class (см. ссылку), собранный IBM JDK 1.3.1; 
- IBM JDK 1.3.1;
- Sun JRE 1.3.1 (jre-1.3.1-alt2);
- Sun JDK 1.4.0_01 (setup failed).

Резюме: 

- без glibc-core-i686 -- никак (спасибо Михаилу Румянцеву за
  ключевой толчок в нужном направлении);
- с ней у IBM JDK все равно остаются проблемы (впрочем, есть еще
  мои некофейные руки);
- с ней у Sun JRE 1.3.1 наступает облегчение и "полет"
  крэштеста продолжается ~8--9 сек (вместо ~0.1 сек).

Слайды:

---
trickster:~/src> JAVA_HOME=/opt/IBMJava2-131 /opt/IBMJava2-131/bin/javac SegFaultTest.java

trickster:~/src> JAVA_HOME=/opt/IBMJava2-131 /usr/bin/time /opt/IBMJava2-131/bin/java SegFaultTest
Unexpected exception has occurred:
ReportedExceptionCode = 40, at ExceptionAddress = 402540d4
        UNABLE_TO_GROW_STACK occured outside Interpreter and JITed code
        ExecMode = EXECMODE_COMPILEDCODE
        stackpointer=0xbffc73d0
Writing Java core file ....
Unexpected exception has occurred:
ReportedExceptionCode = 40, at ExceptionAddress = 402ca601
        UNABLE_TO_GROW_STACK occured outside Interpreter and JITed code
        ExecMode = EXECMODE_COMPILEDCODE
Written Java core to javacore.txt
0.23user 0.05system 0:00.27elapsed 100%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (2434major+2372minor)pagefaults 0swaps

trickster:~/src> JAVA_HOME=/usr/lib/jre1.3.1 /usr/bin/time /usr/lib/jre1.3.1/bin/java SegFaultTest 
0.17user 0.06system 0:00.50elapsed 45%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (5064major+2470minor)pagefaults 0swaps

trickster:~/src> sudo rpm -i /var/cache/apt/archives/glibc-core-i686_6%3a2.2.6-alt0.6_i686.rpm 

trickster:~/src> JAVA_HOME=/usr/lib/jre1.3.1 /usr/bin/time /usr/lib/jre1.3.1/bin/java SegFaultTest 
0.19user 0.08system 0:08.94elapsed 3%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (5080major+3946minor)pagefaults 0swaps

trickster:~/src> JAVA_HOME=/usr/lib/jre1.3.1 /usr/bin/time /usr/lib/jre1.3.1/bin/java SegFaultTest 
0.20user 0.05system 0:07.70elapsed 3%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (5080major+3946minor)pagefaults 0swaps

trickster:~/src> JAVA_HOME=/opt/IBMJava2-131 /usr/bin/time /opt/IBMJava2-131/bin/java SegFaultTest 
Unexpected exception has occurred:
ReportedExceptionCode = 40, at ExceptionAddress = 402590d4
        UNABLE_TO_GROW_STACK occured outside Interpreter and JITed code
        ExecMode = EXECMODE_COMPILEDCODE
        stackpointer=0xbffc73f0
Writing Java core file ....
Unexpected exception has occurred:
ReportedExceptionCode = 40, at ExceptionAddress = 402cf601
        UNABLE_TO_GROW_STACK occured outside Interpreter and JITed code
        ExecMode = EXECMODE_COMPILEDCODE
Written Java core to javacore.txt
0.25user 0.03system 0:00.27elapsed 100%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (2436major+2049minor)pagefaults 0swaps
trickster:~/src> sudo rpm -e --nodeps --noscripts gcc-common jre 
trickster:~/src> sudo rpm -i /home/mike/RPM/RPMS/i586/j2sdk-sun-1.4.0_01-alt1.i586.rpm 
---

...на этом месте я пока буксую:

---
trickster:~/src> JAVA_HOME=/usr/lib/jdk /usr/lib/jdk/bin/java SegFaultTest 
Error occurred during initialization of VM           
java.lang.NullPointerException
trickster:~/src> JAVA_HOME=/usr/lib/jdk/jre /usr/lib/jdk/jre/bin/java SegFaultTest
Error occurred during initialization of VM
java.lang.NullPointerException
---

Баги:

Может, кто напомнит/намекнет, как правильнее готовить IBM JDK --
я еще не проснулся. %)

Планы:

Дальше планируется провести тесты установки Oracle; тут вопрос:
более осмысленно использовать 8.x или 9.x? (применительно к
"капризности по java/kernel/libc")

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/

[-- Attachment #2: Type: application/pgp-signature, Size: 187 bytes --]

  parent reply	other threads:[~2002-12-25  8:40 UTC|newest]

Thread overview: 40+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-19 12:12 [devel] major and block bugs Stanislav Ievlev
2002-12-19 12:16 ` Dmitry V. Levin
2002-12-19 12:22 ` Alexander Bokovoy
2002-12-19 12:40   ` Dmitry V. Levin
2002-12-19 13:10     ` Alexander Bokovoy
2002-12-19 12:52   ` Stanislav Ievlev
2002-12-19 18:43     ` Victor Forsyuk
2002-12-19 18:47   ` Victor Forsyuk
2002-12-19 18:50     ` Alexander Bokovoy
2002-12-19 19:00       ` Victor Forsyuk
2002-12-19 19:47         ` Вячеслав Диконов
2002-12-20  9:41           ` [devel] " Michael Shigorin
2002-12-20  9:46             ` aen
2002-12-20  9:52               ` Michael Shigorin
2002-12-20 11:00           ` [devel] " AntonFarygin
2002-12-19 18:36 ` Victor Forsyuk
2002-12-19 18:42   ` Konstantin Volckov
2002-12-19 18:57     ` Victor Forsyuk
2002-12-22  6:38       ` Alexey Morozov
2002-12-24 19:05         ` Victor Forsyuk
2002-12-27 15:25           ` Alexey Morozov
2002-12-27 13:45             ` Dmitry V. Levin
2002-12-27 13:57             ` Aleksey Novodvorsky
2002-12-27 14:05               ` [devel] " Michael Shigorin
2002-12-27 14:10                 ` Aleksey Novodvorsky
2002-12-27 14:57                   ` Aleksandr Blokhin
2002-12-27 15:12                     ` AntonFarygin
2002-12-27 16:13                       ` Aleksandr Blokhin
2002-12-27 16:36                         ` AntonFarygin
2002-12-27 16:30                           ` Aleksandr Blokhin
2002-12-27 21:20               ` [devel] " Alexey Morozov
2002-12-20 11:49   ` Alex Ott
2002-12-25  8:40   ` Michael Shigorin [this message]
2002-12-25  9:47     ` I: java crash testing w/2.4.20-alt (was: [devel] major and block bugs) AntonFarygin
2002-12-25  9:48       ` kernel 2.4.20 (was: I: java crash testing w/2.4.20-alt (was: [devel] major and block bugs)) Vitaly Ostanin
2002-12-19 19:53 ` [devel] major and block bugs Alexey I. Froloff
2002-12-19 20:48   ` Alexey Voinov
2002-12-20  8:27     ` Stanislav Ievlev
2002-12-20 10:22       ` Alexey I. Froloff
2002-12-23  8:55       ` [devel] [kernel] " Igor Homyakov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20021225084059.GN9697@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=devel@altlinux.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git