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.
When you have simple console application, run without parameters, and if you add to debugger variable like strlen(argv[5]) (your argc == 1) - Segmentation fault
IMHO this can be expected. It's impossible to find in advance if the evaluated expression will crash your program or not.
Yesterday I spend about 2 hours for figuring out what's wrong with the simple program - my example is my simplified situation. In my specific case this value exist until some time and after this period I don't worry about this evaluation - I still need this expression for future. And I have error on line like if (_pointer == NULL) It's not expected. IMHO.
I've just tried your scenario in GDB (w/o NetBeans). If you try evaluating an incorrect expression it behaves the same way. There is an option to make GDB return the previous state in case it receives a signal. Type "set unwindonsignal on" in the Debugger console after starting a debugging session.