ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: devel@altlinux.ru
Cc: sisyphus@altlinux.ru
Subject: [sisyphus] 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 --]

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

Thread overview: 35+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-12-25  8:40   ` Michael Shigorin [this message]
2002-12-25  8:38     ` Денис Якимов
2002-12-25 11:53       ` [sisyphus] " Michael Shigorin
2002-12-25 12:32         ` Alexandre Prokoudine
2002-12-25 13:30           ` [sisyphus] Re: [docs] " Michael Shigorin
2002-12-25 13:32           ` Michael Shigorin
2002-12-25  9:47     ` [sisyphus] " AntonFarygin
2002-12-25  8:54       ` Korshunov Ilya
2002-12-25  9:02         ` Alexey V. Lubimov
2002-12-25  9:09           ` Korshunov Ilya
2002-12-25  9:15       ` [sisyphus] [JT] Re: I: java crash testing w/2.4.20-alt Michael Shigorin
2002-12-25  9:49     ` [sisyphus] I: java crash testing w/2.4.20-alt (was: [devel] major and block bugs) Michael Rumjantsev
2002-12-25 10:06       ` Dmitry V. Levin
2002-12-25 11:12         ` AntonFarygin
2002-12-25 11:44           ` Michael Rumjantsev
2002-12-25 11:51             ` AntonFarygin
2002-12-25 14:18               ` Michael Rumjantsev
2002-12-25 15:54                 ` [sisyphus] " Michael Shigorin
2002-12-25 15:55                   ` Michael Shigorin
2002-12-25 16:59                   ` Dmitry V. Levin
2002-12-25 17:12                     ` Korshunov Ilya
2002-12-25 17:50                       ` Dmitry V. Levin
2002-12-25 17:21                     ` Sergey Vlasov
2002-12-25 17:50                       ` [sisyphus] glibc-core [attn: mike, avl] Dmitry V. Levin
2002-12-25 18:04                         ` Sergey Vlasov
2002-12-26  5:41                     ` [sisyphus] Re: I: java crash testing w/2.4.20-alt (was: [devel] major and block bugs) Michael Rumjantsev
2002-12-26  8:39                       ` Dmitry V. Levin
2002-12-26 10:51                         ` Dmitry V. Levin
2002-12-26 10:55                           ` Aleksey Novodvorsky
2002-12-26 11:53                             ` Dmitry V. Levin
2002-12-29  8:43                               ` Борис Ревякин
2002-12-26 12:03                           ` Michael Rumjantsev
2002-12-26 12:23                             ` [sisyphus] LD_ASSUME_KERNEL Dmitry V. Levin
2002-12-26 13:41                               ` Michael Rumjantsev
2002-12-26 16:23                           ` [sisyphus] Re: I: java crash testing w/2.4.20-alt (was: [devel] major and block bugs) Michael Shigorin

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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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