public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug guile/17923] New: scheme exception about invalid object in a backtrace
@ 2015-02-04  6:34 mdaniels at lanl dot gov
  2015-02-06 12:24 ` [Bug guile/17923] " xdje42 at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: mdaniels at lanl dot gov @ 2015-02-04  6:34 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 17923
           Summary: scheme exception about invalid object in a backtrace
           Product: gdb
           Version: 7.8
            Status: NEW
          Severity: normal
          Priority: P2
         Component: guile
          Assignee: unassigned at sourceware dot org
          Reporter: mdaniels at lanl dot gov

I'm using the GDB/Guile interface and I find that gdbscm_frame_valid_p
throws exceptions about the frame object being invalid in the inferior.

It is the initial call to frscm_get_frame_smob_arg_unsafe throws a
scheme exception, not the one in the GDB try/catch.  

I've found a workaround is write instead:

  if (!(f_smob->inferior == NULL)) {

  }

I wasn't using the frame-valid? call until I start to have calls like
frame-name or frame-older fail in a similar way.  It happens a few
minutes into a run.  

I don't really understand why the inferior would go away to begin with.
This is in a breakpoint handler that is selectively taking info from
different frames.

Or could it be garbage collector related?  (Given that it is a Scheme
exception.)

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


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2015-02-11  6:46 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-02-04  6:34 [Bug guile/17923] New: scheme exception about invalid object in a backtrace mdaniels at lanl dot gov
2015-02-06 12:24 ` [Bug guile/17923] " xdje42 at gmail dot com
2015-02-06 15:28 ` mdaniels at lanl dot gov
2015-02-07  4:26 ` mdaniels at lanl dot gov
2015-02-07  4:31 ` dje at google dot com
2015-02-07 14:46 ` dje at google dot com
2015-02-08 22:02 ` mdaniels at lanl dot gov
2015-02-11 13:57 ` xdje42 at gmail dot com

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