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
Signal        Stop    Print    Pass to program    Description
SIGXCPU       No    No    Yes        CPU time limit exceeded
SIGPWR        No    No    Yes        Power fail/restart
SIG33         No    No    Yes        Real-time event 33
SIG35         No    No    Yes        Real-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 0x7ffff6779710 (LWP 15444)]
[New Thread 0x7ffff7f57710 (LWP 15445)]
[New Thread 0x7ffff50df710 (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 0x7ffff7f57710 (LWP 15445) exited]
[Thread 0x7ffff50df710 (LWP 15446) exited]
[Thread 0x7ffff6779710 (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-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to