[Mono-bugs] [Bug 675428] New: Compilation error 134 (assertion failed in shared.c:521) when compiling to device

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Feb 27 06:33:31 EST 2011


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

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


           Summary: Compilation error 134 (assertion failed in
                    shared.c:521) when compiling to device
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Macintosh
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Runtime
        AssignedTo: gnorton at novell.com
        ReportedBy: alexandre.fau at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=416427)
 --> (http://bugzilla.novell.com/attachment.cgi?id=416427)
The solution (2 projects) to reproduce the problem.

User-Agent:       Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_6; fr-fr)
AppleWebKit/533.19.4 (KHTML, like Gecko) Version/5.0.3 Safari/533.19.4

Hi,

When I try to deploy my application to device (an IPad running 4.2) i got :

Compiling to native code
/Developer/MonoTouch/usr/bin/mtouch -v --nomanifest --nosign -dev
"/Users/alexandrefau/Projects/JournaldAppels/JournaldAppels/bin/iPhone/Debug/JournalAppels.app"
"-r=/Users/alexandrefau/Projects/JournaldAppels/MonoTouch.Dialog/bin/iPhone/Debug/MonoTouch.Dialog.dll"
"-r=/Developer/MonoTouch/usr/lib/mono/2.1/System.dll"
"-r=/Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll"
"-r=/Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll"
"-r=/Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll" -debug -nolink
"-sdk=4.2" "-targetver=4.2" -v -v -v
"/Users/alexandrefau/Projects/JournaldAppels/JournaldAppels/bin/iPhone/Debug/MyFirstTest.exe"
Framework is:
/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS4.2.sdk
Copied
/Users/alexandrefau/Projects/JournaldAppels/JournaldAppels/bin/iPhone/Debug/MyFirstTest.exe
to
/Users/alexandrefau/Projects/JournaldAppels/JournaldAppels/bin/iPhone/Debug/JournalAppels.app/MyFirstTest.exe
MONO_PATH=/Users/alexandrefau/Projects/JournaldAppels/JournaldAppels/bin/iPhone/Debug/JournalAppels.app
/Developer/MonoTouch/usr/bin/arm-darwin-mono --debug
--aot=full,static,asmonly,soft-debug,iphone-abi,outfile=/var/folders/8x/8x0-MhMwHh0Ew+bLs1g2xk+++TI/-Tmp-/tmp5f2e60a9.tmp/MyFirstTest.exe.s
"/Users/alexandrefau/Projects/JournaldAppels/JournaldAppels/bin/iPhone/Debug/JournalAppels.app/MyFirstTest.exe"
_wapi_shm_file_open: shared file
[/Users/alexandrefau/.wapi/shared_data-iMac-de-Alexandre-FAU-2.local-Darwin-i386-312-12-0]
open error: Permission denied_wapi_shm_attach: shared file
[/Users/alexandrefau/.wapi/shared_data-iMac-de-Alexandre-FAU-2.local-Darwin-i386-312-12-0]
open error* Assertion at ../../../../mono/io-layer/shared.c:521, condition
`tmp_shared != NULL' not met
Compilation exited with code 134, command:
MONO_PATH=/Users/alexandrefau/Projects/JournaldAppels/JournaldAppels/bin/iPhone/Debug/JournalAppels.app
/Developer/MonoTouch/usr/bin/arm-darwin-mono --debug
--aot=full,static,asmonly,soft-debug,iphone-abi,outfile=/var/folders/8x/8x0-MhMwHh0Ew+bLs1g2xk+++TI/-Tmp-/tmp5f2e60a9.tmp/MyFirstTest.exe.s
"/Users/alexandrefau/Projects/JournaldAppels/JournaldAppels/bin/iPhone/Debug/JournalAppels.app/MyFirstTest.exe"

That application run perfectly in the iOS Simulator.



Reproducible: Always

Steps to Reproduce:
1. Compile the sample
2. Try to deploy to device

Actual Results:  
Compilation failed

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


More information about the mono-bugs mailing list