[Mono-bugs] [Bug 471379] [REGRESSION] mono-2.4 preview 1: mcs: unbounded memory consumption growth when compiling cli_uno_bridge.dll from Gentoo openoffice-3.0.1
bugzilla_noreply at novell.com
bugzilla_noreply at novell.com
Tue Feb 3 19:57:15 EST 2009
https://bugzilla.novell.com/show_bug.cgi?id=471379
User loki_val at gentoo.org added comment
https://bugzilla.novell.com/show_bug.cgi?id=471379#c2
--- Comment #2 from Peter Alfredsen <loki_val at gentoo.org> 2009-02-03 17:57:13 MST ---
In bash I'm unable to reproduce the issue, but I am able to get a backtrace
from Mono (2.4 preview 2), attached at the bottom of this comment. With the
provided makefiles, it's entirely reproducible with 2.4 preview 2 and does not
happen with 2.2. I don't know how openoffice's build system work, but I can
tell that the only thing we do to enable building the mono bindings is to pass
--enable-mono to configure.
loki mono_bridge # gdb --args /usr/bin/mono /usr/lib64/mono/1.0/mcs.exe
-target:library -unsafe -out:../../unxlngx6.pro/bin/cli_uno_bridge.dll
-keyfile:../../unxlngx6.pro/bin/cliuno.snk
-reference:../../unxlngx6.pro/bin/cli_basetypes.dll
-reference:../../unxlngx6.pro/bin/cli_uretypes.dll binaryuno.cs bridge.cs
cli_environment.cs managed_proxy.cs rtl_ustring.cs typeclass.cs
typedescription.cs uik.cs uno_proxy.cs
GNU gdb 6.8
Copyright (C) 2008 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-pc-linux-gnu"...
(gdb) run
Starting program: /usr/bin/mono /usr/lib64/mono/1.0/mcs.exe -target:library
-unsafe -out:../../unxlngx6.pro/bin/cli_uno_bridge.dll
-keyfile:../../unxlngx6.pro/bin/cliuno.snk
-reference:../../unxlngx6.pro/bin/cli_basetypes.dll
-reference:../../unxlngx6.pro/bin/cli_uretypes.dll binaryuno.cs bridge.cs
cli_environment.cs managed_proxy.cs rtl_ustring.cs typeclass.cs
typedescription.cs uik.cs uno_proxy.cs
[Thread debugging using libthread_db enabled]
[New Thread 0x7f8400489730 (LWP 12129)]
[New Thread 0x404be950 (LWP 12132)]
[New Thread 0x41789950 (LWP 12133)]
Program received signal SIGPWR, Power fail/restart.
[Switching to Thread 0x41789950 (LWP 12133)]
0x00007f83ffbc0bb1 in sem_wait () from /lib/libpthread.so.0
Current language: auto; currently asm
(gdb) bt
#0 0x00007f83ffbc0bb1 in sem_wait () from /lib/libpthread.so.0
#1 0x00007f83ffed657c in finalizer_thread (unused=<value optimized out>) at
gc.c:935
#2 0x00007f83ffef7033 in start_wrapper (data=<value optimized out>) at
threads.c:623
#3 0x00007f83fff64cfb in thread_start_routine (args=0x2226db0) at
threads.c:286
#4 0x00007f83fff874b2 in GC_start_routine (arg=<value optimized out>) at
pthread_support.c:1382
#5 0x00007f83ffbbb037 in start_thread (arg=<value optimized out>) at
pthread_create.c:297
#6 0x00007f83ff92f76d in clone () from /lib/libc.so.6
#7 0x0000000000000000 in ?? ()
(gdb) bt full
#0 0x00007f83ffbc0bb1 in sem_wait () from /lib/libpthread.so.0
No locals.
#1 0x00007f83ffed657c in finalizer_thread (unused=<value optimized out>) at
gc.c:935
__PRETTY_FUNCTION__ = "finalizer_thread"
#2 0x00007f83ffef7033 in start_wrapper (data=<value optimized out>) at
threads.c:623
start_info = (struct StartInfo *) 0x22375c0
start_func = (guint32 (*)(void *)) 0x7f83ffed6540 <finalizer_thread>
start_arg = (void *) 0x0
tid = 1098422608
thread = (MonoThread *) 0x7f840047da00
start_delegate = (MonoObject *) 0x0
__PRETTY_FUNCTION__ = "start_wrapper"
#3 0x00007f83fff64cfb in thread_start_routine (args=0x2226db0) at
threads.c:286
thr_ret = -512
__PRETTY_FUNCTION__ = "thread_start_routine"
#4 0x00007f83fff874b2 in GC_start_routine (arg=<value optimized out>) at
pthread_support.c:1382
__cancel_buf = {__cancel_jmp_buf = {{__cancel_jmp_buf = {1098422608,
-1773648032686801388, 140733332517120, 1098420768, 0, 4096,
-1773786636106990060, 1757885386564828692}, __mask_was_saved = 0}}, __pad =
{0x41789190, 0x0, 0x0,
0x0}}
not_first_call = <value optimized out>
dummy = 0
result = <value optimized out>
start = <value optimized out>
start_arg = (void *) 0x2226db0
#5 0x00007f83ffbbb037 in start_thread (arg=<value optimized out>) at
pthread_create.c:297
__res = <value optimized out>
pd = (struct pthread *) 0x41789950
unwind_buf = {cancel_jmp_buf = {{jmp_buf = {1098422608,
-1773648032686801388, 140733332517120, 1098420768, 0, 4096,
-1773786636146835948, 1757885952071302676}, mask_was_saved = 0}}, priv = {pad =
{0x0, 0x0, 0x0, 0x0}, data = {
prev = 0x0, cleanup = 0x0, canceltype = 0}}}
not_first_call = 1098422608
robust = <value optimized out>
#6 0x00007f83ff92f76d in clone () from /lib/libc.so.6
fstab_state = {fs_fp = 0x0, fs_buffer = 0x0, fs_mntres = {mnt_fsname = 0x0,
mnt_dir = 0x0, mnt_type = 0x0, mnt_opts = 0x0, mnt_freq = 0, mnt_passno = 0},
fs_ret = {fs_spec = 0x0, fs_file = 0x0, fs_vfstype = 0x0,
fs_mntops = 0x0, fs_type = 0x0, fs_freq = 0, fs_passno = 0}}
__elf_set___libc_subfreeres_element_fstab_free__ = (const void *)
0x7f83ff965e40
#7 0x0000000000000000 in ?? ()
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the mono-bugs
mailing list