03-30 17:38:51.590: A/libc(12750): ../src/pj/os_core_unix.c:674: pj_thread_this: assertion "!"Calling pjlib from unknown/external thread. You must " "register external threads with pj_thread_register() " "before calling any pjlib functions."" failed
哪位大神遇到过这样异常?是什么意思?
下面是我报的全部异常:
03-30 17:59:35.550: A/libc(28589): ../src/pj/os_core_unix.c:674: pj_thread_this: assertion "!"Calling pjlib from unknown/external thread. You must " "register external threads with pj_thread_register() " "before calling any pjlib functions."" failed
03-30 17:59:35.550: A/libc(28589): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 28633 (AsyncTask #1)
03-30 17:59:35.550: A/libc(28589): ../src/pj/os_core_unix.c:674: pj_thread_this: assertion "!"Calling pjlib from unknown/external thread. You must " "register external threads with pj_thread_register() " "before calling any pjlib functions."" failed
03-30 17:59:35.550: A/libc(28589): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 28635 (AsyncTask #3)
03-30 17:59:35.550: A/libc(28589): ../src/pj/os_core_unix.c:674: pj_thread_this: assertion "!"Calling pjlib from unknown/external thread. You must " "register external threads with pj_thread_register() " "before calling any pjlib functions."" failed
03-30 17:59:35.550: A/libc(28589): Fatal signal 11 (SIGSEGV) at 0xdeadbaad (code=1), thread 28637 (AsyncTask #4)
------解决方案--------------------
你在重复使用AsyncTask的时候.需要先cancel.然后null再new.
个人这样理解的.