Bug 10434 - Mono 3.0.5 jit segmentation fault in domain.c
Summary: Mono 3.0.5 jit segmentation fault in domain.c
Status: RESOLVED NORESPONSE
Alias: None
Product: Runtime
Classification: Mono
Component: JIT ()
Version: unspecified
Hardware: PC Linux
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2013-02-19 07:29 UTC by Victor
Modified: 2017-07-07 19:09 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on GitHub or Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED NORESPONSE

Description Victor 2013-02-19 07:29:57 UTC
process usr/bin/mono was killed by signal 11 (SIGSEGV)

Red Hat Enterprise Linux Server release 6.3 (Santiago)
mono-core-2.10.8-113108

Linux 2.6.32-279.el6.x86_64

mono /data/filter/Release/SMTPFilter.exe +args

Limit                     Soft Limit           Hard Limit           Units
Max cpu time              unlimited            unlimited            seconds
Max file size             unlimited            unlimited            bytes
Max data size             unlimited            unlimited            bytes
Max stack size            10485760             unlimited            bytes
Max core file size        0                    0                    bytes
Max resident set          unlimited            unlimited            bytes
Max processes             1024                 unlimited            processes
Max open files            4096                 4096                 files
Max locked memory         65536                65536                bytes
Max address space         unlimited            unlimited            bytes
Max file locks            unlimited            unlimited            locks
Max pending signals       62796                62796                signals
Max msgqueue size         819200               819200               bytes
Max nice priority         0                    0
Max realtime priority     0                    0
Max realtime timeout      unlimited            unlimited            us


