[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#854295: brltty-espeak: crashes while emitting speech



Hi

Sebastian Humenda schrieb am 20.02.2017, 11:13 +0100:
>>Ok, we can wait more, no pb :)
>No crashes, I think it's safe.
Ok, seems hard to reproduce. Here's another bt.

Thanks
Sebastian
===


Thread 8 (Thread 0x7f6285632700 (LWP 16207)):
#0  0x00007f629273e536 in futex_abstimed_wait_cancelable (private=0, abstime=0x0, expected=0, futex_word=0x7f628ead8e20 <my_sem_start_is_required>) at ../sysdeps/unix/sysv/linux/futex-internal.h:205
        __ret = -512
        oldtype = 0
        err = <optimized out>
#1  0x00007f629273e536 in do_futex_wait (sem=sem@entry=0x7f628ead8e20 <my_sem_start_is_required>, abstime=0x0) at sem_waitcommon.c:111
#2  0x00007f629273e5e4 in __new_sem_wait_slow (sem=0x7f628ead8e20 <my_sem_start_is_required>, abstime=0x0) at sem_waitcommon.c:181
        _buffer = 
          {__routine = 0x7f629273e4f0 <__sem_wait_cleanup>, __arg = 0x7f628ead8e20 <my_sem_start_is_required>, __canceltype = -2057102060, __prev = 0x0}
        err = <optimized out>
        d = 0
#3  0x00007f629273e679 in __new_sem_wait (sem=sem@entry=0x7f628ead8e20 <my_sem_start_is_required>)
    at sem_wait.c:29
#4  0x00007f628e8b4d29 in polling_thread (p=<optimized out>) at src/libespeak-ng/event.c:257
        a_stop_is_required = 0
        a_status = <optimized out>
        __PRETTY_FUNCTION__ = "polling_thread"
