Help on OpenBTS Segmentation Fault


#1

This is about an OpenBTS Running Error.

I followed all the instructions on the following page and installed
OpenBTS and all the other components needed: gnuradio, asterisk, zoiper,
etc.
http://gnuradio.org/trac/wiki/OpenBTS/BuildingAndRunning

My environment: Ubuntu 8.10 Desktop 32 bits version on an Acer laptop
with Intel Pentium Dual-Core T3200.

OpenBTS: Build 10776
GNURadio: Build 10776

First I powered up USRP with two RFX900 boards connected in the
recommended way.

Second, I started asterisk and zoiper. I could see the test user in
Zoiper registered with asterisk.

Then I started the ./transceiver, the display was:

./Transceiver$ ./transceiver
1238941861.849326 3083531968: creating USRP device…
1238941861.849575 3083531968: making USRP device…

Then I opened another terminal window and started OpenBTS900, the
displayed messages were like

./apps$ ./OpenBTS900
1238941919.502511 3081861728: GSMConfig.cpp:86 mSI1Frame primitive=DATA
raw=(0101010100000110000110011000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111000000000000000000000101011)
1238941919.502693 3081861728: GSMConfig.cpp:95 mSI2Frame primitive=DATA
raw=(0101100100000110000110101000111000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000011111111111110000000000000000000)
1238941919.502730 3081861728: GSMConfig.cpp:107 mSI3Frame primitive=DATA
raw=(0100100100000110000110110000000000000000000010011111000101010101000000101001101101010001000000000000100000101111110000000000000011111000000000000000000000101011001010110010101100101011)
1238941919.502763 3081861728: GSMConfig.cpp:116 mSI4Frame primitive=DATA
raw=(0011000100000110000111000000100111110001010101010000001010011011110000000000000011111000000000000000000000101011001010110010101100101011001010110010101100101011001010110010101100101011)
1238941919.502796 3081861728: GSMConfig.cpp:121 mSI5Frame
primitive=UNIT_DATA
raw=(000001100001110110011110000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000)
1238941919.502821 3081861728: GSMConfig.cpp:129 mSI6Frame
primitive=UNIT_DATA
raw=(0000011000011110000000000000000000001001111100010101010100000010100110110010111111111111)
1238941919.625639 2986560400: SIPInterface.cpp:147 SIPInterface::drive()
blocking on socket

… …

But two seconds later, the ./transceiver program had a segmentation
fault.

1238941981.989029 3081862032: radioInterface.cpp:250 converted 864 radio
samples into 585 transceiver samples
1238941981.989053 3081862032: radioInterface.cpp:374 FN: 60
1238941981.989070 3081862032: radioInterface.cpp:382 receiveFIFO: wrote
radio vector at time: 3:61, new size: 5
1238941981.989082 3081862032: radioInterface.cpp:374 FN: 61
1238941981.989101 3081862032: radioInterface.cpp:382 receiveFIFO: wrote
radio vector at time: 4:61, new size: 6
1238941981.989120 3081862032: radioInterface.cpp:374 FN: 61
1238941981.989136 3081862032: radioInterface.cpp:382 receiveFIFO: wrote
radio vector at time: 5:61, new size: 7
1238941981.989147 3081862032: radioInterface.cpp:374 FN: 61
1238941981.989157 3081862032: radioInterface.cpp:382 receiveFIFO: wrote
radio vector at time: 6:61, new size: 8
1238941981.989183 3081862032: increment!!!
Segmentation fault

It is very consistent this way every time I ran it… It first happened
with build 10666 of gnuradio and openbts. Then I uninstalled them and
installed build 10776 of both. But the error still exists.

Please shed some light on this error and how I should debug.

Thanks a lot!


#2

I have the same problem with my OpenSuse 11.0 32_bit,

If I direct the output of “Transceiver/transceiver” to /dev/null getting
the
segmentation fault takes a bit longer after a number of
“1239002787.154969
3083000720: USRPDevice.cpp:347: WARNING – UNDERRUN in TRX->USRP
interface”
warnings. Any ideas on what might I have done wrong?


Well, i am very new to the GnuRadio and OpenBTS sorry if the issue was
already solved newbie one.

Thanks,

Fernando P.-5 wrote:

1238941919.502693 3081861728: GSMConfig.cpp:95 mSI2Frame primitive=DATA
raw=(0000011000011110000000000000000000001001111100010101010100000010100110110010111111111111)
1238941981.989053 3081862032: radioInterface.cpp:374 FN: 60
radio vector at time: 6:61, new size: 8

Posted via http://www.ruby-forum.com/.


Discuss-gnuradio mailing list
removed_email_address@domain.invalid
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


View this message in context:
http://www.nabble.com/Help-on-OpenBTS-Segmentation-Fault-tp22894583p22904030.html
Sent from the GnuRadio mailing list archive at Nabble.com.


#3

I face the same problem .Is there anyone can handle it?
please give some advices to deal with it.
Thank you very much.

William Sherman-3 wrote:

1238941919.502693 3081861728: GSMConfig.cpp:95 mSI2Frame primitive=DATA
raw=(0000011000011110000000000000000000001001111100010101010100000010100110110010111111111111)
1238941981.989053 3081862032: radioInterface.cpp:374 FN: 60
radio vector at time: 6:61, new size: 8

Posted via http://www.ruby-forum.com/.


Discuss-gnuradio mailing list
removed_email_address@domain.invalid
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio


View this message in context:
http://www.nabble.com/Help-on-OpenBTS-Segmentation-Fault-tp22894583p23400888.html
Sent from the GnuRadio mailing list archive at Nabble.com.


#4

On Tue, May 05, 2009 at 11:41:07PM -0700, jimmyzhang wrote:

I face the same problem .Is there anyone can handle it?
please give some advices to deal with it.
Thank you very much.

Use gdb and figure out where the segfault is occurring, then find out
why it’s segfaulting, then submit a patch to fix it.

http://www.gnu.org/software/gdb/documentation

Eric


#5

Discuss-gnuradio mailing list
removed_email_address@domain.invalid
http://lists.gnu.org/mailman/listinfo/discuss-gnuradio