This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug remote/17397] i686-w64-mingw32 remote multiprocess debugging: thread.c:1002: internal-error: switch_to_thread: Assertion `inf != NULL' failed.


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

Pedro Alves <palves at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |palves at redhat dot com

--- Comment #4 from Pedro Alves <palves at redhat dot com> ---
I suspect this is fixed in more recent GDB.  Could you try mainline?

Also, can you debug GDB a little?  What was the ptid of the thread that
GDB was expecting to find in the thread list, but isn't there?  And why isn't
it there anymore?  The ptid is unfortunately not visible here (frame #6):

...
#4  0x00000000006336b9 in internal_verror (file=<optimized out>, 
    line=<optimized out>, fmt=<optimized out>, ap=ap@entry=0x7fff7cd84ac8)
    at utils.c:803
#5  0x0000000000633762 in internal_error (file=file@entry=0x771a62 "thread.c", 
    line=line@entry=1002, string=<optimized out>) at utils.c:813
#6  0x000000000056a6df in switch_to_thread (ptid=...) at thread.c:1002
#7  0x000000000056b607 in print_thread_info (uiout=0x2233590, 
    requested_threads=0x226f8e0 "1", pid=-1) at thread.c:928
#8  0x00000000004aa601 in mi_cmd_execute (parse=0x2228820)
    at ./mi/mi-main.c:2253
#9  captured_mi_execute_command (context=0x2228820, uiout=0x2233590)
    at ./mi/mi-main.c:1988
#10 mi_execute_command (cmd=0x22701c0 "23-thread-info 1", 
    from_tty=<optimized out>) at ./mi/mi-main.c:2116
...

Please get a backtrace with "set print frame-arguments all".

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]