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 gdb/13054] internal-error: handle_inferior_event: Assertion`inf' failed


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

--- Comment #4 from Pedro Alves <pedro at codesourcery dot com> 2011-08-04 16:08:20 UTC ---
Thanks.

> infrun: prepare_to_wait
> infrun: target_wait (-1, status) =
> infrun:   -1 [process -1],
> infrun:   status->kind = spurious
>  ../../gdb/infrun.c:3036: internal-error: handle_inferior_event: Assertion `inf' failed.
> A problem internal to GDB has been detected,

I think there's another bug report about this one. 
Ah yes, see PR12203 and PR11692.  Is your program changing a thread's affinity
or scheduling?

> Please give me a hint how to do a gdb backtrace.

Just run gdb on itself :-)  

$ gdb --args /path/to/gdb/that/crashes/bin/gdb myprogram -my_foo_options...

Run the innermost gdb until it crashes.  The outermost gdb will catch the
SIGSEGV, at which point you do `bt' as usual.

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


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