Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Feb 1998 03:03:06 GMT
From:      Jeff Dalton <jeff@aiai.ed.ac.uk>
To:        freebsd-java@FreeBSD.ORG
Subject:   ScrollPane segmentation violation
Message-ID:  <199802030303.DAA26466@gairsay.aiai.ed.ac.uk>

next in thread | raw e-mail | index | archive | help
I'm having trouble using FreeBSD jdk115b2 because an application
that works fine on Suns (and, for that matter, Macs) dies with a

SIGSEGV   11*  segmentation violation

in a way that seems connected with ScrollPanes.  The evidence is
(a) stack traces that contain lines like this:

        java.awt.ScrollPane.getVScrollbarWidth(ScrollPane.java:207)
        java.awt.ScrollPane.calculateChildSize(ScrollPane.java:319)
        java.awt.ScrollPane.layout(ScrollPane.java:349)
        java.awt.ScrollPane.doLayout(ScrollPane.java:305)
        java.awt.Container.validateTree(Container.java:529)
        java.awt.Container.validateTree(Container.java:536)
        java.awt.Container.validate(Container.java:511)
        java.awt.Window.pack(Window.java:125)

and (b) that the problem goes away if the ScrollPanes are replaced
by mere Panels.

Before I spend a lot more time trying to figure this out, or
work around it, I wanted to asked whether anyone has seen a
similar problme before and could say what might be going on
and what might be done about it.

-- jeff



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802030303.DAA26466>