{"action":"created","issue":{"url":"https://api.github.com/repos/jemalloc/jemalloc/issues/365","repository_url":"https://api.github.com/repos/jemalloc/jemalloc","labels_url":"https://api.github.com/repos/jemalloc/jemalloc/issues/365/labels{/name}","comments_url":"https://api.github.com/repos/jemalloc/jemalloc/issues/365/comments","events_url":"https://api.github.com/repos/jemalloc/jemalloc/issues/365/events","html_url":"https://github.com/jemalloc/jemalloc/issues/365","id":144512580,"number":365,"title":"BUG tpp.c:62: __pthread_tpp_change_priority: Assertion ","user":{"login":"ruoshuiwyl","id":2267431,"avatar_url":"https://avatars.githubusercontent.com/u/2267431?v=3","gravatar_id":"","url":"https://api.github.com/users/ruoshuiwyl","html_url":"https://github.com/ruoshuiwyl","followers_url":"https://api.github.com/users/ruoshuiwyl/followers","following_url":"https://api.github.com/users/ruoshuiwyl/following{/other_user}","gists_url":"https://api.github.com/users/ruoshuiwyl/gists{/gist_id}","starred_url":"https://api.github.com/users/ruoshuiwyl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ruoshuiwyl/subscriptions","organizations_url":"https://api.github.com/users/ruoshuiwyl/orgs","repos_url":"https://api.github.com/users/ruoshuiwyl/repos","events_url":"https://api.github.com/users/ruoshuiwyl/events{/privacy}","received_events_url":"https://api.github.com/users/ruoshuiwyl/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-30T09:10:20Z","updated_at":"2016-04-12T02:31:42Z","closed_at":null,"body":"Hello\r\n\r\nuse jemalloc, find a bug. \r\ntpp.c:62: __pthread_tpp_change_priority: Assertion `new_prio == -1 || (new_prio >= __sched_fifo_min_prio && new_prio <= __sched_fifo_max_prio)' failed.\r\nenvirment:\r\nopensuse 42.1 (x86_64)\r\ngcc 5.2.1 \r\n\r\nbt:\r\n==9867==    at 0x4ABA90: __pthread_current_priority (tpp.c:148)\r\n==9867==    by 0x4009F0: __pthread_mutex_lock_full (pthread_mutex_lock.c:446)\r\n==9867==    by 0x49E216: je_malloc_mutex_lock (mutex.h:85)\r\n==9867==    by 0x49E216: je_tcache_bin_flush_small (tcache.c:114)\r\n==9867==    by 0x464253: je_tcache_dalloc_small (tcache.h:417)\r\n==9867==    by 0x464253: je_arena_dalloc (arena.h:1370)\r\n==9867==    by 0x464253: je_idalloctm (jemalloc_internal.h:1056)\r\n==9867==    by 0x464253: je_iqalloc (jemalloc_internal.h:1080)\r\n==9867==    by 0x464253: ifree (jemalloc.c:1819)\r\n\r\nPS\r\nuse PTHREAD_MUTEX_RECURSIVE_NP replace MALLOC_MUTEX_TYPE.\r\nIt don't work!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/jemalloc/jemalloc/issues/comments/208673130","html_url":"https://github.com/jemalloc/jemalloc/issues/365#issuecomment-208673130","issue_url":"https://api.github.com/repos/jemalloc/jemalloc/issues/365","id":208673130,"user":{"login":"jasone","id":245970,"avatar_url":"https://avatars.githubusercontent.com/u/245970?v=3","gravatar_id":"","url":"https://api.github.com/users/jasone","html_url":"https://github.com/jasone","followers_url":"https://api.github.com/users/jasone/followers","following_url":"https://api.github.com/users/jasone/following{/other_user}","gists_url":"https://api.github.com/users/jasone/gists{/gist_id}","starred_url":"https://api.github.com/users/jasone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasone/subscriptions","organizations_url":"https://api.github.com/users/jasone/orgs","repos_url":"https://api.github.com/users/jasone/repos","events_url":"https://api.github.com/users/jasone/events{/privacy}","received_events_url":"https://api.github.com/users/jasone/received_events","type":"User","site_admin":false},"created_at":"2016-04-12T02:31:42Z","updated_at":"2016-04-12T02:31:42Z","body":"I'm assuming you mean [bwa 0.7.12](https://github.com/lh3/bwa/releases/tag/0.7.12).  Unfortunately, I wasn't able to reproduce the problem with the SARS dataset I had on hand (```bwa index sars_full.fasta; LD_PRELOAD=$HOME/jemalloc/lib/libjemalloc.so.2 bwa mem -t 40 sars_full.fasta sars_full.fasta```), and I need more details:\r\n\r\n- What version of jemalloc are you using, and how are you compiling it, linking it in to bwa, etc.?  I see no evidence that bwa has built-in support for jemalloc.\r\n- What hardware are you using?\r\n- Where can I download the dataset you're using?"}}