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.
Automatic remote gdb tests hangs, but this problem can be reproduced on local Solaris machine also. Scenario: - Create Welcome in /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxx/xxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxx/ folder - Run it ==> ok - Start debugger ==> debugger hangs In remote scenario minimal path contains ~100 symbols. For example: /export/hudson/home/.netbeans/remote/mac.x86-MacOSX-x86/Users/tester/base/testbase/tests/build Real paths more long.
look like gdb MI issue, if you run gdb --interpreter mi -file-exec-and-symbols /tmp/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxxxxxxxxxx/xxxxxxxxxx/xxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxx/xxxxxxxxxxxxxxx/xxxxxxxxxxxxxxxxxxxxx it hangs.
I've filed a bug on gdb: http://sourceware.org/bugzilla/show_bug.cgi?id=12229 we may try to workaround this by using console command instead of MI, it works fine.
this is a regression, in new infrastructure gdb works in a console and so it has limited command size
(In reply to comment #3) > this is a regression, in new infrastructure gdb works in a console and so it > has limited command size I don't really understand what you're saying. Is "works in a console" equivalent to "runs under pty"? If so, you don't need a pty for the gdb console. The Tap class simulates enough line buffering and other pty's stuff.
fixed in: http://hg.netbeans.org/cnd-main/rev/124f0db3556c disabled pty for gdb process
Integrated into 'main-golden', will be available in build *201011250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/124f0db3556c User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #192095 (On Solaris debugger hangs if full path to executable ~240 or more symbols) - do not use pty for gdb process
Integrated into 'main-silver', will be available in build *201704080002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/80a29371b8df User: Egor Ushakov <gorrus@netbeans.org> Log: fixed #192095 (On Solaris debugger hangs if full path to executable ~240 or more symbols) - do not use pty for gdb process