00400000-006e4000 r-xp 00000000 fd:00 201580                             /usr/bin/mono
008e3000-008ed000 rw-p 002e3000 fd:00 201580                             /usr/bin/mono
008ed000-00927000 rw-p 00000000 00:00 0
00aec000-00af4000 rw-p 002ec000 fd:00 201580                             /usr/bin/mono
0188f000-01d7c000 rw-p 00000000 00:00 0                                  [heap]
400d9000-400ea000 rwxp 00000000 00:00 0
40363000-40374000 rwxp 00000000 00:00 0
40583000-40594000 rwxp 00000000 00:00 0
40611000-40622000 rwxp 00000000 00:00 0
40742000-40753000 rwxp 00000000 00:00 0
4089b000-408ac000 rwxp 00000000 00:00 0
40c73000-40c84000 rwxp 00000000 00:00 0
40d5f000-40d70000 rwxp 00000000 00:00 0
40f7b000-40f8c000 rwxp 00000000 00:00 0
41059000-4105a000 ---p 00000000 00:00 0
41083000-41094000 rwxp 00000000 00:00 0
4124a000-4125b000 rwxp 00000000 00:00 0
4134b000-4135c000 rwxp 00000000 00:00 0
413d7000-413d8000 r--p 00000000 00:00 0
414ce000-414df000 rwxp 00000000 00:00 0
41622000-41633000 rwxp 00000000 00:00 0
41711000-41722000 rwxp 00000000 00:00 0
417dc000-417ed000 rwxp 00000000 00:00 0
41cd6000-41ce7000 rwxp 00000000 00:00 0
41ec6000-41ed7000 rwxp 00000000 00:00 0
41fdb000-41fec000 rwxp 00000000 00:00 0
3f56e00000-3f56e20000 r-xp 00000000 fd:00 26838                          /lib64/ld-2.12.so
3f5701f000-3f57020000 r--p 0001f000 fd:00 26838                          /lib64/ld-2.12.so
3f57020000-3f57021000 rw-p 00020000 fd:00 26838                          /lib64/ld-2.12.so
3f57021000-3f57022000 rw-p 00000000 00:00 0
3f57600000-3f57789000 r-xp 00000000 fd:00 26840                          /lib64/libc-2.12.so
3f57789000-3f57988000 ---p 00189000 fd:00 26840                          /lib64/libc-2.12.so
3f57988000-3f5798c000 r--p 00188000 fd:00 26840                          /lib64/libc-2.12.so
3f5798c000-3f5798d000 rw-p 0018c000 fd:00 26840                          /lib64/libc-2.12.so
3f5798d000-3f57992000 rw-p 00000000 00:00 0
3f57a00000-3f57a02000 r-xp 00000000 fd:00 26845                          /lib64/libdl-2.12.so
3f57a02000-3f57c02000 ---p 00002000 fd:00 26845                          /lib64/libdl-2.12.so
3f57c02000-3f57c03000 r--p 00002000 fd:00 26845                          /lib64/libdl-2.12.so
3f57c03000-3f57c04000 rw-p 00003000 fd:00 26845                          /lib64/libdl-2.12.so
3f57e00000-3f57e17000 r-xp 00000000 fd:00 26841                          /lib64/libpthread-2.12.so
3f57e17000-3f58017000 ---p 00017000 fd:00 26841                          /lib64/libpthread-2.12.so
3f58017000-3f58018000 r--p 00017000 fd:00 26841                          /lib64/libpthread-2.12.so
3f58018000-3f58019000 rw-p 00018000 fd:00 26841                          /lib64/libpthread-2.12.so
3f58019000-3f5801d000 rw-p 00000000 00:00 0
3f58200000-3f58283000 r-xp 00000000 fd:00 26851                          /lib64/libm-2.12.so
3f58283000-3f58482000 ---p 00083000 fd:00 26851                          /lib64/libm-2.12.so
3f58482000-3f58483000 r--p 00082000 fd:00 26851                          /lib64/libm-2.12.so
3f58483000-3f58484000 rw-p 00083000 fd:00 26851                          /lib64/libm-2.12.so
3f58600000-3f58607000 r-xp 00000000 fd:00 26842                          /lib64/librt-2.12.so
3f58607000-3f58806000 ---p 00007000 fd:00 26842                          /lib64/librt-2.12.so
3f58806000-3f58807000 r--p 00006000 fd:00 26842                          /lib64/librt-2.12.so
3f58807000-3f58808000 rw-p 00007000 fd:00 26842                          /lib64/librt-2.12.so
3f5de00000-3f5de16000 r-xp 00000000 fd:00 26874                          /lib64/libgcc_s-4.4.6-20120305.so.1
3f5de16000-3f5e015000 ---p 00016000 fd:00 26874                          /lib64/libgcc_s-4.4.6-20120305.so.1
3f5e015000-3f5e016000 rw-p 00015000 fd:00 26874                          /lib64/libgcc_s-4.4.6-20120305.so.1
7fe7a4000000-7fe7a4021000 rw-p 00000000 00:00 0
7fe7a4021000-7fe7a8000000 ---p 00000000 00:00 0
7fe7a8000000-7fe7a8032000 rw-p 00000000 00:00 0
7fe7a8032000-7fe7ac000000 ---p 00000000 00:00 0
7fe7ac000000-7fe7ac022000 rw-p 00000000 00:00 0
7fe7ac022000-7fe7b0000000 ---p 00000000 00:00 0
7fe7b0000000-7fe7b0021000 rw-p 00000000 00:00 0
7fe7b0021000-7fe7b4000000 ---p 00000000 00:00 0
7fe7b7ffc000-7fe7b8000000 rw-p 00000000 00:00 0
7fe7b8000000-7fe7b807b000 rw-p 00000000 00:00 0
7fe7b807b000-7fe7bc000000 ---p 00000000 00:00 0
7fe7bc000000-7fe7bc049000 rw-p 00000000 00:00 0
7fe7bc049000-7fe7c0000000 ---p 00000000 00:00 0
7fe7c0000000-7fe7c0021000 rw-p 00000000 00:00 0
7fe7c0021000-7fe7c4000000 ---p 00000000 00:00 0
7fe7c4aeb000-7fe7c4af7000 r-xp 00000000 fd:00 66                         /lib64/libnss_files-2.12.so
7fe7c4af7000-7fe7c4cf7000 ---p 0000c000 fd:00 66                         /lib64/libnss_files-2.12.so
7fe7c4cf7000-7fe7c4cf8000 r--p 0000c000 fd:00 66                         /lib64/libnss_files-2.12.so
7fe7c4cf8000-7fe7c4cf9000 rw-p 0000d000 fd:00 66                         /lib64/libnss_files-2.12.so
7fe7c4d10000-7fe7c4d18000 rw-p 00000000 00:00 0
7fe7c4d18000-7fe7c4d21000 ---p 00000000 00:00 0
7fe7c4d21000-7fe7c4f19000 rw-p 00000000 00:00 0
7fe7c4f19000-7fe7c4f22000 ---p 00000000 00:00 0
7fe7c4f22000-7fe7c4f6a000 rw-p 00000000 00:00 0
7fe7c4f6a000-7fe7c5194000 r--p 00000000 fd:00 201224                     /usr/lib/mono/gac/System.Web/2.0.0.0__b03f5f7f11d50a3a/System.Web.dll
7fe7c5194000-7fe7c51a0000 r--p 00000000 fd:00 200937                     /usr/lib/mono/gac/System.EnterpriseServices/2.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
7fe7c51a0000-7fe7c51f6000 r--p 00000000 fd:00 201218                     /usr/lib/mono/gac/System.Web.Services/2.0.0.0__b03f5f7f11d50a3a/System.Web.Services.dll
7fe7c51f6000-7fe7c51fc000 r--p 00000000 fd:03 262150                     /data/filter/Release/ZimbraSoapClient.dll
7fe7c51fc000-7fe7c6645000 rw-p 00000000 00:00 0
7fe7c6649000-7fe7c664a000 ---p 00000000 00:00 0
7fe7c664a000-7fe7c668a000 rw-p 00000000 00:00 0
7fe7c668a000-7fe7c6693000 ---p 00000000 00:00 0
7fe7c6693000-7fe7c66cb000 rw-p 00000000 00:00 0
7fe7c66cb000-7fe7c6700000 r--s 00000000 fd:00 292416                     /var/db/nscd/hosts
7fe7c6700000-7fe7c6704000 rw-p 00000000 00:00 0
7fe7c6704000-7fe7c670d000 ---p 00000000 00:00 0
7fe7c670d000-7fe7c6905000 rw-p 00000000 00:00 0
7fe7c6905000-7fe7c694c000 r--p 00000000 fd:00 200741                     /usr/lib/mono/gac/Mono.Security/2.0.0.0__0738eb9f132ed756/Mono.Security.dll
7fe7c694c000-7fe7c6a1c000 r--p 00000000 fd:00 200923                     /usr/lib/mono/gac/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
7fe7c6a1c000-7fe7c6a71000 r--p 00000000 fd:03 262148                     /data/filter/Release/Npgsql.dll
7fe7c6a71000-7fe7c6b4e000 rw-p 00000000 00:00 0
7fe7c6b4e000-7fe7c6b7f000 r--p 00000000 fd:03 262155                     /data/filter/Release/ICSharpCode.SharpZipLib.dll
7fe7c6b7f000-7fe7c6bf4000 r--p 00000000 fd:03 262194                     /data/filter/Release/IntranetEngine.Client.dll
7fe7c6bf4000-7fe7c6bf8000 rw-p 00000000 00:00 0
7fe7c6bf8000-7fe7c6c01000 ---p 00000000 00:00 0
7fe7c6c01000-7fe7c6df9000 rw-p 00000000 00:00 0
7fe7c6df9000-7fe7c6e04000 r--p 00000000 fd:03 262147                     /data/filter/Release/Memcached.ClientLibrary.dll
7fe7c6e04000-7fe7c6efd000 rw-p 00000000 00:00 0
7fe7c6efd000-7fe7c7033000 r--p 00000000 fd:00 200820                     /usr/lib/mono/gac/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
7fe7c7033000-7fe7c7051000 r--p 00000000 fd:00 200770                     /usr/lib/mono/gac/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
7fe7c7051000-7fe7c7066000 rw-p 00000000 00:00 0
7fe7c7066000-7fe7c7203000 r--p 00000000 fd:00 200826                     /usr/lib/mono/gac/System/2.0.0.0__b77a5c561934e089/System.dll
7fe7c7203000-7fe7c7243000 r--p 00000000 fd:03 262151                     /data/filter/Release/log4net.dll
7fe7c7243000-7fe7c7253000 rw-p 00000000 00:00 0
7fe7c7253000-7fe7c725c000 ---p 00000000 00:00 0
7fe7c725c000-7fe7c7465000 rw-p 00000000 00:00 0
7fe7c7465000-7fe7c74a4000 ---p 00000000 00:00 0
7fe7c74a4000-7fe7c74b4000 rw-p 00000000 00:00 0
7fe7c74b4000-7fe7c74e9000 r--s 00000000 fd:00 292414                     /var/db/nscd/passwd
7fe7c74e9000-7fe7c7763000 r--p 00000000 fd:00 200586                     /usr/lib/mono/2.0/mscorlib.dll
7fe7c7763000-7fe7c777f000 r--p 00000000 fd:03 262149                     /data/filter/Release/SMTPFilter.exe
7fe7c777f000-7fe7c77af000 rw-p 00000000 00:00 0
7fe7c77af000-7fe7c77b0000 ---p 00000000 00:00 0
7fe7c77b0000-7fe7c81b5000 rw-p 00000000 00:00 0
7fe7c81b7000-7fe7c81c7000 rw-p 00000000 00:00 0
7fe7c81c7000-7fe7c81c8000 rw-s 00000000 00:0f 13715905                   /dev/shm/mono.13108
7fe7c81c8000-7fe7c81cd000 rw-p 00000000 00:00 0
7fffe7064000-7fffe706c000 ---p 00000000 00:00 0
7fffe7a4e000-7fffe7a63000 rw-p 00000000 00:00 0                          [stack]
7fffe7a87000-7fffe7a88000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]

