SEGV during nursery scanning

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

SEGV during nursery scanning

Neale Ferguson
+ADw-html+AD4- +ADw-head+AD4- +ADw-/head+AD4- +ADw-body style+AD0AIg-word-wrap: break-word+ADs- -webkit-nbsp-mode: space+ADs- -webkit-line-break: after-white-space+ADs- font-family: Calibri, sans-serif+ADs- font-size: 14px+ADs- color: rgb(0, 0, 0)+ADsAIgA+- +ADw-div+AD4-I recently started getting the following SEGV. It appears the stable field is offset by 4 bytes:+ADw-/div+AD4- +ADw-div+AD4APA-br+AD4- +ADw-/div+AD4- +ADw-div+AD4- +ADw-p style+AD0AIg-margin: 0px+ADs- font-size: 18px+ADs- line-height: normal+ADs- font-family: 'Courier New'+ADs- background-color: rgb(255, 254, 229)+ADsAIgA+- +ADw-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPgAj-3+ACY-nbsp+ADs- +ACY-lt+ADs-signal handler called+ACY-gt+ADsAPA-/span+AD4APA-/p+AD4- +ADw-p style+AD0AIg-margin: 0px+ADs- font-size: 18px+ADs- line-height: normal+ADs- font-family: 'Courier New'+ADs- background-color: rgb(255, 254, 229)+ADsAIgA+- +ADw-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPgAj-4+ACY-nbsp+ADs- sgen+AF8-client+AF8-par+AF8-object+AF8-get+AF8-size (vtable+AD0-0x8013150000000000, o+AD0-0x20001002060) at sgen-gc.c:3752+ADw-/span+AD4APA-/p+AD4- +ADw-p style+AD0AIg-margin: 0px+ADs- font-size: 18px+ADs- line-height: normal+ADs- font-family: 'Courier New'+ADs- background-color: rgb(255, 254, 229)+ADsAIgA+- +ADw-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPgAj-5+ACY-nbsp+ADs- 0x000000008028a4c4 in sgen+AF8-safe+AF8-object+AF8-get+AF8-size (obj+AD0-0x20001002060) at ../../mono/sgen/sgen-gc.h:756+ADw-/span+AD4APA-/p+AD4- +ADw-p style+AD0AIg-margin: 0px+ADs- font-size: 18px+ADs- line-height: normal+ADs- font-family: 'Courier New'+ADs- background-color: rgb(255, 254, 229)+ADsAIgA+- +ADw-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPgAj-6+ACY-nbsp+ADs- pin+AF8-objects+AF8-from+AF8-nursery+AF8-pin+AF8-queue (ctx+AD0-..., do+AF8-scan+AF8-objects+AD0-0) at sgen-gc.c:634+ADw-/span+AD4APA-/p+AD4- +ADw-p style+AD0AIg-margin: 0px+ADs- font-size: 18px+ADs- line-height: normal+ADs- font-family: 'Courier New'+ADs- background-color: rgb(255, 254, 229)+ADsAIgA+- +ADw-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPgAj-7+ACY-nbsp+ADs- pin+AF8-objects+AF8-in+AF8-nursery (do+AF8-scan+AF8-objects+AD0-do+AF8-scan+AF8-objects+AEA-entry+AD0-0, ctx+AD0AJg-lt+ADs-error reading variable: value has been optimized out+ACY-gt+ADs-) at sgen-gc.c:715+ADw-/span+AD4APA-/p+AD4- +ADw-p style+AD0AIg-margin: 0px+ADs- font-size: 18px+ADs- line-height: normal+ADs- font-family: 'Courier New'+ADs- background-color: rgb(255, 254, 229)+ADsAIgA+- +ADw-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPgAj-8+ACY-nbsp+ADs- 0x00000000802911ea in collect+AF8-nursery (reason+AD0-reason+AEA-entry+AD0-0x803b9c04 +ACY-quot+ADs-Nursery full+ACY-quot+ADs-, is+AF8-overflow+AD0-is+AF8-overflow+AEA-entry+AD0-0, unpin+AF8-queue+AD0-0x0) at sgen-gc.c:1719+ADw-/span+AD4APA-/p+AD4- +ADw-p style+AD0AIg-margin: 0px+ADs- font-size: 18px+ADs- line-height: normal+ADs- font-family: 'Courier New'+ADs- background-color: rgb(255, 254, 229)+ADsAIgA+- +ADw-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPgAj-9+ACY-nbsp+ADs- 0x0000000080291d6c in sgen+AF8-perform+AF8-collection (requested+AF8-size+AD0-requested+AF8-size+AEA-entry+AD0-4096, generation+AF8-to+AF8-collect+AD0AJg-lt+ADs-optimized out+ACY-gt+ADs-, reason+AD0-0x803b9c04 +ACY-quot+ADs-Nursery full+ACY-quot+ADs-, wait+AF8-to+AF8-finish+AD0-wait+AF8-to+AF8-finish+AEA-entry+AD0-0, stw+AD0-stw+AEA-entry+AD0-1) at sgen-gc.c:2504+ADw-/span+AD4APA-/p+AD4- +ADw-/div+AD4- +ADw-div+AD4APA-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPgA8-br+AD4- +ADw-/span+AD4APA-/div+AD4- +ADw-div+AD4APA-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPg-The only changes I have made is removing the PROFILING code from mini-s390x.c.+ADw-/span+AD4APA-/div+AD4- +ADw-div+AD4APA-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPgA8-br+AD4- +ADw-/span+AD4APA-/div+AD4- +ADw-div+AD4APA-span style+AD0AIg-font-variant-ligatures: no-common-ligatures+ACIAPg-Neale+ADw-/span+AD4APA-/div+AD4- +ADw-/body+AD4- +ADw-/html+AD4-
_______________________________________________
Mono-devel-list mailing list
[hidden email]
http://lists.dot.net/mailman/listinfo/mono-devel-list
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: SEGV during nursery scanning

