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.
Build: NetBeans IDE Dev (Build cnd-main-3067-on-100322) VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08 OS: Linux User Comments: apepin: Steps to reproduce: - create local Welcome sample - set Internal Terminal as a console type - do setp into Result: gdb fails due to exception. Stacktrace: java.io.IOException: java.io.IOException: error=13, Permission denied at java.lang.UNIXProcess.<init>(UNIXProcess.java:148) at java.lang.ProcessImpl.start(ProcessImpl.java:65) at java.lang.ProcessBuilder.start(ProcessBuilder.java:452) at org.netbeans.modules.nativeexecution.pty.PtyCreatorImpl.allocate(PtyCreatorImpl.java:76) at org.netbeans.modules.nativeexecution.pty.PtyCreatorImpl.allocate(PtyCreatorImpl.java:62) at org.netbeans.modules.nativeexecution.api.pty.PtySupport.allocate(PtySupport.java:147)
Created attachment 95609 [details] stacktrace
At the same time 'run in internal terminal' and 'debug in output window' work fine.
could be fixed with http://hg.netbeans.org/cnd-main/rev/05b98aa88ac6
*** Bug 182993 has been marked as a duplicate of this bug. ***
*** Bug 182597 has been marked as a duplicate of this bug. ***
it's still reproducible in dev build #3127 (100329) Please fix it ASAP.
Now it also happens while run in internal terminal.
If I manually set execution permissions for ./netbeans/ide/bin/nativeexecution/Linux-x86/pty_open then I get the following exception when try to run Welcome sample: java.io.IOException: PID of process 'ap153252@localhost /home/ap153252/NetBeansProjects/Welcome_44/dist/Debug/GNU-Linux-x86/welcome_44 "arg 1" "arg 2" "arg 3" "arg 4"' is not received! at org.netbeans.modules.nativeexecution.AbstractNativeProcess.getPID(AbstractNativeProcess.java:173) at org.netbeans.modules.nativeexecution.pty.IOConnectorImpl$Reaper.run(IOConnectorImpl.java:181) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1369) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1907)
and one more exception: java.io.IOException: PID of process 'ap153252@localhost /home/ap153252/NetBeansProjects/Welcome_44/dist/Debug/GNU-Linux-x86/welcome_44 "arg 1" "arg 2" "arg 3" "arg 4"' is not received! at org.netbeans.modules.nativeexecution.AbstractNativeProcess.getPID(AbstractNativeProcess.java:173) at org.netbeans.modules.nativeexecution.PtyNativeProcess$Reaper.run(PtyNativeProcess.java:152) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1369) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1907)
http://hg.netbeans.org/cnd-main/rev/d3503c7799d1
*** Bug 182669 has been marked as a duplicate of this bug. ***