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.
Steps to reproduce: - call Tools->Options->C/C++ - add a remote host (OpenSolaris), it's added successfully Result: "Preparing Code Model for hostname" progress bar appears and the process never finishes. When I tried to call Tools->Options once again IDE hangs (see stack trace in attachment below).
Created attachment 86789 [details] stack trace
sometime ide hangs on setting the remote host as default
Created attachment 87349 [details] stack trace
*** This issue has been marked as a duplicate of 172284 ***
It seems to me that the issue is not only about a deadlock but mostly about endless preparing of a code model for OpenSolaris remote host. At the same time if I run CND on that remote host directly I don't see any problems with a code model. So I reopen the issue.
I was just going to reopen it myself: after I moved getting compiler search paths and predefined macros out of the UI thread and made this in the 2-nd step of the "Add Host" wizard, I tried to set up "amkar" host and immediately noticed that command "/usr/bin/cc -xdryrun -E /tmp/xyz.c" just never ends on this host. Investigating...
What I realized so far is that 1) the command is actually finished, but "IDE" does not know about that 2) for somewhat reason I see that /usr/bin/ksh93 is launched as a shell for the remote user. The /usr/bin/ksh93 is ksh shell, which is not supported by CND remote development.
It's very strange as a local user 'tester' on that host uses /bin/bash by default.
while endless code model preparing I can see only two processes owned by "remote" user: /bin/sh -s /usr/lib/ssh/sshd
Does not repeat after changing the way system headers are delivered from remote machine. Please reopen if I'm wrong.
Yes, now it works fine. Cool, we have it fixed in Beta!