Forum: GNU Radio Help with OpenBTS

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
6f1a40093011a426af051565132a70f3?d=identicon&s=25 Bruno Engelbert (Guest)
on 2009-02-20 21:42
(Received via mailing list)
I have problem with segmentation fault when executing the binary
./transceiver and ./OpenBTSxxx together...

the output binary's:

./transceiver:
1235159974.196907 3084109504: creating USRP device...
1235159974.197083 3084109504: making USRP device..
1235159975.017775 3084037008: set RX: 7800000.000000 actual RX:
7799999.997020
1235159975.030025 3084037008: set TX: -3200000.000000 actual TX:
-3200000.762939
1235159975.099702 3084037008: starting radio interface...
1235159975.116884 3084037008: radio interface started!
1235159975.121985 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 0:0
1235159975.122125 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 1:0
1235159975.122158 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 2:0
1235159975.122197 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 3:0
1235159975.122417 3083897744: Starting USRP
1235159975.122429 3083897744: starting USRP...
1235159975.124900 3083897744: TX pgas: 0.000000, 0.000000
1235159975.129035 3083897744: USRP started
1235159975.129143 3083897744: radioInterface.cpp:173 converted 585
transceiver samples into 864 radio samples
1235159975.129171 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 4:0
1235159975.129190 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 5:0
1235159975.129206 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 6:0
1235159975.129224 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 7:0
1235159975.129432 3083897744: radioInterface.cpp:173 converted 585
transceiver samples into 864 radio samples
1235159975.129449 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 0:1
1235159975.129464 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 1:1
1235159975.129480 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 2:1
1235159975.129496 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 3:1
1235159975.129718 3083897744: radioInterface.cpp:173 converted 585
transceiver samples into 864 radio samples
1235159975.129739 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 4:1
1235159975.129755 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 5:1
1235159975.129770 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 6:1
1235159975.129946 3083897744: radioInterface.cpp:173 converted 585
transceiver samples into 864 radio samples
1235159975.129962 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 7:1
1235159975.131227 3083828112: radioInterface.cpp:250 converted 864 radio
samples into 585 transceiver samples
1235159975.131280 3083828112: radioInterface.cpp:382 receiveFIFO: wrote
radio vector at time: 1:0, new size: 0
1235159975.131295 3083828112: radioInterface.cpp:382 receiveFIFO: wrote
radio vector at time: 2:0, new size: 0
1235159975.131308 3083828112: radioInterface.cpp:382 receiveFIFO: wrote
radio vector at time: 3:0, new size: 0
1235159975.131374 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 0:2
1235159975.131413 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 1:2
1235159975.131444 3083897744: radioInterface.cpp:336 transmitFIFO: read
radio vector at time: 2:2
1235159975.131632 3083897744: radioInterface.cpp:173 converted 585
transceiver samples into 864 radio samples
Falha de segmentação (core dumped)


the dump file from GDB:

#0  0xb7db6bb6 in memcpy () from /lib/tls/i686/cmov/libc.so.6
#1  0x00004e00 in ?? ()
#2  0xb7feb851 in usrp_basic_rx::read (this=0xb7ce7000, buf=0xb7ce2210,
len=82432, overrun=0x9e61749) at usrp_basic.cc:942
#3  0x08058ef2 in USRPDevice::readSamples (this=0x9e311d0,
buf=0xb7cf6550, len=864, overrun=0x9e61749, timestamp=20864,
underrun=0xb7cf72e7, RSSI=0x0)
    at USRPDevice.cpp:314
#4  0x0804b46f in RadioInterface::pullBuffer (this=0x9e61550) at
radioInterface.cpp:208
#5  0x0804ecb2 in RadioInterface::driveReceiveRadio (this=0x9e61550) at
radioInterface.cpp:353
#6  0x0804f780 in ReceiveRadioServiceLoopAdapter
(radioInterface=0x9e61550) at radioInterface.cpp:310
#7  0xb802b50f in start_thread () from
/lib/tls/i686/cmov/libpthread.so.0
#8  0xb7e1fa0e in clone () from /lib/tls/i686/cmov/libc.so.6

any help??


--


*Bruno Engelbert*
/Estagiário Nível Superior/
/DDT - PSN - Produtos e Serviços Networking/

*DÍGITRO TECNOLOGIA*
*E-mail:* bruno.engelbert@digitro.com.br
<mailto:bruno.engelbert@digitro.com.br>
*Fone:* +55 48 3281- / +55 48 3281-7000
*Fax:* +55 48 3281-7299
*Site:* www.digitro.com <http://www.digitro.com>

/"Antes de imprimir pense na sua responsabilidade e compromisso com o
meio ambiente"/


--
Esta mensagem foi verificada pelo sistema de antivírus da Dígitro Tecnologia
Feaa5f7ffb89464efdf3fdb028ad5c63?d=identicon&s=25 Fabian Uehlin (Guest)
on 2009-02-20 22:36
(Received via mailing list)
Hello!

There is an OpenBTS discussion list (-> http://
openbts.sourceforge.net/).

I think the problem is solved by changing file Thread.h (folder
CommonLibs) line
const static size_t mStackSize=65536;
to
const static size_t mStackSize=4*65536;

Regards -Fabian-
This topic is locked and can not be replied to.