Re: Fw: Re: Segmentation Fault after upgrade on void linux

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

 



Hi Ming,

with CFLAGS += -g in user.mak



__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt full
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
        set = {__val = {0, 140737347587216, 4222451712, 140737219922896, 140737219922997, 140737219922896, 140737219922896, 140737219923064, 140737219923196, 140737219922896, 140737219923196, 0, 0, 0, 0, 0}}
        pid = <optimized out>
        tid = <optimized out>
        ret = <optimized out>
#1  0x00007ffff796955b in __GI_abort () at abort.c:79
        save_stage = 1
        act = {__sigaction_handler = {sa_handler = 0x7ffff0000bd0, sa_sigaction = 0x7ffff0000bd0}, sa_mask = {__val = {0, 140737219922896, 0, 0, 0, 0, 21474836480, 0, 140737321266176, 140737348708128, 140737348692792, 0,
              1882042535986576384, 140737348677678, 140737304481792, 140737348692792}}, sa_flags = 1432959306, sa_restorer = 0x766}
        sigs = {__val = {32, 0 <repeats 15 times>}}
#2  0x00007ffff796942f in __assert_fail_base (fmt=0x7ffff7aceb38 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=0x555555693b38 "frame->size == conf->samples_per_frame * conf->bits_per_sample / 8",
    file=0x55555569394a "../src/pjmedia/conference.c", line=1894, function=<optimized out>) at assert.c:92
        str = 0x7ffff0000bd0 ""
        total = 4096
#3  0x00007ffff7978112 in __GI___assert_fail (assertion=assertion@entry=0x555555693b38 "frame->size == conf->samples_per_frame * conf->bits_per_sample / 8", file=file@entry=0x55555569394a "../src/pjmedia/conference.c",
    line=line@entry=1894, function=function@entry=0x555555694130 <__PRETTY_FUNCTION__.7819> "get_frame") at assert.c:101
No locals.
#4  0x00005555555d85f0 in get_frame (this_port=<optimized out>, frame=0x7ffff60a6e40) at ../src/pjmedia/conference.c:1894
        conf = 0x555555794d38
        speaker_frame_type = PJMEDIA_FRAME_TYPE_NONE
        ci = <optimized out>
        cj = <optimized out>
        i = <optimized out>
        j = <optimized out>
        p_in = <optimized out>
        __PRETTY_FUNCTION__ = "get_frame"
#5  0x00005555555e7955 in play_cb (user_data=0x55555580e538, frame=0x7ffff60a6e40) at ../src/pjmedia/sound_port.c:88
        snd_port = 0x55555580e538
        port = <optimized out>
        required_size = <optimized out>
        status = <optimized out>
        __PRETTY_FUNCTION__ = "play_cb"
#6  0x00005555556052ff in pb_thread_func (arg=0x55555580f548) at ../src/pjmedia-audiodev/alsa_dev.c:518
        frame = {type = PJMEDIA_FRAME_TYPE_AUDIO, buf = 0x55555580f648, size = 340, timestamp = {u32 = {lo = 340, hi = 0}, u64 = 340}, bit_info = 0}
        stream = 0x55555580f548
        pcm = 0x555555813160
        size = 340
        nframes = 170
        user_data = 0x55555580e538
        buf = 0x55555580f648 ""
        tstamp = {u32 = {lo = 340, hi = 0}, u64 = 340}
        result = <optimized out>
#7  0x000055555566c990 in thread_main (param=0x555555813710) at ../src/pj/os_core_unix.c:541
        rec = 0x555555813710
        result = <optimized out>
        rc = <optimized out>
        __PRETTY_FUNCTION__ = "thread_main"
#8  0x00007ffff7c0bf27 in start_thread (arg=<optimized out>) at pthread_create.c:479
        ret = <optimized out>
        pd = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737321268992, -6001230096311842423, 140737488346366, 140737488346367, 140737321267072, 140737321268992, 6001245588768885129, 6001247183811709321}, mask_was_saved = 0}},
          priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = 0
#9  0x00007ffff7a40e0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
No locals.



>Hi Ilias,
>
>With debugging info should be better.
>
>On Thu, Feb 27, 2020 at 10:26 AM Ilias Clifton <adilias3@xxxxxxx> wrote:
>>
>> Hi Ming,
>>
>> Stack trace for pjsystest :
>>
>> (gdb) bt full
>> #0 __GI___pthread_timedjoin_ex (threadid=18344288135642611207, thread_return=0x7ffff68c8970, abstime=0x0, block=true) at pthread_join_common.c:86
>> pd = 0xfe9400ddfe63fe07
>> self = <optimized out>
>> result = <optimized out>
>> pd_result = <optimized out>
>> #1 0x000055555565d499 in pj_thread_join ()
>> No symbol table info available.
>> #2 0x00005555555f92cf in alsa_stream_stop ()
>> No symbol table info available.
>> #3 0x00005555555dddb9 in stop_sound_device.isra ()
>> No symbol table info available.
>> #4 0x0000555555578b45 in close_snd_dev ()
>> No symbol table info available.
>> #5 0x0000555555578f0e in close_snd_timer_cb ()
>> No symbol table info available.
>> #6 0x000055555566f2ba in pj_timer_heap_poll ()
>> No symbol table info available.
>> #7 0x00005555555ae45b in pjsip_endpt_handle_events2 ()
>> No symbol table info available.
>> #8 0x000055555556992e in pjsua_handle_events ()
>> No symbol table info available.
>> #9 0x0000555555569984 in worker_thread ()
>> No symbol table info available.
>> #10 0x000055555565d9a5 in thread_main ()
>> No symbol table info available.
>> #11 0x00007ffff7c0bf27 in start_thread (arg=<optimized out>) at pthread_create.c:479
>> ret = <optimized out>
>> pd = <optimized out>
>> unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737329796864, 3752310335381315807, 140737488345214, 140737488345215, 140737329794944, 140737329796864, -3752326114514689825, -3752327659091910433}, mask_was_saved = 0}},
>> priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
>> not_first_call = 0
>> #12 0x00007ffff7a40e0f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
>> No locals.
>>
>>
>>
>> Please let me know if there is any other information I can provide.
>>
>>
>>
>>
>> >Hi Ilias,
>> >
>> >Can you provide the stack trace so we can know where the segv occurred exactly?
>> >
>> >Regards,
>> >Ming
>> >
>> >On Thu, Feb 27, 2020 at 6:17 AM Ilias Clifton <adilias3 at gmx.com> wrote:
>> >>
>> >> Sending again in plain text...
...

_______________________________________________
Visit our blog: http://blog.pjsip.org

pjsip mailing list
pjsip@xxxxxxxxxxxxxxx
http://lists.pjsip.org/mailman/listinfo/pjsip_lists.pjsip.org



[Index of Archives]     [Asterisk Users]     [Asterisk App Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [Linux API]
  Powered by Linux