|
From: Nikos B. <nba...@gm...> - 2017-01-24 20:26:39
|
Hi, Under gdb, when you get the SIGSEGV, if you type: gdb> where you will get the call stack, provided you compiled openbts with debug flags. It would be most helpful. Nikos On Tue, Jan 24, 2017 at 7:50 PM, Jeroen van Veen <j.v...@gm...> wrote: > I ran gdb OpenBTS -d -C to produce some output. When I take the call now, > gdb returns: > > OpenBTS> > Thread 51 "OpenBTS" received signal SIGSEGV, Segmentation fault. > [Switching to Thread 0x7ffff1ab8700 (LWP 12140)] > 0x00007ffff76b3440 in rtp_session_rtp_recv_abstract () from > /usr/lib/libortp.so.11 > (gdb) > > I built OpenBTS using: > > # OpenBTS requires ortp v0.22.0, which in turn requires libsrtp v1.5.0 > git clone gi...@gi...:cisco/libsrtp.git > git checkout v1.5.0 > ./configure > sudo make install > cd .. > > > # Build ortp 0.22.0 > git clone gi...@gi...:BelledonneCommunications/ortp.git > git checkout 0.22.0 > cd ortp > sh autogens.sh > SRTP_LIBS=/usr/local/lib ./configure > sudo make install > > Any idea? > > kind regards, > > Jeroen > > 2017-01-19 18:16 GMT+01:00 Jeroen van Veen <j.v...@gm...>: > >> Hi, >> >> I'm trying to figure out why openbts crashes as soon as i pick up the >> phonecall on the mobile. The crash starts with: >> OpenBTS> Running 'rm -rf /tmp/staging.15911/ ; mkdir /tmp/staging.15911/ >> ; cp --parents /etc/issue /tmp/staging.15911/ ; cp --parents /proc/cpuinfo >> /proc/interrupts /proc/iomem /proc/ioports /proc/diskstats /proc/loadavg >> /proc/locks /proc/meminfo /proc/softirqs /proc/stat /proc/uptime >> /proc/version /proc/version_signature /proc/vmstat /tmp/staging.15911/ ; for >> i in cmdline cpuset environ io limits maps net/tcp net/udp net/tcp6 >> net/udp6 net/unix net/netstat sched schedstat smaps stat statm status ; do >> cp --parents /proc/15911/$i /tmp/staging.15911/ ; cp --parents >> /proc/15911/task/*/stat* /tmp/staging.15911/ ; done ; tar --create >> --verbose --file=- --directory=/proc/15911 fd | ( cd >> /tmp/staging.15911/proc/15911/ ; ta >> r xpvf - ) ; tar --create --verbose --file=- >> --directory=/tmp/staging.15911/ . | gzip > /tmp/openbtsfiles.tgz ; rm >> -rf /tmp/staging.15911' >> cp: cannot stat '/proc/version_signature': No such file or directory >> cp: cannot stat '/proc/15911/task/15912/stat': No such file or directory >> cp: cannot stat '/proc/15911/task/15912/statm': No such file or >> directory >> cp: cannot stat '/proc/15911/task/15912/status': No such file or >> directory >> cp: cannot stat '/proc/15911/task/15913/stat': No such file or directory >> cp: cannot stat '/proc/15911/task/15913/statm': No such file or >> directory >> cp: cannot stat '/proc/15911/task/15913/status': No such file or >> directory >> cp: cannot stat '/proc/15911/task/15914/stat': No such file or directory >> cp: cannot stat '/proc/15911/task/15914/statm': No such file or >> directory >> cp: cannot stat '/proc/15911/task/15914/status': No such file or >> directory >> cp: cannot stat '/proc/15911/task/15915/stat': No such file or directory >> cp: cannot stat '/proc/15911/task/15915/statm': No such file or >> directory >> cp: cannot stat '/proc/15911/task/15915/status': No such file or >> directory >> cp: cannot stat '/proc/15911/task/15916/stat': No such file or directory >> cp: cannot stat '/proc/15911/task/15916/statm': No such file or >> directory >> cp: cannot stat '/proc/15911/task/15916/status': No such file or >> directory >> cp: cannot stat '/proc/15911/task/15918/stat': No such file or directory >> cp: cannot stat '/proc/15911/task/15918/statm': No such file or >> directory >> cp: cannot stat '/proc/15911/task/15918/status': No such file or >> directory >> >> >> In extensions.conf i have something like: >> [sip-external] >> exten => 6055551231 <(605)%20555-1231>,1,Dial(SIP/IMSI0010 >> 11772123456@localhost:5062) >> >> >> sip.conf: >> [00101100010](optionsBTS,CodecBTS) ;default account for when openBTS and >> MSC is on the same server >> host=localhost >> port=5062 >> >> >> [IMSI001011772123456] >> canreinvite=no >> type=friend >> context=sip-external >> allow=gsm >> host=dynamic >> >> I have OpenBTS master, smqueue, sipauthserve and Asterisk 11.25.1 running >> on Archlinux. >> >> kind regards, >> >> Jeroen >> > > > ------------------------------------------------------------ > ------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, SlashDot.org! http://sdm.link/slashdot > _______________________________________________ > Openbts-discuss mailing list > Ope...@li... > https://lists.sourceforge.net/lists/listinfo/openbts-discuss > > |