0:pipe:[13715753]
pos:    0
flags:  00
1:pipe:[13715882]
pos:    0
flags:  01
2:pipe:[13715754]
pos:    0
flags:  04001
3:socket:[13717598]
pos:    0
flags:  02
4:/dev/urandom
pos:    0
flags:  0100000
5:socket:[13718111]
pos:    0
flags:  02
6:socket:[13718113]
pos:    0
flags:  02
7:socket:[13718185]
pos:    0
flags:  02
8:socket:[13718295]
pos:    0
flags:  02
9:socket:[13718388]
pos:    0
flags:  02
10:pipe:[13701803]
pos:    0
flags:  04000
11:pipe:[13701803]
pos:    0
flags:  04001
12:socket:[13718474]
pos:    0
flags:  02


Program terminated with signal 11, Segmentation fault.
#0  jit_info_table_index (table=0x0, addr=0x50abf4 "D\213O\bE\205\311~GD\211\311\061\300\353\n\017\037@") at domain.c:332
332             int left = 0, right = table->num_chunks;
Mono support loaded.
Missing separate debuginfos, use: debuginfo-install glibc-2.12-1.80.el6.x86_64 libgcc-4.4.6-4.el6.x86_64
(gdb) bt
#0  jit_info_table_index (table=0x0, addr=0x50abf4 "D\213O\bE\205\311~GD\211\311\061\300\353\n\017\037@") at domain.c:332
#1  0x000000000050e30c in mono_jit_info_table_find (domain=0x7fe7a8004d60, addr=
    0x50abf4 "D\213O\bE\205\311~GD\211\311\061\300\353\n\017\037@") at domain.c:393
