Bug#605292: [pkg-mono-group] Bug#605292: mono-gac: lenny to squeeze upgraded system problems with monobasic system installation
On Tue, Dec 07, 2010 at 11:11:41PM +0100, Mirco Bauer wrote: The postinst maintainer script of mono-gac fails to configure because /usr/bin/gacutil crashes in /usr/bin/mono which is the mono runtime, thus I am reassigning and retitling. This crash is a very serious issue as it basically prevents you from running any tool or application that uses the mono runtime. At the same time it will leave your package management system (apt/dpkg) in a very bad state behind. To get a better picture where exactly the issue pops up, please install the debug symbols of mono by using: apt-get install libmono0-dbg mono-runtime-dbg If that fails to install, try it using dpkg -i Then run gacutil -l which should segfault but hopefully this time with source line information. FWIW: I don't see a segfault (amd64 machine): st...@riemann{nyquist}gacutil -l The following assemblies are installed into the GAC: Accessibility, Version=1.0.5000.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a Accessibility, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a ... policy.2.8.pango-sharp, Version=0.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f webkit-sharp, Version=1.1.15.0, Culture=neutral, PublicKeyToken=eaa1d335d2e19745 Number of items = 239 -Steve signature.asc Description: Digital signature
Bug#605292: [pkg-mono-group] Bug#605292: mono-gac: lenny to squeeze upgraded system problems with monobasic system installation
On 12/19/2010 12:04 AM, Jochen wrote: Hello Micro, i tried it today (sorry because i had a lot of work to do) with the new version of mono-gac it was no problem to install the applications bug is fixed i think The issue is for sure not solved as mono-gac hasn't changed. Have you changed the shared memory size of /dev/shm? -- Regards, Mirco 'meebey' Bauer PGP-Key ID: 0xEEF946C8 FOSS Developermee...@meebey.net http://www.meebey.net/ PEAR Developermee...@php.net http://pear.php.net/ Debian Developer mee...@debian.org http://www.debian.org/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#605292: [pkg-mono-group] Bug#605292: mono-gac: lenny to squeeze upgraded system problems with monobasic system installation
Hi Jochen, On 12/14/2010 08:43 AM, Jochen wrote: Hello Micro, the output gdb --args mono /usr/lib/mono/2.0/gacutil.exe GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as x86_64-linux-gnu. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/bin/mono...Reading symbols from /usr/lib/debug/usr/bin/mono...done. (no debugging symbols found)...done. (gdb) handle SIGXCPU SIG33 SIG35 SIGPWR nostop noprint SignalStopPrintPass to programDescription SIGXCPU NoNoYesCPU time limit exceeded SIGPWRNoNoYesPower fail/restart SIG33 NoNoYesReal-time event 33 SIG35 NoNoYesReal-time event 35 (gdb) run Starting program: /usr/bin/mono /usr/lib/mono/2.0/gacutil.exe [Thread debugging using libthread_db enabled] [New Thread 0x76779710 (LWP 15444)] [New Thread 0x77f57710 (LWP 15445)] [New Thread 0x750df710 (LWP 15446)] Usage: gacutil.exe commands [ options ] Commands: -i assembly_path [-check_refs] [-package NAME] [-root ROOTDIR] [-gacdir GACDIR] Installs an assembly into the global assembly cache. -il assembly_list_file [-check_refs] [-package NAME] [-root ROOTDIR] [-gacdir GACDIR] Installs one or more assemblies into the global assembly cache. -u assembly_display_name [-package NAME] [-root ROOTDIR] [-gacdir GACDIR] Uninstalls an assembly from the global assembly cache. -ul assembly_list_file [-package NAME] [-root ROOTDIR] [-gacdir GACDIR] Uninstalls one or more assemblies from the global assembly cache. -us assembly_path [-package NAME] [-root ROOTDIR] [-gacdir GACDIR] Uninstalls an assembly using the specifed assemblies full name. -l [assembly_name] [-root ROOTDIR] [-gacdir GACDIR] Lists the contents of the global assembly cache. -? Displays a detailed help screen [Thread 0x77f57710 (LWP 15445) exited] [Thread 0x750df710 (LWP 15446) exited] [Thread 0x76779710 (LWP 15444) exited] Program exited with code 01. (gdb) bt No stack. (gdb) Ok, I take that as the issue is already solved on your system? Mono application no longer crash for you? -- Regards, Mirco 'meebey' Bauer PGP-Key ID: 0xEEF946C8 FOSS Developermee...@meebey.net http://www.meebey.net/ PEAR Developermee...@php.net http://pear.php.net/ Debian Developer mee...@debian.org http://www.debian.org/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#605292: [pkg-mono-group] Bug#605292: mono-gac: lenny to squeeze upgraded system problems with monobasic system installation
On 12/07/2010 11:40 PM, Jochen wrote: Hello Mirco, fast answer (1) dpkg -i libmono0-dbg mono-runtime-dbg # FAILED so i do (2) aptitude install libmono0-dbg mono-runtime-dbg Die folgenden NEUEN Pakete werden zusätzlich installiert: libmono-corlib2.0-cil{a} libmono-i18n-west2.0-cil{a} libmono-posix2.0-cil{a} libmono-security2.0-cil{a} libmono-system2.0-cil{a} libmono0{a} mono-2.0-gac{a} mono-gac{a} mono-runtime{a} Die folgenden teilweise installierten Pakete werden konfiguriert: libmono0-dbg mono-runtime-dbg # installation works calling: gacutil -l ** (/usr/lib/mono/2.0/gacutil.exe:9876): WARNING **: Thread (nil) may have been prematurely finalized ** (/usr/lib/mono/2.0/gacutil.exe:9876): WARNING **: Thread (nil) may have been prematurely finalized ** (/usr/lib/mono/2.0/gacutil.exe:9876): WARNING **: Thread (nil) may have been prematurely finalized ** (/usr/lib/mono/2.0/gacutil.exe:9876): WARNING **: Thread (nil) may have been prematurely finalized Speicherzugriffsfehler Sorry I wasn't very clear about it, please run: gdb --args mono /usr/lib/mono/2.0/gacutil.exe This spawns a gdb shell, after that enter: handle SIGXCPU SIG33 SIG35 SIGPWR nostop noprint run At this point it should show the segfault, now enter: bt Now this is the output I am interested in :) Please copy/paste that in the reply. quit will leave the gdb shell fails Information about shm mount | grep sh tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,size=512) # after reading this i changed /etc/default/tmpfs from SHM_SIZE=512 to SHM_SIZE= (fresh default installtions does not have there any value) # i have to wait for the next reboot tomorrow to see the changes ls -l /dev/shm before the command gacutil -l insgesamt 2 -r 1 jochen jochen 67108904 2. Dez 22:43 pulse-shm-1651979569 -r 1 jochen jochen 67108904 2. Dez 22:43 pulse-shm-2238754634 ls -l /dev/shm/ after calling gacutil -l insgesamt 4 -rw-r- 1 root root 4096 7. Dez 23:29 mono.9897 -rw-r- 1 root root 83976 7. Dez 23:29 mono-shared-0-shared_data-camelot-Linux-x86_64-328-12-0 -r 1 jochen jochen 67108904 2. Dez 22:43 pulse-shm-1651979569 -r 1 jochen jochen 67108904 2. Dez 22:43 pulse-shm-2238754634 Ok, this is _very_ interesting, it looks like bloaty pulse is probably eating all the shared memory and leaves nothing behind for mono. This should prove if /dev/shm is exhausted or not: strace -e file gacutil -- Regards, Mirco 'meebey' Bauer PGP-Key ID: 0xEEF946C8 FOSS Developermee...@meebey.net http://www.meebey.net/ PEAR Developermee...@php.net http://pear.php.net/ Debian Developer mee...@debian.org http://www.debian.org/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#605292: [pkg-mono-group] Bug#605292: mono-gac: lenny to squeeze upgraded system problems with monobasic system installation
Hello Micro, the output gdb --args mono /usr/lib/mono/2.0/gacutil.exe GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type show copying and show warranty for details. This GDB was configured as x86_64-linux-gnu. For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /usr/bin/mono...Reading symbols from /usr/lib/debug/usr/bin/mono...done. (no debugging symbols found)...done. (gdb) handle SIGXCPU SIG33 SIG35 SIGPWR nostop noprint SignalStopPrintPass to programDescription SIGXCPU NoNoYesCPU time limit exceeded SIGPWRNoNoYesPower fail/restart SIG33 NoNoYesReal-time event 33 SIG35 NoNoYesReal-time event 35 (gdb) run Starting program: /usr/bin/mono /usr/lib/mono/2.0/gacutil.exe [Thread debugging using libthread_db enabled] [New Thread 0x76779710 (LWP 15444)] [New Thread 0x77f57710 (LWP 15445)] [New Thread 0x750df710 (LWP 15446)] Usage: gacutil.exe commands [ options ] Commands: -i assembly_path [-check_refs] [-package NAME] [-root ROOTDIR] [-gacdir GACDIR] Installs an assembly into the global assembly cache. -il assembly_list_file [-check_refs] [-package NAME] [-root ROOTDIR] [-gacdir GACDIR] Installs one or more assemblies into the global assembly cache. -u assembly_display_name [-package NAME] [-root ROOTDIR] [-gacdir GACDIR] Uninstalls an assembly from the global assembly cache. -ul assembly_list_file [-package NAME] [-root ROOTDIR] [-gacdir GACDIR] Uninstalls one or more assemblies from the global assembly cache. -us assembly_path [-package NAME] [-root ROOTDIR] [-gacdir GACDIR] Uninstalls an assembly using the specifed assemblies full name. -l [assembly_name] [-root ROOTDIR] [-gacdir GACDIR] Lists the contents of the global assembly cache. -? Displays a detailed help screen [Thread 0x77f57710 (LWP 15445) exited] [Thread 0x750df710 (LWP 15446) exited] [Thread 0x76779710 (LWP 15444) exited] Program exited with code 01. (gdb) bt No stack. (gdb) - Am 14.12.2010 01:10, schrieb Mirco Bauer: On 12/07/2010 11:40 PM, Jochen wrote: Hello Mirco, fast answer (1) dpkg -i libmono0-dbg mono-runtime-dbg # FAILED so i do (2) aptitude install libmono0-dbg mono-runtime-dbg Die folgenden NEUEN Pakete werden zusätzlich installiert: libmono-corlib2.0-cil{a} libmono-i18n-west2.0-cil{a} libmono-posix2.0-cil{a} libmono-security2.0-cil{a} libmono-system2.0-cil{a} libmono0{a} mono-2.0-gac{a} mono-gac{a} mono-runtime{a} Die folgenden teilweise installierten Pakete werden konfiguriert: libmono0-dbg mono-runtime-dbg # installation works calling: gacutil -l ** (/usr/lib/mono/2.0/gacutil.exe:9876): WARNING **: Thread (nil) may have been prematurely finalized ** (/usr/lib/mono/2.0/gacutil.exe:9876): WARNING **: Thread (nil) may have been prematurely finalized ** (/usr/lib/mono/2.0/gacutil.exe:9876): WARNING **: Thread (nil) may have been prematurely finalized ** (/usr/lib/mono/2.0/gacutil.exe:9876): WARNING **: Thread (nil) may have been prematurely finalized Speicherzugriffsfehler Sorry I wasn't very clear about it, please run: gdb --args mono /usr/lib/mono/2.0/gacutil.exe This spawns a gdb shell, after that enter: handle SIGXCPU SIG33 SIG35 SIGPWR nostop noprint run At this point it should show the segfault, now enter: bt Now this is the output I am interested in :) Please copy/paste that in the reply. quit will leave the gdb shell fails Information about shm mount | grep sh tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,size=512) # after reading this i changed /etc/default/tmpfs from SHM_SIZE=512 to SHM_SIZE= (fresh default installtions does not have there any value) # i have to wait for the next reboot tomorrow to see the changes ls -l /dev/shm before the command gacutil -l insgesamt 2 -r 1 jochen jochen 67108904 2. Dez 22:43 pulse-shm-1651979569 -r 1 jochen jochen 67108904 2. Dez 22:43 pulse-shm-2238754634 ls -l /dev/shm/ after calling gacutil -l insgesamt 4 -rw-r- 1 root root 4096 7. Dez 23:29 mono.9897 -rw-r- 1 root root 83976 7. Dez 23:29 mono-shared-0-shared_data-camelot-Linux-x86_64-328-12-0 -r 1 jochen jochen 67108904 2. Dez 22:43 pulse-shm-1651979569 -r 1 jochen jochen 67108904 2. Dez 22:43 pulse-shm-2238754634 Ok, this is _very_ interesting, it looks like bloaty pulse is probably eating all the shared memory and leaves nothing behind for mono. This should prove if /dev/shm is exhausted or not: strace -e file gacutil -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact
Bug#605292: [pkg-mono-group] Bug#605292: mono-gac: lenny to squeeze upgraded system problems with monobasic system installation
reassign 605292 mono-runtime retitle 605292 /usr/bin/mono segfaults in mono_shared_area forcemerge 605292 589707 thanks Hi, in this report are 2 independent issues, one leads to the other. The postinst maintainer script of mono-gac fails to configure because /usr/bin/gacutil crashes in /usr/bin/mono which is the mono runtime, thus I am reassigning and retitling. This crash is a very serious issue as it basically prevents you from running any tool or application that uses the mono runtime. At the same time it will leave your package management system (apt/dpkg) in a very bad state behind. To get a better picture where exactly the issue pops up, please install the debug symbols of mono by using: apt-get install libmono0-dbg mono-runtime-dbg If that fails to install, try it using dpkg -i Then run gacutil -l which should segfault but hopefully this time with source line information. As the stacktrace looks like the issue is related to shared memory which is kept in /dev/shm, please make sure it is correctly mounted and possibly shows some files in that location. I would really like to get this issue solved in time for squeeze, but I am unable to reproduce it, so I need your help to track it down. PS: If you are still able to reproduce this issue it would probably help if you could join me on IRC in the #debian-cli channel found on the OFTC network. -- Regards, Mirco 'meebey' Bauer PGP-Key ID: 0xEEF946C8 FOSS Developermee...@meebey.net http://www.meebey.net/ PEAR Developermee...@php.net http://pear.php.net/ Debian Developer mee...@debian.org http://www.debian.org/ -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#605292: [pkg-mono-group] Bug#605292: mono-gac: lenny to squeeze upgraded system problems with monobasic system installation
Hello Mirco, fast answer (1) dpkg -i libmono0-dbg mono-runtime-dbg # FAILED so i do (2) aptitude install libmono0-dbg mono-runtime-dbg Die folgenden NEUEN Pakete werden zusätzlich installiert: libmono-corlib2.0-cil{a} libmono-i18n-west2.0-cil{a} libmono-posix2.0-cil{a} libmono-security2.0-cil{a} libmono-system2.0-cil{a} libmono0{a} mono-2.0-gac{a} mono-gac{a} mono-runtime{a} Die folgenden teilweise installierten Pakete werden konfiguriert: libmono0-dbg mono-runtime-dbg # installation works calling: gacutil -l ** (/usr/lib/mono/2.0/gacutil.exe:9876): WARNING **: Thread (nil) may have been prematurely finalized ** (/usr/lib/mono/2.0/gacutil.exe:9876): WARNING **: Thread (nil) may have been prematurely finalized ** (/usr/lib/mono/2.0/gacutil.exe:9876): WARNING **: Thread (nil) may have been prematurely finalized ** (/usr/lib/mono/2.0/gacutil.exe:9876): WARNING **: Thread (nil) may have been prematurely finalized Speicherzugriffsfehler fails Information about shm mount | grep sh tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,size=512) # after reading this i changed /etc/default/tmpfs from SHM_SIZE=512 to SHM_SIZE= (fresh default installtions does not have there any value) # i have to wait for the next reboot tomorrow to see the changes ls -l /dev/shm before the command gacutil -l insgesamt 2 -r 1 jochen jochen 67108904 2. Dez 22:43 pulse-shm-1651979569 -r 1 jochen jochen 67108904 2. Dez 22:43 pulse-shm-2238754634 ls -l /dev/shm/ after calling gacutil -l insgesamt 4 -rw-r- 1 root root 4096 7. Dez 23:29 mono.9897 -rw-r- 1 root root 83976 7. Dez 23:29 mono-shared-0-shared_data-camelot-Linux-x86_64-328-12-0 -r 1 jochen jochen 67108904 2. Dez 22:43 pulse-shm-1651979569 -r 1 jochen jochen 67108904 2. Dez 22:43 pulse-shm-2238754634 greatings and thx for help i will test everything jochen ps i will look for you in the irc or via mail Am 07.12.2010 23:11, schrieb Mirco Bauer: reassign 605292 mono-runtime retitle 605292 /usr/bin/mono segfaults in mono_shared_area forcemerge 605292 589707 thanks Hi, in this report are 2 independent issues, one leads to the other. The postinst maintainer script of mono-gac fails to configure because /usr/bin/gacutil crashes in /usr/bin/mono which is the mono runtime, thus I am reassigning and retitling. This crash is a very serious issue as it basically prevents you from running any tool or application that uses the mono runtime. At the same time it will leave your package management system (apt/dpkg) in a very bad state behind. To get a better picture where exactly the issue pops up, please install the debug symbols of mono by using: apt-get install libmono0-dbg mono-runtime-dbg If that fails to install, try it using dpkg -i Then run gacutil -l which should segfault but hopefully this time with source line information. As the stacktrace looks like the issue is related to shared memory which is kept in /dev/shm, please make sure it is correctly mounted and possibly shows some files in that location. I would really like to get this issue solved in time for squeeze, but I am unable to reproduce it, so I need your help to track it down. PS: If you are still able to reproduce this issue it would probably help if you could join me on IRC in the #debian-cli channel found on the OFTC network. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org