failing to load Marvin, Java crashing

User 870ab5b546

24-08-2011 14:15:32

I'm looking at a student's computer.  MacOS 10.6.8, Safari 5.1, Java 1.6 (32- and 64-bit versions both enabled).


When he goes to Sun's Java test site, it shows that his Java is working fine: Java SE 6 Update 26.


However, when he goes to any page displaying Marvin 5.4.1.1, e.g., this LiveConnect test page, Marvin usually fails to load.  The Safari error console shows this error: Assertion failedReaderArticleFinder aborting CandidateElement detection due to timeout.  I have tried emptying the Java cache and the browser cache, to no avail.  If I have the Java console turned on, it crashes and closes itself when I try to load MarvinSketch.


The same thing happened when I went to your Marvin test page.


In my repeated tries, I once was able to get Marvin to load, but when I went to another page, the problems started again, and when I went back to the page where it had worked, it no longer did.


Any ideas?

User 870ab5b546

24-08-2011 16:40:58

Here is info from the Console when the Java console crashed (both MarvinSketch and MarvinView):


8/24/11 12:09:39 PM	PluginProcess[187]	JAWT_MACOSX_USE_CALAYER unsupported by current Java
8/24/11 12:09:39 PM [0x0-0x1e01e].com.apple.Safari[184] 2011-08-24 12:09:39.918 PluginProcess[187:903] JAWT_MACOSX_USE_CALAYER unsupported by current Java
8/24/11 12:09:40 PM PluginProcess[187] Process manager already initialized -- can't fully enable headless mode.
8/24/11 12:09:40 PM [0x0-0x1e01e].com.apple.Safari[184] 2011-08-24 12:09:40.011 PluginProcess[187:903] Process manager already initialized -- can't fully enable headless mode.
8/24/11 12:09:40 PM java[188] NSWindow does not support nonactivating panel styleMask 0x80
8/24/11 12:09:41 PM java[188] NSWindow does not support utility styleMask 0x10
8/24/11 12:09:53 PM [0x0-0x1e01e].com.apple.Safari[184] PluginProcess(187,0x7fff704b9cc0) malloc: *** error for object 0x1003090f0: incorrect checksum for freed object - object was probably modified after being freed.
8/24/11 12:09:53 PM [0x0-0x1e01e].com.apple.Safari[184] *** set a breakpoint in malloc_error_break to debug
8/24/11 12:09:54 PM ReportCrash[191] Saved crash report for PluginProcess[187] version 6534 (6534.50) to /Users/david/Library/Logs/DiagnosticReports/PluginProcess_2011-08-24-120954_Davids-MacBook-Pro.crash

8/24/11 12:12:48 PM java[208] NSWindow does not support nonactivating panel styleMask 0x80
8/24/11 12:12:48 PM java[208] NSWindow does not support nonactivating panel styleMask 0x80
8/24/11 12:12:48 PM java[208] NSWindow does not support nonactivating panel styleMask 0x80
8/24/11 12:12:48 PM java[208] NSWindow does not support nonactivating panel styleMask 0x80
8/24/11 12:12:48 PM java[208] NSWindow does not support nonactivating panel styleMask 0x80
8/24/11 12:12:48 PM java[208] NSWindow does not support nonactivating panel styleMask 0x80
8/24/11 12:12:48 PM java[208] NSWindow does not support nonactivating panel styleMask 0x80
8/24/11 12:12:48 PM java[208] NSWindow does not support nonactivating panel styleMask 0x80
8/24/11 12:12:48 PM java[208] NSWindow does not support nonactivating panel styleMask 0x80
8/24/11 12:12:48 PM java[208] NSWindow does not support nonactivating panel styleMask 0x80
8/24/11 12:12:48 PM java[208] NSWindow does not support nonactivating panel styleMask 0x80
8/24/11 12:12:48 PM java[208] NSWindow does not support nonactivating panel styleMask 0x80
8/24/11 12:12:48 PM java[208] NSWindow does not support utility styleMask 0x10
8/24/11 12:12:54 PM [0x0-0x1e01e].com.apple.Safari[184] Invalid memory access of location 0x0 rip=0x7fff869d8f1d
8/24/11 12:12:55 PM ReportCrash[211] Saved crash report for PluginProcess[207] version 6534 (6534.50) to /Users/david/Library/Logs/DiagnosticReports/PluginProcess_2011-08-24-121255_Davids-MacBook-Pro.crash

I found some reports on the Web that the problem is a bug in Java 1.6.  I went to the trouble of installing Java 1.5 on the student's Mac, and I turned off Java 1.6 in the Java Preferences, but no joy.  I also found a report that said that the culprit for the ReaderArticleFinder aborting CandidateElement detection due to timeout error is a Java extension called mmj.jar or libmmj.jnilib, but I was able to find neither of these extensions in the suggested location.

User 870ab5b546

26-08-2011 16:07:29

The student brought his computer back to me, and MarvinSketch was working.  So, never mind....

ChemAxon d44f555baf

27-08-2011 12:34:49

Hi,


I can't find the reason of failing.


I tried to reproduce this, on a mac with same preferences. there was just one time when it failed to load, but worked after reloading the page. On the  safari error console I got the same error message often, but the Applet worked fine. It is a general java bug i don't think so that's why our applet don't work.


Best Regards,


Erneszt