#2  0x000000000048c2ea in mini_jit_info_table_find (domain=0x7fe7c7793cc0, addr=
    0x50abf4 "D\213O\bE\205\311~GD\211\311\061\300\353\n\017\037@", out_domain=0x0) at mini-exceptions.c:1050
#3  0x00000000004e2f00 in mono_arch_handle_altstack_exception (sigctx=<value optimized out>, fault_addr=<value optimized out>,
    stack_ovf=0) at exceptions-amd64.c:946
#4  0x0000000000415029 in mono_sigsegv_signal_handler (_dummy=11, info=0x7fe7c4d13f70, context=0x7fe7c4d13e40) at mini.c:5909
#5  <signal handler called>
#6  jit_info_table_index (table=0x0, addr=0x3f57677a4f "H\211Z\030H\203\310\001H\211,+H\211C\bH\201\375\377\377")
    at domain.c:332
#7  0x000000000050e30c in mono_jit_info_table_find (domain=0x7fe7a8004d60, addr=
    0x3f57677a4f "H\211Z\030H\203\310\001H\211,+H\211C\bH\201\375\377\377") at domain.c:393
#8  0x000000000048c2ea in mini_jit_info_table_find (domain=0x7fe7c7793cc0, addr=
    0x3f57677a4f "H\211Z\030H\203\310\001H\211,+H\211C\bH\201\375\377\377", out_domain=0x7fe7c4f17418)
    at mini-exceptions.c:1050
#9  0x000000000048c9f7 in mono_find_jit_info_ext (domain=0x7fe7c7793cc0, jit_tls=<value optimized out>,
    prev_ji=<value optimized out>, ctx=0x7fe7c4f17510, new_ctx=0x7fe7c4f174a0, trace=0x0, lmf=0x7fe7c4f17498, save_locations=
    0x0, frame=0x7fe7c4f17580) at mini-exceptions.c:351
