This is the mail archive of the
gdb-prs@sources.redhat.com
mailing list for the GDB project.
Re: gdb/1227: Assertion failure on macosx native inferior handling
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: nobody at sources dot redhat dot com
- Cc: gdb-prs at sources dot redhat dot com,
- Date: 28 May 2003 16:48:00 -0000
- Subject: Re: gdb/1227: Assertion failure on macosx native inferior handling
- Reply-to: Daniel Jacobowitz <drow at mvista dot com>
The following reply was made to PR gdb/1227; it has been noted by GNATS.
From: Daniel Jacobowitz <drow@mvista.com>
To: jml@cubical.fi
Cc: gdb-gnats@sources.redhat.com
Subject: Re: gdb/1227: Assertion failure on macosx native inferior handling
Date: Wed, 28 May 2003 12:38:50 -0400
On Wed, May 28, 2003 at 04:18:05PM -0000, jml@cubical.fi wrote:
>
> >Number: 1227
> >Category: gdb
> >Synopsis: Assertion failure on macosx native inferior handling
> >Confidential: no
> >Severity: serious
> >Priority: medium
> >Responsible: unassigned
> >State: open
> >Class: sw-bug
> >Submitter-Id: net
> >Arrival-Date: Wed May 28 16:28:00 UTC 2003
> >Closed-Date:
> >Last-Modified:
> >Originator: Juha-Matti Liukkonen <jml@cubical.fi>
> >Release: GNU gdb 5.3-20021014 (Apple version gdb-250) (Sat Dec 7 02:14:27 GMT 2002), from Apple Dec 2002 DevTools
Sorry, but bugs in that version need to be reported to Apple instead.
> >Organization:
> >Environment:
> Darwin dhcp-63.koti2.net 6.6 Darwin Kernel Version 6.6: Thu May 1 21:48:54 PDT 2003; root:xnu/xnu-344.34.obj~1/RELEASE_PPC Power Macintosh powerpc
>
> This GDB was configured as "powerpc-apple-macos10".
>
> Hardware: Apple iBook, OS: Mac OS X 10.2.6, with latest patches applied, toolchain: Apple Dec 2002 Developers' CD.
>
> dhcp-63:~$ gcc -v
> Apple Computer, Inc. GCC version 1175, based on gcc version 3.1 20020420 (prerelease)
>
> Compiler flags used: -O -g, linked with Apple-provided OpenLDAP libldap.dylib.
> >Description:
> Assertion failure in macosx native inferior handling code:
>
> (gdb) cont
> Continuing.
>
> Breakpoint 2, get_config() () at pmgmt.cpp:711
> 711 rc = ldap_search_st(ldap, ldap_basedn,
> 1: *entry = {
> dn = 0xbffffd35 "<valid string here>",
> map = 0xc110
> }
> (gdb)
> Continuing.
> error while killing target (killing anyway): assertion failure on line 152 of "/SourceCache/gdb/gdb-250/src/gdb/macosx/macosx-nat-inferior-util.c" in function "macosx_inferior_check_stopped": (s->stopped_in_ptrace == 1) || (s->stopped_in_softexc == 1) || (s->suspend_count > 0)
>
> warning: error on line 1260 of "/SourceCache/gdb/gdb-250/src/gdb/macosx/macosx-nat-inferior.c" in function "macosx_kill_inferior_safe": (os/kern) failure (0x5x)
> >How-To-Repeat:
> See description. Code whose debugging generates the problem 100% reliably is unfortunately confidential. I was not able to reduce the bug-generation scenario to a simpler code fragment -- this is very simple plain C accessing LDAP, though.
> >Fix:
>
> >Release-Note:
> >Audit-Trail:
> >Unformatted:
>
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer