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.
Summary: | NB crashes on startup (msvcrt.dll) | ||
---|---|---|---|
Product: | platform | Reporter: | m_potociar <m_potociar> |
Component: | -- Other -- | Assignee: | Jan Chalupa <jchalupa> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | anebuzelsky, jchalupa, mmirilovic, pjiricka, pnejedly |
Priority: | P1 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Error screen shot
The crash log.. Fixed version of the NB 5.0 .exe launchers. Launcher patch for release55. New launcher binaries for release55. |
Description
m_potociar
2006-03-01 14:38:16 UTC
Created attachment 29066 [details]
Error screen shot
Looks like a problem with either the native launcher or JVM. Hard to diagnose from the screen shot. Are you running a 64bit windows? Created attachment 29100 [details]
The crash log..
*** Issue 73040 has been marked as a duplicate of this issue. *** Interestingly, the HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders\Desktop registry key value may be empty under some circumstances. The reporter and his co-workers can reproduce the problem reliably by plugging their laptops into docking stations. The problem seems to go away after a while without any user intervention. It must be some USERPROFILE handling magic on Windows. I read before HKCU\S\M\W\CV\E\SF\Desktop was considered unreliable, but I had no idea the registry value could change dynamically for no obvious reason. :-( I can make the algorithm more robust and check the USERPROFILE system property first. It's supposed to be a more reliable way to determine the user "home dir" on Windows. Supposedly fixed. Works fine for me on Win XP and also on the reporter's system. I can't test on all Windows flavors. If no problems are reported in the near future, the fix is a candidate for merging into release55. --------------------------------%<-------------------------------- /cvs/ide/launcher/windows/nb.exe,v <-- nb.exe new revision: 1.21; previous revision: 1.20 /cvs/ide/launcher/windows/netbeans.cpp,v <-- netbeans.cpp new revision: 1.22; previous revision: 1.21 /cvs/ide/launcher/windows/netbeans.exe,v <-- netbeans.exe new revision: 1.21; previous revision: 1.20 --------------------------------%<-------------------------------- Note: the code in the generic app.exe launcher in the harness is already slightly different and may not suffer from this bug. A workaround for NB 5.0 users: Modify the 'netbeans_default_userdir' property in the etc/netbeans.conf file to be a specific absolute path. In other words, remove the ${HOME} variable reference and replace it with a real path, e.g. C:\Documents and Settings\kaos\.netbeans\5.0 Created attachment 29161 [details]
Fixed version of the NB 5.0 .exe launchers.
The attached Windows launchers (fixed-nb50-launchers.zip) can be used to replace original launchers found in the stock NB 5.0 distribution. If someone has problems with the launcher crashing in NB 5.0, we can refer to this attachment. I don't know of any other way to deliver the patch to the users as the .exe launchers cannot be auto updated. Honza, please merge the fix to the NB 5.5 , thanks in advance. Created attachment 29566 [details]
Launcher patch for release55.
Created attachment 29567 [details]
New launcher binaries for release55.
Going to merge into release55. Source diff and new launcher binaries attached. Fixed in release55. /cvs/ide/launcher/windows/nb.exe,v <-- nb.exe new revision: 1.15.2.3.2.4; previous revision: 1.15.2.3.2.3 /cvs/ide/launcher/windows/netbeans.cpp,v <-- netbeans.cpp new revision: 1.17.2.2.2.4; previous revision: 1.17.2.2.2.3 /cvs/ide/launcher/windows/netbeans.exe,v <-- netbeans.exe new revision: 1.15.2.3.2.4; previous revision: 1.15.2.3.2.3 *** Issue 74663 has been marked as a duplicate of this issue. *** kaos, could you please verify the fix? http://www.netbeans.info/downloads/download.php?a=n&p=1 Select 5.5 / Daily / Windows .... Thanks in advance. Thanks. The fix works on my PC without a problem. |