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.

Bug 258292 - Gdb fails as during startup program exited with code 0xc0000135.
Summary: Gdb fails as during startup program exited with code 0xc0000135.
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Maria Tishkova
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-09 15:55 UTC by Alexander Pepin
Modified: 2018-10-12 19:51 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
gdb log (11.79 KB, text/plain)
2016-03-09 15:55 UTC, Alexander Pepin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Pepin 2016-03-09 15:55:55 UTC
Created attachment 158790 [details]
gdb log

Debugging Welcome sample fails on my Windows7 with msys64/mingw64.
Steps to reproduce:
- create local Welcome sample project using modern mingw64 tool collection on Windows 7
- build the project
- run the project using External terminal
- try to debug the project (Step into)
Result: Debugger fails, Debugger Error window appears.
Comment 1 Alexander Pepin 2016-03-09 16:04:18 UTC
C:\msys64\tmp>ldd C:/Users/apepin/SolStudioProjects/Welcome_1/dist/Debug/MinGW-Windows/welcome_1
        ntdll.dll => /c/windows/SYSTEM32/ntdll.dll (0x76ee0000)
        kernel32.dll => /c/windows/system32/kernel32.dll (0x76cc0000)
        KERNELBASE.dll => /c/windows/system32/KERNELBASE.dll (0x7fefcf70000)
        msvcrt.dll => /c/windows/system32/msvcrt.dll (0x7fefe770000)
Comment 2 Alexander Pepin 2016-03-09 16:04:42 UTC
Command line gdb works fine.
Comment 3 Maria Tishkova 2016-06-16 07:51:00 UTC
(In reply to Alexander Pepin from comment #2)
> Command line gdb works fine.

Sasha, command line gdb run from cygwin shell or from DOS shell works for you or both?
Comment 4 Alexander Pepin 2016-06-16 11:00:19 UTC
Masha, I used MSYS2 shell. Moreover I have two similar Win7 machines with the same versions of gdb (7.10) and on one of them gdb from IDE works fine and fails on the other one. I've just noticed that I have another gdb in path variable on the machine where gdb works, probably it could be the cause.
Comment 5 Maria Tishkova 2016-07-11 12:16:41 UTC
(In reply to Alexander Pepin from comment #4)
> Masha, I used MSYS2 shell. Moreover I have two similar Win7 machines with
> the same versions of gdb (7.10) and on one of them gdb from IDE works fine
> and fails on the other one. I've just noticed that I have another gdb in
> path variable on the machine where gdb works, probably it could be the cause.

Can you please check and remove this *another* gdb from the PATH.
BTW what is the version of this GDB ?
Comment 6 Alexander Pepin 2016-07-12 16:41:45 UTC
The issue is not reproducible in trunk any more.
Comment 7 skomisa 2018-10-12 19:51:38 UTC
Just to note that code 0xc0000135 will also occur when debugging on NetBeans 8.2 if MinGW\bin is not on the Windows PATH at all (as opposed to twice).