[jitsi-dev] Browsing chat history causes jitsi freeze


#1

Hi,

no, I do not open the chat history window many times, mainly because
it freezes right in the first instance. I'm afraid 4978 got worse: it
freezes right upon opening the chat history window (so long the last
day history was shown and it froze only at clicking through the days;
now it displays nothing). Log is slightly different:

Gabor

14:29:02.331 WARNING: [26]
service.resources.AbstractResourcesService.getSettingsInt().585
Missing resource for key:
net.java.sip.communicator.SIP_PREFERRED_CLEAR_PORT
14:29:02.332 INFO: [26] impl.protocol.sip.SipLogger.logInfo().185 Info
from the JAIN-SIP stack: the sip stack timer
gov.nist.javax.sip.stack.timers.DefaultSipTimer has been started
14:29:02.335 WARNING: [26]
service.resources.AbstractResourcesService.getSettingsInt().585
Missing resource for key:
net.java.sip.communicator.SIP_PREFERRED_SECURE_PORT
14:29:08.171 SEVERE: [27] util.UtilActivator.uncaughtException().108
An uncaught exception occurred in thread=Thread[Image Fetcher
0,3,main] and message was: Java heap space
java.lang.OutOfMemoryError: Java heap space
    at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
    at java.awt.image.Raster.createPackedRaster(Raster.java:455)
    at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
    at sun.awt.image.ImageRepresentation.createBufferedImage(ImageRepresentation.java:228)
    at sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:537)
    at apple.awt.OSXImageRepresentation.setPixels(OSXImageRepresentation.java:58)
    at sun.awt.image.ImageDecoder.setPixels(ImageDecoder.java:120)
    at sun.awt.image.PNGImageDecoder.sendPixels(PNGImageDecoder.java:531)
    at sun.awt.image.PNGImageDecoder.produceImage(PNGImageDecoder.java:452)
    at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
    at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
    at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
14:29:08.601 SEVERE: [28] util.UtilActivator.uncaughtException().108
An uncaught exception occurred in thread=Thread[Image Fetcher
0,3,main] and message was: Java heap space
java.lang.OutOfMemoryError: Java heap space
    at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
    at java.awt.image.Raster.createPackedRaster(Raster.java:455)
    at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
    at sun.awt.image.ImageRepresentation.createBufferedImage(ImageRepresentation.java:228)
    at sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:537)
    at apple.awt.OSXImageRepresentation.setPixels(OSXImageRepresentation.java:58)
    at sun.awt.image.ImageDecoder.setPixels(ImageDecoder.java:120)
    at sun.awt.image.PNGImageDecoder.sendPixels(PNGImageDecoder.java:531)
    at sun.awt.image.PNGImageDecoder.produceImage(PNGImageDecoder.java:452)
    at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
    at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
    at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
14:29:09.219 SEVERE: [29] util.UtilActivator.uncaughtException().108
An uncaught exception occurred in thread=Thread[Image Fetcher
0,3,main] and message was: Java heap space
java.lang.OutOfMemoryError: Java heap space
    at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
    at java.awt.image.Raster.createPackedRaster(Raster.java:455)
    at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
    at sun.awt.image.ImageRepresentation.createBufferedImage(ImageRepresentation.java:228)
    at sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:537)
    at apple.awt.OSXImageRepresentation.setPixels(OSXImageRepresentation.java:58)
    at sun.awt.image.ImageDecoder.setPixels(ImageDecoder.java:120)
    at sun.awt.image.PNGImageDecoder.sendPixels(PNGImageDecoder.java:531)
    at sun.awt.image.PNGImageDecoder.produceImage(PNGImageDecoder.java:452)
    at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
    at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
    at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
14:29:09.595 SEVERE: [30] util.UtilActivator.uncaughtException().108
An uncaught exception occurred in thread=Thread[Image Fetcher
0,3,main] and message was: Java heap space
java.lang.OutOfMemoryError: Java heap space
    at java.awt.image.DataBufferInt.<init>(DataBufferInt.java:41)
    at java.awt.image.Raster.createPackedRaster(Raster.java:455)
    at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1015)
    at sun.awt.image.ImageRepresentation.createBufferedImage(ImageRepresentation.java:228)
    at sun.awt.image.ImageRepresentation.setPixels(ImageRepresentation.java:537)
    at apple.awt.OSXImageRepresentation.setPixels(OSXImageRepresentation.java:58)
    at sun.awt.image.ImageDecoder.setPixels(ImageDecoder.java:120)
    at sun.awt.image.PNGImageDecoder.sendPixels(PNGImageDecoder.java:531)
    at sun.awt.image.PNGImageDecoder.produceImage(PNGImageDecoder.java:452)
    at sun.awt.image.InputStreamImageSource.doFetch(InputStreamImageSource.java:246)
    at sun.awt.image.ImageFetcher.fetchloop(ImageFetcher.java:172)
    at sun.awt.image.ImageFetcher.run(ImageFetcher.java:136)
14:29:10.027 SEVERE: [31] util.UtilActivator.uncaughtException().108
An uncaught exception occurred in thread=Thread[Image Fetcher
0,3,main] and message was: Java heap space
java.lang.OutOfMemoryError: Java heap space
14:29:10.370 SEVERE: [32] util.UtilActivator.uncaughtException().108
An uncaught exception occurred in thread=Thread[Image Fetcher
0,3,main] and message was: Java heap space
java.lang.OutOfMemoryError: Java heap space
14:29:10.771 SEVERE: [33] util.UtilActivator.uncaughtException().108
An uncaught exception occurred in thread=Thread[Image Fetcher
0,3,main] and message was: Java heap space
java.lang.OutOfMemoryError: Java heap space
14:29:11.114 SEVERE: [34] util.UtilActivator.uncaughtException().108
An uncaught exception occurred in thread=Thread[Image Fetcher
0,3,main] and message was: Java heap space
java.lang.OutOfMemoryError: Java heap space
14:29:11.540 SEVERE: [35] util.UtilActivator.uncaughtException().108
An uncaught exception occurred in thread=Thread[Image Fetcher
0,3,main] and message was: Java heap space
java.lang.OutOfMemoryError: Java heap space
14:29:11.906 SEVERE: [36] util.UtilActivator.uncaughtException().108
An uncaught exception occurred in thread=Thread[Image Fetcher
0,3,main] and message was: Java heap space
java.lang.OutOfMemoryError: Java heap space
14:29:12.327 SEVERE: [37] util.UtilActivator.uncaughtException().108
An uncaught exception occurred in thread=Thread[Image Fetcher
0,3,main] and message was: Java heap space
java.lang.OutOfMemoryError: Java heap space

···

Hey,

thanks for the report. Are you opening several times a day the chat
history window?
A change was just pushed and will be available in next build 4977, can
you give it a try?
We found that when the history window is closed pressing esc key,
jitsi leaks instances of this window, which is now fixed.

Regards
damencho

On Wed, Dec 11, 2013 at 6:58 PM, Gabor Kovacs <kgabor79@gmail.com> wrote:

Hi,

on mac os x 10.7.5 I experience problems, when browsing chat history
(google talk account),


#2

Hi,

ok do you have a lot of images/smilies in the history you open? Seems
you run very quickly out of memory. As I understand you start jitsi
and immediately open the history window and the error occur?

Can you make a heap dump, archive it and send it to us so we can have
a look. You can send it personally to me.

You will need jdk installed.
jmap -dump:live,format=b,file=heap.bin <pid>
Archive the file heap.bin and send it to me.

Thanks
damencho