large files in w32

Villalon, Elena villalel at umdnj.edu
Thu Nov 3 13:52:37 EDT 2011


Hello, we have a problem when opening very large files in windows 32. I am meaning over 2 GB. The java GUI crashes and never displays the images. We do not have any problems with Ubuntu installed in a windows 32 PC. As matter of fact, the same image is opened with the Linux machine installed in windows 32.  At first I thought it might be that the library files dll were possibly old and that is the reason why I wanted to recreate libopenslide.dll with the new code. I did finally succeeded creating the dll library with source code   openslide-3.2.4\src, but still I cannot open very large files in windows 32. The other libraries that are not libopenslide.dll are the same as in the original release in the openslide website. Here is the stack trace. Regards Elena


C:\Documents and Settings\villalel\workspace\testos>java  -jar openslidejava.j

TIFFFillTile: C:\Documents and Settings\villalel\workspace\CMU.files\FccPBSamp
.tif: Seek error at row -1, col -1, tile 3.

** (java.exe:13500): CRITICAL **: TIFFRGBAImageGet failed:
TIFFFillTile: C:\Documents and Settings\villalel\workspace\CMU.files\FccPBSamp
.tif: Seek error at row -1, col -1, tile 2.
java.io.IOException: TIFFRGBAImageGet failed:
        at edu.cmu.cs.openslide.OpenSlide.checkError(OpenSlide.java:146)
        at edu.cmu.cs.openslide.OpenSlide.paintRegionARGB(OpenSlide.java:217)
        at edu.cmu.cs.openslide.OpenSlide.paintRegion(OpenSlide.java:271)
        at edu.cmu.cs.openslide.gui.OpenSlideView.paintBackingStore(OpenSlideV
w.java:775)
        at edu.cmu.cs.openslide.gui.OpenSlideView.translateSlidePrivate(OpenSl
eView.java:167)
        at edu.cmu.cs.openslide.gui.OpenSlideView.centerSlidePrivate(OpenSlide
ew.java:638)
        at edu.cmu.cs.openslide.gui.OpenSlideView.centerSlidePrivate(OpenSlide
ew.java:614)
        at edu.cmu.cs.openslide.gui.OpenSlideView.centerOnSelectionPrivate(Ope
lideView.java:605)
        at edu.cmu.cs.openslide.gui.OpenSlideView.paintComponent(OpenSlideView
ava:706)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JLayeredPane.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paintToOffscreen(Unknown Source)
        at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
        at javax.swing.RepaintManager.paint(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
        at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
        at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
        at java.awt.Container.paint(Unknown Source)
        at java.awt.Window.paint(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unkn
n Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknow
Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
java.io.IOException: TIFFRGBAImageGet failed:
        at edu.cmu.cs.openslide.OpenSlide.checkError(OpenSlide.java:146)
        at edu.cmu.cs.openslide.OpenSlide.paintRegionARGB(OpenSlide.java:217)
        at edu.cmu.cs.openslide.OpenSlide.paintRegion(OpenSlide.java:271)
        at edu.cmu.cs.openslide.gui.OpenSlideView.paintBackingStore(OpenSlideV
w.java:775)
        at edu.cmu.cs.openslide.gui.OpenSlideView.translateSlidePrivate(OpenSl
eView.java:182)
        at edu.cmu.cs.openslide.gui.OpenSlideView.centerSlidePrivate(OpenSlide
ew.java:638)
        at edu.cmu.cs.openslide.gui.OpenSlideView.centerSlidePrivate(OpenSlide
ew.java:614)
        at edu.cmu.cs.openslide.gui.OpenSlideView.centerOnSelectionPrivate(Ope
lideView.java:605)
        at edu.cmu.cs.openslide.gui.OpenSlideView.paintComponent(OpenSlideView
ava:706)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JLayeredPane.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paintToOffscreen(Unknown Source)
        at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
        at javax.swing.RepaintManager.paint(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
        at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
        at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
        at java.awt.Container.paint(Unknown Source)
        at java.awt.Window.paint(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unkn
n Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknow
Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
java.io.IOException: TIFFRGBAImageGet failed:
        at edu.cmu.cs.openslide.OpenSlide.checkError(OpenSlide.java:146)
        at edu.cmu.cs.openslide.OpenSlide.paintRegionARGB(OpenSlide.java:217)
        at edu.cmu.cs.openslide.OpenSlide.paintRegion(OpenSlide.java:271)
        at edu.cmu.cs.openslide.gui.OpenSlideView.paintBackingStore(OpenSlideV
w.java:775)
        at edu.cmu.cs.openslide.gui.OpenSlideView.paintBackingStore(OpenSlideV
w.java:760)
        at edu.cmu.cs.openslide.gui.OpenSlideView.paintComponent(OpenSlideView
ava:708)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at javax.swing.JLayeredPane.paint(Unknown Source)
        at javax.swing.JComponent.paintChildren(Unknown Source)
        at javax.swing.JComponent.paintToOffscreen(Unknown Source)
        at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
        at javax.swing.RepaintManager.paint(Unknown Source)
        at javax.swing.JComponent.paint(Unknown Source)
        at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
        at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
        at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
        at java.awt.Container.paint(Unknown Source)
        at java.awt.Window.paint(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unkn
n Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknow
Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.andrew.cmu.edu/pipermail/openslide-users/attachments/20111103/bae91728/attachment-0001.html 


More information about the openslide-users mailing list