#10 0x000000000048dbce in mono_walk_stack (func=0x48b2c0 <find_last_handler_block>, domain=0x7fe7c7793cc0,
    start_ctx=<value optimized out>, unwind_options=<value optimized out>, thread=<value optimized out>, lmf=0x7fe7a8000c20,
    user_data=0x7fe7c4f17630) at mini-exceptions.c:721
#11 0x000000000048dd3c in mono_install_handler_block_guard (thread=<value optimized out>, ctx=0x7fe7c4f176e0)
    at mini-exceptions.c:2429
#12 0x00000000004e89c8 in sigusr1_signal_handler (_dummy=<value optimized out>, info=<value optimized out>, context=
    0x7fe7c4f17780) at mini-posix.c:249
#13 <signal handler called>
#14 0x0000003f57677a4f in _int_free () from /lib64/libc.so.6
#15 0x0000000000511eff in ref_stack_destroy (thread=0x7fe7c6e89c30) at threads.c:3336
#16 thread_cleanup (thread=0x7fe7c6e89c30) at threads.c:607
#17 0x0000000000514173 in start_wrapper_internal (data=0x1d20640) at threads.c:800
#18 start_wrapper (data=0x1d20640) at threads.c:832
#19 0x00000000005ae524 in thread_start_routine (args=0x18f0ab8) at wthreads.c:287
#20 0x00000000005e24de in GC_start_routine (arg=<value optimized out>) at pthread_support.c:1468
#21 0x0000003f57e07851 in start_thread () from /lib64/libpthread.so.0
#22 0x0000003f576e767d in clone () from /lib64/libc.so.6
Comment 1 Victor 2013-02-19 07:30:49 UTC
Happens randomly
Comment 2 Victor 2013-02-19 08:09:05 UTC
In domain.c file :

jit_info_table_index (MonoJitInfoTable *table, gint8 *addr)
{
        int left = 0, right = table->num_chunks;

        g_assert (left < right);

...


I think table->num_chunks is the pointer which cause the seg fault.
Comment 3 Rodrigo Kumpera 2013-02-19 08:24:19 UTC
This has been fixed on the the of 2.10, please wait for the next release.
Comment 4 Victor 2013-02-19 08:46:24 UTC
Thanks you very much for your reply Mr Rodrigo Kumpera

I've seen the mono-2.11.4.tar.bz2 release on the mono website, can you tell me if I already can find the fixed source code ?

If it is not published about how many days should I wait ? Will it be a 2.10.x release or a 3.x release ?

Regards
Comment 5 Victor 2013-02-21 04:19:00 UTC
An other segmentation fault with Mono 3.0.5 from git master :

#0  0x00000000005932a1 in ?? ()
#1  0x0000000000596a5c in mono_jit_info_table_find ()
#2  0x000000000049a6fa in ?? ()
#3  0x00000000004f5e20 in ?? ()
#4  0x0000000000415439 in ?? ()
#5  <signal handler called>
#6  0x00000000005932a1 in ?? ()
#7  0x0000000000596a5c in mono_jit_info_table_find ()
#8  0x000000000049a6fa in ?? ()
#9  0x000000000049af2a in ?? ()
#10 0x000000000049c546 in ?? ()
#11 0x000000000049c72c in ?? ()
#12 0x000000000049c81f in ?? ()
#13 0x00000000004fb834 in ?? ()
#14 <signal handler called>
#15 0x0000003f57677a4f in _int_free () from /lib64/libc.so.6
#16 0x000000000057441d in ?? ()
#17 0x000000000057675f in ?? ()
#18 0x00000000005e0e03 in ?? ()
#19 0x00000000005f0e09 in ?? ()
#20 0x00000000005ff56e in ?? ()
#21 0x0000003f57e07851 in start_thread () from /lib64/libpthread.so.0
#22 0x0000003f576e767d in clone () from /lib64/libc.so.6

The fix seems to introduce a new bug
Comment 6 Victor 2013-02-21 05:09:07 UTC
With the mono-core debuginfo :

#0  jit_info_table_index (table=0x1affdd0, addr=
    0x5932a1 "N\213D\307\020I;p\br܍B\001\071\310|\333u*A\215Q\377A9\301\017N\302H\203\304\bù\323\362l") at domain.c:301
