Jan Stary <[email protected]> writes: > telephony/pjsua version 2.3 works for me on amd64 and i386, > but segfaults immediately on current/armv7 (Beagle Bone Black) > and current/macppc (MacMini). > > On macppc, it just goes > > $ pjsua > Segmentation fault (core dumped) > > On armv7, > > $ pjsua > 14:33:57.634 os_core_unix.c !pjlib 2.3 for POSIX initialized > 18:15:49.731 sip_endpoint.c .Creating endpoint instance... > 16:37:41.753 pjlib .select() I/O Queue created (0x4075f06c) > 09:20:21.763 sip_endpoint.c .Module "mod-msg-print" registered > 03:03:01.773 sip_transport. .Transport manager created. > 12:17:25.782 pjsua_core.c .PJSUA state changed: NULL --> CREATED > 08:46:13.800 sip_endpoint.c .Module "mod-pjsua-log" registered > 21:53:41.813 sip_endpoint.c .Module "mod-tsx-layer" registered > 14:36:21.823 sip_endpoint.c .Module "mod-stateful-util" registered > 07:19:01.833 sip_endpoint.c .Module "mod-ua" registered > 17:33:25.842 sip_endpoint.c .Module "mod-100rel" registered > 02:47:49.851 sip_endpoint.c .Module "mod-pjsua" registered > 02:58:45.862 sip_endpoint.c .Module "mod-invite" registered > 15:06:13.875 pa_dev.c ..PortAudio sound library initialized, status=0 > 07:48:53.885 pa_dev.c ..PortAudio host api count=1 > 18:03:17.894 pa_dev.c ..Sound device count=1 > 04:21:41.918 pjlib ..select() I/O Queue created (0x48b32014) > Bus error (core dumped) > > > Can anybody reproduce this? > Is this a known architecture problem, > or a known issue with pjsua itself?
It would be nice if you could provide backtraces (with pjsua compiled with debug symbols). On sparc64 I can reach the interactive CLI. > I am working on an update of the port to 2.4 I could give this a try on friday. > Has any of the patches/ been sent (and accepted) upstream? If they were submitted, http://trac.pjsip.org/repos/log/pjproject/trunk doesn't mention that they were committed after 2.4. They aren't enough yet anyway: [...] 21:03:44.998 sip_transactio .Transaction layer module destroyed 21:03:44.998 sip_endpoint.c .Module "mod-tsx-layer" unregistered 21:03:44.998 sip_endpoint.c .Module "mod-msg-print" unregistered 21:03:44.998 sip_endpoint.c .Module "mod-pjsua-log" unregistered pthread_mutex_destroy on mutex with waiters! 21:03:45.013 tcplis:5060 .SIP TCP listener destroyed 21:03:45.015 sip_endpoint.c .Endpoint 0x2f972800a8 destroyed 21:03:45.016 pjsua_core.c .PJSUA state changed: CLOSING --> NULL 21:03:45.016 pjsua_core.c .PJSUA destroyed... $ -- jca | PGP : 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE
