[nem-bug] [Nemerle 0000613]: Ncc crushes during the compilation
process
feedback at nemerle.org
feedback at nemerle.org
Wed May 3 18:25:12 CEST 2006
The following issue has been RESOLVED.
======================================================================
<http://nemerle.org/bugs/view.php?id=613>
======================================================================
Reported By: srg
Assigned To: nazgul
======================================================================
Project: Nemerle
Issue ID: 613
Category: Compiler
Reproducibility: always
Severity: crash
Priority: normal
Status: resolved
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 02-06-2006 20:34 CET
Last Modified: 05-03-2006 18:25 CEST
======================================================================
Summary: Ncc crushes during the compilation process
Description:
If you speak Russian let me known ;)
I installed nemerle-0.9.2.msi on my OS ( W2k with SP4 ).
After i try to compile simple program ( like "Hello World" ) the ncc
crached with message dialog (you can see this dialog in the attached
file).
PS My English is not very well ;)
======================================================================
----------------------------------------------------------------------
nazgul - 02-06-06 21:03
----------------------------------------------------------------------
Can you try to compile a program under console (cmd.exe, or preferably
cygwin) and paste its output?
We need to have some more detailed description of what happened, like
stack trace etc.
----------------------------------------------------------------------
srg - 02-07-06 08:05
----------------------------------------------------------------------
NCC crushes without producing any output. There are no more messages, only
PostMortalDialog.
I have intalled MS Visual Studio 2005 PDC, but after i uninstall them, and
install .Net 2.0, MSXML 6 - nothing changed.
----------------------------------------------------------------------
malekith - 02-07-06 10:29
----------------------------------------------------------------------
You can try submitting this issue for Microsoft, maybe they will be able to
help. This seems like an assert in the MS runtime...
----------------------------------------------------------------------
pl - 03-06-06 21:02
----------------------------------------------------------------------
I have similar error:
no matter what I am trying to compile, I always get
"System.OutOfMemoryException".
Only ncc gives me that bug.
I use nemerle-0.9.2.msi from nemerle.org
OS: Windows NT 5.0.2195 Server SP4 PL
CPU: Celeron (Tualatin) 1.1 GHz, no overclocking
RAM: 512 MB SDRAM (checked for errors :))
.NET 2.0.50727 Framework + SDK
MS Visual C# & Visual Basic, both 2005 Express
SharpDevelop 2.0 build 1135
code (from Nemerle docs):
class Greeter {
public static Main () : void
{
def name = System.Console.ReadLine ();
System.Console.WriteLine ("Hello " + name);
}
}
----------------------------------------------------------------------
fireworker - 04-02-06 11:06
----------------------------------------------------------------------
I have same error (OutOfMemoryException) then compiling anything with ncc.
I have reproduced this on several machines with Win2000 and WinXP.
Compiling with
ncc -stack-size:15 hello.n
works well, but both
ncc hello.n
and
ncc -stack-size:16 hello.n
crashes ncc.
I replaced that line in ncc/main.n:
stack_kilos = 16 * 1024 (line 62)
by
stack_kilos = 15 * 1024
and this also made ncc work.
Running ncc under debuger shows that exception goes from Thread
constructor:
def thread = System.Threading.Thread (main_with_catching, stack_kilos *
1024);
(ncc/main.n, line 63)
----------------------------------------------------------------------
nazgul - 04-03-06 19:01
----------------------------------------------------------------------
I tweaked the default stack size. Could you try binaries from
http://nemerle.org/svn/nemerle/trunk/boot/
?
----------------------------------------------------------------------
nazgul - 05-03-06 18:25
----------------------------------------------------------------------
As it works for me after the fix, I resolve this bug. If it happens again
please reopen.
Issue History
Date Modified Username Field Change
======================================================================
02-06-06 20:34 srg New Issue
02-06-06 20:34 srg File Added: PostMortalMessageDialog.jpg
02-06-06 21:03 nazgul Note Added: 0001073
02-06-06 21:03 nazgul Status new => feedback
02-06-06 21:03 nazgul Description Updated
02-07-06 08:00 srg File Added: Test.n
02-07-06 08:05 srg Note Added: 0001074
02-07-06 10:29 malekith Note Added: 0001075
03-06-06 20:55 pl Issue Monitored: pl
03-06-06 21:02 pl Note Added: 0001114
04-02-06 11:06 fireworker Note Added: 0001138
04-03-06 19:01 nazgul Note Added: 0001148
04-03-06 19:01 nazgul Status feedback => new
04-03-06 19:01 nazgul Description Updated
05-03-06 18:25 nazgul Status new => resolved
05-03-06 18:25 nazgul Resolution open => fixed
05-03-06 18:25 nazgul Assigned To => nazgul
05-03-06 18:25 nazgul Note Added: 0001222
======================================================================
More information about the bugs
mailing list