public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/29045] New: Connect to gdbserver failed glxinfo, assert failed at gdb/value.c
@ 2022-04-11 14:46 luoyonggang at gmail dot com
  2022-04-11 15:47 ` [Bug gdb/29045] " simon.marchi at polymtl dot ca
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: luoyonggang at gmail dot com @ 2022-04-11 14:46 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 29045
           Summary: Connect to gdbserver failed glxinfo, assert failed at
                    gdb/value.c
           Product: gdb
           Version: 12.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: luoyonggang at gmail dot com
  Target Milestone: ---

Loaded 'target:/lib/x86_64-linux-gnu/libgcc_s.so.1'. Symbols loaded.
Loaded 'target:/lib/x86_64-linux-gnu/libffi.so.8'. Symbols loaded.
Loaded 'target:/lib/x86_64-linux-gnu/libedit.so.2'. Symbols loaded.
Loaded 'target:/lib/x86_64-linux-gnu/libtinfo.so.6'. Symbols loaded.
Loaded 'target:/lib/x86_64-linux-gnu/libxml2.so.2'. Symbols loaded.
Loaded 'target:/lib/x86_64-linux-gnu/liblzma.so.5'. Symbols loaded.
Loaded 'target:/lib/x86_64-linux-gnu/libicuuc.so.67'. Symbols loaded.
Loaded 'target:/lib/x86_64-linux-gnu/libpthread.so.0'. Symbols loaded.
Loaded 'target:/lib/x86_64-linux-gnu/libicudata.so.67'. Symbols loaded.
Execute debugger commands using "-exec <command>", for example "-exec info
registers" will list registers in use (when GDB is the debugger)
/build/gdb-wIRHdd/gdb-12.0.90/gdb/value.c:1731: internal-error: value_copy:
Assertion `arg->contents != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n) [answered Y; input not from terminal]
/build/gdb-wIRHdd/gdb-12.0.90/gdb/value.c:1731: internal-error: value_copy:
Assertion `arg->contents != nullptr' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Create a core file of GDB? (y or n) [answered Y; input not from terminal]
ERROR: GDB exited unexpectedly with exit code 134 (0x86). Debugging will now
abort.
The program '/data/xemu-opengl/qemu/glxinfo' has exited with code -1
(0xffffffff).

-- 
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 gdb/29045] Connect to gdbserver failed glxinfo, assert failed at gdb/value.c
  2022-04-11 14:46 [Bug gdb/29045] New: Connect to gdbserver failed glxinfo, assert failed at gdb/value.c luoyonggang at gmail dot com
@ 2022-04-11 15:47 ` simon.marchi at polymtl dot ca
  2022-04-11 16:04 ` luoyonggang at gmail dot com
  2022-04-11 16:48 ` simon.marchi at polymtl dot ca
  2 siblings, 0 replies; 4+ messages in thread
From: simon.marchi at polymtl dot ca @ 2022-04-11 15:47 UTC (permalink / raw)
  To: gdb-prs

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

Simon Marchi <simon.marchi at polymtl dot ca> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |simon.marchi at polymtl dot ca

--- Comment #1 from Simon Marchi <simon.marchi at polymtl dot ca> ---
I believe this could be a dup of #28980, so fixed by

https://sourceware.org/git/?p=binutils-gdb.git;a=commit;h=439385561588f12c1df670aaa92af9babd98f2ac

Do you have this commit in your GDB build? If not, can you try with it?

-- 
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 gdb/29045] Connect to gdbserver failed glxinfo, assert failed at gdb/value.c
  2022-04-11 14:46 [Bug gdb/29045] New: Connect to gdbserver failed glxinfo, assert failed at gdb/value.c luoyonggang at gmail dot com
  2022-04-11 15:47 ` [Bug gdb/29045] " simon.marchi at polymtl dot ca
@ 2022-04-11 16:04 ` luoyonggang at gmail dot com
  2022-04-11 16:48 ` simon.marchi at polymtl dot ca
  2 siblings, 0 replies; 4+ messages in thread
From: luoyonggang at gmail dot com @ 2022-04-11 16:04 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #2 from Yonggang Luo <luoyonggang at gmail dot com> ---
(In reply to Simon Marchi from comment #1)
> I believe this could be a dup of #28980, so fixed by
> 
> https://sourceware.org/git/?p=binutils-gdb.git;a=commit;
> h=439385561588f12c1df670aaa92af9babd98f2ac
> 
> Do you have this commit in your GDB build? If not, can you try with it?

No, I am using stable ubuntu build of GDB, any place to downloading it for
ubuntu?
Or I may need build it by myself.

-- 
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 gdb/29045] Connect to gdbserver failed glxinfo, assert failed at gdb/value.c
  2022-04-11 14:46 [Bug gdb/29045] New: Connect to gdbserver failed glxinfo, assert failed at gdb/value.c luoyonggang at gmail dot com
  2022-04-11 15:47 ` [Bug gdb/29045] " simon.marchi at polymtl dot ca
  2022-04-11 16:04 ` luoyonggang at gmail dot com
@ 2022-04-11 16:48 ` simon.marchi at polymtl dot ca
  2 siblings, 0 replies; 4+ messages in thread
From: simon.marchi at polymtl dot ca @ 2022-04-11 16:48 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #3 from Simon Marchi <simon.marchi at polymtl dot ca> ---
>From your log ("gdb-12.0.90"), it seems like you are using a build that is a
preview release of GDB 12, not a stable release build.

If you want to build the latest version of the GDB 12 branch yourself, the
easiest way is to get the gdb-12-branch git branch:

https://sourceware.org/git/?p=binutils-gdb.git;a=shortlog;h=refs/heads/gdb-12-branch

-- 
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:[~2022-04-11 16:48 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-11 14:46 [Bug gdb/29045] New: Connect to gdbserver failed glxinfo, assert failed at gdb/value.c luoyonggang at gmail dot com
2022-04-11 15:47 ` [Bug gdb/29045] " simon.marchi at polymtl dot ca
2022-04-11 16:04 ` luoyonggang at gmail dot com
2022-04-11 16:48 ` simon.marchi at polymtl dot ca

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