Alexander Köplinger via Mono-devel-list

Hey Neale,

 

       How are you getting this crash ? Is it reliable ? Do you know what commit seems to trigger it ?

 

       You can try running with MONO_GC_DEBUG=nursery-canaries for additional logging.

 

Vlad

 

From: Mono-devel-list <[hidden email]> on behalf of Neale Ferguson <[hidden email]>
Date: Wednesday, 12 July 2017 at 00:35
To: Mono-Devel <[hidden email]>
Subject: [Mono-dev] SEGV during nursery scanning

 

I recently started getting the following SEGV. It appears the stable field is offset by 4 bytes:

 

#3  <signal handler called>

#4  sgen_client_par_object_get_size (vtable=0x8013150000000000, o=0x20001002060) at sgen-gc.c:3752

#5  0x000000008028a4c4 in sgen_safe_object_get_size (obj=0x20001002060) at ../../mono/sgen/sgen-gc.h:756

#6  pin_objects_from_nursery_pin_queue (ctx=..., do_scan_objects=0) at sgen-gc.c:634

#7  pin_objects_in_nursery (do_scan_objects=do_scan_objects@entry=0, ctx=<error reading variable: value has been optimized out>) at sgen-gc.c:715

#8  0x00000000802911ea in collect_nursery (reason=reason@entry=0x803b9c04 "Nursery full", is_overflow=is_overflow@entry=0, unpin_queue=0x0) at sgen-gc.c:1719

#9  0x0000000080291d6c in sgen_perform_collection (requested_size=requested_size@entry=4096, generation_to_collect=<optimized out>, reason=0x803b9c04 "Nursery full", wait_to_finish=wait_to_finish@entry=0, stw=stw@entry=1) at sgen-gc.c:2504



The only changes I have made is removing the PROFILING code from mini-s390x.c.



Neale


_______________________________________________
Mono-devel-list mailing list
[hidden email]
http://lists.dot.net/mailman/listinfo/mono-devel-list
Loading...