Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92009 - Nant randomly freezes or outputs random error messages
Summary: Nant randomly freezes or outputs random error messages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: dotnet project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-09 07:31 UTC by Pedro Castro
Modified: 2006-12-28 10:16 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pedro Castro 2005-05-09 07:31:03 UTC
When compiling a project of mine with nant, the compilation process sometimes works, and sometimes doesn't. It happens mostly when the system is busy. For example, if i'm not doing anything else than compiling my program with nant, it will work fine for about 70% of the times. However, if i am for example emerging a package with portage, nant only manages to compile my program 20% of the times, perhaps even less.
When Nant fails, it usually locks up, or displays error messages that look like "coming out of nowhere".

Reproducible: Always
Steps to Reproduce:
1.Put the system busy (e.g. emerge a random package)
2.run nant to compile a program


Actual Results:  
Nant freezes or displays completely out-of-context error messages.

Expected Results:  
Compiled the program correctly.

I'm using mono 1.0.6 without Nptl and Nant 0.85_rc2.
Comment 1 Peter Johanson (RETIRED) gentoo-dev 2005-05-09 07:45:10 UTC
I'm betting it's a result of mono-1.0.x's suckage... can you try with mono-1.1.x for me please? Thanks.
Comment 2 Pedro Castro 2005-05-09 10:19:24 UTC
I've emerged mono-1.1.7 and all seems to go much better. All the compilations finished successfully, even though there was a strange behaviour: sometimes, a line with the text:
"C1 1000 100"
appeared at the end of the compilation output (at the end of the total time output). But as i said, it didn't affect the compilation.
Comment 3 Peter Johanson (RETIRED) gentoo-dev 2005-05-12 19:27:39 UTC
Ok, marking FIXED. i've just commited nant-0.85-rc3 to the tree, and it includes a mono-1.1.x dep. Thanks for the report.
Comment 4 Pedro Castro 2006-02-18 21:44:10 UTC
Looks like this started happening again frequently. When compiling, NAnt breaks with the following message:

*******************************************************************
NAnt 0.85 (Build 0.85.2220.0; dev; 01/29/2006)
Copyright (C) 2001-2006 Gerry Shaw
http://nant.sourceforge.net


BUILD FAILED

The current runtime framework 'mono-2.0' is not correctly configured in the NAnt configuration file.
    Function call failed.
Expression: ${path::combine(prefix, 'lib/mono/1.0')}
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        Illegal characters in path
Parameter name: path1

For more information regarding the cause of the build failure, run the build again in debug mode.

Try 'nant -help' for more information
*******************************************************************

It only happens sometimes. I'm not sure if this is a problem with Gentoo or upstream, though.
Comment 5 Pedro Castro 2006-02-18 21:45:40 UTC
Sorry, i forgot: i'm using nant-0.85_rc3-r1 and mono-1.1.12.1-r1 without nptl.
Comment 6 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-12-10 14:26:52 UTC
Can you reproduce this with mono-1.2.2.1 and nant-0.8.5 ?
Comment 7 Pedro Castro 2006-12-10 15:32:32 UTC
ATM i'm rarely using NAnt, but in the few times i've used it didn't freeze nor has it shown random error messages.

It does have a different and buggy behavior though. Every message printed out by NAnt is shown with a duplicate (echoed).
Comment 8 Saleem Abdulrasool (RETIRED) gentoo-dev 2006-12-28 10:16:17 UTC
Since the original problem is no longer an issue, marking this as fixed.