WARNING: This server is unstable and will be retired in the next days. If you want to keep this forum available, please request immediately a migration on the Nabble Support forum. Forums that don't receive any migration request will be deleted forever.

F17: failed assertion `!frame_id_inlined_p (frame_id)'

View: New views
1 Messages — Rating Filter:   Alert me  

F17: failed assertion `!frame_id_inlined_p (frame_id)'

by Jim Meyering :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

I compiled coreutils' src/id.c using F17's gcc
(gcc-4.7.0-4.fc17.x86_64 -- same result when using today's gcc snapshot)
with CFLAGS='-ggdb3 -O1', then ran this gdb on the binary:

    $ rpm -q gdb
    gdb-7.4.50.20120120-42.fc17.x86_64


    $ gdb src/id
    Reading symbols from /h/j/w/co/cu/src/id...done.
    (gdb) b main
    Breakpoint 1 at 0x401a00: file id.c, line 107.
    (gdb) r
    Starting program: /h/j/w/co/cu/src/id

    Breakpoint 1, main (argc=1, argv=0x7fffffffd9f8) at id.c:107
    107     {
    (gdb) watch context
    Hardware watchpoint 2: context
    (gdb) c
    Continuing.
    Hardware watchpoint 2: context

    Old value = (security_context_t) 0x0
    New value =
        (security_context_t) 0x6080a0 "unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023"
    selinux_raw_to_trans_context_internal (
        raw=0x6090b0 "unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023",
        transp=transp@entry=0x6075b0) at setrans_client.c:347
    347                     if (*transp) {
    (gdb) fin
    Run till exit from #0  selinux_raw_to_trans_context_internal (
        raw=0x6090b0 "unconfined_u:unconfined_r:unconfined_t:s0-s0:c0.c1023",
        transp=transp@entry=0x6075b0) at setrans_client.c:347
    getprocattrcon (context=context@entry=0x6075b0, pid=pid@entry=0,
        attr=attr@entry=0x3135e17293 "current") at procattr.c:84
    84                      freecon(rcontext);
    Value returned is $1 = 0
    (gdb) fin
    Run till exit from #0  getprocattrcon (context=context@entry=0x6075b0,
        pid=pid@entry=0, attr=attr@entry=0x3135e17293 "current") at procattr.c:84
    ../../gdb/breakpoint.c:7207: internal-error: set_momentary_breakpoint: Assertion `!frame_id_inlined_p (frame_id)' failed.
    A problem internal to GDB has been detected,
    further debugging may prove unreliable.

Here's id.i.xz:




I have a few 9-12MiB core files that gdb dropped when I told it I wanted one.

I'll be happy to help, if needed, but will be off-line for much of tomorrow.

_______________________________________________
bug-gdb mailing list
bug-gdb@...
https://lists.gnu.org/mailman/listinfo/bug-gdb

id.i.xz (72K) Download Attachment