unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* [bug #31941] [1-9-14] FAIL: test-scm-with-guile on MIPS
@ 2010-12-21  6:23 Cedric Cellier
  2010-12-21  7:43 ` Cedric Cellier
  0 siblings, 1 reply; 4+ messages in thread
From: Cedric Cellier @ 2010-12-21  6:23 UTC (permalink / raw)
  To: Cedric Cellier, bug-guile


URL:
  <http://savannah.gnu.org/bugs/?31941>

                 Summary: [1-9-14] FAIL: test-scm-with-guile on MIPS
                 Project: Guile
            Submitted by: rixed
            Submitted on: Tue 21 Dec 2010 07:23:02 AM CET
                Category: None
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any

    _______________________________________________________

Details:

Don't know if there is really something to care about, but one test fail :

guile: uncaught throw to stack-overflow: (#f Stack overflow #f #f)
FAIL: test-scm-with-guile
==================================
1 of 19 tests failed
Please report to bug-guile@gnu.org
==================================

Using gdb, it apears that the stack-overflow occurs when
calling scm_with_guile(entry_point) the last time before returning from
main().

This issue may already have been present in 1-9-13.





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31941>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




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

* [bug #31941] [1-9-14] FAIL: test-scm-with-guile on MIPS
  2010-12-21  6:23 [bug #31941] [1-9-14] FAIL: test-scm-with-guile on MIPS Cedric Cellier
@ 2010-12-21  7:43 ` Cedric Cellier
  2010-12-22  8:26   ` Cedric Cellier
  0 siblings, 1 reply; 4+ messages in thread
From: Cedric Cellier @ 2010-12-21  7:43 UTC (permalink / raw)
  To: Cedric Cellier, bug-guile


Follow-up Comment #1, bug #31941 (project guile):

Well, the same happens on amd64 as well.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31941>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




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

* [bug #31941] [1-9-14] FAIL: test-scm-with-guile on MIPS
  2010-12-21  7:43 ` Cedric Cellier
@ 2010-12-22  8:26   ` Cedric Cellier
  2011-01-22 18:55     ` Andy Wingo
  0 siblings, 1 reply; 4+ messages in thread
From: Cedric Cellier @ 2010-12-22  8:26 UTC (permalink / raw)
  To: Cedric Cellier, bug-guile


Follow-up Comment #2, bug #31941 (project guile):

The bug happens because SCM_STACK_OVERFLOW_P erroneously report
a stack overflow, because the base of the stack is not updated
when the thread reenter into guile mode as it's supposed to according the the
patch that's tested
(http://lists.gnu.org/archive/html/guile-devel/2008-11/msg00037.html).

This happens because this code is never executed since the top of
the stack is always NULL.

Grepping through the code, I can't find were the current thread stack top is
ever set.
Apparently all initialization of top is gone with this patch :
45f15cac1f7f36c24ad0734fe128483080272e5f

Making the aforementionned patch dead code.



    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31941>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




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

* [bug #31941] [1-9-14] FAIL: test-scm-with-guile on MIPS
  2010-12-22  8:26   ` Cedric Cellier
@ 2011-01-22 18:55     ` Andy Wingo
  0 siblings, 0 replies; 4+ messages in thread
From: Andy Wingo @ 2011-01-22 18:55 UTC (permalink / raw)
  To: Cedric Cellier, Andy Wingo, bug-guile


Update of bug #31941 (project guile):

                  Status:                    None => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #3:

I believe I have fixed this in Git.  Please reopen if this is still an issue
for you.

Thanks for the report,

Andy

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?31941>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




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

end of thread, other threads:[~2011-01-22 18:55 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-21  6:23 [bug #31941] [1-9-14] FAIL: test-scm-with-guile on MIPS Cedric Cellier
2010-12-21  7:43 ` Cedric Cellier
2010-12-22  8:26   ` Cedric Cellier
2011-01-22 18:55     ` Andy Wingo

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