Re: [Mono-dev] (no subject)

2014-03-22 Thread Zoltan Varga
Hi,

  This is already fixed in master.

  Zoltan


On Sat, Mar 22, 2014 at 11:02 AM, Rodrigo Kumpera  wrote:

> We got a similar issue on our ARM devices.
>
> Alex, has this been fixed?
>
>
> On Thu, Mar 20, 2014 at 1:36 PM, Greg Young wrote:
>
>> Just ran with redirected output this is the issue.
>>
>> AOT [build] mcs.exe.so
>> Mono Ahead of Time compiler - compiling assembly
>> /home/greg/mono/mcs/class/lib/build/mcs.exe
>> * Assertion at method-to-ir.c:13337, condition `load_opcode !=
>> OP_LOADV_MEMBASE' not met
>>
>> Stacktrace:
>>
>>
>> Native stacktrace:
>>
>> /home/greg/mono/mono/mini/mono() [0x4b8668]
>> /lib/x86_64-linux-gnu/libpthread.so.0(+0xfbb0) [0x2ab35a4eabb0]
>> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x2ab35a72ef77]
>> /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x2ab35a7325e8]
>> /home/greg/mono/mono/mini/mono() [0x639385]
>> /home/greg/mono/mono/mini/mono() [0x6394c6]
>> /home/greg/mono/mono/mini/mono() [0x47974a]
>> /home/greg/mono/mono/mini/mono() [0x422d8a]
>> /home/greg/mono/mono/mini/mono() [0x49dd42]
>> /home/greg/mono/mono/mini/mono() [0x49fb6a]
>>
>> Debug info from gdb:
>>
>> [New LWP 6528]
>> [Thread debugging using libthread_db enabled]
>> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
>> 0x2ab35a4ea757 in __libc_waitpid (pid=pid@entry=6529,
>> stat_loc=stat_loc@entry=0x7fffc0f9740c, options=options@entry=0) at
>> ../sysdeps/unix/sysv/linux/waitpid.c:40
>> 40  ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
>>   Id   Target Id Frame
>>   2Thread 0x2ab35d6b6700 (LWP 6528) "mono" sem_wait () at
>> ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
>> * 1Thread 0x2ab359be6500 (LWP 6519) "mono" 0x2ab35a4ea757 in
>> __libc_waitpid (pid=pid@entry=6529, stat_loc=stat_loc@entry=0x7fffc0f9740c,
>> options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
>>
>> Thread 2 (Thread 0x2ab35d6b6700 (LWP 6528)):
>> #0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
>> #1  0x0062fd57 in mono_sem_wait (sem=sem@entry=0x9834c0
>> , alertable=alertable@entry=1) at mono-semaphore.c:119
>> #2  0x005ad9ea in finalizer_thread (unused=unused@entry=0x0) at
>> gc.c:1073
>> #3  0x0058fe0b in start_wrapper_internal (data=0x1401fd0) at
>> threads.c:647
>> #4  start_wrapper (data=0x1401fd0) at threads.c:692
>> #5  0x0063482e in inner_start_thread (arg=0x7fffc0f98cd0) at
>> mono-threads-posix.c:94
>> #6  0x2ab35a4e2f6e in start_thread (arg=0x2ab35d6b6700) at
>> pthread_create.c:311
>> #7  0x2ab35a7f29cd in clone () at
>> ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
>>
>> Thread 1 (Thread 0x2ab359be6500 (LWP 6519)):
>> #0  0x2ab35a4ea757 in __libc_waitpid (pid=pid@entry=6529,
>> stat_loc=stat_loc@entry=0x7fffc0f9740c, options=options@entry=0) at
>> ../sysdeps/unix/sysv/linux/waitpid.c:40
>> #1  0x004b86f5 in mono_handle_native_sigsegv (signal=> out>, ctx=) at mini-exceptions.c:2305
>> #2  
>> #3  0x2ab35a72ef77 in __GI_raise (sig=sig@entry=6) at
>> ../nptl/sysdeps/unix/sysv/linux/raise.c:56
>> #4  0x2ab35a7325e8 in __GI_abort () at abort.c:90
>> #5  0x00639385 in monoeg_g_logv (log_domain=log_domain@entry=0x0,
>> log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x641ee8
>> "* Assertion at %s:%d, condition `%s' not met\n", 
>> args=args@entry=0x7fffc0f98338)
>> at goutput.c:175
>> #6  0x006394c6 in monoeg_assertion_message 
>> (format=format@entry=0x641ee8
>> "* Assertion at %s:%d, condition `%s' not met\n") at goutput.c:195
>> #7  0x0047974a in mono_spill_global_vars (cfg=cfg@entry=0x5ff3e90,
>> need_local_opts=need_local_opts@entry=0x7fffc0f9877c) at
>> method-to-ir.c:13337
>> #8  0x00422d8a in mini_method_compile (method=method@entry=0x5788730,
>> opts=, domain=, flags=flags@entry=JIT_FLAG_AOT,
>> parts=parts@entry=0) at mini.c:5610
>> #9  0x0049dd42 in compile_method (acfg=acfg@entry=0x1409f10,
>> method=0x5788730) at aot-compiler.c:6513
>> #10 0x0049fb6a in compile_method (method=,
>> acfg=0x1409f10) at aot-compiler.c:8426
>> #11 compile_methods (acfg=) at aot-compiler.c:8428
>> #12 mono_compile_assembly (ass=ass@entry=0x1404dd0, 
>> opts=opts@entry=37023,
>> aot_options=aot_options@entry=0x7fffc0f9b31a
>> "bind-to-runtime-version,outfile=./../../class/lib/build//mcs.exe.so")
>> at aot-compiler.c:8835
>> #13 0x0048dadc in main_thread_handler (user_data=> pointer>) at driver.c:1045
>> #14 mono_main (argc=6, argv=) at driver.c:2024
>> #15 0x2ab35a719de5 in __libc_start_main (main=0x419800 ,
>> argc=6, ubp_av=0x7fffc0f990b8, init=, fini=,
>> rtld_fini=, stack_end=0x7fffc0f990a8) at libc-start.c:260
>> #16 0x00419aac in _start ()
>>
>> =
>> Got a SIGABRT while executing native code. This usually i

