Re: alloc/free abort/kill in 12 snapshot

2017-03-24 Thread Jin Guojun
Forgot to post the console message when application crashed: Most times : jemalloc_arena.c:353: Failed assertion: "p[i] == 0" Some times  : jemalloc_arena.c:1648: Failed assertion: "pageind + npages <= chunk_npages" On Thursday, March 23, 2017 9:15 PM, Jin Guojun wrote: A X11 based pr

alloc/free abort/kill in 12 snapshot

2017-03-24 Thread Jin Guojun
A X11 based program works fine on 11 and all previous FreeBSD release and Linux.When build on FreeBSD-12.0-CURRENT-amd64-20170316-r315413, it gets weird crashes on either alloc and free.Both cases seem related to _pthread_mutex_init_calloc_cb ().Is this a known issue? Is possible to determine w