From: Robert W. B. <rb...@di...> - 2000-11-19 18:59:33
|
Jython Testing Report As tested on 11/19/2000 on Solaris 2.8/SunOS 5.8 JVM==Sun 1.1.8 and Sun 1.2.1 Jython20 from installer==jython-20pa2 (see not at end concerning installers >= pa4) [Finn wrote:] > We have three bugreports about jpython hanging on solaris when it is > feed some illegal syntax. Could somebody with access to a solaris > machine please give it a try and if the problem still exists with jython > make a thread dump. > > The bugs are: > > PR#285 > http://sourceforge.net/bugs/?func=detailbug&bug_id=122880&group_id=12867 Jython-20pa2 raises SyntaxError appropriately, no wasted cpu nor seg_v. > PR#262 > http://sourceforge.net/bugs/?func=detailbug&bug_id=122856&group_id=12867 Raises SyntaxError appropriately, Jython-20pa2 does not hang. > PR#269 > http://sourceforge.net/bugs/?group_id=12867&func=detailbug&bug_id=122863 Raises SyntaxError appropriately, Jython-20pa2 does not block on missing comma. ============================================================================ Addition Solaris note: While testing the installers > jython-20pa2.class on Solaris, all console messages are related to uninstall. The command line was: `java -classpath . jython-20pa4 -o /path/to/jython`, but only build.py was placed in /usedpath/jythonc/build.py. ============================================================================ IBMJava note: I'm still lost on the seg fault with the installer+IBMJava. While I have not clues, I thought I would append the output in case it's of use to others. This output is from installer jython-20pa5 using `java -classpath . jython-20pa5 -o /full/path/to/jythondir` and IBMJava2-13 on Linux. <OUTPUT installer="jython-20pa5" jvm="IBMJava2-13"> try path /home/rbill/test/ target:jython SHA-1 Message Digest from SUN, <initialized> target:_top_ getting stream java.util.zip.ZipFile$1@5e2396f read:278 getting stream java.util.zip.ZipFile$1@47b396f read:278 getting stream java.util.zip.ZipFile$1@467b96f read:278 yyr:java.io.InputStreamReader@63e396f yyr2:278 0 512 yyr:java.io.InputStreamReader@63e396f yyr1:-1 2 510 yyr:java.io.InputStreamReader@63e396f yyr1:-1 0 512 yyr:java.io.InputStreamReader@63e396f yyr2:-1 0 512 ds+ir close target:jythonc SHA-1 Message Digest from SUN, <initialized> target:_top_ getting stream java.util.zip.ZipFile$1@30cbb96f read:243 getting stream java.util.zip.ZipFile$1@30f4396f read:243 getting stream java.util.zip.ZipFile$1@33b8396f read:243 yyr:java.io.InputStreamReader@3241396f yyr2:243 0 512 yyr:java.io.InputStreamReader@3241396f yyr1:-1 2 510 yyr:java.io.InputStreamReader@3241396f yyr1:-1 0 512 yyr:java.io.InputStreamReader@3241396f yyr2:-1 0 512 ds+ir close SIGSEGV 11 (*) segmentation violation stackpointer=0xbffc0cf8 Full thread dump Classic VM (J2RE 1.3.0 IBM build cxdev-20000502, native threads): "Finalizer" (TID:0x40318708, sys_thread_t:0x80d36a8, state:CW, native ID:0xc04) prio=8 at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:114) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:129) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:168) "Reference Handler" (TID:0x40318750, sys_thread_t:0x80d0a18, state:CW, native ID:0x803) prio=10 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:421) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116) "Signal dispatcher" (TID:0x40318798, sys_thread_t:0x80cbf68, state:CW, native ID:0x402) prio=5 "main" (TID:0x403187e0, sys_thread_t:0x804f880, state:R, native ID:0x400) prio=5 at java.text.resources.LocaleElements.getContents(LocaleElements.java:371) at java.util.ListResourceBundle.loadLookup(ListResourceBundle.java:172) at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:109) at java.util.ResourceBundle.getObject(ResourceBundle.java:364) at java.util.ResourceBundle.getObject(ResourceBundle.java:367) at java.util.ResourceBundle.getObject(ResourceBundle.java:367) at java.util.ResourceBundle.getStringArray(ResourceBundle.java:354) at java.util.Calendar.setWeekCountData(Calendar.java:1483) at java.util.Calendar.<init>(Calendar.java:781) at java.util.GregorianCalendar.<init>(GregorianCalendar.java:351) at java.util.GregorianCalendar.<init>(GregorianCalendar.java:323) at java.util.SimpleTimeZone.<clinit>(SimpleTimeZone.java:901) at java.util.TimeZone.<clinit>(TimeZone.java:467) at java.util.GregorianCalendar.<init>(GregorianCalendar.java:323) at java.util.Date.makeStaticCalendars(Date.java:1186) at java.util.Date.getField(Date.java:1152) at java.util.Date.getYear(Date.java:625) at java.util.zip.ZipEntry.javaToDosTime(ZipEntry.java:286) at java.util.zip.ZipEntry.setTime(ZipEntry.java:126) at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:127) at net.sourceforge.liftoff.installer.items.InstallerLib.install(InstallerLib.java:102) at net.sourceforge.liftoff.installer.items.InstallableContainer.install(InstallableContainer.java:145) at net.sourceforge.liftoff.installer.Install2.<init>(Install2.java:107) at net.sourceforge.liftoff.installer.Install2.main(Install2.java:129) at java.lang.reflect.Method.invoke(Native Method) at jython-20pa5.main(Install.java:355) Monitor pool info: Initial monitor count: 32 Minimum number of free monitors before expansion: 5 Pool will next be expanded by: 16 Current total number of monitors: 32 Current number of free monitors: 28 Monitor Pool Dump (inflated object-monitors): sys_mon_t:0x0804eeb0 infl_mon_t: 0x0804eaa8: java.lang.ref.Reference$Lock@40320188/40320190: <unowned> Waiting to be notified: "Reference Handler" (0x80d0a18) sys_mon_t:0x0804eef0 infl_mon_t: 0x0804eac8: java.lang.ref.ReferenceQueue$Lock@4031FDD8/4031FDE0: <unowned> Waiting to be notified: "Finalizer" (0x80d36a8) JVM System Monitor Dump (registered monitors): ACS Heap lock: <unowned> System Heap lock: <unowned> Sleep lock: <unowned> Method trace lock: <unowned> UTF8 Cache lock: <unowned> Heap lock: <unowned> Rewrite Code lock: <unowned> Monitor Cache lock: owner "main" (0x804f880) 1 entry JNI Pinning lock: <unowned> JNI Global Reference lock: <unowned> Classloader lock: <unowned> Linking class lock: <unowned> Binclass lock: <unowned> Monitor Registry lock: owner "main" (0x804f880) 1 entry Thread queue lock: owner "main" (0x804f880) 1 entry Thread identifiers (as used in flat monitors): ident 5 "Finalizer" (0x80d36a8) ee 0x080d34d8 ident 4 "Reference Handler" (0x80d0a18) ee 0x080d0848 ident 3 "Signal dispatcher" (0x80cbf68) ee 0x080cbd98 ident 2 "main" (0x804f880) ee 0x0804f6b0 Java Object Monitor Dump (flat & inflated object-monitors): java.lang.ref.ReferenceQueue$Lock@4031FDD8/4031FDE0 locknflags 80000200 Monitor inflated infl_mon 0x0804eac8 java.lang.ref.Reference$Lock@40320188/40320190 locknflags 80000100 Monitor inflated infl_mon 0x0804eaa8 java.text.resources.LocaleElements@4049C380/4049C388 locknflags 00020000 Flat locked by threadIdent 2. Entrycount 1 SIGABRT 6 (*) abort process stackpointer=0xbffc097c Full thread dump Classic VM (J2RE 1.3.0 IBM build cxdev-20000502, native threads): "Finalizer" (TID:0x40318708, sys_thread_t:0x80d36a8, state:CW, native ID:0xc04) prio=8 at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:114) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:129) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:168) "Reference Handler" (TID:0x40318750, sys_thread_t:0x80d0a18, state:CW, native ID:0x803) prio=10 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:421) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:116) "Signal dispatcher" (TID:0x40318798, sys_thread_t:0x80cbf68, state:CW, native ID:0x402) prio=5 "main" (TID:0x403187e0, sys_thread_t:0x804f880, state:R, native ID:0x400) prio=5 at java.text.resources.LocaleElements.getContents(LocaleElements.java:371) at java.util.ListResourceBundle.loadLookup(ListResourceBundle.java:172) at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:109) at java.util.ResourceBundle.getObject(ResourceBundle.java:364) at java.util.ResourceBundle.getObject(ResourceBundle.java:367) at java.util.ResourceBundle.getObject(ResourceBundle.java:367) at java.util.ResourceBundle.getStringArray(ResourceBundle.java:354) at java.util.Calendar.setWeekCountData(Calendar.java:1483) at java.util.Calendar.<init>(Calendar.java:781) at java.util.GregorianCalendar.<init>(GregorianCalendar.java:351) at java.util.GregorianCalendar.<init>(GregorianCalendar.java:323) at java.util.SimpleTimeZone.<clinit>(SimpleTimeZone.java:901) at java.util.TimeZone.<clinit>(TimeZone.java:467) at java.util.GregorianCalendar.<init>(GregorianCalendar.java:323) at java.util.Date.makeStaticCalendars(Date.java:1186) at java.util.Date.getField(Date.java:1152) at java.util.Date.getYear(Date.java:625) at java.util.zip.ZipEntry.javaToDosTime(ZipEntry.java:286) at java.util.zip.ZipEntry.setTime(ZipEntry.java:126) at java.util.zip.ZipOutputStream.putNextEntry(ZipOutputStream.java:127) at net.sourceforge.liftoff.installer.items.InstallerLib.install(InstallerLib.java:102) at net.sourceforge.liftoff.installer.items.InstallableContainer.install(InstallableContainer.java:145) at net.sourceforge.liftoff.installer.Install2.<init>(Install2.java:107) at net.sourceforge.liftoff.installer.Install2.main(Install2.java:129) at java.lang.reflect.Method.invoke(Native Method) at jython-20pa5.main(Install.java:355) Monitor pool info: Initial monitor count: 32 Minimum number of free monitors before expansion: 5 Pool will next be expanded by: 16 Current total number of monitors: 32 Current number of free monitors: 28 Monitor Pool Dump (inflated object-monitors): sys_mon_t:0x0804eeb0 infl_mon_t: 0x0804eaa8: java.lang.ref.Reference$Lock@40320188/40320190: <unowned> Waiting to be notified: "Reference Handler" (0x80d0a18) sys_mon_t:0x0804eef0 infl_mon_t: 0x0804eac8: java.lang.ref.ReferenceQueue$Lock@4031FDD8/4031FDE0: <unowned> Waiting to be notified: "Finalizer" (0x80d36a8) JVM System Monitor Dump (registered monitors): ACS Heap lock: <unowned> System Heap lock: <unowned> Sleep lock: <unowned> Method trace lock: <unowned> UTF8 Cache lock: <unowned> Heap lock: <unowned> Rewrite Code lock: <unowned> Monitor Cache lock: owner "main" (0x804f880) 1 entry JNI Pinning lock: <unowned> JNI Global Reference lock: <unowned> Classloader lock: <unowned> Linking class lock: <unowned> Binclass lock: <unowned> Monitor Registry lock: owner "main" (0x804f880) 1 entry Thread queue lock: owner "main" (0x804f880) 1 entry Thread identifiers (as used in flat monitors): ident 5 "Finalizer" (0x80d36a8) ee 0x080d34d8 ident 4 "Reference Handler" (0x80d0a18) ee 0x080d0848 ident 3 "Signal dispatcher" (0x80cbf68) ee 0x080cbd98 ident 2 "main" (0x804f880) ee 0x0804f6b0 Java Object Monitor Dump (flat & inflated object-monitors): java.lang.ref.ReferenceQueue$Lock@4031FDD8/4031FDE0 locknflags 80000200 Monitor inflated infl_mon 0x0804eac8 java.lang.ref.Reference$Lock@40320188/40320190 locknflags 80000100 Monitor inflated infl_mon 0x0804eaa8 java.text.resources.LocaleElements@4049C380/4049C388 locknflags 00020000 Flat locked by threadIdent 2. Entrycount 1 </OUTPUT> |