Segmentation Fault after upgrade on void linux

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

 



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
16:59:01.204                  pjlib  ..select() I/O Queue created (0x5593682bfd48)
16:59:01.207         sip_endpoint.c  .Module "mod-evsub" registered
16:59:01.207         sip_endpoint.c  .Module "mod-presence" registered
16:59:01.208         sip_endpoint.c  .Module "mod-mwi" registered
16:59:01.208         sip_endpoint.c  .Module "mod-refer" registered
16:59:01.208         sip_endpoint.c  .Module "mod-pjsua-pres" registered
16:59:01.208         sip_endpoint.c  .Module "mod-pjsua-im" registered
16:59:01.208         sip_endpoint.c  .Module "mod-pjsua-options" registered
16:59:01.208           pjsua_core.c  .1 SIP worker threads created
16:59:01.208           pjsua_core.c  .pjsua version 2.10-dev for Linux-5.4.21/x86_64/glibc-2.30 initialized
16:59:01.208           pjsua_core.c  .PJSUA state changed: CREATED --> INIT
16:59:01.208           pjsua_core.c  PJSUA state changed: INIT --> STARTING
16:59:01.208         sip_endpoint.c  .Module "mod-unsolicited-mwi" registered
16:59:01.208           pjsua_core.c  .PJSUA state changed: STARTING --> RUNNING
M E N U :
---------
0: Tests
  00: Run test wizard
  01: Device Test
  02: Play Tone
  03: Play WAV File1
  04: Play WAV File2
  05: Record Audio
  06: Latency Test
  07: AEC/AES Test
  09: Exit
1: Options
  10: View Devices
  11: View Settings
Enter the menu number: 00
16:59:06.641              systest.c  Running test wizard
16:59:06.641              systest.c  Running Audio Device List
Audio Device List
Found 21 devices
  0: ALSA [surround21] (0/1)
  1: ALSA [surround40] (1/1)
  2: ALSA [surround41] (0/0)
  3: ALSA [surround50] (0/0)
  4: ALSA [surround51] (1/1)
  5: ALSA [surround71] (1/1)
  6: ALSA [default:CARD=PCH] (1/1)
  7: ALSA [sysdefault:CARD=PCH] (1/1)
  8: ALSA [front:CARD=PCH,DEV=0] (1/1)
  9: ALSA [surround21:CARD=PCH,DEV=0] (0/1)
 10: ALSA [surround40:CARD=PCH,DEV=0] (1/1)
 11: ALSA [surround41:CARD=PCH,DEV=0] (0/0)
 12: ALSA [surround50:CARD=PCH,DEV=0] (0/0)
 13: ALSA [surround51:CARD=PCH,DEV=0] (1/1)
 14: ALSA [surround71:CARD=PCH,DEV=0] (1/1)
 15: ALSA [iec958:CARD=PCH,DEV=0] (0/1)
 16: ALSA [hdmi:CARD=HDMI,DEV=0] (0/1)
 17: ALSA [hdmi:CARD=HDMI,DEV=1] (0/1)
 18: ALSA [hdmi:CARD=HDMI,DEV=2] (0/1)
 19: ALSA [hdmi:CARD=HDMI,DEV=3] (0/1)
 20: ALSA [hdmi:CARD=HDMI,DEV=4] (0/1)
1:OK
1
16:59:38.999              systest.c  Running Audio Settings
Audio Settings
Version: 2.10-dev
Test clock rate: 8000
Device clock rate: 8000
Aud frame ptime: 20
Channel count: 1
Audio switching: Conf bridge
Snd buff count: 8
Rec dev : -1 (surround40) [ALSA]
Rec  buf : 100 msec
Play dev: -2 (surround40) [ALSA]
Play buf: 140 msec
1:OK
1
Audio Tone Playback Test
This test will play simple ringback tone to the speaker. Please listen carefully for audio impairments such as stutter. You may need to let this test running for a while to make sure that everything is okay. Press OK to start, CANCEL to skip
1:OK  9:Cancel
1
16:59:49.717              systest.c  Running Audio Tone Playback Test
16:59:49.717            pjsua_aud.c  Conf connect: 1 --> 0
16:59:49.717            pjsua_aud.c  .Set sound device: capture=-1, playback=-2
16:59:49.718            pjsua_aud.c  ..Opening sound device (speaker + mic) PCM@8000/1/20ms
16:59:49.737           conference.c  .Port 1 (ringback) transmitting to port 0 (surround40)
Audio Tone Playback Test
Ringback tone should be playing now in the speaker. Press OK to stop.
1:OK
Segmentation fault
 
 
 
 
#aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: CS4208 Analog [CS4208 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 1: CS4208 Digital [CS4208 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
 


 
_______________________________________________
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