public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug cli/13110] New: Async / Finish internal error
@ 2011-08-19 10:01 kevin.pouget at gmail dot com
  2011-08-19 11:03 ` [Bug cli/13110] " kevin.pouget at gmail dot com
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: kevin.pouget at gmail dot com @ 2011-08-19 10:01 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13110

             Bug #: 13110
           Summary: Async / Finish internal error
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: cli
        AssignedTo: unassigned@sourceware.org
        ReportedBy: kevin.pouget@gmail.com
    Classification: Unclassified


$ sleep 20 &
[1] 6159

gdb-master -nx
GNU gdb (GDB) 7.3.50.20110817-cvs
(gdb) set target-async on
(gdb) attach 6159
Attaching to process 6159

(gdb) up
#1  0x0000000000403c58 in ?? ()
(gdb) finish&
Run till exit from #1  0x0000000000403c58 in ?? ()

(gdb) add-inferior 
Added inferior 2
(gdb) inferior 2
[Switching to inferior 2 [process 0] (<noexec>)]

(gdb) /gdb/thread.c:663: internal-error: is_executing: Assertion `tp' failed.

----------

and the corresponding backtrace:

(gdb) where
...
#10 0x00000000005623b3 in is_executing (ptid=...) at /gdb/thread.c:663
#11 0x0000000000559c95 in fetch_inferior_event (client_data=<optimized out>) at
/gdb/infrun.c:2750
#12 0x000000000056c539 in fetch_inferior_event_wrapper (client_data=<optimized
out>)
    at /gdb/inf-loop.c:150
#13 0x00000000005650db in catch_errors (func=0x56c530
<fetch_inferior_event_wrapper>, func_args=0x0, errstring=0x7002e9 "", 
    mask=6) at /gdb/exceptions.c:517
#14 0x000000000056c5a4 in inferior_event_handler (event_type=<optimized out>,
client_data=<optimized out>)
    at /gdb/inf-loop.c:53
#15 0x000000000056a2c8 in process_event () at /gdb/event-loop.c:402
#16 process_event () at /gdb/event-loop.c:352
#17 0x000000000056a9c4 in gdb_do_one_event () at /gdb/event-loop.c:454
...

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug cli/13110] Async / Finish internal error
  2011-08-19 10:01 [Bug cli/13110] New: Async / Finish internal error kevin.pouget at gmail dot com
@ 2011-08-19 11:03 ` kevin.pouget at gmail dot com
  2011-09-05 15:58 ` cvs-commit at gcc dot gnu.org
  2011-09-06 17:43 ` pedro at codesourcery dot com
  2 siblings, 0 replies; 4+ messages in thread
From: kevin.pouget at gmail dot com @ 2011-08-19 11:03 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13110

Kevin Pouget <kevin.pouget at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |kevin.pouget at gmail dot
                   |                            |com

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug cli/13110] Async / Finish internal error
  2011-08-19 10:01 [Bug cli/13110] New: Async / Finish internal error kevin.pouget at gmail dot com
  2011-08-19 11:03 ` [Bug cli/13110] " kevin.pouget at gmail dot com
@ 2011-09-05 15:58 ` cvs-commit at gcc dot gnu.org
  2011-09-06 17:43 ` pedro at codesourcery dot com
  2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2011-09-05 15:58 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13110

--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> 2011-09-05 15:46:39 UTC ---
CVSROOT:    /cvs/src
Module name:    src
Changes by:    palves@sourceware.org    2011-09-05 15:46:35

Modified files:
    gdb            : ChangeLog infrun.c 

Log message:
    2011-09-05  Pedro Alves  <pedro@codesourcery.com>

    PR cli/13110

    * infrun.c (fetch_inferior_event): Check if there's a selected
    thread before checking if the selected thread is executing.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/ChangeLog.diff?cvsroot=src&r1=1.13302&r2=1.13303
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/infrun.c.diff?cvsroot=src&r1=1.502&r2=1.503

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

* [Bug cli/13110] Async / Finish internal error
  2011-08-19 10:01 [Bug cli/13110] New: Async / Finish internal error kevin.pouget at gmail dot com
  2011-08-19 11:03 ` [Bug cli/13110] " kevin.pouget at gmail dot com
  2011-09-05 15:58 ` cvs-commit at gcc dot gnu.org
@ 2011-09-06 17:43 ` pedro at codesourcery dot com
  2 siblings, 0 replies; 4+ messages in thread
From: pedro at codesourcery dot com @ 2011-09-06 17:43 UTC (permalink / raw)
  To: gdb-prs

http://sourceware.org/bugzilla/show_bug.cgi?id=13110

Pedro Alves <pedro at codesourcery dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |pedro at codesourcery dot
                   |                            |com
         Resolution|                            |FIXED

--- Comment #2 from Pedro Alves <pedro at codesourcery dot com> 2011-09-05 15:58:10 UTC ---
Fixed.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-09-05 15:58 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-08-19 10:01 [Bug cli/13110] New: Async / Finish internal error kevin.pouget at gmail dot com
2011-08-19 11:03 ` [Bug cli/13110] " kevin.pouget at gmail dot com
2011-09-05 15:58 ` cvs-commit at gcc dot gnu.org
2011-09-06 17:43 ` pedro at codesourcery dot com

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).