[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [cdt-dev] Eclipse crashes on new C++ project creation

I have no explanation why the wcsncpy function would fail. This function is only called to create the environment block argument for CreateProcess. The code looks correct and it has not changed for years.
 
FWIW, could you try and replace the spawner.dll of the installation with the version attached to https://bugs.eclipse.org/bugs/show_bug.cgi?id=269223.
The path to the spawner.dll is
ECLIPSE_HOME/plugins/org.eclipse.cdt.core.win32_5.0.0.200903161435/os/win32/x86
If this does not help, please file a bug.
Regards,
Toni


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Pavan V Ananth
Sent: Thursday, April 02, 2009 11:02 AM
To: cdt-dev@xxxxxxxxxxx
Subject: RE: [cdt-dev] Eclipse crashes on new C++ project creation


org.eclipse.cdt.core_5.1.0.200903161435.jar

regards,
Pavan


From: "Leherbauer, Anton (Toni)" <Anton.Leherbauer@xxxxxxxxxxxxx>
To: "CDT General developers list." <cdt-dev@xxxxxxxxxxx>
Date: 02/04/09 01:16 PM
Subject: RE: [cdt-dev] Eclipse crashes on new C++ project creation





Which exact version of CDT (with timestamp) are you using?
 
Thanks,
Toni


From: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] On Behalf Of Pavan V Ananth
Sent:
Thursday, April 02, 2009 9:20 AM
To:
cdt-dev@xxxxxxxxxxx
Subject:
[cdt-dev] Eclipse crashes on new C++ project creation



Here's the JVM dump after the crash (am using CDT 5.1.0). Any suggestions as to why this may be happening? Thx in advance.




An extract from the logs -


1XMTHDINFO     All Thread Details

NULL           ------------------

NULL          
2XMFULLTHDDUMP Full thread dump J9 VM (J2RE 6.0 IBM J9 2.4 Windows XP x86-32 build jvmwi3260-20090215_2988320090215_029883_lHdSMr, native threads):

3XMTHREADINFO      "main" TID:0x0017D100, j9thread_t:0x000154BC, state:CW, prio=6

3XMTHREADINFO1            (native thread ID:0xE64, native priority:0x6, native policy:UNKNOWN)

4XESTACKTRACE          at java/lang/Object.wait(Native Method)

4XESTACKTRACE          at java/lang/Object.wait(Bytecode PC:3)

4XESTACKTRACE          at org/eclipse/cdt/utils/spawner/Spawner.exec(Bytecode PC:64)

4XESTACKTRACE          at org/eclipse/cdt/utils/spawner/Spawner.<init>(Bytecode PC:62)

4XESTACKTRACE          at org/eclipse/cdt/utils/spawner/ProcessFactory.exec(Bytecode PC:14)

4XESTACKTRACE          at org/eclipse/cdt/core/CommandLauncher.execute(Bytecode PC:43)

4XESTACKTRACE          at org/eclipse/cdt/make/internal/core/scannerconfig2/DefaultRunSIProvider.invokeProvider(Bytecode PC:310)

4XESTACKTRACE          at org/eclipse/cdt/build/internal/core/scannerconfig/jobs/CfgSCJobsUtil$1.run(Bytecode PC:37)

4XESTACKTRACE          at org/eclipse/core/runtime/SafeRunner.run(Bytecode PC:7(Compiled Code))

4XESTACKTRACE          at org/eclipse/core/runtime/Platform.run(Bytecode PC:1)

4XESTACKTRACE          at org/eclipse/cdt/build/internal/core/scannerconfig/jobs/CfgSCJobsUtil.getProviderScannerInfo(Bytecode PC:116)

4XESTACKTRACE          at org/eclipse/cdt/build/core/scannerconfig/ScannerConfigBuilder.build(Bytecode PC:155)

4XESTACKTRACE          at org/eclipse/cdt/build/internal/core/scannerconfig/CfgDiscoveredPathManager.loadPathInfo(Bytecode PC:93)

4XESTACKTRACE          at org/eclipse/cdt/build/internal/core/scannerconfig/CfgDiscoveredPathManager.getDiscoveredInfo(Bytecode PC:42)

4XESTACKTRACE          at org/eclipse/cdt/managedbuilder/internal/dataprovider/ProfileInfoProvider.getEntryValues(Bytecode PC:75)

4XESTACKTRACE          at org/eclipse/cdt/managedbuilder/internal/dataprovider/BuildEntryStorage.getDiscoveredEntries(Bytecode PC:12)

4XESTACKTRACE          at org/eclipse/cdt/managedbuilder/internal/dataprovider/BuildEntryStorage.putEntriesToLevel(Bytecode PC:134)

4XESTACKTRACE          at org/eclipse/cdt/core/settings/model/util/AbstractEntryStorage.initCache(Bytecode PC:20)

4XESTACKTRACE          at org/eclipse/cdt/core/settings/model/util/AbstractEntryStorage.getEntries(Bytecode PC:1)

4XESTACKTRACE          at org/eclipse/cdt/managedbuilder/internal/dataprovider/BuildLanguageData.getEntries(Bytecode PC:130)

4XESTACKTRACE          at org/eclipse/cdt/core/settings/model/extension/impl/CDefaultLanguageData.getEntriesToCopy(Bytecode PC:2)

4XESTACKTRACE          at org/eclipse/cdt/core/settings/model/extension/impl/CDefaultLanguageData.createStore(Bytecode PC:21)

4XESTACKTRACE          at org/eclipse/cdt/core/settings/model/extension/impl/CDefaultLanguageData.copySettingsFrom(Bytecode PC:43)

4XESTACKTRACE          at org/eclipse/cdt/internal/core/settings/model/CLanguageSettingCache.copySettingsFrom(Bytecode PC:2)

4XESTACKTRACE          at org/eclipse/cdt/internal/core/settings/model/CLanguageSettingCache.<init>(Bytecode PC:24)

4XESTACKTRACE          at org/eclipse/cdt/internal/core/settings/model/CFolderDescriptionCache.copyLanguageData(Bytecode PC:6)

4XESTACKTRACE          at org/eclipse/cdt/core/settings/model/extension/impl/CDefaultFolderData.copyDataFrom(Bytecode PC:25)

4XESTACKTRACE          at org/eclipse/cdt/internal/core/settings/model/CFolderDescriptionCache.<init>(Bytecode PC:30)

4XESTACKTRACE          at org/eclipse/cdt/internal/core/settings/model/CConfigurationDescriptionCache.copyFolderData(Bytecode PC:6)

4XESTACKTRACE          at org/eclipse/cdt/core/settings/model/extension/impl/CDefaultConfigurationData.copySettingsFrom(Bytecode PC:82)

4XESTACKTRACE          at org/eclipse/cdt/internal/core/settings/model/CConfigurationDescriptionCache.applyData(Bytecode PC:84)

4XESTACKTRACE          at org/eclipse/cdt/internal/core/settings/model/CProjectDescription.applyDatas(Bytecode PC:59)

4XESTACKTRACE          at org/eclipse/cdt/internal/core/settings/model/SetCProjectDescriptionOperation.executeOperation(Bytecode PC:252)

4XESTACKTRACE          at org/eclipse/cdt/internal/core/model/CModelOperation.execute(Bytecode PC:15)

4XESTACKTRACE          at org/eclipse/cdt/internal/core/model/CModelOperation.run(Bytecode PC:25)

4XESTACKTRACE          at org/eclipse/core/internal/resources/Workspace.run(Bytecode PC:82)

4XESTACKTRACE          at org/eclipse/cdt/internal/core/model/CModelOperation.runOperation(Bytecode PC:61)

4XESTACKTRACE          at org/eclipse/cdt/internal/core/settings/model/AbstractCProjectDescriptionStorage.setProjectDescription(Bytecode PC:115)

4XESTACKTRACE          at org/eclipse/cdt/internal/core/settings/model/CProjectDescriptionStorageManager.setProjectDescription(Bytecode PC:53)

4XESTACKTRACE          at org/eclipse/cdt/internal/core/settings/model/CProjectDescriptionManager.setProjectDescription(Bytecode PC:178)

