public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/16769] New: Assertion `thread->last_status.kind != TARGET_WAITKIND_IGNORE' failed
@ 2014-03-28 19:57 joe.liccese at polycom dot com
  2014-07-18  4:23 ` [Bug gdb/16769] " egphilippov at gmail dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: joe.liccese at polycom dot com @ 2014-03-28 19:57 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 16769
           Summary: Assertion `thread->last_status.kind !=
                    TARGET_WAITKIND_IGNORE' failed
           Product: gdb
           Version: 7.7
            Status: NEW
          Severity: critical
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: joe.liccese at polycom dot com

Created attachment 7500
  --> https://sourceware.org/bugzilla/attachment.cgi?id=7500&action=edit
gdb 7.7 log

Attempting to run Eclipse Kepler Remote App Debug Launcher using gdb 7.7 and
gdbserver 7.7.

Running gdbserver on TI DM816x ARM A8:
  => gdbserver :10000 --attach 1011
  Attached; pid = 1011
  Listening on port 10000

Running Eclipse Kepler from Linux 2.6.32-220.el6.x86_64
GDB launches successfuly. Gdbserver reports:
  Remote debugging from host 10.223.1.45

GDB MI commands issued by Eclipse:
-environment-cd /home/jliccese/ws/robocop/src
-gdb-set breakpoint pending on
-gdb-set detach-on-fork on
-enable-pretty-printing
-gdb-set print object on
-gdb-set print sevenbit-strings on
-gdb-set host-charset UTF-8
-gdb-set target-charset US-ASCII
-gdb-set target-wide-charset UTF-32
-gdb-set target-async on
-gdb-set pagination off
-gdb-set non-stop on
-gdb-set auto-solib-add on
-gdb-set solib-search-path
/opt/netra-tools/arm_a8_codegen_android-14_plcm7/sysroot/usr/lib
-file-exec-and-symbols --thread-group i1 codec_engine

At this point all is well. The following target-select command is then issued:
  -target-select remote 10.223.73.34:10000
which causes gdbserver to print:
  gdb-7.7/gdb/gdbserver/server.c:2490: A problem internal to GDBserver has been
detected.
  queue_stop_reply_callback: Assertion `thread->last_status.kind !=
TARGET_WAITKIND_IGNORE' failed.
and gdbserver terminates.

I can debug successfully from Eclipse Kepler if I use GDB 7.3 and GDBSERVER
7.3.

gdbserver 7.7 was built with the following cross-compile build command:
  ../gdb-7.7/gdb/gdbserver/configure --host=arm-linux-androideabi
CFLAGS="-march=armv7-a -mfloat-abi=softfp -mfpu=neon"

gdb 7.7 was built with the build command:
  ../gdb-7.7/configure --target=arm-linux-androideabi

Both built without error.

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


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

* [Bug gdb/16769] Assertion `thread->last_status.kind != TARGET_WAITKIND_IGNORE' failed
  2014-03-28 19:57 [Bug gdb/16769] New: Assertion `thread->last_status.kind != TARGET_WAITKIND_IGNORE' failed joe.liccese at polycom dot com
@ 2014-07-18  4:23 ` egphilippov at gmail dot com
  2014-07-18  4:26 ` egphilippov at gmail dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: egphilippov at gmail dot com @ 2014-07-18  4:23 UTC (permalink / raw)
  To: gdb-prs

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

egphilippov at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egphilippov at gmail dot com

--- Comment #1 from egphilippov at gmail dot com ---
Same assertion fails with gdb 7.5.1:

