Hello @all,

may it be possible to check in the preinstall routine of the package the parameter size in mount of SHM ? (mount | grep shm | awk ...) And if there is a limitation (parameter size is set) to create a message to confirm for the user? Because you can not upgrade from lenny to squeeze if there is this limitation gnome-desktop (e.g. and all other mono based packages) does not install correctly, it breaks the running system.

It is no a stopper for the release, but there is a simple check to detect if there will or may be a problem. And the fix is, just change the /etc/default/tmpfs to the new default values 'SHM='. So no on else will have this problem or if he will have a problem he got a message by installing or upgrading this package in the console or his mails as package notification.

Greatings
Jochen

This was the first upgrade for me since Debian 3.0, which fails in such a hard way.

Am 08.01.2011 23:39, schrieb Julien Cristau:
user release.debian....@packages.debian.org
usertag 587948 squeeze-can-defer
tag 587948 squeeze-ignore
kthxbye

On Thu, Jan  6, 2011 at 02:01:37 +0100, Mirco Bauer wrote:

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:/#

Considering that
1) there is a workaround
2) this seems hard to fix reliably, according to
    https://bugzilla.novell.com/show_bug.cgi?id=662646#c1
I'm tagging this bug as not a blocker for the squeeze release.

Cheers,
Julien




--
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