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/14119] New: F17: failed assertion `!frame_id_inlined_p(frame_id)'


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

             Bug #: 14119
           Summary: F17: failed assertion `!frame_id_inlined_p (frame_id)'
           Product: gdb
           Version: 7.4
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
        AssignedTo: unassigned@sourceware.org
        ReportedBy: jim@meyering.net
    Classification: Unclassified


Created attachment 6407
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6407
preprocessed source

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.

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