4XESTACKTRACE          at org/eclipse/cdt/internal/core/settings/model/CProjectDescriptionManager.setProjectDescription(Bytecode PC:18)

4XESTACKTRACE          at org/eclipse/cdt/internal/core/settings/model/CProjectDescriptionManager.setProjectDescription(Bytecode PC:5)

4XESTACKTRACE          at org/eclipse/cdt/managedbuilder/ui/wizards/STDWizardHandler.createProject(Bytecode PC:350)

4XESTACKTRACE          at org/eclipse/cdt/ui/wizards/CDTCommonProjectWizard$1$1$1.run(Bytecode PC:163)

4XESTACKTRACE          at org/eclipse/ui/actions/WorkspaceModifyDelegatingOperation.execute(Bytecode PC:7)

4XESTACKTRACE          at org/eclipse/ui/actions/WorkspaceModifyOperation$1.run(Bytecode PC:5)

4XESTACKTRACE          at org/eclipse/core/internal/resources/Workspace.run(Bytecode PC:82)

4XESTACKTRACE          at org/eclipse/ui/actions/WorkspaceModifyOperation.run(Bytecode PC:27)

4XESTACKTRACE          at org/eclipse/jface/operation/ModalContext.runInCurrentThread(Bytecode PC:8)

4XESTACKTRACE          at org/eclipse/jface/operation/ModalContext.run(Bytecode PC:48)

4XESTACKTRACE          at org/eclipse/jface/wizard/WizardDialog.run(Bytecode PC:63)

4XESTACKTRACE          at org/eclipse/cdt/ui/wizards/CDTCommonProjectWizard$1$1.run(Bytecode PC:39)

4XESTACKTRACE          at org/eclipse/ui/internal/UILockListener.doPendingWork(Bytecode PC:29)

4XESTACKTRACE          at org/eclipse/ui/internal/UISynchronizer$3.run(Bytecode PC:7)

4XESTACKTRACE          at org/eclipse/swt/widgets/RunnableLock.run(Bytecode PC:13(Compiled Code))

4XESTACKTRACE          at org/eclipse/swt/widgets/Synchronizer.runAsyncMessages(Bytecode PC:13(Compiled Code))

4XESTACKTRACE          at org/eclipse/swt/widgets/Display.runAsyncMessages(Bytecode PC:5(Compiled Code))

4XESTACKTRACE          at org/eclipse/swt/widgets/Display.readAndDispatch(Bytecode PC:5(Compiled Code))

4XESTACKTRACE          at org/eclipse/jface/operation/ModalContext$ModalContextThread.block(Bytecode PC:19)

4XESTACKTRACE          at org/eclipse/jface/operation/ModalContext.run(Bytecode PC:131)

4XESTACKTRACE          at org/eclipse/jface/wizard/WizardDialog.run(Bytecode PC:63)

4XESTACKTRACE          at org/eclipse/cdt/ui/wizards/CDTCommonProjectWizard.invokeRunnable(Bytecode PC:18)

4XESTACKTRACE          at org/eclipse/cdt/ui/wizards/CDTCommonProjectWizard.getProject(Bytecode PC:218)

4XESTACKTRACE          at org/eclipse/cdt/ui/wizards/CDTCommonProjectWizard.performFinish(Bytecode PC:29)

4XESTACKTRACE          at org/eclipse/jface/wizard/WizardDialog.finishPressed(Bytecode PC:6)

4XESTACKTRACE          at org/eclipse/jface/wizard/WizardDialog.buttonPressed(Bytecode PC:54)

4XESTACKTRACE          at org/eclipse/jface/dialogs/Dialog$2.widgetSelected(Bytecode PC:17)

4XESTACKTRACE          at org/eclipse/swt/widgets/TypedListener.handleEvent(Bytecode PC:1005)

4XESTACKTRACE          at org/eclipse/swt/widgets/EventTable.sendEvent(Bytecode PC:216(Compiled Code))

4XESTACKTRACE          at org/eclipse/swt/widgets/Widget.sendEvent(Bytecode PC:25(Compiled Code))

4XESTACKTRACE          at org/eclipse/swt/widgets/Display.runDeferredEvents(Bytecode PC:92(Compiled Code))

