Jürgen Keil wrote:
> 
> It seems that the new opensolaris branded zones feature
> (snv_49 or newer) breaks dbx, because dbx doesn't implement
> the new <proc_service.h> interface function ps_pbrandname():
> 
> % env LC_ALL=C /opt/SUNWspro/bin/dbx -V
> Sun Dbx Debugger 7.5 2005/10/13
> For information about new features see `help changes'
> To remove this message, put `dbxenv suppress_startup_message 7.5' in your 
> .dbxrc
> (dbx) debug /bin/date
> Reading date
> Reading ld.so.1
> 
> dbx: internal error: signal SIGSEGV (no mapping at the fault address)
> dbx's coredump will appear in /tmp
> Abbruch (core dumped)
[snip]
> 
> Is there going to be an updated dbx (patch?) available for use with current
> opensolaris release?

For the log: I filed CR 6516145 ("Please update OS/Net Sun Studio 11
tarball to include the fix for dbx") to get the Sun Studio 11 tarball
for OS/Net updated...

----

Bye,
Roland

-- 
  __ .  . __
 (o.\ \/ /.o) [EMAIL PROTECTED]
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)
--- Begin Message ---

*Synopsis*: Please update OS/Net Sun Studio 11 tarball to include the fix for 
dbx
http://bt2ws.central.sun.com/CrPrint?id=6516145


*Change Request ID*: 6516145

*Synopsis*: Please update OS/Net Sun Studio 11 tarball to include the fix for 
dbx

 Product: solaris
 Category: opensolaris
 Subcategory: triage-queue
 Type: Defect
Subtype: Status: 1-Dispatched Substatus: Priority: 2-High Introduced In Release: Introduced In Build: Responsible Manager: [EMAIL PROTECTED] Responsible Engineer: Initial Evaluator: [EMAIL PROTECTED]
 Keywords: opensolaris

=== *Description* ============================================================
Category
  consolidation
Sub-Category
  os-net-gate-tools
Description
  It would be nice to get the Sun Studio 11 tarball for OS/Net (see 
http://www.opensolaris.org/os/community/tools/sun_studio_tools/sun_studio_11_tools/) 
updated to include the fix for http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6477975 
- currently "dbx" is completely defunct (=dumps core, see below), making 
debugging of applications within OS/Net very difficult.
Frequency
  Always
Regression
  No
Steps to Reproduce
  1. Download "Sun Studio 11 for OS/Net"-tarball as described in 
http://www.opensolaris.org/os/community/tools/sun_studio_tools/sun_studio_11_tools/
2. Install it
3. Try to debug any application with "dbx" from the official OS/Net Sun Studio 
11 tarball.
Expected Result
  Working dbx.
Actual Result
"dbx" currently crashes with the following stack trace while debugging ANY application/process/etc (due a missing symbol): -- snip --
main(0x2, 0x8046ecc, 0x8046ed8)
0x80f6dd3(0x837e5c0, 0x8469e88, 0x8046e54)
targ_ppi_init(0x837e5c0, 0x8046e54)
0x81ffc88(0x837e5c0, 0x8046e54)
0x81ff9c4(0x837e5c0, 0x8046e54)
ProcMgr::start(0x837e5c0, 0x1, 0x0, 0x0)
0x81af4aa(0x85bb380)
0x81af2aa(0x85bb380)
RtldAgent::open(0x866ed20, 0x85a1ee0, 0x8468cbc)
rd_new(0x8468cbc)
rd_reset(0x85aea50)
_rd_reset32(0x85aea50, 0x85a1ee0, 0xd0c74170, 0xd0c74000, 0x0, 0x80468a8)
ps_pbrandname(0x8468cbc, 0x8046030, 0x400)
Pbrandname(0x8468cbc, 0x8046030, 0x400)
Pgetauxval(0x8468cbc, 0x7e3)
--- Signal SIGSEGV raised ---
__sighndlr(0xb, 0x8045f28, 0x8045d28, 0x80f6a08)
0x80f6bfb(0xb, 0x8045f28, 0x8045d28)
abort(0xd0e54720, 0xd0e54600, 0xd0e50000, 0x6e383169, 0x41640000, 0x8045878)
raise(0x6)
_thr_kill(0x1, 0x6)
__lwp_kill(0x1, 0x6)
-- snip --
Error Message(s)
  See above.
Submitter wants to work on bug
  No
Additional configuration information
  Current Sun Studio 11 tarball downloadable via 
http://javashoplm.sun.com/ECom/docs/Welcome.jsp?StoreId=8&#38;PartDetailId=SS11-OSOL-SEP06-SF-G-F&#38;TransactionId=try
 is "sunstudio11-ii-20060829-sol-sparc.tar.Z".

*** (#1 of 1): 2007-01-23 00:00:04 GMT+00:00 [EMAIL PROTECTED]
*** Last Edit: 2007-01-23 00:00:04 GMT+00:00 [EMAIL PROTECTED]


=== *Comments* ===============================================================

=== *Evaluation* =============================================================

=== *Suggested Fix* ==========================================================

=== *Workaround* =============================================================
See http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6477975 - however this does not 
work in cases where the environment needs to be cleaned for testing (e.g. common 
"bcheck" usage etc.).

*** (#1 of 1): 2007-01-23 00:00:05 GMT+00:00 [EMAIL PROTECTED]
*** Last Edit: 2007-01-23 00:00:05 GMT+00:00 [EMAIL PROTECTED]


=== *Justification* ==========================================================
Priority changed from [] to [2-High]
dbx always crashes (= no working source level debugger for OS/Net)
[EMAIL PROTECTED] 2007-01-23 00:00:03 GMT

*** (#1 of 1): 2007-01-23 00:00:03 GMT+00:00 [EMAIL PROTECTED]
*** Last Edit: 2007-01-23 00:00:03 GMT+00:00 [EMAIL PROTECTED]


=== *Additional Details* =====================================================
Targeted Release: Commit To Fix In Build: Fixed In Build: Integrated In Build: Verified In Build: See Also: 6477975 Duplicate of: Hooks: Hook1: Hook2: Hook3: Hook4: Hook5: Hook6: [EMAIL PROTECTED] Interest List: Program Management: Root Cause: Requires Security Coordination: false
 Fix Affects Documentation: No
 Fix Affects Localization: No
Reported by:
=== *History* ================================================================
       Date Submitted: 2007-01-23 00:00:03 GMT+00:00
       Submitted By: [EMAIL PROTECTED]

       Status Changed    Date Updated                  Updated By


=== *Solution* ===============================================================


=== *Service Request* ========================================================
       ID: 1-281146209
        Customer:
       Account Name: opensolaris.org bug logging
       Contact Role: D-Development
       Impact: Significant
       Functionality: Primary
       Severity: 2
Synopsis: Product Name: solaris
       Product Release: solaris_nevada
       Product Build: snv_51
       Operating System: solaris_nevada
       Hardware: generic
Reference Number: Sun Contact: [EMAIL PROTECTED]
       Customer Contact: gisburn
       Contact Type: E-External Customer
       Status: Open
       Source: BugTraq2
Reproducible: Submitted By: [EMAIL PROTECTED]
       Submitted Date: 2007-01-23 00:00:06 GMT+00:00
Description:

=== *Activity* ===============================================================


=== *Multiple Release (MR) Cluster* - 0 ======================================



=== *Escalations* ============================================================



--- End Message ---
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to