[Mono-bugs] [Bug 633275] New: Abort trap in smcs

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Aug 20 12:30:24 EDT 2010


https://bugzilla.novell.com/show_bug.cgi?id=633275

https://bugzilla.novell.com/show_bug.cgi?id=633275#c0


           Summary: Abort trap in smcs
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Tools
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: Benjamin at exDream.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Development
           Blocker: Yes


Description of Problem:
After trying to compile a big project (with 300+ .cs files) smcs crashes with
the "4962 Abort trap" error (see below). The command line starts with: smsc
/unsafe /warn:4 '/define:ES20;MONO_COMPILER;IPHONE;IPAD' /optimize-
/codepage:utf8 /t:exe '/out:[...]' '/r:monotouch.dll' '/r:OpenTK.dll'
'/r:System.dll' '/r:System.Xml.dll' '/r:System.Xml.Linq.dll'
'/r:System.Core.dll' '/r:System.Web.Services.dll' '/resource:[...]' [...]

And no, this is probably not a duplicate of Bug 589026 or Bug 603859 or Bug
588197 (which are marked as resolved since 1.5.1). We are on the latest
MonoTouch 3.0.12 and tried both the stable and beta version.

This post does not help either: http://forums.monotouch.net/yaf_postst565.aspx

Steps to reproduce the problem:
- Put a lot of .cs files to the command line (300+), Sorry, I cannot provide
you with an example at this time. We will probably try to split up the files
into multiple projects and compile them one by one (see below) and hopefully
this problem goes away.

Actual Results:
After a few minor warnings this is ouputted by smcs:
/Developer/MonoTouch/usr/bin/smcs: line 2:  4962 Abort trap             
MONO_PATH=/Developer/MonoTouch/usr/lib/mono/2.1
/Developer/MonoTouch/usr/bin/mono
/Developer/MonoTouch/usr/lib/mono/2.1/smcs.exe "$@"

Expected Results:
Continue compiling.

How often does this happen? 
Always.

Additional Information:
I could compile smaller projects with 50-100 files just fine, but due
dependencies I needed all 300+ files to compile everything at once. I guess
splitting up into multiple projects (5-20 files per project) could work, but it
would still be nice to have some insight why this error happens at all.

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the mono-bugs mailing list