#5  0x00007f6292736424 in start_thread (arg=0x7f6285632700) at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f6285632700
        now = <optimized out>
        unwind_buf = 
              {cancel_jmp_buf = {{jmp_buf = {140061121390336, 3196702752626820878, 0, 140061140511567, 140061121390336, 140060829763568, -3271316536130418930, -3271340861131077874}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#6  0x00007f62924799bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 7 (Thread 0x7f627bfff700 (LWP 3814)):
#0  0x00007f629247054d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f6292fc49f6 in g_main_context_poll (priority=<optimized out>, n_fds=2, fds=0x7f62700010c0, timeout=<optimized out>, context=0x7f628001a6b0) at ././glib/gmain.c:4228
        poll_func = 0x7f6292fd4840 <g_poll>
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 2
        allocated_nfds = 2
        fds = 0x7f62700010c0
#2  0x00007f6292fc49f6 in g_main_context_iterate (context=0x7f628001a6b0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3924
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 2
        allocated_nfds = 2
        fds = 0x7f62700010c0
#3  0x00007f6292fc4d82 in g_main_loop_run (loop=0x7f628001a640) at ././glib/gmain.c:4125
        __func__ = "g_main_loop_run"
#4  0x00007f62935ac4f6 in gdbus_shared_thread_func (user_data=0x7f628001a680)
    at ././gio/gdbusprivate.c:247
        data = 0x7f628001a680
#5  0x00007f6292fec345 in g_thread_proxy (data=0x7f628001c4a0) at ././glib/gthread.c:784
        thread = 0x7f628001c4a0
#6  0x00007f6292736424 in start_thread (arg=0x7f627bfff700) at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f627bfff700
        now = <optimized out>
        unwind_buf = 
              {cancel_jmp_buf = {{jmp_buf = {140060963895040, 3196702752626820878, 0, 140061397808015, 0, 140061397909568, -3271847774729681138, -3271340861131077874}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#7  0x00007f62924799bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 6 (Thread 0x7f628f902700 (LWP 2903)):
#0  0x00007f629247054d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x000056156aeaa37c in asyncExecuteIoCallback ()
#2  0x000056156aea8f19 in asyncAwaitCondition ()
#3  0x000056156aea9030 in asyncWaitFor ()
#4  0x000056156aed0816 in runTuneThread ()
#5  0x000056156aeaba8f in  ()
#6  0x00007f6292736424 in start_thread (arg=0x7f628f902700) at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f628f902700
        now = <optimized out>
        unwind_buf = 
              {cancel_jmp_buf = {{jmp_buf = {140061292111616, 3196702752626820878, 0, 140736167970879, 0, 140061397909568, -3271329567061194994, -3271340861131077874}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#7  0x00007f62924799bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 5 (Thread 0x7f6287070700 (LWP 16203)):
#0  0x00007f629247054d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x000056156aeaa37c in asyncExecuteIoCallback ()
#2  0x000056156aea8f19 in asyncAwaitCondition ()
#3  0x000056156aea9030 in asyncWaitFor ()
#4  0x000056156aee6894 in runSpeechDriverThread ()
#5  0x000056156aeaba8f in  ()
#6  0x00007f6292736424 in start_thread (arg=0x7f6287070700) at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f6287070700
        now = <optimized out>
        unwind_buf = 
              {cancel_jmp_buf = {{jmp_buf = {140061148907264, 3196702752626820878, 0, 140736167970143, 140061148907264, 94650015711664, -3271312922989181170, -3271340861131077874}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#7  0x00007f62924799bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 4 (Thread 0x7f6295d20900 (LWP 2901)):
#0  0x00007f629247054d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x000056156aeaa37c in asyncExecuteIoCallback ()
#2  0x000056156aea8f19 in asyncAwaitCondition ()
#3  0x000056156ae9e3ca in brlttyWait ()
#4  0x000056156ae9c23a in main ()

Thread 3 (Thread 0x7f6284e31700 (LWP 3813)):
#0  0x00007f629247054d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f6292fc49f6 in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f626c0008e0, timeout=<optimized out>, context=0x7f6280019e90) at ././glib/gmain.c:4228
        poll_func = 0x7f6292fd4840 <g_poll>
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = 1
        fds = 0x7f626c0008e0
#2  0x00007f6292fc49f6 in g_main_context_iterate (context=context@entry=0x7f6280019e90, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ././glib/gmain.c:3924
        max_priority = 2147483647
        timeout = -1
        some_ready = <optimized out>
        nfds = 1
        allocated_nfds = 1
        fds = 0x7f626c0008e0
#3  0x00007f6292fc4b0c in g_main_context_iteration (context=0x7f6280019e90, may_block=may_block@entry=1)
    at ././glib/gmain.c:3990
        retval = <optimized out>
#4  0x00007f6292fc4b51 in glib_worker_main (data=<optimized out>) at ././glib/gmain.c:5783
#5  0x00007f6292fec345 in g_thread_proxy (data=0x7f628001c450) at ././glib/gthread.c:784
        thread = 0x7f628001c450
#6  0x00007f6292736424 in start_thread (arg=0x7f6284e31700) at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f6284e31700
        now = <optimized out>
        unwind_buf = 
              {cancel_jmp_buf = {{jmp_buf = {140061112997632, 3196702752626820878, 0, 140061397807663, 0, 140061397909568, -3271317635105175794, -3271340861131077874}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#7  0x00007f62924799bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 2 (Thread 0x7f6295dd0700 (LWP 2904)):
#0  0x00007f6292472293 in select () at ../sysdeps/unix/syscall-template.S:84
#1  0x000056156aeec4dd in runServer ()
#2  0x000056156aeaba8f in  ()
#3  0x00007f6292736424 in start_thread (arg=0x7f6295dd0700) at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f6295dd0700
        now = <optimized out>
        unwind_buf = 
              {cancel_jmp_buf = {{jmp_buf = {140061397812992, 3196702752626820878, 0, 140736167970815, 0, 140061397909568, -3271351045118900466, -3271340861131077874}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#4  0x00007f62924799bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Thread 1 (Thread 0x7f628686f700 (LWP 16204)):
#0  0x00007f6295928540 in convert_to_s16 (rate=rate@entry=0x7f6274376520, buf=0x7f627450b31c, areas=<optimized out>, offset=<optimized out>, frames=31, frames@entry=470, channels=channels@entry=1)
    at plugin_ops.h:381
        get16_labels = 
          {0x7f6295928520 <convert_to_s16+832>, 0x7f6295928530 <convert_to_s16+848>, 0x7f6295928520 <convert_to_s16+832>, 0x7f6295928530 <convert_to_s16+848>, 0x7f6295928540 <convert_to_s16+864>, 0x7f6295928550 <convert_to_s16+880>, 0x7f6295928300 <convert_to_s16+288>, 0x7f6295928358 <convert_to_s16+376>, 0x7f6295928560 <convert_to_s16+896>, 0x7f6295928570 <convert_to_s16+912>, 0x7f6295928580 <convert_to_s16+928>, 0x7f6295928590 <convert_to_s16+944>, 0x7f62959285a0 <convert_to_s16+960>, 0x7f62959285b0 <convert_to_s16+976>, 0x7f6295928300 <convert_to_s16+288>, 0x7f6295928358 <convert_to_s16+376>, 0x7f6295928368 <convert_to_s16+392>, 0x7f6295928380 <convert_to_s16+416>, 0x7f62959283a0 <convert_to_s16+448>, 0x7f62959283c0 <convert_to_s16+480>, 0x7f62959283e0 <convert_to_s16+512>, 0x7f6295928408 <convert_to_s16+552>, 0x7f6295928430 <convert_to_s16+592>, 0x7f6295928458 <convert_to_s16+632>, 0x7f6295928480 <convert_to_s16+672>, 0x7f62959284a8 <convert_to_s16+712>, 0x7f62959284d0 <convert_to_s16+752>, 0x7f62959284f8 <convert_to_s16+792>}
        get = 0x7f6295928540 <convert_to_s16+864>
        src = 0x7f6274513000 <error: Cannot access memory at address 0x7f6274513000>
        sample = <optimized out>
        srcs = {0x7f6274513000 <error: Cannot access memory at address 0x7f6274513000>}
        src_step = {2}
        c = 0
#1  0x00007f6295928a49 in do_convert (dst_areas=0x7f6274014800, dst_offset=0, dst_frames=1024, src_areas=<optimized out>, src_offset=<optimized out>, src_frames=470, channels=1, rate=0x7f6274376520)
    at pcm_rate.c:518
        src = <optimized out>
        dst = <optimized out>
#2  0x00007f6295928e8e in snd_pcm_rate_write_areas1 (slave_offset=<optimized out>, slave_areas=<optimized out>, offset=3754, areas=0x7f6274004360, pcm=0x7f627425ad10) at pcm_rate.c:544
        rate = 0x2
        cont = <optimized out>
        slave_areas = 0x7f6274014800
        slave_offset = 0
        xfer = <optimized out>
        slave_frames = 820
        result = <optimized out>
#3  0x00007f6295928e8e in snd_pcm_rate_commit_area (pcm=pcm@entry=0x7f627425ad10, rate=rate@entry=0x7f6274376520, appl_offset=appl_offset@entry=3754, size=size@entry=3, slave_size=7) at pcm_rate.c:702
        cont = <optimized out>
        slave_areas = 0x7f6274014800
        slave_offset = 0
        xfer = <optimized out>
        slave_frames = 820
        result = <optimized out>
#4  0x00007f629592917c in snd_pcm_rate_drain (pcm=0x7f627425ad10) at pcm_rate.c:1058
        psize = <optimized out>
        spsize = <optimized out>
        err = <optimized out>
        size = <optimized out>
        ofs = 3754
        saved_avail_min = 1024
        sw_params = 
          {tstamp_mode = 0, period_step = 1, sleep_min = 0, avail_min = 1, xfer_align = 1, start_threshold = 2, stop_threshold = 8192, silence_threshold = 0, silence_size = 0, boundary = 4611686018427387904, proto = 131085, tstamp_type = 1, reserved = '\000' <repeats 55 times>}
        rate = 0x7f6274376520
#5  0x00007f628e89b5b2 in sync_espeak_Synth (unique_identifier=5966, text=0x7f627c0155f0, position=<optimized out>, position_type=POS_CHARACTER, end_position=0, flags=1, user_data=0x56156b12aac0 <spk>)
    at src/libespeak-ng/speech.c:532
        error = <optimized out>
#6  0x00007f628e8b49f1 in process_espeak_command (the_command=<optimized out>)
    at src/libespeak-ng/espeak_command.c:315
        data = <optimized out>
        __PRETTY_FUNCTION__ = "process_espeak_command"
#7  0x00007f628e8b56d8 in say_thread (p=<optimized out>) at src/libespeak-ng/fifo.c:300
        a_status = <optimized out>
        a_command = 0x7f627c018bf0
        __PRETTY_FUNCTION__ = "say_thread"
#8  0x00007f6292736424 in start_thread (arg=0x7f628686f700) at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7f628686f700
        now = <optimized out>
        unwind_buf = 
              {cancel_jmp_buf = {{jmp_buf = {140061140514560, 3196702752626820878, 0, 140061148904335, 140061140514560, 140060963902112, -3271314021963938034, -3271340861131077874}, mask_was_saved = 0}}, priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#9  0x00007f62924799bf in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:105

Attachment: signature.asc
Description: PGP signature


Reply to: