Re: Division by zero exception when running Swing program with /usr/bin/gij-4.3
- To: Michael Koch <konqueror@gmx.de>, Debian-java@lists.debian.org
- Subject: Re: Division by zero exception when running Swing program with /usr/bin/gij-4.3
- From: Benjamin Mesing <ben-ml@gmx.net>
- Date: Sat, 24 May 2008 20:40:04 +0200
- Message-id: <[🔎] 1211654404.4015.15.camel@athlon-x2>
- Reply-to: bensmail@gmx.net
- In-reply-to: <[🔎] 20080521200451.GS20825@quadriga.konqueror.de>
- References: <[🔎] 1210931753.3967.15.camel@athlon-x2> <[🔎] 20080521200451.GS20825@quadriga.konqueror.de>
Hello
> It should not matter with which compiler you build your application as
> the bug is in the Swing implementation in GCJ.
>
> Can you debug this with gdb and track down which value is zero? Or at
> least provide a simple testcase that reproduces this?
I am not quite sure, how I could debug this using gdb. I have it running
in Eclipse, but my breakpoint on ArithmeticException never fires
(probably because the exception is thrown within libgcj).
I have also tried to strip the program down to isolate the problem. The
stripped down version *sometimes* leads to the described problem (though
on my machine the original application did always lead to the problem).
For the stripped down version, it seems that some factors increase the
likelyhood of the problem surfacing:
* High processor load
* Multiple instances of the program running
My machine is a dual core.
I have attached the stripped down version. I could also provide you with
the full package source.
Best regards
Ben
--
Please do not send any email to ben-ml@gmx.net -- all email not
originating from the mailing list will be deleted. Use the reply to
address instead.
Attachment:
Umlet.java.gz
Description: GNU Zip compressed data
Reply to:
- References:
- Division by zero exception when running Swing program with /usr/bin/gij-4.3
- From: Benjamin Mesing <bensmail@gmx.net>
- Re: Division by zero exception when running Swing program with /usr/bin/gij-4.3
- From: Michael Koch <konqueror@gmx.de>
- Division by zero exception when running Swing program with /usr/bin/gij-4.3
- Prev by Date: Re: About java virtual dependencies and provides and the Java
- Next by Date: Bug#483060: RFP: jscheme -- needed for openjdk to enter main
- Previous by thread: Re: Division by zero exception when running Swing program with /usr/bin/gij-4.3
- Next by thread: Re: Eclipse packages status
- Index(es):