Re: [Mono-dev] (no subject)

2014-03-22 Thread Rodrigo Kumpera
We got a similar issue on our ARM devices.

Alex, has this been fixed?


On Thu, Mar 20, 2014 at 1:36 PM, Greg Young  wrote:

> Just ran with redirected output this is the issue.
>
> AOT [build] mcs.exe.so
> Mono Ahead of Time compiler - compiling assembly
> /home/greg/mono/mcs/class/lib/build/mcs.exe
> * Assertion at method-to-ir.c:13337, condition `load_opcode !=
> OP_LOADV_MEMBASE' not met
>
> Stacktrace:
>
>
> Native stacktrace:
>
> /home/greg/mono/mono/mini/mono() [0x4b8668]
> /lib/x86_64-linux-gnu/libpthread.so.0(+0xfbb0) [0x2ab35a4eabb0]
> /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x37) [0x2ab35a72ef77]
> /lib/x86_64-linux-gnu/libc.so.6(abort+0x148) [0x2ab35a7325e8]
> /home/greg/mono/mono/mini/mono() [0x639385]
> /home/greg/mono/mono/mini/mono() [0x6394c6]
> /home/greg/mono/mono/mini/mono() [0x47974a]
> /home/greg/mono/mono/mini/mono() [0x422d8a]
> /home/greg/mono/mono/mini/mono() [0x49dd42]
> /home/greg/mono/mono/mini/mono() [0x49fb6a]
>
> Debug info from gdb:
>
> [New LWP 6528]
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
> 0x2ab35a4ea757 in __libc_waitpid (pid=pid@entry=6529,
> stat_loc=stat_loc@entry=0x7fffc0f9740c, options=options@entry=0) at
> ../sysdeps/unix/sysv/linux/waitpid.c:40
> 40  ../sysdeps/unix/sysv/linux/waitpid.c: No such file or directory.
>   Id   Target Id Frame
>   2Thread 0x2ab35d6b6700 (LWP 6528) "mono" sem_wait () at
> ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
> * 1Thread 0x2ab359be6500 (LWP 6519) "mono" 0x2ab35a4ea757 in
> __libc_waitpid (pid=pid@entry=6529, stat_loc=stat_loc@entry=0x7fffc0f9740c,
> options=options@entry=0) at ../sysdeps/unix/sysv/linux/waitpid.c:40
>
> Thread 2 (Thread 0x2ab35d6b6700 (LWP 6528)):
> #0  sem_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S:85
> #1  0x0062fd57 in mono_sem_wait (sem=sem@entry=0x9834c0
> , alertable=alertable@entry=1) at mono-semaphore.c:119
> #2  0x005ad9ea in finalizer_thread (unused=unused@entry=0x0) at
> gc.c:1073
> #3  0x0058fe0b in start_wrapper_internal (data=0x1401fd0) at
> threads.c:647
> #4  start_wrapper (data=0x1401fd0) at threads.c:692
> #5  0x0063482e in inner_start_thread (arg=0x7fffc0f98cd0) at
> mono-threads-posix.c:94
> #6  0x2ab35a4e2f6e in start_thread (arg=0x2ab35d6b6700) at
> pthread_create.c:311
> #7  0x2ab35a7f29cd in clone () at
> ../sysdeps/unix/sysv/linux/x86_64/clone.S:113
>
> Thread 1 (Thread 0x2ab359be6500 (LWP 6519)):
> #0  0x2ab35a4ea757 in __libc_waitpid (pid=pid@entry=6529,
> stat_loc=stat_loc@entry=0x7fffc0f9740c, options=options@entry=0) at
> ../sysdeps/unix/sysv/linux/waitpid.c:40
> #1  0x004b86f5 in mono_handle_native_sigsegv (signal= out>, ctx=) at mini-exceptions.c:2305
> #2  
> #3  0x2ab35a72ef77 in __GI_raise (sig=sig@entry=6) at
> ../nptl/sysdeps/unix/sysv/linux/raise.c:56
> #4  0x2ab35a7325e8 in __GI_abort () at abort.c:90
> #5  0x00639385 in monoeg_g_logv (log_domain=log_domain@entry=0x0,
> log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x641ee8
> "* Assertion at %s:%d, condition `%s' not met\n", 
> args=args@entry=0x7fffc0f98338)
> at goutput.c:175
> #6  0x006394c6 in monoeg_assertion_message 
> (format=format@entry=0x641ee8
> "* Assertion at %s:%d, condition `%s' not met\n") at goutput.c:195
> #7  0x0047974a in mono_spill_global_vars (cfg=cfg@entry=0x5ff3e90,
> need_local_opts=need_local_opts@entry=0x7fffc0f9877c) at
> method-to-ir.c:13337
> #8  0x00422d8a in mini_method_compile (method=method@entry=0x5788730,
> opts=, domain=, flags=flags@entry=JIT_FLAG_AOT,
> parts=parts@entry=0) at mini.c:5610
> #9  0x0049dd42 in compile_method (acfg=acfg@entry=0x1409f10,
> method=0x5788730) at aot-compiler.c:6513
> #10 0x0049fb6a in compile_method (method=,
> acfg=0x1409f10) at aot-compiler.c:8426
> #11 compile_methods (acfg=) at aot-compiler.c:8428
> #12 mono_compile_assembly (ass=ass@entry=0x1404dd0, opts=opts@entry=37023,
> aot_options=aot_options@entry=0x7fffc0f9b31a
> "bind-to-runtime-version,outfile=./../../class/lib/build//mcs.exe.so") at
> aot-compiler.c:8835
> #13 0x0048dadc in main_thread_handler (user_data= pointer>) at driver.c:1045
> #14 mono_main (argc=6, argv=) at driver.c:2024
> #15 0x2ab35a719de5 in __libc_start_main (main=0x419800 , argc=6,
> ubp_av=0x7fffc0f990b8, init=, fini=,
> rtld_fini=, stack_end=0x7fffc0f990a8) at libc-start.c:260
> #16 0x00419aac in _start ()
>
> =
> Got a SIGABRT while executing native code. This usually indicates
> a fatal error in the mono runtime or one of the native libraries
> used by your application.
> =
>
> Aborted (core dumped)
>
>
>
>
>
> On Thu, Mar 20, 2014