# gdbserver --attach 0.0.0.0:10000 `pgrep java`
Attached; pid = 14351
Listening on port 10000
Remote debugging from host 127.0.0.1
server.c:2356: A problem internal to GDBserver has been detected.
queue_stop_reply_callback: Assertion `thread->last_status.kind !=
TARGET_WAITKIND_IGNORE' failed.
# gdbserver --version|head -n1
GNU gdbserver (GDB) 7.5.1
# gdb --version|head -n1
GNU gdb (GDB) 7.5.1

Eclipse version: eclipse-kepler-SR2-linux-gtk

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


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

* [Bug gdb/16769] Assertion `thread->last_status.kind != TARGET_WAITKIND_IGNORE' failed
  2014-03-28 19:57 [Bug gdb/16769] New: Assertion `thread->last_status.kind != TARGET_WAITKIND_IGNORE' failed joe.liccese at polycom dot com
  2014-07-18  4:23 ` [Bug gdb/16769] " egphilippov at gmail dot com
@ 2014-07-18  4:26 ` egphilippov at gmail dot com
  2014-07-18  4:31 ` egphilippov at gmail dot com
  2014-07-18  6:07 ` egphilippov at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: egphilippov at gmail dot com @ 2014-07-18  4:26 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from egphilippov at gmail dot com ---
Same assertion fails with gdb 7.8.50.20140715-cvs (weekly):

# gdbserver --attach 0.0.0.0:10000 `pgrep java`
Attached; pid = 14351
Listening on port 10000
Remote debugging from host 127.0.0.1
server.c:2691: A problem internal to GDBserver has been detected.
queue_stop_reply_callback: Assertion `thread->last_status.kind !=
TARGET_WAITKIND_IGNORE' failed.
# gdb --version|head -n1
GNU gdb (GDB) 7.8.50.20140715-cvs
# gdbserver --version|head -n1
GNU gdbserver (GDB) 7.8.50.20140715-cvs

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


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

* [Bug gdb/16769] Assertion `thread->last_status.kind != TARGET_WAITKIND_IGNORE' failed
  2014-03-28 19:57 [Bug gdb/16769] New: Assertion `thread->last_status.kind != TARGET_WAITKIND_IGNORE' failed joe.liccese at polycom dot com
  2014-07-18  4:23 ` [Bug gdb/16769] " egphilippov at gmail dot com
  2014-07-18  4:26 ` egphilippov at gmail dot com
@ 2014-07-18  4:31 ` egphilippov at gmail dot com
  2014-07-18  6:07 ` egphilippov at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: egphilippov at gmail dot com @ 2014-07-18  4:31 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from egphilippov at gmail dot com ---
My previous comments were done with:

# uname -a
Linux egp-ssd-ubuntu14-04 3.13.0-30-generic #55-Ubuntu SMP Fri Jul 4 21:43:42
UTC 2014 i686 i686 i686 GNU/Linux
# lsb_release -dc
Description:    Ubuntu 14.04 LTS
Codename:    trusty

Both of gdb versions were built with default parameters:

./configure && make && sudo make install

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


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

* [Bug gdb/16769] Assertion `thread->last_status.kind != TARGET_WAITKIND_IGNORE' failed
  2014-03-28 19:57 [Bug gdb/16769] New: Assertion `thread->last_status.kind != TARGET_WAITKIND_IGNORE' failed joe.liccese at polycom dot com
                   ` (2 preceding siblings ...)
  2014-07-18  4:31 ` egphilippov at gmail dot com
@ 2014-07-18  6:07 ` egphilippov at gmail dot com
  3 siblings, 0 replies; 5+ messages in thread
From: egphilippov at gmail dot com @ 2014-07-18  6:07 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #4 from egphilippov at gmail dot com ---
Since gdb 7.3 is not available anymore, I built gdb 7.3.1 with some tweaks to
source code, it works with the above Kepler without triggering this assertion.

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


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

end of thread, other threads:[~2014-07-18  6:07 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-03-28 19:57 [Bug gdb/16769] New: Assertion `thread->last_status.kind != TARGET_WAITKIND_IGNORE' failed joe.liccese at polycom dot com
2014-07-18  4:23 ` [Bug gdb/16769] " egphilippov at gmail dot com
2014-07-18  4:26 ` egphilippov at gmail dot com
2014-07-18  4:31 ` egphilippov at gmail dot com
2014-07-18  6:07 ` egphilippov at gmail 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).