Re: Segmentation Fault after upgrade on void linux

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

 



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...
>>
>> Hi All,
>>
>> I've been using pjsua on my void linux system for quite a while without issue. Unfortunately it's stopped working.
>>
>> pjsau starts up ok, but as soon as I attempt to make or receive a call, I get a segmentation fault - Can someone assist in troubleshooting?
>>
>> It appears to be audio device related. Audio works ok in other applications such as firefox and vlc.
>>
>>   pjsua has been installed via the pjproject package via xbps.
>>
>> dmesg and syslog report:
>>  pjsua[8940] general protection fault ip:7f268e92581d sp:7f268d88d0c8 error:0 in libc-2.30.so[7f268e7e9000+149000]
>>
>> Void linux is a 'rolling release' and I do upgrade regularly - going back through the logs it looks as though linux kernel was recently update from 5.4-5.4.13_2 to 5.4.19_1, and then a few days later from 5.4.19_1 to 5.4.21_1
>>
>> I can't see any recent updates to libc.
>>
>> I tried uninstalling the pjproject package and compiling pjproject manually - I get the same issue with the compiled version.
>>
>> I tried running pjsystest, and the the test wizard - it Segfaults when it tries to play the ring tone.
>>
>>
>> 16:59:01.131         os_core_unix.c !pjlib 2.10-dev for POSIX initialized
>> 16:59:01.134         sip_endpoint.c  .Creating endpoint instance...
>> 16:59:01.134                  pjlib  .select() I/O Queue created (0x559368258220)
>> 16:59:01.134         sip_endpoint.c  .Module "mod-msg-print" registered
>> 16:59:01.134        sip_transport.c  .Transport manager created.
>> 16:59:01.134           pjsua_core.c  .PJSUA state changed: NULL --> CREATED
>> 16:59:01.134         sip_endpoint.c  .Module "mod-pjsua-log" registered
>> 16:59:01.134         sip_endpoint.c  .Module "mod-tsx-layer" registered
>> 16:59:01.134         sip_endpoint.c  .Module "mod-stateful-util" registered
>> 16:59:01.134         sip_endpoint.c  .Module "mod-ua" registered
>> 16:59:01.134         sip_endpoint.c  .Module "mod-100rel" registered
>> 16:59:01.134         sip_endpoint.c  .Module "mod-pjsua" registered
>> 16:59:01.134         sip_endpoint.c  .Module "mod-invite" registered
>> 16:59:01.204             alsa_dev.c  ..ALSA driver found 21 devices
>> 16:59:01.204             alsa_dev.c  ..ALSA initialized

...

_______________________________________________
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