This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 185442 - hung jvms on ssi-test-sparc
Summary: hung jvms on ssi-test-sparc
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: execution (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P3 normal (vote)
Assignee: Andrew Krasny
URL:
Keywords: TEST
Depends on:
Blocks:
 
Reported: 2010-05-04 15:02 UTC by Alexey Vladykin
Modified: 2010-12-22 18:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Vladykin 2010-05-04 15:02:45 UTC
Not all JVMs exit correctly after running unit tests on ssi-test-sparc. Some of them hang forever, until killed manually. pstack shows a similar picture for all of them:

$ pstack 1491
1491:	/usr/jdk/instances/jdk1.6.0_20/jre/bin/java -ea -XX:PermSize=32m -XX:M
 ff2c4a9c lwp_park (0, 0, 0)
 ff2bd6b4 mutex_lock_internal (919510, 0, 1, 0, 10, ff2f3700) + 5d0
 ce62a130 soft_delete_session (919508, 1, 919510, 1b, 4ffb4, 1c) + f0
 ce629dd4 soft_delete_all_sessions (0, 919508, 1, 0, ce67a000, 0) + 4c
 ce624348 finalize_common (1, 0, 0, 55d20, ce67a900, 0) + 70
 ce6244d8 softtoken_fini (0, 1, 0, ce67a000, 55b64, ce67a8f4) + 44
 ce665e40 _fini    (ff3f40fc, ff3f5a50, 2b414, 0, ff3f4910, 821) + 4
 ff3c5494 call_fini (ff3f40fc, ced30f60, ce665e3c, ff3f42f0, ff3f42a8, ff3f4910) + cc
 ff3cfda0 remove_hdl (ced30f60, ce3fe8f4, 0, 4000, ced312bc, 4821) + ac8
 ff3ca3e8 dlclose_intn (ced30fe8, ff3f4910, ff3f40fc, 2a540, ff3ca49c, 0) + 24
 ff3ca4c8 dlclose  (ced30fe8, 1084, ced30238, 0, 0, 1) + 24
 ce763938 pkcs11_slottable_delete (1, a571f0, a169a8, ce776bb0, 0, 1) + 138
 ce75e460 pkcs11_fini (ce776b8c, 1, ce75e0a8, ce776000, 17be4, ce776b84) + 4c
 ff241e74 _postfork_child_handler (10d8, ff2f3700, 1000, feeb6a00, 0, 4) + 30
 ff2b715c fork     (0, 8d, 0, 4, ff2f3700, feeb6a00) + 13c
 fe3da328 Java_java_lang_UNIXProcess_forkAndExec (3c9910, 0, f78350, 0, 1, 0) + 290
 fc00d480 * java/lang/UNIXProcess.forkAndExec([B[BI[BI[BZLjava/io/FileDescriptor;Ljava/io/FileDescriptor;Ljava/io/FileDescriptor;)I+49
 fc00d42c * java/lang/UNIXProcess.forkAndExec([B[BI[BI[BZLjava/io/FileDescriptor;Ljava/io/FileDescriptor;Ljava/io/FileDescriptor;)I+0
 fc005988 * java/lang/UNIXProcess.<init>([B[BI[BI[BZ)V+62 (line 101)
 fc005ab0 * java/lang/ProcessImpl.start([Ljava/lang/String;Ljava/util/Map;Ljava/lang/String;Z)Ljava/lang/Process;+182 (line 119)
 fc005940 * java/lang/ProcessBuilder.start()Ljava/lang/Process;+120 (line 896)
 fc005940 * org/netbeans/modules/nativeexecution/LocalNativeProcess.createNonWin()V+174 (line 192)
 fc005ab0 * org/netbeans/modules/nativeexecution/LocalNativeProcess.create()V+33 (line 146)
 fc005ab0 * org/netbeans/modules/nativeexecution/AbstractNativeProcess.createAndStart()Lorg/netbeans/modules/nativeexecution/api/NativeProcess;+25 (line 281)
 fc005940 * org/netbeans/modules/nativeexecution/api/NativeProcessBuilder.call()Lorg/netbeans/modules/nativeexecution/api/NativeProcess;+376 (line 374)
 fc005940 * org/netbeans/modules/cnd/remote/sync/RfsLocalController.checkLinks(Ljava/util/List;Ljava/util/List;)Ljava/util/Collection;+43 (line 1006)
 fc005940 * org/netbeans/modules/cnd/remote/sync/RfsLocalController.checkLinks(Ljava/util/List;)V+11 (line 978)
 fc005ab0 * org/netbeans/modules/cnd/remote/sync/RfsLocalController.init()V+431 (line 889)
 fc005ab0 * org/netbeans/modules/cnd/remote/sync/RfsSyncWorker.startupImpl(Ljava/util/Map;)V+229 (line 328)
 fc005ab0 * org/netbeans/modules/cnd/remote/sync/RfsSyncWorker.startup(Ljava/util/Map;)Z+185 (line 190)
 fc005d88 * org/netbeans/modules/cnd/remote/sync/RemoteBuildProjectActionHandler.execute(Lorg/openide/windows/InputOutput;)V+174 (line 263)
 fc005fd0 * org/netbeans/modules/cnd/makeproject/api/ProjectActionSupport$HandleEvents.go()V+320 (line 808)
 fc005ab0 * org/netbeans/modules/cnd/makeproject/api/ProjectActionSupport$HandleEvents.access$000(Lorg/netbeans/modules/cnd/makeproject/api/ProjectActionSupport$HandleEvents;)V+1 (line 314)
 fc005ab0 * org/netbeans/modules/cnd/makeproject/api/ProjectActionSupport.fireActionPerformed([Lorg/netbeans/modules/cnd/makeproject/api/ProjectActionEvent;)V+10 (line 286)
 fc005ab0 * org/netbeans/modules/cnd/makeproject/MakeActionProvider$1$1.runImpl()V+23 (line 618)
 fc005ab0 * org/netbeans/modules/cnd/utils/NamedRunnable.run()V+18 (line 115)
 fc005fd0 * org/openide/util/RequestProcessor$Task.run()V+15 (line 2828)
 fc005ab0 * org/openide/util/RequestProcessor$Processor.run()V+218 (line 3858)
 fc00021c * StubRoutines (1)
 fe5594fc __1cJJavaCallsLcall_helper6FpnJJavaValue_pnMmethodHandle_pnRJavaCallArguments_pnGThread__v_ (fc0001c0, 3c9800, 1, 196888, cf376150, ce3ffd78) + 208
 fe90af98 __1cJJavaCallsMcall_virtual6FpnJJavaValue_nLKlassHandle_nMsymbolHandle_4pnRJavaCallArguments_pnGThread__v_ (ce3ffd70, 19688c, 196898, 8a2c00, ce3ffc58, ff75d2f4) + 10c
 fe5ecd2c __1cJJavaCallsMcall_virtual6FpnJJavaValue_nGHandle_nLKlassHandle_nMsymbolHandle_5pnGThread__v_ (ce3ffd70, ce3ffd6c, ce3ffd68, ce3ffd64, ce3ffd60, 19688c) + 74
 fe5ffe24 __1cMthread_entry6FpnKJavaThread_pnGThread__v_ (cf0330b0, 3c9800, 50800, fee4d104, fee4ce38, fee4cb28) + 110
 febf99f0 __1cKJavaThreadRthread_main_inner6M_v_ (3c9800, 10a180, f, 20, fedfc000, 0) + 48
 feb2a198 java_start (3c9800, 52e, fedfc000, fed4888d, 3cd708, fee488b4) + 22c
 ff2c49fc _lwp_start (0, 0, 0, 0, 0, 0)
Comment 1 Alexey Vladykin 2010-05-04 15:07:43 UTC
Do we have resource leaks? E.g. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4784692
Comment 2 Andrew Krasny 2010-12-22 18:13:33 UTC
As I can see tests are running on this host (continuous builds, for ~ a month without system reboot) and no java processes are left...