#1  0x0000000000596a5c in mono_jit_info_table_find (domain=0x7f4710006160, addr=
    0x5932a1 "N\213D\307\020I;p\br܍B\001\071\310|\333u*A\215Q\377A9\301\017N\302H\203\304\bù\323\362l") at domain.c:354
#2  0x000000000049a6fa in mini_jit_info_table_find (domain=0x7f47306c6cc0, addr=
    0x5932a1 "N\213D\307\020I;p\br܍B\001\071\310|\333u*A\215Q\377A9\301\017N\302H\203\304\bù\323\362l", out_domain=0x0)
    at mini-exceptions.c:1154
#3  0x00000000004f5e20 in mono_arch_handle_altstack_exception (sigctx=0x7f472d743e40, fault_addr=<value optimized out>,
    stack_ovf=0) at exceptions-amd64.c:876
#4  0x0000000000415439 in mono_sigsegv_signal_handler (_dummy=11, info=0x7f472d743f70, context=0x7f472d743e40) at mini.c:6371
#5  <signal handler called>
#6  jit_info_table_index (table=0x1affdd0, addr=0x3f57677a4f "H\211Z\030H\203\310\001H\211,+H\211C\bH\201\375\377\377")
    at domain.c:301
#7  0x0000000000596a5c in mono_jit_info_table_find (domain=0x7f4710006160, addr=
    0x3f57677a4f "H\211Z\030H\203\310\001H\211,+H\211C\bH\201\375\377\377") at domain.c:354
#8  0x000000000049a6fa in mini_jit_info_table_find (domain=0x7f47306c6cc0, addr=
    0x3f57677a4f "H\211Z\030H\203\310\001H\211,+H\211C\bH\201\375\377\377", out_domain=0x7f472d947148)
    at mini-exceptions.c:1154
#9  0x000000000049af2a in mono_find_jit_info_ext (domain=0x7f47306c6cc0, jit_tls=<value optimized out>,
    prev_ji=<value optimized out>, ctx=0x7f472d947280, new_ctx=0x7f472d9471f0, trace=0x0, lmf=0x7f472d9471e8, save_locations=
    0x0, frame=0x7f472d947410) at mini-exceptions.c:367
#10 0x000000000049c546 in mono_walk_stack_full (func=0x499360 <find_last_handler_block>, start_ctx=<value optimized out>,
    domain=0x7f47306c6cc0, jit_tls=0x7f4710000af0, lmf=0x7f4710000e40, unwind_options=<value optimized out>, user_data=
    0x7f472d9475a0) at mini-exceptions.c:824
#11 0x000000000049c72c in mono_walk_stack_with_state (func=0x499360 <find_last_handler_block>, state=<value optimized out>,
    unwind_options=<value optimized out>, user_data=<value optimized out>) at mini-exceptions.c:770
#12 0x000000000049c81f in mono_install_handler_block_guard (ctx=<value optimized out>) at mini-exceptions.c:2555
#13 0x00000000004fb834 in sigusr1_signal_handler (_dummy=<value optimized out>, info=<value optimized out>, context=
    0x7f472d947740) at mini-posix.c:256
#14 <signal handler called>
#15 0x0000003f57677a4f in _int_free () from /lib64/libc.so.6
#16 0x000000000057441d in ref_stack_destroy (thread=0x7f472e42edc0) at threads.c:3326
#17 thread_cleanup (thread=0x7f472e42edc0) at threads.c:407
#18 0x000000000057675f in start_wrapper_internal (data=0x1e4e210) at threads.c:609
#19 start_wrapper (data=0x1e4e210) at threads.c:639
#20 0x00000000005e0e03 in thread_start_routine (args=0x1a11d38) at wthreads.c:288
#21 0x00000000005f0e09 in inner_start_thread (arg=0x1e4d150) at mono-threads-posix.c:49
#22 0x00000000005ff56e in GC_start_routine (arg=<value optimized out>) at pthread_support.c:1510
#23 0x0000003f57e07851 in start_thread () from /lib64/libpthread.so.0
#24 0x0000003f576e767d in clone () from /lib64/libc.so.6
Comment 7 Rodrigo Kumpera 2013-08-23 14:31:27 UTC
Please provide us with a test case.
Comment 8 Ludovic Henry 2017-07-07 19:09:43 UTC
If you can still reproduce with latest mono version, please feel free to reopen the bug. Thank you.