[Mono-dev] Problems building gnome-sharp

Scott Wisniewski scott at skybound.ca
Wed Aug 3 15:52:57 EDT 2011


Hi,

I'm running into some trouble trying to build gnome-sharp (https://github.com/mono/gnome-sharp.git) using a recent mono 2.11 build (7ef6aa3ec5e1d23d9ef12d1f09ebd5b39d2c13db).
When running make for gnome-sharp it looks like mono crashes when running gapi2-fixup with a heap corruption problem.
The particular address causing the fault seems to be somewhat deterministic ((addr & 0xFF0) == 580). I've included the error output below.

Does any one know if there is a particular last known good 2.11 version I can rollback to that will build gnome-sharp?

Thanks,

-Scott Wisniewski


/bin/gapi2-fixup --api=art-api.xml --metadata=./Art.metadata  --symbols=./art-symbols.xml
*** glibc detected *** mono: malloc(): memory corruption (fast): 0x0000000001c93580 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x76bb6)[0x2aceb2023bb6]
/lib/x86_64-linux-gnu/libc.so.6(+0x79e78)[0x2aceb2026e78]
/lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x6e)[0x2aceb202931e]
/lib/x86_64-linux-gnu/libc.so.6(__vasprintf_chk+0x3b)[0x2aceb20aab2b]
mono[0x5d786a]
mono[0x5d795f]
mono[0x5cd2a5]
mono(mono_jit_info_table_find+0x1b)[0x534fbb]
mono[0x418901]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfc60)[0x2aceb1d9ec60]
mono[0x5d1cd4]
mono[0x5cca18]
mono(mono_path_resolve_symlinks+0x69)[0x5ccab9]
mono[0x5101d7]
mono(mono_image_open_full+0x17a)[0x51069a]
mono[0x534a6c]
mono[0x536520]
mono[0x41967b]
mono(mono_main+0x289)[0x46e989]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xff)[0x2aceb1fcbeff]
mono[0x4125b9]
======= Memory map: ========
00400000-006f4000 r-xp 00000000 08:01 945138                             /bin/mono
008f3000-008f4000 r--p 002f3000 08:01 945138                             /bin/mono
008f4000-008fd000 rw-p 002f4000 08:01 945138                             /bin/mono
008fd000-00937000 rw-p 00000000 00:00 0 
01c8e000-01caf000 rw-p 00000000 00:00 0                                  [heap]
41551000-41552000 r--p 00000000 00:00 0 
41552000-41553000 ---p 00000000 00:00 0 
4189b000-418ac000 rwxp 00000000 00:00 0 
2aaaaaaac000-2aaaaaab0000 rw-p 00000000 00:00 0 
2aaaaaab0000-2aaaaaab1000 rw-s 00000000 00:10 238374                     /dev/shm/mono.27457
2aaaaaab1000-2aaaaaab2000 ---p 00000000 00:00 0 
2aaaaaab2000-2aaaaacf2000 rw-p 00000000 00:00 0 
2aaaaacf2000-2aaaaacf4000 r--p 00000000 08:01 436033                     /lib/gtk-sharp-2.0/gapi-fixup.exe
2aaaaad05000-2aaaaad1a000 r-xp 00000000 08:01 397524                     /lib/x86_64-linux-gnu/libgcc_s.so.1
2aaaaad1a000-2aaaaaf19000 ---p 00015000 08:01 397524                     /lib/x86_64-linux-gnu/libgcc_s.so.1
2aaaaaf19000-2aaaaaf1a000 r--p 00014000 08:01 397524                     /lib/x86_64-linux-gnu/libgcc_s.so.1
2aaaaaf1a000-2aaaaaf1b000 rw-p 00015000 08:01 397524                     /lib/x86_64-linux-gnu/libgcc_s.so.1
2aaaac000000-2aaaac021000 rw-p 00000000 00:00 0 
2aaaac021000-2aaab0000000 ---p 00000000 00:00 0 
2aceb14da000-2aceb14fb000 r-xp 00000000 08:01 397483                     /lib/x86_64-linux-gnu/ld-2.13.so
2aceb14fb000-2aceb14fd000 rw-p 00000000 00:00 0 
2aceb16fa000-2aceb16fb000 r--p 00020000 08:01 397483                     /lib/x86_64-linux-gnu/ld-2.13.so
2aceb16fb000-2aceb16fd000 rw-p 00021000 08:01 397483                     /lib/x86_64-linux-gnu/ld-2.13.so
2aceb16fd000-2aceb1781000 r-xp 00000000 08:01 397533                     /lib/x86_64-linux-gnu/libm-2.13.so
2aceb1781000-2aceb1980000 ---p 00084000 08:01 397533                     /lib/x86_64-linux-gnu/libm-2.13.so
2aceb1980000-2aceb1981000 r--p 00083000 08:01 397533                     /lib/x86_64-linux-gnu/libm-2.13.so
2aceb1981000-2aceb1982000 rw-p 00084000 08:01 397533                     /lib/x86_64-linux-gnu/libm-2.13.so
2aceb1982000-2aceb1989000 r-xp 00000000 08:01 397565                     /lib/x86_64-linux-gnu/librt-2.13.so
2aceb1989000-2aceb1b88000 ---p 00007000 08:01 397565                     /lib/x86_64-linux-gnu/librt-2.13.so
2aceb1b88000-2aceb1b89000 r--p 00006000 08:01 397565                     /lib/x86_64-linux-gnu/librt-2.13.so
2aceb1b89000-2aceb1b8a000 rw-p 00007000 08:01 397565                     /lib/x86_64-linux-gnu/librt-2.13.so
2aceb1b8a000-2aceb1b8b000 rw-p 00000000 00:00 0 
2aceb1b8b000-2aceb1b8d000 r-xp 00000000 08:01 397506                     /lib/x86_64-linux-gnu/libdl-2.13.so
2aceb1b8d000-2aceb1d8d000 ---p 00002000 08:01 397506                     /lib/x86_64-linux-gnu/libdl-2.13.so
2aceb1d8d000-2aceb1d8e000 r--p 00002000 08:01 397506                     /lib/x86_64-linux-gnu/libdl-2.13.so
2aceb1d8e000-2aceb1d8f000 rw-p 00003000 08:01 397506                     /lib/x86_64-linux-gnu/libdl-2.13.so
2aceb1d8f000-2aceb1da7000 r-xp 00000000 08:01 397561                     /lib/x86_64-linux-gnu/libpthread-2.13.so
2aceb1da7000-2aceb1fa7000 ---p 00018000 08:01 397561                     /lib/x86_64-linux-gnu/libpthread-2.13.so
2aceb1fa7000-2aceb1fa8000 r--p 00018000 08:01 397561                     /lib/x86_64-linux-gnu/libpthread-2.13.so
2aceb1fa8000-2aceb1fa9000 rw-p 00019000 08:01 397561                     /lib/x86_64-linux-gnu/libpthread-2.13.so
2aceb1fa9000-2aceb1fad000 rw-p 00000000 00:00 0 
2aceb1fad000-2aceb2137000 r-xp 00000000 08:01 397496                     /lib/x86_64-linux-gnu/libc-2.13.so
2aceb2137000-2aceb2336000 ---p 0018a000 08:01 397496                     /lib/x86_64-linux-gnu/libc-2.13.so
2aceb2336000-2aceb233a000 r--p 00189000 08:01 397496                     /lib/x86_64-linux-gnu/libc-2.13.so
2aceb233a000-2aceb233b000 rw-p 0018d000 08:01 397496                     /lib/x86_64-linux-gnu/libc-2.13.so
2aceb233b000-2aceb2344000 rw-p 00000000 00:00 0 
2aceb2344000-2aceb29ce000 r--p 00000000 08:01 532582                     /usr/lib/locale/locale-archive
2aceb29cf000-2aceb29d7000 ---p 00000000 00:00 0 
7fff1a034000-7fff1a055000 rw-p 00000000 00:00 0                          [stack]
7fff1a1ff000-7fff1a200000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
 


More information about the Mono-devel-list mailing list