New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]Version 1.1.383 crashes when trying to create a new project on Windows 10 x64 #1770
Comments
Sorry, we haven't been able to reproduce this issue. Can you share any more details about the crash? |
Hi,
Always, I have to stop the session by Windows Task Manager, because clicking the "X" of Rstudio on the head right, can only get a waiting circle forever. And never close the program. Also, if it crashes, you can not save the file editing, but it just stays there, you can click buttoms of Rstudio, but nothing happens. Quite strange. |
The contributing guidelines on filing bugs could be helpful:
Thanks |
sessionInfo() Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): diagnostics-report.txtNothing to do with the location, I just tried setting to Eng with Sys.setlocale("LC_ALL","English") But all the problems are still there. |
@xiasummer It sounds like what you're experiencing is more a hang than a crash. Is your home directory stored on a network? If it is, would you be willing to try our daily build to see if that resolves your issue? |
@jimhester Actually, all on my local computer. And the daily build version is still can't work properly, and all the problems I presented are still there. Second thought, I think it may be caused by the R program I installed? sessionInfo() Matrix products: default locale: attached base packages: loaded via a namespace (and not attached): |
It's easy enough to test! Does 1.0 work for you? You can download a copy of 1.0.153 here: https://support.rstudio.com/hc/en-us/articles/206569407-Older-Versions-of-RStudio |
@jmcphers @kylevoyto Thank you, but still not working, no mater the 1.0 or 0.99 version.But I see A very interesting thing: When I just started Rstudio, the processes which are running But when I click New project, The Rstudio just hang~ Then the processes which are running Does that mean that Rstudio wants to change to a new instance but something stuck there? |
Truely, any advice? |
That seems surprising that |
You mean the Rprofile in "C:\Program Files\R\R-3.4.2\library\base\R" It is
|
I mean a file called
|
Actually I don't have such file in my computer, I think it must be the default file like
|
I think I'm seeing a slighyly different but related issue in that the problem only occurs when projects are involved (Win10 64bit; 16G RAM; RStudio 1.1.383; R3.4.3). I can open projects OK, but after opening a project, file dialogs become excruciatingly slow. File open and file new dialogs show a spinning icon and it either takes several minutes for the actual file dialog to appear or, more typically, I impatiently kill the RStudio task after several minutes and start over. Ctrl S to save a file also hangs. Since I mostly work within projects, it took me some time to make this connection, but if I don't open a project, I can work on the same files and file dialogs consistently operate nearly instantly. The frustrating part is this behavior is not consistent. Sometimes I have a good day or several days where operation is fine. Then the interminable delays come back. On a bad day, rebooting does not seem to clear the problem. Deleting the .rproj file and recreating the project doesn't help. When the problem is active, all projects behave this way. Once this starts happening, RStudio also hangs when hitting the X to close the application. It says it is closing but never does actually quit. Must kill via task manager. Don't spend time responding to this just yet. I'm taking the suggestion above to downgrade to v1.0 and, due to the intermittent nature of this in my experience, I'll have to run the downgraded version for some number of days before I'm sure the problem has gone away. |
@jrthompson54 That sounds like #1592, which is problem we have fixed in our preview release. Want to give it a try to see if it fixes things for you? |
The descriptions of behaviors on #1592 resonate. I work on a corporate laptop that does have half a dozen mapped network drives most of which are listed as disconnected. But all the files I'm working on are local to drive C:. At one point, I suspected the mapped drives might be an issue and deleted all the mapped drives which did not clear the problem. In any case, I installed the preview release and for good measure reset the state. On first attempt, opening files with a project loaded is sluggish vs opening same files without a project loaded (~10s vs nearly instantly), so much better than before. Given the intermittent nature of my issue, I'll report back in a few days. Thanks for the awesome response time. |
I believe the issue with RStudio failing to launch in these environments is now resolved with v1.1.419 (and above), but there is likely still more to be done to handle slowness when using RStudio with networked filesystems. I'm going to close this issue for now, but please feel free to re-open if you're still encountering problems! |
@xiasummer, I have the exact same issue! Fresh install, trying to create a new project for the first time and it always hangs. After trying to create a new project: No idea why make would be running!? Anyway, when I right-click on the make.exe in task manager, I can see that it is coming from my Rtools install location. I removed it from that location (it doesn't appear anywhere else in my PATH), and magically I can now create projects again. |
Strange! If we can figure out why Does this occur in all kinds of new projects, or only certain kinds (e.g. R Package projects)? |
It occurs when the New Project button is clicked, before any option is
presented regarding the type of project.
…On Thu, 1 Mar 2018 at 10:40 pm, Kevin Ushey ***@***.***> wrote:
Strange! If we can figure out why make.exe is getting invoked by RStudio,
then we should hopefully be able to fix the issue.
Does this occur in all kinds of new projects, or only certain kinds (e.g.
R Package projects)?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1770 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABPGVI1KBetnp8VupLJiadF1XX3LNCMmks5taCuXgaJpZM4QlBhh>
.
|
Just to confirm, RStudio is responsive before clicking on the New Project button; it's only after clicking New Project that RStudio becomes unresponsive? |
Correct.
…On Thu, 1 Mar 2018 at 11:13 pm, Kevin Ushey ***@***.***> wrote:
Just to confirm, RStudio is responsive *before* clicking on the New
Project button; it's only after clicking New Project that RStudio becomes
unresponsive?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#1770 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABPGVNx1F3oO5iv7iDDcY40hAQ8IG_o3ks5taDNSgaJpZM4QlBhh>
.
|
Thanks for the extra information. We'll try and see if there's something we're doing in that code path that might trigger a call to |
Finally, I know why now. That's because a have installed Mingw and Rtools is not properly installed. I reinstalled Rtools and have it added to the path values. And then I deleted the Mingw folder. (From what I see, you have to delete the folder, even you have deleted the Path value.) Finally it works fine in making fine now. |
I've had a similar file dialog-associated hang problem for ~ 6 months or so. In my case, I can open a project, but on the next attempt to open a file, the file dialog opens and becomes unresponsive... usually taking longer than my patience (5-10 minutes) but if I wait long enough it eventually responds. The delay seems to impact any file open or file save operation. No delays or hangs occur if I open the same files without a project loaded. A colleague pointed me to a rather obscure solution. Each of my projects is also a git repo. Normally git init creates a hidden .git folder. In several of my affected projects, the .git folder was no longer hidden. Don't know how this happens yet. I use command line git commands to commit and push. In any case, re-hiding the .git folder clears the problem (only need to set the hidden attribute to the .git folder, not the contents). I fixed this problem with half a dozen projects so far, so it seems to be a reproducible solution for my issue. So if you're experiencing file dialog hangs on windows, check for an un-hidden .git folder and re-hide it if necessary (rt click/properties). My setup is win10-64bit 16G system, RStudio v1.1.442 (but also happened with 1.0.153 and 1.1.408), R3.4.4. I don't have mingw installed. |
@jrthompson54 I was having problems for some time, and your solution has just fixed it. Thank you so much! It began with git hanging on push. Then one project began to hang on saving files, and for a couple of weeks the whole project was hanging on opening and would crash the entire RStudio session. The problem spread to the rest of my projects in the last week. Task manager was the only way to stop RStudio, and sometimes the RStudio window would close but leave processes running in the task manager. The problem is solved on my machine by hiding the .git folder in the project folder, and can be made to come back by unhiding the .git folder. I am using Git v2.10.2 with RStudio 1.1.442 but had the same problem with previous versions of RStudio. Machine is running Windows 10 pro x64, version 10.0.16299, computer is a 4-core Dell.
locale: attached base packages: loaded via a namespace (and not attached): |
We've fixed this issue in RStudio 1.1.447. You can download it here: |
Don't know why. But seems it is simply very weak of this software.
And, if there is wrong when running, like a infinite loop. You click end process manually——Rstudio simlely crashes, and you have to stop the whole process with Windows Task Manager.
Why?
The text was updated successfully, but these errors were encountered: