bugGuile - Bugs: bug #31941, [1-9-14] FAIL: test-scm-with-guile...

 
 

bug #31941: [1-9-14] FAIL: test-scm-with-guile on MIPS

Submitted by:  Cedric Cellier <rixed>
Submitted on:  Tue 21 Dec 2010 06:23:02 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 22 Jan 2011 06:55:38 PM UTC, 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

Andy Wingo <wingo>
Project Administrator
Wed 22 Dec 2010 08:26:30 AM UTC, comment #2:

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.

Cedric Cellier <rixed>
Tue 21 Dec 2010 07:43:20 AM UTC, comment #1:

Well, the same happens on amd64 as well.

Cedric Cellier <rixed>
Tue 21 Dec 2010 06:23:02 AM UTC, original submission:

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 -unavailable-
==================================

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.

Cedric Cellier <rixed>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by wingo (Posted a comment)
  • -unavailable- added by rixed (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 22 Jan 2011 06:55:38 PM UTCwingoStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1