reassign 473119 mono-jit
tags 473119 + unreproducible moreinfo
severity 473119 important
thanks

On Fri, 2008-03-28 at 13:59 +0100, Francesco Potorti` wrote:
> Package: mono-gac
> Version: 1.2.6+dfsg-6
> Severity: normal
> 
> Setting up mono-gac (1.2.6+dfsg-6) ...
> * Installing 1 assembly from libgmime2.2-cil into Mono
> 
> ** ERROR **: file mini-exceptions.c: line 941 (mono_setup_altstack): 
> assertion failed: (gaddr == tls->stack_ovf_guard_base)
> aborting...
> Use of uninitialized value in scalar chomp at 
> /usr/share/cli-common/runtimes.d/mono line 144.
> Use of uninitialized value in concatenation (.) or string at 
> /usr/share/cli-common/runtimes.d/mono line 113.

Does that happen with all other CLI applications too? like mcs, gfax,
banshee, monodevelop, tomboy, beagle, etc.... (pick one)

Are you sure you are running a 2.6 kernel?

Are you passing maybe bad things via environment to Mono, like
LD_ASSUME_KERNEL? Please bump your ENV with "export" and give me the
output.

The code that fails is:
+       if (mono_mprotect (tls->stack_ovf_guard_base,
tls->stack_ovf_guard_size, MONO_MMAP_NONE)) {
+               /* mprotect can fail for the main thread stack */
+               gpointer gaddr = mono_valloc (tls->stack_ovf_guard_base, 
tls->stack_ovf_guard_size, 
MONO_MMAP_NONE|MONO_MMAP_PRIVATE|MONO_MMAP_ANON|MONO_MMAP_FIXED);
+               g_assert (gaddr == tls->stack_ovf_guard_base);
+       }

According to the mprotect docs at:
http://www.opengroup.org/onlinepubs/009695399/functions/mprotect.html

Only very basic things wold make it fail, like out of memory. So is the
issue reproducible for you?

-- 
Regards,

Mirco 'meebey' Bauer

PGP-Key ID: 0xEEF946C8

FOSS Developer    [EMAIL PROTECTED]  http://www.meebey.net/
PEAR Developer    [EMAIL PROTECTED]     http://pear.php.net/
Debian Developer  [EMAIL PROTECTED]  http://www.debian.org/




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to