tags 587948 - unreproducible
tags 587948 + confirmed
retitle 587948 /usr/bin/mono segfaults if shared memory (/dev/shm) is exhausted
thanks

On 12/27/2010 11:47 AM, Jochen Becker wrote:
> Hello Drew Daniels,
> 
> yes it was the SHM Size. The limitation was to small. I can recreate the
> error by setting the small value.
> I think the pre Inst part  must check this.
> 
> Greatings
> Jochen

Ok, I can finally reproduce and confirm this issue if shared memory (/dev/shm) 
is exhausted. The mono runtime needs to deal with it though. 
(I had to create a chroot btw, as the already mounted /dev/shm can not be 
changed as long as it's used by some process)

redbull:/# mount -t tmpfs -o size=1 tmpfs /dev/shm 
redbull:/# mount
proc on /proc type proc (rw)
tmpfs on /dev/shm type tmpfs (rw,size=1)
redbull:/# gacutil 

** (/usr/lib/mono/2.0/gacutil.exe:6145): WARNING **: Thread (nil) may have been 
prematurely finalized

** (/usr/lib/mono/2.0/gacutil.exe:6145): WARNING **: Thread (nil) may have been 
prematurely finalized

** (/usr/lib/mono/2.0/gacutil.exe:6145): WARNING **: Thread (nil) may have been 
prematurely finalized

** (/usr/lib/mono/2.0/gacutil.exe:6145): WARNING **: Thread (nil) may have been 
prematurely finalized
Segmentation fault
redbull:/# 


As temporarily workaround MONO_DISABLE_SHM=1 as environment variable can be 
used:
redbull:/# MONO_DISABLE_SHM=1 gacutil
The following assemblies are installed into the GAC:
redbull:/# 

PS: I will from now on use #587948 as master bug as that's what the BTS picked 
:/ so please keep
587...@bugs.debian.org as CC

-- 
Regards,

Mirco 'meebey' Bauer

PGP-Key ID: 0xEEF946C8

FOSS Developer    mee...@meebey.net  http://www.meebey.net/
PEAR Developer    mee...@php.net     http://pear.php.net/
Debian Developer  mee...@debian.org  http://www.debian.org/



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to