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

 
 

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

Submitter:  Cedric Cellier <rixed>
Submitted:  Tue 21 Dec 2010 06:23:02 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 -email is 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-01-22 wingo StatusNone Fixed
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code