-------- Original-Nachricht --------
Datum: Wed, 30 Jun 2010 12:10:20 +0800 Von: Holger Hans Peter Freyther holger@freyther.de An: openbsc@lists.gnumonks.org Betreff: Re: Segmentation fault while sending sms via bsc_hack_VTY
thanks a lot for starting to debug this. Could you help me a bit with your test setup? Which type of BTS do you use? Could you get us a pcap file for the Channel Activate NACK?
Attached I have a pcap file from bsc_hack. It logged until the segmentation fault happened. Additionally, I have captured the bsc_hack output and valgrind output in the other file. There you also find the openbsc config file. Only bsc_hack was started, without lcr or openggsn for this testing.
We use two nanoBTS - ipaccess-find prints out:
MAC Address='00:02:95:00:2f:b7' IP Address='10.1.1.10' Unit ID='1802/0/0' Location 1='' Location 2='BTS_NBT131G' Equipment Version='165a029_48' Software Version='168c002_v100b16d0' Unit Name='nbts-00-02-95-00-2F-B7' Serial Number='00071355' MAC Address='00:02:95:00:57:3e' IP Address='10.1.1.11' Unit ID='1800/0/0' Location 1='' Location 2='BTS_NBT131G' Equipment Version='165a029_55' Software Version='168a302_v142b13d0' Unit Name='nbts-00-02-95-00-57-3E' Serial Number='00107709'
Each BTS has its own part in the openbsc.cfg
please confirm that both the SMS crash and the NACKs are resolved.
I loaded and built the current version from OpenBSC (Jun., 30. ~ 3:00 p.m.). SMS still crashes when sending from vty console. As far as I can tell, the NACKs are resolved.
thanks
thank you too!
Hi Richard,
your backtrace seems to indicate that you do not have an extension assigned to the subscriber with ID 1. Sending SMS from VTY will be performed as if it was sent from that 'magic' subscriber.
As indicated before, current SMS-from-VTY code is a big hack and needs reimplementation.
Harald Welte schrieb:
Hi Richard,
your backtrace seems to indicate that you do not have an extension assigned to the subscriber with ID 1. Sending SMS from VTY will be performed as if it was sent from that 'magic' subscriber.
Thank you all very much! it worked after I have created a subscriber with ID 1.
Greetings, Richard