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 160938 - [67cat] Debugger does not release shared memory after cancel
Summary: [67cat] Debugger does not release shared memory after cancel
Status: CLOSED DUPLICATE of bug 148490
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Daniel Prusa
URL:
Keywords:
: 163640 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-03-23 19:13 UTC by Eduardo.m Costa
Modified: 2010-05-06 08:02 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 Eduardo.m Costa 2009-03-23 19:13:22 UTC
[ BUILD # : 200903191401 ]
[ JDK VERSION : 1.6.* ]

Steps to reproduce:
1. Open a Java project
2. Activate a debug action
3. When "debug:" appears on "Output" TC, click on "Stop"

Expected behaviour:
* Debug is cancelled, interface revers to "normal" (i.e. no debug
toolbar or TCs)

Actual behaviour:
* shmemBase is created, debug perspective is activated, but no debug
session is started. If we activate a debug action again, this
exception occurs:

java.io.IOException: shmemBase_listen failed: Não é possível criar um
arquivo já existente

        at
org.netbeans.modules.debugger.jpda.ant.JPDAStart.execute(JPDAStart.jav
a:241)
        at
org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown
Source)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccess
orImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at
org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java
:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at
org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at
org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExec
utor.java:41)
        at
org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java
:278)
        at
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java
:498)
        at
org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151
)
Caused by: java.io.IOException: shmemBase_listen failed: Não é
possível criar um arquivo já existente

        at
com.sun.tools.jdi.SharedMemoryTransportService.startListening0(Native
Method)
        at
com.sun.tools.jdi.SharedMemoryTransportService.startListening(SharedMe
moryTransportService.java:100)
        at
com.sun.tools.jdi.GenericListeningConnector.startListening(GenericList
eningConnector.java:96)
        at
com.sun.tools.jdi.SharedMemoryListeningConnector.startListening(Shared
MemoryListeningConnector.java:56)
        at
org.netbeans.modules.debugger.jpda.ant.JPDAStart.run(JPDAStart.java:28
1)
        at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
        at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:
1005)
--- Nested Exception ---
java.io.IOException: shmemBase_listen failed: Não é possível criar um
arquivo já existente

        at
com.sun.tools.jdi.SharedMemoryTransportService.startListening0(Native
Method)
        at
com.sun.tools.jdi.SharedMemoryTransportService.startListening(SharedMe
moryTransportService.java:100)
        at
com.sun.tools.jdi.GenericListeningConnector.startListening(GenericList
eningConnector.java:96)
        at
com.sun.tools.jdi.SharedMemoryListeningConnector.startListening(Shared
MemoryListeningConnector.java:56)
        at
org.netbeans.modules.debugger.jpda.ant.JPDAStart.run(JPDAStart.java:28
1)
        at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
        at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:
1005)
java.io.IOException: shmemBase_listen failed: Não é possível criar um
arquivo já existente
        at
com.sun.tools.jdi.SharedMemoryTransportService.startListening0(Native
Method)
        at
com.sun.tools.jdi.SharedMemoryTransportService.startListening(SharedMe
moryTransportService.java:100)
        at
com.sun.tools.jdi.GenericListeningConnector.startListening(GenericList
eningConnector.java:96)
        at
com.sun.tools.jdi.SharedMemoryListeningConnector.startListening(Shared
MemoryListeningConnector.java:56)
        at
org.netbeans.modules.debugger.jpda.ant.JPDAStart.run(JPDAStart.java:28
1)
        at
org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573)
        at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:
1005)

Workaround:
* Restart IDE
Comment 1 Martin Entlicher 2009-04-27 09:14:11 UTC
*** Issue 163640 has been marked as a duplicate of this issue. ***
Comment 2 Martin Entlicher 2009-04-27 09:17:08 UTC
FYI: see also description issue #163640.
Comment 3 Martin Entlicher 2009-06-19 11:27:30 UTC
This is a duplicate of issue #148490.

*** This issue has been marked as a duplicate of 148490 ***
Comment 4 Marian Mirilovic 2010-05-06 08:02:19 UTC
verified duplicate