[Blink] pj_thread_register() " "before calling any pjlib functions."' assertion failed

Mark Watts miraiwarren at gmail.com
Sat Jun 22 01:53:32 CEST 2013


Running blink from the ag-projects ubuntu quantal apt repo, I got this
error (with backtrace):
#0  0x00007ffff6f1a425 in __GI_raise (sig=<optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1  0x00007ffff6f1db8b in __GI_abort () at abort.c:91
#2  0x00007ffff6f130ee in __assert_fail_base (fmt=<optimized out>,
    assertion=0x7fffecaec4e0 "!\"Calling pjlib from unknown/external
thread. You must \" \"register external threads with pj_thread_register()
\" \"before calling any pjlib functions.\"",
    file=0x7fffecaec3e4 "../src/pj/os_core_unix.c", line=<optimized out>,
    function=<optimized out>) at assert.c:94
#3  0x00007ffff6f13192 in __GI___assert_fail (
    assertion=0x7fffecaec4e0 "!\"Calling pjlib from unknown/external
thread. You must \" \"register external threads with pj_thread_register()
\" \"before calling any pjlib functions.\"",
    file=0x7fffecaec3e4 "../src/pj/os_core_unix.c", line=621,
    function=0x7fffecaec8cd <__PRETTY_FUNCTION__.6161> "pj_thread_this")
    at assert.c:103
#4  0x00007fffeca9c5c9 in pj_thread_this ()
   from /usr/lib/python2.7/dist-packages/sipsimple/core/_core.so
#5  0x00007fffeca9cc05 in pj_mutex_lock ()
   from /usr/lib/python2.7/dist-packages/sipsimple/core/_core.so
#6  0x00007fffec87d1fa in
__pyx_f_9sipsimple_4core_5_core__event_queue_append
(__pyx_v_event=0x7fffb80008c0) at sipsimple/core/_core.c:51635
#7  0x00007fffec87d2ef in __pyx_f_9sipsimple_4core_5_core__cb_log (
    __pyx_v_level=5,
    __pyx_v_data=0x7fffcb15e3d0 " 2013-06-21 16:30:46.648      pasound.c PA
message: Expression 'snd_pcm_start( stream->playback.pcm )' failed in
'src/../../../portaudio/src/hostapi/alsa/pa_linux_alsa.c', line: 2074\n",
    __pyx_v_len=183) at sipsimple/core/_core.c:51381
#8  0x00007fffecaa22bb in pj_log.part.0 ()
   from /usr/lib/python2.7/dist-packages/sipsimple/core/_core.so
#9  0x00007fffecaa2a2f in pj_log_5 ()
   from /usr/lib/python2.7/dist-packages/sipsimple/core/_core.so
#10 0x00007fffeca8760d in PaUtil_DebugPrint ()
   from /usr/lib/python2.7/dist-packages/sipsimple/core/_core.so
#11 0x00007fffeca8b94f in AlsaStart.constprop.20 ()
   from /usr/lib/python2.7/dist-packages/sipsimple/core/_core.so
#12 0x00007fffeca8f0e6 in CallbackThreadFunc ()
   from /usr/lib/python2.7/dist-packages/sipsimple/core/_core.so
#13 0x00007ffff7bc4e9a in start_thread (arg=0x7fffcb15f700)
    at pthread_create.c:308
#14 0x00007ffff6fd7ccd in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#15 0x0000000000000000 in ?? ()

This came from somewhere
after /usr/lib/python2.7/dist-packages/blink/util.py:20
Has anyone encountered this before?
-- 

Cheers,
Mark Watts
Department of Computer Science
University of Texas at Austin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ag-projects.com/pipermail/blink/attachments/20130621/154c4b84/attachment.html>


More information about the Blink mailing list