4XESTACKTRACE          at org/eclipse/swt/widgets/Display.readAndDispatch(Bytecode PC:59(Compiled Code))

4XESTACKTRACE          at org/eclipse/jface/window/Window.runEventLoop(Bytecode PC:23)

4XESTACKTRACE          at org/eclipse/jface/window/Window.open(Bytecode PC:49)

4XESTACKTRACE          at org/eclipse/ui/actions/NewProjectAction.run(Bytecode PC:169)

4XESTACKTRACE          at org/eclipse/jface/action/Action.runWithEvent(Bytecode PC:1)

4XESTACKTRACE          at org/eclipse/jface/action/ActionContributionItem.handleWidgetSelection(Bytecode PC:356)

4XESTACKTRACE          at org/eclipse/jface/action/ActionContributionItem.access$2(Bytecode PC:3)

4XESTACKTRACE          at org/eclipse/jface/action/ActionContributionItem$5.handleEvent(Bytecode PC:60)

4XESTACKTRACE          at org/eclipse/swt/widgets/EventTable.sendEvent(Bytecode PC:216(Compiled Code))

4XESTACKTRACE          at org/eclipse/swt/widgets/Widget.sendEvent(Bytecode PC:25(Compiled Code))

4XESTACKTRACE          at org/eclipse/swt/widgets/Display.runDeferredEvents(Bytecode PC:92(Compiled Code))

4XESTACKTRACE          at org/eclipse/swt/widgets/Display.readAndDispatch(Bytecode PC:59(Compiled Code))

4XESTACKTRACE          at org/eclipse/ui/internal/Workbench.runEventLoop(Bytecode PC:9)

4XESTACKTRACE          at org/eclipse/ui/internal/Workbench.runUI(Bytecode PC:393)

4XESTACKTRACE          at org/eclipse/ui/internal/Workbench.access$4(Bytecode PC:1)

4XESTACKTRACE          at org/eclipse/ui/internal/Workbench$5.run(Bytecode PC:55)

4XESTACKTRACE          at org/eclipse/core/databinding/observable/Realm.runWithDefault(Bytecode PC:14)

4XESTACKTRACE          at org/eclipse/ui/internal/Workbench.createAndRunWorkbench(Bytecode PC:18)

4XESTACKTRACE          at org/eclipse/ui/PlatformUI.createAndRunWorkbench(Bytecode PC:2)

4XESTACKTRACE          at org/eclipse/ui/internal/ide/application/IDEApplication.start(Bytecode PC:84)

4XESTACKTRACE          at org/eclipse/equinox/internal/app/EclipseAppHandle.run(Bytecode PC:137)

4XESTACKTRACE          at org/eclipse/core/runtime/internal/adaptor/EclipseAppLauncher.runApplication(Bytecode PC:105)

4XESTACKTRACE          at org/eclipse/core/runtime/internal/adaptor/EclipseAppLauncher.start(Bytecode PC:29)

4XESTACKTRACE          at org/eclipse/core/runtime/adaptor/EclipseStarter.run(Bytecode PC:149)

4XESTACKTRACE          at org/eclipse/core/runtime/adaptor/EclipseStarter.run(Bytecode PC:183)

4XESTACKTRACE          at sun/reflect/NativeMethodAccessorImpl.invoke0(Native Method)

4XESTACKTRACE          at sun/reflect/NativeMethodAccessorImpl.invoke(Bytecode PC:77)

4XESTACKTRACE          at sun/reflect/DelegatingMethodAccessorImpl.invoke(Bytecode PC:6)

4XESTACKTRACE          at java/lang/reflect/Method.invoke(Bytecode PC:163)

4XESTACKTRACE          at org/eclipse/equinox/launcher/Main.invokeFramework(Bytecode PC:211)

4XESTACKTRACE          at org/eclipse/equinox/launcher/Main.basicRun(Bytecode PC:114)

4XESTACKTRACE          at org/eclipse/equinox/launcher/Main.run(Bytecode PC:4)

4XESTACKTRACE          at org/eclipse/equinox/launcher/Main.main(Bytecode PC:10)
_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev