Please use the Apache issue tracking system for new NetBeans issues ( !!

Bug 166811

Summary: Gdb fails on Open Solaris when starts debugging C++ files
Product: cnd Reporter: Alexander Pepin <apepin>
Component: DebuggerAssignee: Susan Morgan <susanm>
Status: RESOLVED FIXED QA Contact: issues <>
Priority: P4 CC: susanm
Version: 6.x   
Target Milestone: 6.x   
Hardware: All   
OS: Solaris   
Issue Type: DEFECT Exception Report:

Description Alexander Pepin 2009-06-09 20:48:59 UTC
It's not a gdb-lite issue! It's rather for release notes.
It's impossible to debug C++ projects on Open Solaris (111b) as GDB itself fails due to segmentation fault. At the same
time C programs can be debugged successfully. So it looks like an issue with C++ specific libraries. Probably the
problem caused by some libraries provided by SunStudio express installed on that machine as GDB works fine on
OpenSolaris build 101b.
Comment 1 soldatov 2009-06-10 17:09:43 UTC
I have same problem. I will investigate this problem. Now I found
Comment 2 soldatov 2009-06-11 09:16:32 UTC
#2759 or CR 6520604 is other bug. I think we have such problems on OpenSolaris:
OpenSolaris 2008.11 - gdb doesn't work in 64-bit mode
OpenSolaris 2009.06 - gdb doesn't work in 32-bit and 64-bit modes

Also I want to underline, CR 6520604 (Cannot debug 64-bit applications on Solaris x64 with /usr/sfw/bin/gdb) is filed on
Solaris 10 in 2007-02-02
Comment 3 soldatov 2009-06-11 11:22:24 UTC
OpenSolaris 2009.06 contains two gcc compilers. If you installed gcc-432, then gdb 6.3 will fail on all c++ appications

delete these packages:
SUNWgcc432 (bug-8030)                         4.3.2-0.111     installed  ----
SUNWgccruntime432 (bug-8030)                  4.3.2-0.111     installed  ----
developer/gcc/gcc-432                         4.3.2-0.111     installed  ----
developer/gcc/gcc-dev-4                       0.5.11-0.111    installed  ----
developer/gcc/gcc-runtime-432                 4.3.2-0.111     installed  ----

install these packages:
SUNWgcc                                       3.4.3-0.111     installed  ----
SUNWgccruntime                                3.4.3-0.111     installed  ----
Comment 4 Alexander Pepin 2009-07-15 12:32:37 UTC
There is no sense to have this as P2 as we can do nothing with the native gcc/gdb problem
Comment 5 Leonid Lenyashin 2009-07-15 14:13:24 UTC
There is no sense in keeping it even as P4. We just need to document this issue and may be warn user about this issue.
Comment 6 Susan Morgan 2009-07-15 14:24:33 UTC
This issue and workaround is already in the release notes.
Comment 7 Susan Morgan 2009-09-15 16:06:54 UTC
Closing this, was documented in 6.7
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo