bugKawa - Bugs: bug #8818, defmacro causes StackOverflow

 
 

bug #8818: defmacro causes StackOverflow

Submitted by:  Chris Dean <ctdean>
Submitted on:  Thu 06 May 2004 04:46:23 AM UTC  
 
Category: Scheme languageSeverity: 3 - Normal
Item Group: Compile-time exceptionStatus: Fixed
Privacy: PublicAssigned to: Per Bothner <bothner>
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 08 May 2004 10:02:53 PM UTC, comment #4:

I checked in to CVS the patch and the testcase.

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Thu 06 May 2004 07:37:30 AM UTC, comment #3:

The problem is related the order things done in a module.
The attached patch seems to fix it.

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Thu 06 May 2004 05:12:26 AM UTC, comment #2:

Thanks for the testcase - I've managed to reproduce the bug.
(By the way: the patch included a patch for the automake-generated Makefile.in, but not the actual source file Makefile.am.)

Per Bothner <bothner>
Project AdministratorIn charge of this item.
Thu 06 May 2004 04:57:55 AM UTC, comment #1:

That's a weird description for my patch file. I wonder how that happened? It should have been defmacro-stack.patch

Chris Dean <ctdean>
Thu 06 May 2004 04:46:23 AM UTC, original submission:

When compiling a module that uses a defmacro macro, Kawa gives a stack overflow error.

A patch to the tesuite is attached.

Chris Dean <ctdean>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #1290:  compmod.patch added by bothner (3KiB - application/octet-stream - preliminary patch)
file #1288:  defmacro-stack.patch added by ctdean (2KiB - application/octet-stream - DefineNamespace.java)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 5 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 08 May 2004 10:02:53 PM UTCbothnerStatusNone=>Fixed
  Assigned toNone=>bothner
  Open/ClosedOpen=>Closed
Thu 06 May 2004 07:37:30 AM UTCbothnerAttached File-=>Added compmod.patch, #1275
Thu 06 May 2004 04:46:23 AM UTCctdeanAttached File-=>Added defmacro-stack.patch, #1273

Back to the top


Powered by Savane 3.1-cleanup1