public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
From: "jerome.gardou at reactos dot org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug remote/17397] New: i686-w64-mingw32 remote multiprocess debugging: thread.c:1002: internal-error: switch_to_thread: Assertion `inf != NULL' failed.
Date: Tue, 16 Sep 2014 13:13:00 -0000	[thread overview]
Message-ID: <bug-17397-4717@http.sourceware.org/bugzilla/> (raw)

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset="UTF-8", Size: 4005 bytes --]

https://sourceware.org/bugzilla/show_bug.cgi?id=17397

            Bug ID: 17397
           Summary: i686-w64-mingw32 remote multiprocess debugging:
                    thread.c:1002: internal-error: switch_to_thread:
                    Assertion `inf != NULL' failed.
           Product: gdb
           Version: 7.8
            Status: NEW
          Severity: normal
          Priority: P2
         Component: remote
          Assignee: unassigned at sourceware dot org
          Reporter: jerome.gardou at reactos dot org

Created attachment 7788
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7788&action=edit
Relevant GDB log.

Hello,

I am developing an homebrew gdb stub for ReactOS. Code can be found here:
http://git.reactos.org/?p=reactos.git;a=tree;f=reactos/drivers/base/kdgdb

As this is a kernel debugger, it is per se a multiprocess environment, and
advertised as such at connection time with GDB.

info thread triggers the following assert:
thread.c:1002: internal-error: switch_to_thread: Assertion `inf != NULL'
failed.

Attached is the relevant log with "debug remote" set to 1 and the core dump at
the time the failed assertion is raised.

To reduce noise, I didn't load any symbol files when producing the log.
(results are similar with them).

GDB 7.8 was compiled from source with ./configure --target=i686-w64-mingw32
--with-expat

I am ready and willing to give further details on this issue, as it hinders
further use of GDB in this environment.

Best regards
Jérôme

-- 
You are receiving this mail because:
You are on the CC list for the bug.
>From gdb-prs-return-16619-listarch-gdb-prs=sources.redhat.com@sourceware.org Tue Sep 16 13:14:51 2014
Return-Path: <gdb-prs-return-16619-listarch-gdb-prs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-gdb-prs@sources.redhat.com
Received: (qmail 29887 invoked by alias); 16 Sep 2014 13:14:51 -0000
Mailing-List: contact gdb-prs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <gdb-prs.sourceware.org>
List-Subscribe: <mailto:gdb-prs-subscribe@sourceware.org>
List-Archive: <http://sourceware.org/ml/gdb-prs/>
List-Post: <mailto:gdb-prs@sourceware.org>
List-Help: <mailto:gdb-prs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: gdb-prs-owner@sourceware.org
Delivered-To: mailing list gdb-prs@sourceware.org
Received: (qmail 29865 invoked by uid 48); 16 Sep 2014 13:14:50 -0000
From: "jerome.gardou at reactos dot org" <sourceware-bugzilla@sourceware.org>
To: gdb-prs@sourceware.org
Subject: [Bug remote/17397] i686-w64-mingw32 remote multiprocess debugging:
 thread.c:1002: internal-error: switch_to_thread: Assertion `inf != NULL'
 failed.
Date: Tue, 16 Sep 2014 13:14:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: changed
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: gdb
X-Bugzilla-Component: remote
X-Bugzilla-Version: 7.8
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: jerome.gardou at reactos dot org
X-Bugzilla-Status: NEW
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: attachments.created
Message-ID: <bug-17397-4717-x2LVnCpLQC@http.sourceware.org/bugzilla/>
In-Reply-To: <bug-17397-4717@http.sourceware.org/bugzilla/>
References: <bug-17397-4717@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2014-q3/txt/msg00608.txt.bz2
Content-length: 324

https://sourceware.org/bugzilla/show_bug.cgi?id\x17397

--- Comment #1 from jerome.gardou at reactos dot org ---
Created attachment 7789
  --> https://sourceware.org/bugzilla/attachment.cgi?idw89&actioníit
Core dump at the time of the crash.

--
You are receiving this mail because:
You are on the CC list for the bug.


             reply	other threads:[~2014-09-16 13:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-09-16 13:13 jerome.gardou at reactos dot org [this message]
2015-02-26 19:44 ` [Bug remote/17397] " jerome.gardou at reactos dot org
2015-02-27 10:08 ` jerome.gardou at reactos dot org
2015-02-27 11:45 ` palves at redhat dot com
2015-02-27 12:01 ` jerome.gardou at reactos dot org
2015-02-27 12:03 ` jerome.gardou at reactos dot org
2015-02-27 14:02 ` jerome.gardou at reactos dot org
2015-02-27 16:48 ` jerome.gardou at reactos dot org
2015-03-19 11:26 ` palves at redhat dot com
2015-04-04 14:59 ` jerome.gardou at reactos dot org
2015-04-07  8:35 ` palves at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-17397-4717@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=gdb-prs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).